diff --git a/.gitattributes b/.gitattributes index 4d05fa2..dc68530 100644 --- a/.gitattributes +++ b/.gitattributes @@ -157,6 +157,7 @@ invesalius/session.py -text invesalius/style.py -text invesalius/utils.py -text invesalius/version.py -text +locale/en/LC_MESSAGES/invesalius.mo -text locale/es/LC_MESSAGES/invesalius.mo -text locale/pt_BR/LC_MESSAGES/invesalius.mo -text presets/raycasting/Airways[!!-~]II.plist -text diff --git a/invesalius/gui/language_dialog.py b/invesalius/gui/language_dialog.py index 7d905ef..9879b14 100644 --- a/invesalius/gui/language_dialog.py +++ b/invesalius/gui/language_dialog.py @@ -121,7 +121,7 @@ class LanguageDialog(wx.Dialog): elif(os_language[0:2] == 'es'): _ = i18n.InstallLanguage('es') else: - _ = i18n.InstallLanguage('en_GB') + _ = i18n.InstallLanguage('en') def Cancel(self, event): """Close Frm_Language""" diff --git a/invesalius/i18n.py b/invesalius/i18n.py index 32070ce..84ee22c 100644 --- a/invesalius/i18n.py +++ b/invesalius/i18n.py @@ -31,7 +31,7 @@ import constants as const def GetLocales(): """Return a dictionary which defines supported languages""" locale_descriptions = {'es': u'Español', - 'en_GB': u'English', + 'en': u'English', 'pt_BR': u'Português (Brasil)'} return locale_descriptions diff --git a/locale/en/LC_MESSAGES/invesalius.mo b/locale/en/LC_MESSAGES/invesalius.mo new file mode 100644 index 0000000..80da608 Binary files /dev/null and b/locale/en/LC_MESSAGES/invesalius.mo differ -- libgit2 0.21.2