7851: translations don't show in many labels, buttons, and other elements, Windows only
Added fix for Python3
This commit is contained in:
parent
e568babb33
commit
f4abd460ba
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user