forked from pool/mercurial
- Mercurial 5.8 - build contrib/chg OBS-URL: https://build.opensuse.org/request/show/891919 OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/mercurial?expand=0&rev=282
12 lines
348 B
Diff
12 lines
348 B
Diff
--- a/mercurial/i18n.py
|
|
+++ b/mercurial/i18n.py
|
|
@@ -58,7 +58,7 @@ if (
|
|
|
|
|
|
datapath = pycompat.fsdecode(resourceutil.datapath)
|
|
-localedir = os.path.join(datapath, 'locale')
|
|
+localedir = '/usr/share/locale'
|
|
t = gettextmod.translation('hg', localedir, _languages, fallback=True)
|
|
try:
|
|
_ugettext = t.ugettext # pytype: disable=attribute-error
|