Commit 3474f69030165b784fb08b4f6bc6f61319e724dc
1 parent
e17e101f
Exists in
master
and in
68 other branches
STYLE: Changed folder name en_GB to en
Showing
4 changed files
with
3 additions
and
2 deletions
Show diff stats
.gitattributes
... | ... | @@ -157,6 +157,7 @@ invesalius/session.py -text |
157 | 157 | invesalius/style.py -text |
158 | 158 | invesalius/utils.py -text |
159 | 159 | invesalius/version.py -text |
160 | +locale/en/LC_MESSAGES/invesalius.mo -text | |
160 | 161 | locale/es/LC_MESSAGES/invesalius.mo -text |
161 | 162 | locale/pt_BR/LC_MESSAGES/invesalius.mo -text |
162 | 163 | presets/raycasting/Airways[!!-~]II.plist -text | ... | ... |
invesalius/gui/language_dialog.py
... | ... | @@ -121,7 +121,7 @@ class LanguageDialog(wx.Dialog): |
121 | 121 | elif(os_language[0:2] == 'es'): |
122 | 122 | _ = i18n.InstallLanguage('es') |
123 | 123 | else: |
124 | - _ = i18n.InstallLanguage('en_GB') | |
124 | + _ = i18n.InstallLanguage('en') | |
125 | 125 | |
126 | 126 | def Cancel(self, event): |
127 | 127 | """Close Frm_Language""" | ... | ... |
invesalius/i18n.py
... | ... | @@ -31,7 +31,7 @@ import constants as const |
31 | 31 | def GetLocales(): |
32 | 32 | """Return a dictionary which defines supported languages""" |
33 | 33 | locale_descriptions = {'es': u'Español', |
34 | - 'en_GB': u'English', | |
34 | + 'en': u'English', | |
35 | 35 | 'pt_BR': u'Português (Brasil)'} |
36 | 36 | return locale_descriptions |
37 | 37 | ... | ... |
No preview for this file type