diff --git a/INSTALL b/INSTALL index 7537ed4..f29b3f0 100644 --- a/INSTALL +++ b/INSTALL @@ -12,8 +12,9 @@ are a few dependencies: 7. urwid (if you want to use the curses client - needs version >=0.9.8.3) 8. pm-utils (optional for suspend/resume integration - needs version >=1.2.4) -If you are installing from a bzr pull or beta/rc tarball and you want +If you are installing from a bzr pull and you want the native language translations, first run this: + python setup.py update_translations_py python setup.py get_translations You will not need to do this if you're installing from a release tarball. diff --git a/curses/netentry_curses.py b/curses/netentry_curses.py index 2723efe..8711ed3 100644 --- a/curses/netentry_curses.py +++ b/curses/netentry_curses.py @@ -62,17 +62,17 @@ class AdvancedSettingsDialog(urwid.WidgetWrap): ok_t = 'OK' self.static_ip_cb = urwid.CheckBox(static_ip_t, - on_state_change=self.static_ip_set_state) + on_state_change=self.static_ip_toggle) self.ip_edit =DynWrap(urwid.Edit(ip_t),False) self.netmask_edit=DynWrap(urwid.Edit(netmask_t),False) self.gateway_edit=DynWrap(urwid.Edit(gateway_t),False) - self.static_dns_cb = urwid.CheckBox(use_static_dns_t, - on_state_change=self.dns_toggle) + self.static_dns_cb = DynWrap(urwid.CheckBox(use_static_dns_t, + on_state_change=self.dns_toggle),True,('body','editnfc'),None) self.global_dns_cb = DynWrap(urwid.CheckBox(use_global_dns_t, on_state_change=self.dns_toggle),False,('body','editnfc'),None) - checkb_cols = urwid.Columns([self.static_dns_cb, + self.checkb_cols = urwid.Columns([self.static_dns_cb, self.global_dns_cb]) self.dns_dom_edit = DynWrap(urwid.Edit(dns_dom_t) ,False) self.search_dom_edit = DynWrap(urwid.Edit(search_dom_t),False) @@ -87,7 +87,7 @@ class AdvancedSettingsDialog(urwid.WidgetWrap): self.netmask_edit, self.gateway_edit, _blank, - checkb_cols, + self.checkb_cols, self.dns_dom_edit,self.search_dom_edit, self.dns1,self.dns2,self.dns3 ]) @@ -99,12 +99,19 @@ class AdvancedSettingsDialog(urwid.WidgetWrap): self._frame = urwid.Frame(self._listbox) self.__super.__init__(self._frame) - def static_ip_set_state(self,checkb,new_state,user_data=None): + def static_ip_toggle(self,checkb,new_state,user_data=None): for w in [ self.ip_edit,self.netmask_edit,self.gateway_edit ]: w.set_sensitive(new_state) + self.static_dns_cb.set_state(new_state) + self.static_dns_cb.set_sensitive(not new_state) + if new_state: + self.checkb_cols.set_focus(self.global_dns_cb) + else: + self.checkb_cols.set_focus(self.static_dns_cb) + def dns_toggle(self,checkb,new_state,user_data=None): - if checkb == self.static_dns_cb: + if checkb == self.static_dns_cb.get_w(): for w in [ self.dns_dom_edit,self.search_dom_edit, self.dns1,self.dns2,self.dns3 ]: w.set_sensitive(new_state) @@ -256,6 +263,8 @@ class WirelessSettingsDialog(AdvancedSettingsDialog): self.static_dns_cb.set_state(bool(wireless.GetWirelessProperty(networkID, 'use_static_dns'))) + if stringToNone(self.ip_edit.get_edit_text()): + self.static_ip_cb.set_state(True) self.dns1.set_edit_text(self.format_entry(networkID, "dns1")) self.dns2.set_edit_text(self.format_entry(networkID, "dns2")) self.dns3.set_edit_text(self.format_entry(networkID, "dns3")) @@ -327,8 +336,6 @@ class WirelessSettingsDialog(AdvancedSettingsDialog): return False else: self.set_net_prop("enctype", "None") - for entry in encrypt_info.iterkeys(): - self.set_net_prop(entry[0].entry, "") AdvancedSettingsDialog.save_settings(self) # Save the autoconnect setting. This is not where it originally was @@ -347,9 +354,9 @@ class WirelessSettingsDialog(AdvancedSettingsDialog): # More or less ripped from netentry.py def change_encrypt_method(self): #self.lbox_encrypt = urwid.ListBox() + self.encryption_info = {} wid,ID = self.encryption_combo.get_focus() methods = misc.LoadEncryptionMethods() - self.encryption_info = {} if self._w.body.body.__contains__(self.pile_encrypt): self._w.body.body.pop(self._w.body.body.__len__()-1) diff --git a/curses/wicd-curses.py b/curses/wicd-curses.py index db9641a..b188b16 100755 --- a/curses/wicd-curses.py +++ b/curses/wicd-curses.py @@ -33,7 +33,10 @@ at least get a network connection. Or those who don't like using X. ;-) Comments, criticisms, patches, bug reports all welcome! """ - +# Filter out a confusing urwid warning in python 2.6. +# This is valid as of urwid version 0.9.8.4 +import warnings +warnings.filterwarnings("ignore","The popen2 module is deprecated. Use the subprocess module.") # UI stuff # This library is the only reason why I wrote this program. import urwid diff --git a/setup.py b/setup.py index 376552c..4ebc6aa 100755 --- a/setup.py +++ b/setup.py @@ -332,6 +332,26 @@ class test(Command): print 'running tests' tests.run_tests() +class update_translations_py(Command): + description = "download new translations.py from the online translator" + + user_options = [] + + def initialize_options(self): + pass + + def finalize_options(self): + pass + + def run(self): + import urllib, shutil + # grab translations.py + filename, headers = urllib.urlretrieve('http://wicd.net/translator/generate/translations.py/') + # copy it into the right location + shutil.copyfile(filename, + os.path.join(os.path.dirname(os.path.realpath(__file__)), + 'wicd/translations.py')) + class get_translations(Command): description = "download the translations from the online translator" @@ -482,7 +502,9 @@ iwscan_ext = Extension(name='iwscan', libraries=['iw'], sources=['depends/python-iwscan/pyiwscan.c']) setup(cmdclass={'configure' : configure, 'get_translations' : get_translations, - 'uninstall' : uninstall, 'test' : test, 'clear_generated' : clear_generated}, + 'uninstall' : uninstall, 'test' : test, 'clear_generated' : + clear_generated, 'update_translations_py' : + update_translations_py}, name="Wicd", version=VERSION_NUM, description="A wireless and wired network manager", diff --git a/wicd/netentry.py b/wicd/netentry.py index a4cfa40..161a45b 100644 --- a/wicd/netentry.py +++ b/wicd/netentry.py @@ -431,8 +431,6 @@ class WirelessSettingsDialog(AdvancedSettingsDialog): else: print "no encryption specified..." self.set_net_prop("enctype", "None") - for entry in encrypt_info.iterkeys(): - self.set_net_prop(entry[0], "") AdvancedSettingsDialog.save_settings(self) if self.chkbox_global_settings.get_active(): diff --git a/wicd/translations.py b/wicd/translations.py index b92bf44..7de3616 100644 --- a/wicd/translations.py +++ b/wicd/translations.py @@ -55,177 +55,160 @@ def get_gettext(): _ = lang.gettext return _ +# Generated automatically on Sat, 02 May 2009 02:29:29 CDT _ = get_gettext() language = {} -language['connect'] = _('Connect') -language['ip'] = _('IP') -language['netmask'] = _('Netmask') -language['gateway'] = _('Gateway') -language['dns'] = _('DNS') -language['use_static_ip'] = _('Use Static IPs') -language['use_static_dns'] = _('Use Static DNS') -language['use_encryption'] = _('Use Encryption') -language['advanced_settings'] = _('Advanced Settings') -language['properties'] = _('Properties') -language['wired_network'] = _('Wired Network') -language['wired_network_instructions'] = _('To connect to a wired network,' -' you must create a network profile. To create a network profile, type a' -' name that describes this network, and press Add.') -language['automatic_connect'] = _('Automatically connect to this network') -language['secured'] = _('Secured') -language['unsecured'] = _('Unsecured') -language['channel'] = _('Channel') -language['preferences'] = _('Preferences') -language['wpa_supplicant_driver'] = _('WPA Supplicant Driver') -language['wireless_interface'] = _('Wireless Interface') -language['wired_interface'] = _('Wired Interface') -language['hidden_network'] = _('Hidden Network') -language['hidden_network_essid'] = _('Hidden Network ESSID') -language['connected_to_wireless'] = _('Connected to $A at $B (IP: $C)') -language['connected_to_wired'] = _('Connected to wired network (IP: $A)') -language['not_connected'] = _('Not connected') -language['no_wireless_networks_found'] = _('No wireless networks found.') -language['killswitch_enabled'] = _('Wireless Kill Switch Enabled') -language['key'] = _('Key') -language['username'] = _('Username') -language['password'] = _('Password') -language['anonymous_identity'] = _('Anonymous Identity') -language['identity'] = _('Identity') -language['authentication'] = _('Authentication') -language['path_to_pac_file'] = _('Path to PAC File') -language['select_a_network'] = _('Choose from the networks below:') -#language['connecting...'] = _('Connecting...') -language['wired_always_on'] = _('Always show wired interface') -language['auto_reconnect'] = _('Automatically reconnect on connection loss') -language['create_adhoc_network'] = _('Create an Ad-Hoc Network') -language['essid'] = _('ESSID') -language['use_wep_encryption'] = _('Use Encryption (WEP only)') -language['before_script'] = _('Run script before connect') -language['after_script'] = _('Run script after connect') -language['disconnect_script'] = _('Run disconnect script') -language['script_settings'] = _('Scripts') -language['use_ics'] = _('Activate Internet Connection Sharing') -language['madwifi_for_adhoc'] = _('Check if using madwifi/atheros drivers') -language['default_wired'] = _('Use as default profile (overwrites any previous default)') -language['use_debug_mode'] = _('Enable debug mode') -language['use_global_dns'] = _('Use global DNS servers') -language['use_default_profile'] = _('Use default profile on wired autoconnect') -language['show_wired_list'] = _('Prompt for profile on wired autoconnect') -language['use_last_used_profile'] = _('Use last used profile on wired autoconnect') -language['choose_wired_profile'] = _('Select or create a wired profile to connect with') -language['wired_network_found'] = _('Wired connection detected') -language['stop_showing_chooser'] = _('Stop Showing Autoconnect pop-up temporarily') -language['display_type_dialog'] = _('Use dBm to measure signal strength') -language['scripts'] = _('Scripts') -language['invalid_address'] = _('Invalid address in $A entry.') -language['global_settings'] = _('Use these settings for all networks sharing this essid') -language['encrypt_info_missing'] = _('Required encryption information is missing.') -language['enable_encryption'] = _('This network requires encryption to be enabled.') -language['wicd_auto_config'] = _('Automatic (recommended)') -language["gen_settings"] = _('General Settings') -language["ext_programs"] = _('External Programs') -language["dhcp_client"] = _('DHCP Client') -language["wired_detect"] = _('Wired Link Detection') -language["route_flush"] = _('Route Table Flushing') -language["backend"] = _('Backend') -language["backend_alert"] = _('Changes to your backend won\'t occur until the daemon is restarted.') -language['dns_domain'] = _('DNS domain') -language['search_domain'] = _('Search domain') -language['global_dns_not_enabled'] = _('Global DNS has not been enabled in general preferences.') -language['scripts_need_pass'] = _('You must enter your password to configure scripts') -language['no_sudo_prog'] = _('Could not find a graphical sudo program. The script editor could not be launched.' + - ' You\'ll have to edit scripts directly your configuration file.') - -language['interface_down'] = _('Putting interface down...') -language['resetting_ip_address'] = _('Resetting IP address...') -language['interface_up'] = _('Putting interface up...') -language['setting_encryption_info'] = _('Setting encryption info') -language['removing_old_connection'] = _('Removing old connection...') -language['generating_psk'] = _('Generating PSK...') -language['generating_wpa_config'] = _('Generating WPA configuration file...') -language['flushing_routing_table'] = _('Flushing the routing table...') -language['configuring_interface'] = _('Configuring wireless interface...') -language['validating_authentication'] = _('Validating authentication...') -language['setting_broadcast_address'] = _('Setting broadcast address...') -language['setting_static_dns'] = _('Setting static DNS servers...') -language['setting_static_ip'] = _('Setting static IP addresses...') -language['running_dhcp'] = _('Obtaining IP address...') -language['dhcp_failed'] = _('Connection Failed: Unable to Get IP Address') -language['no_dhcp_offers'] = _('Connection Failed: No DHCP offers received.') -language['aborted'] = _('Connection Cancelled') -language['bad_pass'] = _('Connection Failed: Could not authenticate (bad password?)') -language['verifying_association'] = _("Verifying access point association...") -language['association_failed'] = _("Connection Failed: Could not contact the wireless access point.") -language['done'] = _('Done connecting...') -language['scanning'] = _('Scanning') -language['scanning_stand_by'] = _('Scanning networks... stand by...') -language['cannot_start_daemon'] = _('Unable to connect to wicd daemon DBus interface. " + \ - "This typically means there was a problem starting the daemon. " + \ - "Check the wicd log for more info') -language['lost_dbus'] = _('The wicd daemon has shut down, the UI will not function properly until it is restarted.') -language['access_denied'] = _("Unable to contact the wicd dameon due to an access denied error from DBus. Please check your DBus configuration.") -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') -language['debugging'] = _('Debugging') -language['wpa_supplicant'] = _('WPA Supplicant') -language['automatic_reconnection'] = _('Automatic Reconnection') -language['global_dns_servers'] = _('Global DNS servers') -language['network_interfaces'] = _('Network Interfaces') -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["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.') - -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.') - -# These are in the tray list, but not in the non-tray list -language['connecting'] = _('Connecting') -language['daemon_unavailable'] = _('The wicd daemon is unavailable, so your request cannot be completed') -language['no_daemon_tooltip'] = _('Wicd daemon unreachable') - -# Translations added on Wed Mar 4 03:36:24 UTC 2009 -language['make_wired_profile'] = _('To connect to a wired network, you must create a network profile. To create a network profile, type a name that describes this network, and press Add.') -language['access_cards'] = _('Wicd needs to access your computer\'s network cards.') -#language['CHANGE_ME'] = _('Create Ad-Hoc network') -#language['CHANGE_ME'] = _('Wired Autoconnect Setting:') -language['bad_pass'] = _('Connection Failed: Bad password') -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 there, you can adjust (or add) the "beforescript", "afterscript", and "disconnectscript" variables as needed, to change the preconnect, postconnect, and disconnect scripts respectively. Note that you will be specifying the full path to the scripts - not the actual script contents. You will need to add/edit the script contents separately. Refer to the wicd manual page for more information.') -language['cannot_edit_scripts_3'] = _('You can also configure the wireless networks by looking for the "[]" field in the config file.') -language['wired_networks'] = _('Wired Networks') -language['wireless_networks'] = _('Wireless Networks') -language['about'] = _('About Wicd') -language['more_help'] = _('For more detailed help, consult the wicd-curses(8) man page.') -language['case_sensitive'] = _('All controls are case sensitive') -language['help_help'] = _('Display this help dialog') -language['connect_help'] = _('Connect to selected network') -language['disconn_help'] = _('Disconnect from all networks') -language['about_help'] = _('Stop a network connection in progress') -language['refresh_help'] = _('Refresh network list') -language['prefs_help'] = _('Preferences dialog') -language['scan_help'] = _('Scan for hidden networks') -language['scripts_help'] = _('Select scripts') -language['adhoc_help'] = _('Set up Ad-hoc network') -language['config_help'] = _('Configure Selected Network') -#language[''] = _('Press H or ? for help') # Defunct in curses-uimod -language['raw_screen_arg'] = _('use urwid\'s raw screen controller') -language['ok'] = _('OK') -language['cancel'] = _('Cancel') - -language['disconnected'] = _('Disconnected') -language['connection_established'] = _('Connection established') -language['establishing_connection'] = _('Establishing connection...') +language['resetting_ip_address'] = _('''Resetting IP address...''') +language['prefs_help'] = _('''Preferences dialog''') +language['no_dhcp_offers'] = _('''Connection Failed: No DHCP offers received.''') +language['more_help'] = _('''For more detailed help, consult the wicd-curses(8) man page.''') +language['bad_pass'] = _('''Connection Failed: Bad password''') +language['cannot_start_daemon'] = _('''Unable to connect to wicd daemon DBus interface. This typically means there was a problem starting the daemon. Check the wicd log for more information.''') +language['wired_always_on'] = _('''Always show wired interface''') +language['could_not_connect'] = _('''Could not connect to wicd's D-Bus interface. Check the wicd log for error messages.''') +language['path_to_pac_file'] = _('''Path to PAC File''') +language['always_switch_to_wired'] = _('''Always switch to wired connection when available''') +language['disconn_help'] = _('''Disconnect from all networks''') +language['wired_networks'] = _('''Wired Networks''') +language['backend_alert'] = _('''Changes to your backend won't occur until the daemon is restarted.''') +language['about_help'] = _('''Stop a network connection in progress''') +language['connecting'] = _('''Connecting''') +language['disconnect_script'] = _('''Run disconnect script''') +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_3'] = _('''You can also configure the wireless networks by looking for the "[]" field in the config file.''') +language['cannot_edit_scripts_2'] = _('''Once there, you can adjust (or add) the "beforescript", "afterscript", and "disconnectscript" variables as needed, to change the preconnect, postconnect, and disconnect scripts respectively. Note that you will be specifying the full path to the scripts - not the actual script contents. You will need to add/edit the script contents separately. Refer to the wicd manual page for more information.''') +language['scripts_need_pass'] = _('''You must enter your password to configure scripts''') +language['dns_domain'] = _('''DNS domain''') +language['aborted'] = _('''Connection Cancelled''') +language['scanning_stand_by'] = _('''Scanning networks... stand by...''') +language['password'] = _('''Password''') +language['no_daemon_tooltip'] = _('''Wicd daemon unreachable''') +language['use_static_dns'] = _('''Use Static DNS''') +language['setting_broadcast_address'] = _('''Setting broadcast address...''') +language['choose_wired_profile'] = _('''Select or create a wired profile to connect with''') +language['make_wired_profile'] = _('''To connect to a wired network, you must create a network profile. To create a network profile, type a name that describes this network, and press Add.''') +language['esc_to_cancel'] = _('''Press ESC to cancel''') +language['scanning'] = _('''Scanning''') +language['flushing_routing_table'] = _('''Flushing the routing table...''') +language['brought_to_you'] = _('''Brought to you by:''') +language['refresh_help'] = _('''Refresh network list''') +language['select_hidden_essid'] = _('''Select Hidden Network ESSID''') +language['ext_programs'] = _('''External Programs''') +language['connect'] = _('''Connect''') +language['help_help'] = _('''Display this help dialog''') +language['use_global_dns'] = _('''Use global DNS servers''') +language['enable_encryption'] = _('''This network requires encryption to be enabled.''') +language['use_last_used_profile'] = _('''Use last used profile on wired autoconnect''') +language['preferences'] = _('''Preferences''') +language['dhcp_failed'] = _('''Connection Failed: Unable to Get IP Address''') +language['setting_static_ip'] = _('''Setting static IP addresses...''') +language['connecting_to_daemon'] = _('''Connecting to daemon...''') +language['automatic_connect'] = _('''Automatically connect to this network''') +language['add_new_wired_profile'] = _('''Add a new wired profile''') +language['dhcp_client'] = _('''DHCP Client''') +language['display_type_dialog'] = _('''Use dBm to measure signal strength''') +language['global_settings'] = _('''Use these settings for all networks sharing this essid''') +language['config_help'] = _('''Configure Selected Network''') +language['use_debug_mode'] = _('''Enable debug mode''') +language['removing_old_connection'] = _('''Removing old connection...''') +language['no_sudo_prog'] = _('''Could not find a graphical sudo program. The script editor could not be launched. You'll have to edit scripts directly your configuration file.''') +language['wireless_networks'] = _('''Wireless Networks''') +language['configuring_wired'] = _('''Configuring preferences for wired profile "$A"''') +language['no_wireless_networks_found'] = _('''No wireless networks found.''') +language['madwifi_for_adhoc'] = _('''Check if using madwifi/atheros drivers''') +language['properties'] = _('''Properties''') +language['setting_encryption_info'] = _('''Setting encryption info''') +language['about'] = _('''About Wicd''') +language['ok'] = _('''OK''') +language['adhoc_help'] = _('''Set up Ad-hoc network''') +language['scripts_help'] = _('''Select scripts''') +language['invalid_address'] = _('''Invalid address in $A entry.''') +language['configuring_interface'] = _('''Configuring wireless interface...''') +language['generating_psk'] = _('''Generating PSK...''') +language['validating_authentication'] = _('''Validating authentication...''') +language['essid'] = _('''ESSID''') +language['anonymous_identity'] = _('''Anonymous Identity''') +language['wireless_interface'] = _('''Wireless Interface''') +language['hidden_network'] = _('''Hidden Network''') +language['key'] = _('''Key''') +language['wicd_curses'] = _('''Wicd Curses Interface''') +language['debugging'] = _('''Debugging''') +language['use_encryption'] = _('''Use Encryption''') +language['wpa_supplicant'] = _('''WPA Supplicant''') +language['global_dns_servers'] = _('''Global DNS servers''') +language['not_connected'] = _('''Not connected''') +language['done'] = _('''Done connecting...''') +language['cannot_connect_to_daemon'] = _('''Can't connect to the daemon, trying to start it automatically...''') +language['cancel'] = _('''Cancel''') +language['case_sensitive'] = _('''All controls are case sensitive''') +language['gateway'] = _('''Gateway''') +language['backend'] = _('''Backend''') +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.''') +language['terminated'] = _('''Terminated by user''') +language['wired_detect'] = _('''Wired Link Detection''') +language['add_new_profile'] = _('''Add a new profile''') +language['use_ics'] = _('''Activate Internet Connection Sharing''') +language['create_adhoc_network'] = _('''Create an Ad-Hoc Network''') +language['interface_up'] = _('''Putting interface up...''') +language['global_dns_not_enabled'] = _('''Global DNS has not been enabled in general preferences.''') +language['dns'] = _('''DNS''') +language['advanced_settings'] = _('''Advanced Settings''') +language['username'] = _('''Username''') +language['wicd_auto_config'] = _('''Automatic (recommended)''') +language['wired_network_found'] = _('''Wired connection detected''') +language['netmask'] = _('''Netmask''') +language['select_a_network'] = _('''Choose from the networks below:''') +language['connect_help'] = _('''Connect to selected network''') +language['no_delete_last_profile'] = _('''wicd-curses does not support deleting the last wired profile. Try renaming it ('F2')''') +language['gen_settings'] = _('''General Settings''') +language['connected_to_wireless'] = _('''Connected to $A at $B (IP: $C)''') +language['exception'] = _('''EXCEPTION! Please report this to the maintainer and file a bug report with the backtrace below:''') +language['configuring_wireless'] = _('''Configuring preferences for wireless network "$A" ($B)''') +language['generating_wpa_config'] = _('''Generating WPA configuration file...''') +language['search_domain'] = _('''Search domain''') +language['encrypt_info_missing'] = _('''Required encryption information is missing.''') +language['running_dhcp'] = _('''Obtaining IP address...''') +language['lost_dbus'] = _('''The wicd daemon has shut down. The UI will not function properly until it is restarted.''') +language['wired_network_instructions'] = _('''To connect to a wired network, you must create a network profile. To create a network profile, type a name that describes this network, and press Add.''') +language['setting_static_dns'] = _('''Setting static DNS servers...''') +language['auto_reconnect'] = _('''Automatically reconnect on connection loss''') +language['use_wep_encryption'] = _('''Use Encryption (WEP only)''') +language['wired_autoconnect_settings'] = _('''Wired Autoconnect Settings''') +language['before_script'] = _('''Run script before connect''') +language['always_use_wext'] = _('''You should almost always use wext as the WPA supplicant driver''') +language['network_interfaces'] = _('''Network Interfaces''') +language['use_default_profile'] = _('''Use default profile on wired autoconnect''') +language['scan'] = _('''Scan''') +language['ip'] = _('''IP''') +language['connected_to_wired'] = _('''Connected to wired network (IP: $A)''') +language['wpa_supplicant_driver'] = _('''WPA Supplicant Driver''') +language['access_cards'] = _('''Wicd needs to access your computer's network cards.''') +language['killswitch_enabled'] = _('''Wireless Kill Switch Enabled''') +language['hidden_network_essid'] = _('''Hidden Network ESSID''') +language['secured'] = _('''Secured''') +language['interface_down'] = _('''Putting interface down...''') +language['authentication'] = _('''Authentication''') +language['after_script'] = _('''Run script after connect''') +language['show_wired_list'] = _('''Prompt for profile on wired autoconnect''') +language['channel'] = _('''Channel''') +language['unsecured'] = _('''Unsecured''') +language['rename_wired_profile'] = _('''Rename wired profile''') +language['daemon_unavailable'] = _('''The wicd daemon is unavailable, so your request cannot be completed''') +language['stop_showing_chooser'] = _('''Stop Showing Autoconnect pop-up temporarily''') +language['scan_help'] = _('''Scan for hidden networks''') +language['use_static_ip'] = _('''Use Static IPs''') +language['raw_screen_arg'] = _('''use urwid's raw screen controller''') +language['route_flush'] = _('''Route Table Flushing''') +language['scripts'] = _('''Scripts''') +language['identity'] = _('''Identity''') +language['automatic_reconnection'] = _('''Automatic Reconnection''') +language['wired_interface'] = _('''Wired Interface''') +language['press_to_quit'] = _('''Press F8 or Q to quit.''') +language['default_wired'] = _('''Use as default profile (overwrites any previous default)''') +language['wired_network'] = _('''Wired Network''') +language['dns_server'] = _('''DNS server''') +language['notifications'] = _('''Notifications''') +language['display_notifications'] = _('''Display notifications about connection status''') +language['connection_established'] = _('''Connection established''') +language['disconnected'] = _('''Disconnected''') +language['establishing_connection'] = _('''Establishing connection...''')