From 1e0df6388deae2fbc5cf7f901930c84d66a2f516 Mon Sep 17 00:00:00 2001 From: Macartur Sousa Date: Mon, 22 Jun 2015 18:17:11 -0300 Subject: [PATCH] Fixed makefile and references for plugin translation --- Makefile | 6 ++++-- noosfero-spb-theme | 2 +- software_communities | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 86bf293..b920fef 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ TARBALL = $(DISTDIR).tar.gz all: @echo Nothing to be $@, all good. -plugin_dir=/usr/lib/noosfero/plugins/software_communities +plugins_dir=/usr/lib/noosfero/plugins themes_dir=/usr/lib/noosfero/public/designs/themes noosfero_dir=/usr/lib/noosfero @@ -24,4 +24,6 @@ install: cp -vr software_communities/* $(DESTDIR)/$(plugins_dir)/software_communities/ install -d -m 0755 $(DESTDIR)/$(themes_dir)/noosfero-spb-theme cp -vr noosfero-spb-theme/* $(DESTDIR)/$(themes_dir)/noosfero-spb-theme/ - cd $(plugin_dir) && sudo bundle exec rake + cd $(DESTDIR)/$(plugins_dir)/software_communities/ && \ + mkdir -p locale/pt/LC_MESSAGES && \ + msgfmt -o locale/pt/LC_MESSAGES/software_communities.mo po/pt/software_communities.po diff --git a/noosfero-spb-theme b/noosfero-spb-theme index 5f531f8..4466418 160000 --- a/noosfero-spb-theme +++ b/noosfero-spb-theme @@ -1 +1 @@ -Subproject commit 5f531f87b8bd09a1373ec1e8a38b6c2ba7545663 +Subproject commit 44664184e0206403c4f3f547e2c0bf34bbb0213e diff --git a/software_communities b/software_communities index 325689a..03ae8a2 160000 --- a/software_communities +++ b/software_communities @@ -1 +1 @@ -Subproject commit 325689adcf6dd6bc1322d8f670d480e083cc00a4 +Subproject commit 03ae8a2fda8a9d41b2e4f21dbdd1ca5ae8ac6b7c -- libgit2 0.21.2