##// END OF EJS Templates
py3: make gettext domain a system string
Yuya Nishihara -
r36710:aeaf9c7f default
parent child Browse files
Show More
@@ -51,7 +51,7 b' if (pycompat.iswindows'
51 def setdatapath(datapath):
51 def setdatapath(datapath):
52 datapath = pycompat.fsdecode(datapath)
52 datapath = pycompat.fsdecode(datapath)
53 localedir = os.path.join(datapath, pycompat.sysstr('locale'))
53 localedir = os.path.join(datapath, pycompat.sysstr('locale'))
54 t = gettextmod.translation('hg', localedir, _languages, fallback=True)
54 t = gettextmod.translation(r'hg', localedir, _languages, fallback=True)
55 global _ugettext
55 global _ugettext
56 try:
56 try:
57 _ugettext = t.ugettext
57 _ugettext = t.ugettext
General Comments 0
You need to be logged in to leave comments. Login now