Commit fdb05bd443176c9b3ab0b19f44c4b9e1da262bfd

Authored by tfmoraes
1 parent f333dc36

FIX: In windows and darwin non-ascii characters was messed up in translated texts. Now using unicode

Showing 1 changed file with 2 additions and 1 deletions   Show diff stats
invesalius/i18n.py
@@ -47,5 +47,6 @@ def InstallLanguage(language): @@ -47,5 +47,6 @@ def InstallLanguage(language):
47 47
48 lang = gettext.translation('invesalius', const.LANGUAGE_DIR,\ 48 lang = gettext.translation('invesalius', const.LANGUAGE_DIR,\
49 languages=[language], codeset='utf8') 49 languages=[language], codeset='utf8')
50 - lang.install() 50 + # Using unicode
  51 + lang.install(unicode=1)
51 return lang.gettext 52 return lang.gettext