comparison mercurial/ui.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 141951276ba1
children 9d2c2e6b32b5
comparison
equal deleted inserted replaced
1399:9a70776e355e 1400:cf9a1233738a
4 # 4 #
5 # This software may be used and distributed according to the terms 5 # This software may be used and distributed according to the terms
6 # of the GNU General Public License, incorporated herein by reference. 6 # of the GNU General Public License, incorporated herein by reference.
7 7
8 import os, ConfigParser 8 import os, ConfigParser
9 from i18n import gettext as _
9 from demandload import * 10 from demandload import *
10 demandload(globals(), "re socket sys util") 11 demandload(globals(), "re socket sys util")
11 12
12 class ui: 13 class ui:
13 def __init__(self, verbose=False, debug=False, quiet=False, 14 def __init__(self, verbose=False, debug=False, quiet=False,