Commit d6aa5931e6fb2d45eab71b2f4c24224f22003843
1 parent
32a59e59
Exists in
master
and in
6 other branches
ADD: New languages support (German and Chinese)
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
invesalius/i18n.py
... | ... | @@ -32,7 +32,8 @@ LANGUAGE_DIR = os.path.abspath(os.path.join('..','locale')) |
32 | 32 | |
33 | 33 | def GetLocales(): |
34 | 34 | """Return a dictionary which defines supported languages""" |
35 | - d = utl.TwoWaysDictionary ({'en': u'English', | |
35 | + d = utl.TwoWaysDictionary ({'zh_TW': u'中文', | |
36 | + 'en': u'English', | |
36 | 37 | 'es': u'Español', |
37 | 38 | 'pt_BR': u'Português (Brasil)', |
38 | 39 | 'fr':u'Français', | ... | ... |