Show More
@@ -1,12 +1,15 b'' | |||
|
1 | 1 | """ |
|
2 | 2 | i18n.py - internationalization support for mercurial |
|
3 | 3 | |
|
4 | 4 | Copyright 2005 Matt Mackall <mpm@selenic.com> |
|
5 | 5 | |
|
6 | 6 | This software may be used and distributed according to the terms |
|
7 | 7 | of the GNU General Public License, incorporated herein by reference. |
|
8 | 8 | """ |
|
9 | 9 | |
|
10 | import gettext | |
|
11 | t = gettext.translation('hg', '/usr/share/locale', fallback=1) | |
|
12 | gettext = t.gettext | |
|
10 | # the import from gettext is _really_ slow | |
|
11 | # for now we use a dummy function | |
|
12 | gettext = lambda x: x | |
|
13 | #import 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