[Gpg4win-commits] [git] Gpg4win - branch, gpg4win-2, updated. gpg4win-2.2.6-17-g770737e
by Andre Heinecke
cvs at cvs.gnupg.org
Fri Nov 13 16:58:04 CET 2015
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GnuPG for Windows".
The branch, gpg4win-2 has been updated
via 770737e288492683588619f762c6974eb76361b3 (commit)
from 051691f7439ff0cac26a07ac4c7dfef4a5a22757 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 770737e288492683588619f762c6974eb76361b3
Author: Andre Heinecke <aheinecke at intevation.de>
Date: Fri Nov 13 16:55:47 2015 +0100
Another fix for nsis-msgfmt mapping
* po/nsis-msgfmt.c: Map Chinese simplified and Traditional differently.
--
Still not sure what I am doing here but wihtout this I get warnings
that zh_CN and zh_TW is not used and the strings are mapped to
language 0. With this mapping it appears to work. I've taken
nsis.sourceforge.net/Examples/languages.nsi as an example.
diff --git a/po/nsis-msgfmt.c b/po/nsis-msgfmt.c
index 0d3984d..bf97d6e 100644
--- a/po/nsis-msgfmt.c
+++ b/po/nsis-msgfmt.c
@@ -80,8 +80,8 @@ iso639_to_nsis (const char *ll, char **lang, char **nlf)
{ "bg", "LANG_BULGARIAN", "Bulgarian" },
{ "ca", "LANG_CATALAN", "Catalan" },
{ "zh", "LANG_CHINESE", NULL },
- { "zh_CN", "SUBLANG_CHINESE_SIMPLIFIED", "SimpChinese" },
- { "zh_TW", "SUBLANG_CHINESE_TRADITIONAL", "TradChinese" },
+ { "zh_CN", "LANG_SIMPCHINESE", "SimpChinese"},
+ { "zh_TW", "LANG_TRADCHINESE", "TradChinese" },
{ "zh_HK", "SUBLANG_CHINESE_HONGKONG", NULL },
{ "zh_SG", "SUBLANG_CHINESE_SINGAPORE", NULL },
{ "zh_MO", "SUBLANG_CHINESE_MACAU", NULL },
-----------------------------------------------------------------------
Summary of changes:
po/nsis-msgfmt.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
GnuPG for Windows
http://git.gnupg.org
More information about the Gpg4win-commits
mailing list