Commit a88ca6a8b9e8d0472c31beac327374b9ebdacb93
1 parent
c7ea4e64
Exists in
master
and in
68 other branches
FIX: using unicode in i18n
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
invesalius/i18n.py
... | ... | @@ -29,9 +29,9 @@ import constants as const |
29 | 29 | |
30 | 30 | def GetLocales(): |
31 | 31 | """Return a dictionary which defines supported languages""" |
32 | - locale_descriptions = {'es':'Español',\ | |
33 | - 'en_GB':'English',\ | |
34 | - 'pt_BR':'Português (Brasil)'} | |
32 | + locale_descriptions = {'es': u'Español', | |
33 | + 'en_GB': u'English', | |
34 | + 'pt_BR': u'Português (Brasil)'} | |
35 | 35 | return locale_descriptions |
36 | 36 | |
37 | 37 | def GetLocaleOS(): | ... | ... |