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
680301de90
commit
23df099e41
@ -474,7 +474,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