7851: translations don't show in many labels, buttons, and other elements, Windows only
Added fix for Python3
This commit is contained in:
parent
236261e2db
commit
42a56bf31b
@ -481,7 +481,7 @@ class GrampsLocale(object):
|
||||
if not sys.platform == 'win32':
|
||||
locale.bindtextdomain(self.localedomain, self.localedir)
|
||||
else:
|
||||
self._win_bindtextdomain(self.localedomain,
|
||||
self._win_bindtextdomain(self.localedomain.encode('utf-8'),
|
||||
self.localedir.encode('utf-8'))
|
||||
|
||||
def _init_secondary_locale(self):
|
||||
|
Loading…
Reference in New Issue
Block a user