# HG changeset patch # User Yuya Nishihara # Date 1520122367 18000 # Node ID aeaf9c7f75287876c05634a45c8ea528b147e6c7 # Parent 1b179d15157850541eb69b13e2a32f69fcd94683 py3: make gettext domain a system string diff -r 1b179d151578 -r aeaf9c7f7528 mercurial/i18n.py --- 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