7851: translations don't show in many labels
Ensure python text domain gets the right encoding.
(cherry picked from commit 65dbb1bd46
)
This commit is contained in:
parent
325cac8335
commit
1537eed079
@ -481,7 +481,8 @@ class GrampsLocale(object):
|
||||
if not sys.platform == 'win32':
|
||||
locale.bindtextdomain(self.localedomain, self.localedir)
|
||||
else:
|
||||
self._win_bindtextdomain(self.localedomain, self.localedir)
|
||||
self._win_bindtextdomain(self.localedomain,
|
||||
self.localedir.encode('utf-8'))
|
||||
|
||||
def _init_secondary_locale(self):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user