File mercurial-locale-path-fix.patch of Package mercurial.11235

Index: mercurial-4.1/mercurial/i18n.py
===================================================================
--- mercurial-4.1.orig/mercurial/i18n.py
+++ mercurial-4.1/mercurial/i18n.py
@@ -50,7 +50,7 @@ _ugettext = None
 
 def setdatapath(datapath):
     datapath = pycompat.fsdecode(datapath)
-    localedir = os.path.join(datapath, pycompat.sysstr('locale'))
+    localedir = '/usr/share/locale'
     t = gettextmod.translation('hg', localedir, _languages, fallback=True)
     global _ugettext
     try: