Commit a88ca6a8b9e8d0472c31beac327374b9ebdacb93
1 parent
c7ea4e64
Exists in
master
and in
6 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,9 +29,9 @@ import constants as const | ||
29 | 29 | ||
30 | def GetLocales(): | 30 | def GetLocales(): |
31 | """Return a dictionary which defines supported languages""" | 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 | return locale_descriptions | 35 | return locale_descriptions |
36 | 36 | ||
37 | def GetLocaleOS(): | 37 | def GetLocaleOS(): |