1
0
mirror of https://github.com/gryf/wicd.git synced 2026-02-24 03:05:47 +01:00

Merge NaCl's curses frontend and rworkman's experimental branch.

This commit is contained in:
Dan O'Reilly
2009-02-01 23:32:55 -05:00
21 changed files with 2834 additions and 34 deletions

View File

@@ -306,7 +306,7 @@ def noneToString(text):
return "None"
else:
return str(text)
def get_gettext():
""" Set up gettext for translations. """
# Borrowed from an excellent post on how to do this at
@@ -562,7 +562,7 @@ def get_language_list_gui():
language['lost_dbus'] = _("The wicd daemon has shut down, the UI will not function properly until it is restarted.")
language['configuring_wireless'] = _("Configuring preferences for wireless network \"$A\" ($B)")
language['configuring_wired'] = _("Configuring preferences for wired profile \"$A\"")
language['scan'] = _('Scan')
language['always_switch_to_wired'] = _("Always switch to wired connection when available")
language['wired_autoconnect_settings'] = _("Wired Autoconnect Settings")
language['always_use_wext'] = _("You should almost always use wext as the WPA supplicant driver")
@@ -574,7 +574,6 @@ def get_language_list_gui():
language['connecting_to_daemon'] = _("Connecting to daemon...")
language['cannot_connect_to_daemon'] = _("Can't connect to the daemon, trying to start it automatically...")
language['could_not_connect'] = _("Could not connect to wicd's D-Bus interface. Check the wicd log for error messages.")
language["exception"] = _("EXCEPTION! Please report this to the maintainer and file a bug report with the backtrace below:")
language["brought_to_you"] = _("Brought to you by:")
language["cannot_edit_scripts_1"] = _('To avoid various complications, wicd-curses does not support directly editing the scripts directly. However, you can edit them manually. First, (as root), open the "$A" config file, and look for the section labeled by the $B in question. In this case, this is:')
@@ -587,6 +586,11 @@ def get_language_list_gui():
language["esc_to_cancel"] = _("Press ESC to cancel")
language["press_to_quit"] = _("Press F8 or Q to quit.")
language['terminated'] = _("Terminated by user")
language['wicd_curses'] = _("Wicd Curses Interface")
language['dbus_fail'] = _("DBus failure! This is most likely caused by the wicd daemon stopping while wicd-curses is running. Please restart the daemon, and then restart wicd-curses.")
return language
def get_language_list_tray():