Commit d6aa5931e6fb2d45eab71b2f4c24224f22003843

Authored by tatiana
1 parent 32a59e59

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,7 +32,8 @@ LANGUAGE_DIR = os.path.abspath(os.path.join('..','locale'))
32 32
33 def GetLocales(): 33 def GetLocales():
34 """Return a dictionary which defines supported languages""" 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 'es': u'Español', 37 'es': u'Español',
37 'pt_BR': u'Português (Brasil)', 38 'pt_BR': u'Português (Brasil)',
38 'fr':u'Français', 39 'fr':u'Français',