7573: slight tweak to (two zh) [9c8cf2]
This commit is contained in:
parent
8312bfa839
commit
5e61827693
@ -65,6 +65,7 @@ if HAVE_ICU:
|
||||
# when a new translation is added. Note the dummy _(): That's just to
|
||||
# get xgettext to include the string in gramps.pot; actual translation
|
||||
# is done in _get_language_string() below.
|
||||
# (The gramps officially-supported language list is ALL_LINGUAS in setup.py)
|
||||
_ = lambda x: x
|
||||
_LOCALE_NAMES = {
|
||||
'ar': ('Arabic_Saudi Arabia', '1256', _("Arabic")),
|
||||
@ -105,7 +106,8 @@ _LOCALE_NAMES = {
|
||||
'tr': ('Turkish_Turkey', '1254', _("Turkish")),
|
||||
'uk': ('Ukrainian_Ukraine', '1251', _("Ukrainian")),
|
||||
'vi': ('Vietnamese_Viet Nam', '1258', _("Vietnamese")),
|
||||
'zh_CN': ('Chinese_China', '936', _("Chinese Simplified")),
|
||||
'zh_CN': ('Chinese_China', '936', _("Chinese (Simplified)")),
|
||||
'zh_TW': ('Chinese_Taiwan', '950', _("Chinese (Traditional)")),
|
||||
}
|
||||
|
||||
def _check_mswin_locale(locale):
|
||||
|
2
setup.py
2
setup.py
@ -49,6 +49,8 @@ import io
|
||||
from gramps.version import VERSION
|
||||
import unittest
|
||||
|
||||
# this list MUST be a subset of _LOCALE_NAMES in gen/utils/grampslocale.py
|
||||
# (that is, if you add a new language here, be sure it's in _LOCALE_NAMES too)
|
||||
ALL_LINGUAS = ('ar', 'bg', 'ca', 'cs', 'da', 'de', 'el', 'en_GB', 'es',
|
||||
'fi', 'fr', 'he', 'hr', 'hu', 'it', 'ja', 'lt', 'nb', 'nl',
|
||||
'nn', 'pl', 'pt_BR', 'pt_PT', 'ru', 'sk', 'sl', 'sq', 'sv',
|
||||
|
Loading…
Reference in New Issue
Block a user