From 6205a24620be1025b802589501814626efed02f7 Mon Sep 17 00:00:00 2001 From: Tiago Bortoletto Vaz Date: Mon, 11 Aug 2008 22:28:54 +0200 Subject: Adding last modifications in order to have localization fully working in live-helper. This commit goes with some pt_BR translations just for testing. Thanks to Antonio Terceiro for helping and coding in some shell stuff. --- po/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'po/Makefile') diff --git a/po/Makefile b/po/Makefile index dd8e46e9c..6090ed001 100644 --- a/po/Makefile +++ b/po/Makefile @@ -1,12 +1,12 @@ # Makefile to manage gettext files DOMAIN=live-helper -ECHO_FUNCTIONS="Echo_message Echo_verbose Echo_warning Echo_debug Echo_error" +ECHO_FUNCTIONS="Echo_message Echo_verbose Echo_warning Echo_debug Echo_error Echo_breakage" POFILES=$(wildcard *.po) MOFILES=$(patsubst %.po,%.mo,$(POFILES)) LINGUAS=$(basename $(POFILES)) -GETTEXTFILES=$(shell find ../helpers -type f) +GETTEXTFILES=$(shell find ../helpers ../functions -type f) POTFILE=$(DOMAIN).pot DESTDIR=/ XGETTEXT_KEYWORDS=$(shell echo $(ECHO_FUNCTIONS) |sed -e 's,\S\+,-k&,g') @@ -20,7 +20,7 @@ XGETTEXT_KEYWORDS=$(shell echo $(ECHO_FUNCTIONS) |sed -e 's,\S\+,-k&,g') $(DOMAIN).pot: $(GETTEXTFILES) $(shell xgettext $(XGETTEXT_KEYWORDS) -L Shell -o $(DOMAIN).pot $(GETTEXTFILES)) -update-po: +update-po: live-helper.pot -for lang in $(LINGUAS); do\ msgmerge -U $$lang.po $(DOMAIN).pot; \ done -- cgit v1.2.3