7851: translations don't show in many labels
Ensure python text domain gets the right encoding.
This commit is contained in:
parent
89b923d1ab
commit
65dbb1bd46
@ -481,7 +481,8 @@ 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.localedir)
|
self._win_bindtextdomain(self.localedomain,
|
||||||
|
self.localedir.encode('utf-8'))
|
||||||
|
|
||||||
def _init_secondary_locale(self):
|
def _init_secondary_locale(self):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user