UPD: show 'not available', when DSL status cannot be read
authorMichael Schmidt <drmichael@users.schwerkraft.elitedvb.net>
Thu, 25 Jun 2009 14:06:58 +0000 (14:06 +0000)
committerMichael Schmidt <drmichael@users.schwerkraft.elitedvb.net>
Thu, 25 Jun 2009 14:06:58 +0000 (14:06 +0000)
fritzcall/po/de.po
fritzcall/src/plugin.py

index bb24627..cd90113 100644 (file)
@@ -7,8 +7,8 @@ msgid ""
 msgstr ""
 "Project-Id-Version: Enigma2 FritzCall Plugin\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2009-06-04 20:26+0200\n"
-"PO-Revision-Date: 2009-06-04 20:26+0200\n"
+"POT-Creation-Date: 2009-06-25 16:04+0200\n"
+"PO-Revision-Date: 2009-06-25 16:05+0200\n"
 "Last-Translator: Michael Schmidt <michael@schmidt-schmitten.com>\n"
 "Language-Team: german <de@li.org>\n"
 "MIME-Version: 1.0\n"
@@ -419,6 +419,9 @@ msgstr "Anzeige nach Standby"
 msgid "Show details of entry"
 msgstr "Details des Eintrags anzeigen"
 
+msgid "Status not available"
+msgstr "Status nicht verfügbar"
+
 msgid "Strip Leading 0"
 msgstr "Führende 0 entfernen"
 
index c248ec1..cb9440a 100644 (file)
@@ -1111,6 +1111,7 @@ class FritzMenu(Screen,HelpableScreen):
 
                self["FBFDsl"] = Label('DSL')
                self["dsl_inactive"] = Pixmap()
+               self["dsl_inactive"].hide()
                self["dsl_active"] = Pixmap()
                self["dsl_active"].hide()
 
@@ -1161,6 +1162,7 @@ class FritzMenu(Screen,HelpableScreen):
                                        self["dsl_active"].hide()
                                        self["dsl_inactive"].show()
                        else:
+                               self["FBFDsl"].setText('DSL ' + _('Status not available'))
                                self["dsl_active"].hide()
                                self["dsl_inactive"].hide()
                                self["FBFDsl"].hide()