Commit 3474f69030165b784fb08b4f6bc6f61319e724dc

Authored by Paulo Henrique Junqueira Amorim
1 parent e17e101f

STYLE: Changed folder name en_GB to en

.gitattributes
@@ -157,6 +157,7 @@ invesalius/session.py -text @@ -157,6 +157,7 @@ invesalius/session.py -text
157 invesalius/style.py -text 157 invesalius/style.py -text
158 invesalius/utils.py -text 158 invesalius/utils.py -text
159 invesalius/version.py -text 159 invesalius/version.py -text
  160 +locale/en/LC_MESSAGES/invesalius.mo -text
160 locale/es/LC_MESSAGES/invesalius.mo -text 161 locale/es/LC_MESSAGES/invesalius.mo -text
161 locale/pt_BR/LC_MESSAGES/invesalius.mo -text 162 locale/pt_BR/LC_MESSAGES/invesalius.mo -text
162 presets/raycasting/Airways[!!-~]II.plist -text 163 presets/raycasting/Airways[!!-~]II.plist -text
invesalius/gui/language_dialog.py
@@ -121,7 +121,7 @@ class LanguageDialog(wx.Dialog): @@ -121,7 +121,7 @@ class LanguageDialog(wx.Dialog):
121 elif(os_language[0:2] == 'es'): 121 elif(os_language[0:2] == 'es'):
122 _ = i18n.InstallLanguage('es') 122 _ = i18n.InstallLanguage('es')
123 else: 123 else:
124 - _ = i18n.InstallLanguage('en_GB') 124 + _ = i18n.InstallLanguage('en')
125 125
126 def Cancel(self, event): 126 def Cancel(self, event):
127 """Close Frm_Language""" 127 """Close Frm_Language"""
invesalius/i18n.py
@@ -31,7 +31,7 @@ import constants as const @@ -31,7 +31,7 @@ import constants as const
31 def GetLocales(): 31 def GetLocales():
32 """Return a dictionary which defines supported languages""" 32 """Return a dictionary which defines supported languages"""
33 locale_descriptions = {'es': u'Español', 33 locale_descriptions = {'es': u'Español',
34 - 'en_GB': u'English', 34 + 'en': u'English',
35 'pt_BR': u'Português (Brasil)'} 35 'pt_BR': u'Português (Brasil)'}
36 return locale_descriptions 36 return locale_descriptions
37 37
locale/en/LC_MESSAGES/invesalius.mo 0 → 100644
No preview for this file type