##// END OF EJS Templates
Enable gettext translations...
Matt Mackall -
r3888:66050481 default
parent child Browse files
Show More
@@ -7,9 +7,7 b' This software may be used and distribute'
7 of the GNU General Public License, incorporated herein by reference.
7 of the GNU General Public License, incorporated herein by reference.
8 """
8 """
9
9
10 # the import from gettext is _really_ slow
10 import gettext
11 # for now we use a dummy function
11 t = gettext.translation('hg', fallback=1)
12 gettext = lambda x: x
12 gettext = t.gettext
13 #import gettext
13 _ = gettext
14 #t = gettext.translation('hg', '/usr/share/locale', fallback=1)
15 #gettext = t.gettext
General Comments 0
You need to be logged in to leave comments. Login now