Commit 3599f7362a8b7ee9cbed8199bc37829b5e69bd11
1 parent
3b018bbf
Exists in
master
and in
68 other branches
ENH: Locales using 5 characters
Showing
1 changed file
with
1 additions
and
3 deletions
Show diff stats
invesalius/gui/language_dialog.py
| @@ -53,9 +53,7 @@ class LanguageDialog(wx.Dialog): | @@ -53,9 +53,7 @@ class LanguageDialog(wx.Dialog): | ||
| 53 | # Find out OS locale | 53 | # Find out OS locale |
| 54 | self.os_locale = i18n.GetLocaleOS() | 54 | self.os_locale = i18n.GetLocaleOS() |
| 55 | 55 | ||
| 56 | - # FIXME: In future we shall be using all locales using 5 | ||
| 57 | - # characters... until then, we use only 2: | ||
| 58 | - os_lang = self.os_locale[0:2] | 56 | + os_lang = self.os_locale |
| 59 | 57 | ||
| 60 | # Default selection will be English | 58 | # Default selection will be English |
| 61 | selection = self.locales_key.index('en') | 59 | selection = self.locales_key.index('en') |