7851: translations don't show in many labels, buttons, and other elements, Windows only

Added fix for Python3
This commit is contained in:
Josip 2015-01-03 20:25:12 +01:00
parent e568babb33
commit f4abd460ba

View File

@ -483,7 +483,7 @@ class GrampsLocale(object):
if not sys.platform == 'win32': if not sys.platform == 'win32':
locale.bindtextdomain(self.localedomain, self.localedir) locale.bindtextdomain(self.localedomain, self.localedir)
else: else:
self._win_bindtextdomain(self.localedomain, self._win_bindtextdomain(self.localedomain.encode('utf-8'),
self.localedir.encode('utf-8')) self.localedir.encode('utf-8'))
def _init_secondary_locale(self): def _init_secondary_locale(self):