Show More
@@ -7,6 +7,9 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 | 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 |
General Comments 0
You need to be logged in to leave comments.
Login now