changeset 43554 | 9f70512ae2cf |
parent 43089 | c59eb1560c44 |
child 43714 | f0bee3b1b847 |
--- a/mercurial/i18n.py Sun Nov 10 07:30:14 2019 -0800 +++ b/mercurial/i18n.py Fri Nov 08 11:19:20 2019 -0800 @@ -50,8 +50,8 @@ def setdatapath(datapath): datapath = pycompat.fsdecode(datapath) - localedir = os.path.join(datapath, r'locale') - t = gettextmod.translation(r'hg', localedir, _languages, fallback=True) + localedir = os.path.join(datapath, 'locale') + t = gettextmod.translation('hg', localedir, _languages, fallback=True) global _ugettext try: _ugettext = t.ugettext