mercurial/i18n.py
changeset 1401 fbf2b10011aa
parent 1400 cf9a1233738a
child 2859 345bac2bc4ec
equal deleted inserted replaced
1400:cf9a1233738a 1401:fbf2b10011aa
     5 
     5 
     6 This software may be used and distributed according to the terms
     6 This software may be used and distributed according to the terms
     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 import gettext
    10 # the import from gettext is _really_ slow
    11 t = gettext.translation('hg', '/usr/share/locale', fallback=1)
    11 # for now we use a dummy function
    12 gettext = t.gettext
    12 gettext = lambda x: x
       
    13 #import gettext
       
    14 #t = gettext.translation('hg', '/usr/share/locale', fallback=1)
       
    15 #gettext = t.gettext