From 7d2afe6cbc016b960d7de026f2a0707249572dbb Mon Sep 17 00:00:00 2001 From: Adam Blackburn Date: Tue, 27 Jan 2009 14:15:30 +0800 Subject: [PATCH 1/3] Added a bunch more translations --- wicd/misc.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/wicd/misc.py b/wicd/misc.py index ef48d33..3cdeabd 100644 --- a/wicd/misc.py +++ b/wicd/misc.py @@ -555,6 +555,18 @@ def get_language_list_gui(): language['connecting_to_daemon'] = _("Connecting to daemon...") langauge['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:") + language["cannot_edit_scripts_2"] = _('Once here, you can adjust (or add) the "beforescript", "afterscript", and "disconnectscript" variables as needed, to change the preconnect, postconnect, and disconnect scripts respectively. Alternatively, you can configure the wireless networks by ESSID, by looking for the "[]" field in the config file.') + language["add_new_profile"] = _("Add a new profile") + language["add_new_wired_profile"] = _("Add a new wired profile") + language["no_delete_last_profile"] = _("wicd-curses does not support deleting the last wired profile. Try renaming it ('F2')") + language["rename_wired_profile"] = _("Rename wired profile") + language["select_hidden_essid"] = _("Select Hidden Network ESSID") + language["esc_to_cancel"] = _("Press ESC to cancel") + language["press_to_quit"] = _("Press F8 or Q to quit.") return language From ad44d01298c564319ad4527e1251426a84242eff Mon Sep 17 00:00:00 2001 From: Adam Blackburn Date: Tue, 27 Jan 2009 14:17:11 +0800 Subject: [PATCH 2/3] Fixed a typo --- wicd/misc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wicd/misc.py b/wicd/misc.py index 3cdeabd..798f1a4 100644 --- a/wicd/misc.py +++ b/wicd/misc.py @@ -553,7 +553,7 @@ def get_language_list_gui(): language['global_dns_servers'] = _("Global DNS servers") language['network_interfaces'] = _("Network Interfaces") language['connecting_to_daemon'] = _("Connecting to daemon...") - langauge['cannot_connect_to_daemon'] = _("Can't connect to the daemon, trying to start it automatically...") + 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:") From b9421a2933302eb237913d27bd3650c3134daf4d Mon Sep 17 00:00:00 2001 From: Adam Blackburn Date: Tue, 27 Jan 2009 14:22:10 +0800 Subject: [PATCH 3/3] Fixed another typo --- wicd/misc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wicd/misc.py b/wicd/misc.py index 798f1a4..d50938b 100644 --- a/wicd/misc.py +++ b/wicd/misc.py @@ -558,7 +558,7 @@ def get_language_list_gui(): 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:") + 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:') language["cannot_edit_scripts_2"] = _('Once here, you can adjust (or add) the "beforescript", "afterscript", and "disconnectscript" variables as needed, to change the preconnect, postconnect, and disconnect scripts respectively. Alternatively, you can configure the wireless networks by ESSID, by looking for the "[]" field in the config file.') language["add_new_profile"] = _("Add a new profile") language["add_new_wired_profile"] = _("Add a new wired profile")