mirror of
https://github.com/gryf/wicd.git
synced 2026-03-27 06:23:32 +01:00
merged 1.6-strip-ips and updated translations.py
This commit is contained in:
@@ -44,17 +44,18 @@ def get_gettext():
|
||||
lc, encoding = locale.getdefaultlocale(envvars=('LC_MESSAGES',
|
||||
'LC_ALL', 'LANG',
|
||||
'LANGUAGE'))
|
||||
langs += [lc]
|
||||
except ValueError, e:
|
||||
print str(e)
|
||||
print "Default locale unavailable, falling back to en_US"
|
||||
if (lc):
|
||||
langs += [lc]
|
||||
langs += ["en_US"]
|
||||
lang = gettext.translation('wicd', local_path, languages=langs,
|
||||
fallback=True)
|
||||
_ = lang.gettext
|
||||
return _
|
||||
|
||||
# Generated automatically on Sun, 05 Jul 2009 13:51:18 CDT
|
||||
# Generated automatically on Thu, 13 Aug 2009 12:10:26 CDT
|
||||
_ = get_gettext()
|
||||
language = {}
|
||||
language['resetting_ip_address'] = _('''Resetting IP address...''')
|
||||
@@ -217,3 +218,6 @@ language['access_denied'] = _('''Unable to contact the Wicd daemon due to an acc
|
||||
language['disconnecting_active'] = _('''Disconnecting active connections...''')
|
||||
language['access_denied_wc'] = _('''ERROR: wicd-curses was denied access to the wicd daemon: please check that your user is in the "$A" group.''')
|
||||
language['post_disconnect_script'] = _('''Run post-disconnect script''')
|
||||
language['resume_script'] = _('''Resume script''')
|
||||
language['suspend_script'] = _('''Suspend script''')
|
||||
language['invalid_ip_address'] = _('''Invalid IP address entered.''')
|
||||
|
||||
Reference in New Issue
Block a user