mercurial/i18n.py
changeset 36843 5bc7ff103081
parent 36717 aeaf9c7f7528
child 38321 79dd61a4554f
--- a/mercurial/i18n.py	Sat Mar 10 15:50:09 2018 +0900
+++ b/mercurial/i18n.py	Sat Mar 10 15:57:16 2018 +0900
@@ -50,7 +50,7 @@
 
 def setdatapath(datapath):
     datapath = pycompat.fsdecode(datapath)
-    localedir = os.path.join(datapath, pycompat.sysstr('locale'))
+    localedir = os.path.join(datapath, r'locale')
     t = gettextmod.translation(r'hg', localedir, _languages, fallback=True)
     global _ugettext
     try: