1
0
mirror of https://github.com/gryf/wicd.git synced 2026-03-06 17:35:48 +01:00

Make gui.error() calls optionally not block.

Make the lost dbus error message translatable.
This commit is contained in:
Dan O'Reilly
2008-12-16 01:19:26 -05:00
parent ba3bc2afc2
commit 556c40ad75
4 changed files with 19 additions and 11 deletions

View File

@@ -511,6 +511,7 @@ def get_language_list_gui():
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.")
return language
@@ -536,6 +537,7 @@ def get_language_list_tray():
"This typically means there was a problem starting the daemon." + \
"Check the wicd log for more info")
language['no_daemon_tooltip'] = _("Wicd daemon unreachable")
language['lost_dbus'] = _("The wicd daemon has shut down, the UI will not function properly until it is restarted.")
return language
def noneToBlankString(text):