mercurial/i18n.py
changeset 30085 2bde971474d2
parent 30050 d229be12e256
child 30314 8321b083a83d
--- a/mercurial/i18n.py	Sat Oct 08 10:39:00 2016 -0400
+++ b/mercurial/i18n.py	Sat Oct 08 05:26:18 2016 -0400
@@ -49,7 +49,7 @@
 _ugettext = None
 
 def setdatapath(datapath):
-    localedir = os.path.join(datapath, 'locale')
+    localedir = os.path.join(datapath, pycompat.sysstr('locale'))
     t = gettextmod.translation('hg', localedir, _languages, fallback=True)
     global _ugettext
     try: