gnucash-htdocs master: Multiple changes pushed
Frank H. Ellenberger
fell at code.gnucash.org
Sat Feb 6 02:52:06 EST 2016
Updated via https://github.com/Gnucash/gnucash-htdocs/commit/48708560 (commit)
via https://github.com/Gnucash/gnucash-htdocs/commit/e9b03d16 (commit)
from https://github.com/Gnucash/gnucash-htdocs/commit/3ad3ef5a (commit)
commit 487085601b7acfa4612842eba0e2bf243a38206e
Author: fell <f.ellenberger at online.de>
Date: Sat Feb 6 08:50:00 2016 +0100
Rename pt_PT.po to pt.po
So it can be used by other regions like e.g. BR too - at least as long
as we have no 2. translation like for zh.
diff --git a/Makefile b/Makefile
index 5e1cff2..2945172 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
iso_languages = de es fr
-languages = ${iso_languages} hu it ja nb nl pl pt_PT zh_CN zh_TW
+languages = ${iso_languages} hu it ja nb nl pl pt zh_CN zh_TW
.SECONDEXPANSION:
diff --git a/locale/pt_PT/LC_MESSAGES/gnucash-htdocs.mo b/locale/pt/LC_MESSAGES/gnucash-htdocs.mo
similarity index 100%
rename from locale/pt_PT/LC_MESSAGES/gnucash-htdocs.mo
rename to locale/pt/LC_MESSAGES/gnucash-htdocs.mo
diff --git a/po/pt_PT.po b/po/pt.po
similarity index 100%
rename from po/pt_PT.po
rename to po/pt.po
commit e9b03d168714bbac0a6340ae34c2d82a4b7a8cd5
Author: fell <f.ellenberger at online.de>
Date: Wed Feb 3 12:31:14 2016 +0100
Minor improvements of makefile
like add check to msgfmt
diff --git a/Makefile b/Makefile
index 92e9a90..5e1cff2 100644
--- a/Makefile
+++ b/Makefile
@@ -17,13 +17,14 @@ po/gnucash-htdocs.pot: po/POTFILES
msgmerge: po/gnucash-htdocs.pot
for f in ${languages} ; do \
- msgmerge -U po/$$f.po po/gnucash-htdocs.pot ; \
+ echo -n $$f ; \
+ msgmerge -U -s po/$$f.po po/gnucash-htdocs.pot ; \
done
mos: ${languages}
${languages}: po/$$@.po
- msgfmt $< -o locale/$@/LC_MESSAGES/gnucash-htdocs.mo
+ msgfmt -c --statistics $< -o locale/$@/LC_MESSAGES/gnucash-htdocs.mo
####################################################################
#
Summary of changes:
Makefile | 7 ++++---
locale/{pt_PT => pt}/LC_MESSAGES/gnucash-htdocs.mo | Bin
po/{pt_PT.po => pt.po} | 0
3 files changed, 4 insertions(+), 3 deletions(-)
rename locale/{pt_PT => pt}/LC_MESSAGES/gnucash-htdocs.mo (100%)
rename po/{pt_PT.po => pt.po} (100%)
More information about the gnucash-changes
mailing list