Map zh_TW and zh_CN to their NSIS names.
authorAndre Heinecke <aheinecke@intevation.de>
Fri, 13 Nov 2015 15:01:54 +0000 (16:01 +0100)
committerAndre Heinecke <aheinecke@intevation.de>
Fri, 13 Nov 2015 15:01:54 +0000 (16:01 +0100)
* po/nsis-msgfmt.c: Fix mapping of zh_TW and zh_CN

po/nsis-msgfmt.c

index c0f97cc..0d3984d 100644 (file)
@@ -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_??", "SUBLANG_CHINESE_SIMPLIFIED", "SimpChinese" },
-      { "zh_??", "SUBLANG_CHINESE_TRADITIONAL", "TradChinese" },
+      { "zh_CN", "SUBLANG_CHINESE_SIMPLIFIED", "SimpChinese" },
+      { "zh_TW", "SUBLANG_CHINESE_TRADITIONAL", "TradChinese" },
       { "zh_HK", "SUBLANG_CHINESE_HONGKONG", NULL },
       { "zh_SG", "SUBLANG_CHINESE_SINGAPORE", NULL },
       { "zh_MO", "SUBLANG_CHINESE_MACAU", NULL },