author | Yuya Nishihara <yuya@tcha.org> |
Sat, 03 Mar 2018 19:12:47 -0500 | |
changeset 36717 | aeaf9c7f7528 |
parent 36716 | 1b179d151578 |
child 36718 | 19e859cad54c |
mercurial/i18n.py | file | annotate | diff | comparison | revisions |
--- a/mercurial/i18n.py Sun Mar 04 07:03:50 2018 -0500 +++ b/mercurial/i18n.py Sat Mar 03 19:12:47 2018 -0500 @@ -51,7 +51,7 @@ def setdatapath(datapath): datapath = pycompat.fsdecode(datapath) localedir = os.path.join(datapath, pycompat.sysstr('locale')) - t = gettextmod.translation('hg', localedir, _languages, fallback=True) + t = gettextmod.translation(r'hg', localedir, _languages, fallback=True) global _ugettext try: _ugettext = t.ugettext