mercurial/i18n.py
changeset 1400 cf9a1233738a
child 1401 fbf2b10011aa
equal deleted inserted replaced
1399:9a70776e355e 1400:cf9a1233738a
       
     1 """
       
     2 i18n.py - internationalization support for mercurial
       
     3 
       
     4 Copyright 2005 Matt Mackall <mpm@selenic.com>
       
     5 
       
     6 This software may be used and distributed according to the terms
       
     7 of the GNU General Public License, incorporated herein by reference.
       
     8 """
       
     9 
       
    10 import gettext
       
    11 t = gettext.translation('hg', '/usr/share/locale', fallback=1)
       
    12 gettext = t.gettext