Mercurial > hg
comparison mercurial/i18n.py @ 1400:cf9a1233738a
i18n first part: make '_' available for files who need it
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org |
---|---|
date | Tue, 18 Oct 2005 18:37:48 -0700 |
parents | |
children | fbf2b10011aa |
comparison
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 |