From: Andrey C. <sku...@us...> - 2006-11-23 11:24:08
|
Update of /cvsroot/eas-dev/eas/po In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv30604/po Modified Files: Makefile README_LOCALE eas.pot ru.po Log Message: Fix translation update and documentation. Fix configure. Index: Makefile =================================================================== RCS file: /cvsroot/eas-dev/eas/po/Makefile,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- Makefile 3 Nov 2006 16:12:08 -0000 1.1 +++ Makefile 23 Nov 2006 11:24:03 -0000 1.2 @@ -16,14 +16,14 @@ PROGRAM = eas TEMPLATE = $(PROGRAM).pot -all: template merge format +all: format template: cd .. && $(XGETTEXT) -C -ki18n -o po/$(TEMPLATE) `find . -name *.prg` - make merge + $(MAKE) translations -merge: - @echo "Merge with old version:" +translations: *.po + @echo "Merge with old versions:" @for i in *.po;do lang=$${i//\.po/}; echo -n "$$i "; $(MSGMERGE) $$i $(TEMPLATE) -o .tmp; \ rm -f $$i ; mv .tmp $$i; done Index: README_LOCALE =================================================================== RCS file: /cvsroot/eas-dev/eas/po/README_LOCALE,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- README_LOCALE 3 Nov 2006 16:12:08 -0000 1.1 +++ README_LOCALE 23 Nov 2006 11:24:03 -0000 1.2 @@ -10,12 +10,9 @@ This document described how to make E/AS software on your language. -1. Run `make template from this directory for generation for up-to-date -translation. - -Create locale directory under 'locale' subdirectory. Name of this -directory must be language code for your language. For example, Estonian -language has language code 'es'. +1. Run `make template` from this directory for generation translation +template. Then run `make translations` for merge old translation with new +template. 2. Lookup for file with your language. Name of this file must be language code for your language with '.po' extension. For example, Estonian language @@ -25,4 +22,4 @@ 3. Translate messages in this file in favorite editor (for example, kbabel) or manually. -4. Run 'make && make install' for add new language to program. \ No newline at end of file +4. Run 'make && make install' for add or update new language to program. Index: eas.pot =================================================================== RCS file: /cvsroot/eas-dev/eas/po/eas.pot,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- eas.pot 20 Nov 2006 12:57:55 -0000 1.4 +++ eas.pot 23 Nov 2006 11:24:03 -0000 1.5 @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2006-11-19 23:55+0300\n" +"POT-Creation-Date: 2006-11-23 14:12+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL...@li...>\n" Index: ru.po =================================================================== RCS file: /cvsroot/eas-dev/eas/po/ru.po,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- ru.po 20 Nov 2006 12:57:55 -0000 1.4 +++ ru.po 23 Nov 2006 11:24:03 -0000 1.5 @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: ru\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2006-11-19 23:55+0300\n" +"POT-Creation-Date: 2006-11-23 14:12+0300\n" "PO-Revision-Date: 2006-11-02 14:13+0300\n" "Last-Translator: Andrey Cherepanov <sib...@ma...>\n" "Language-Team: Russian <kde...@li...>\n" |