reenable empty timer list editing :)
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Wed, 25 Jan 2006 01:02:46 +0000 (01:02 +0000)
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Wed, 25 Jan 2006 01:02:46 +0000 (01:02 +0000)
translate some things

lib/python/Screens/TimerEdit.py
po/ar.po
po/de.po
po/en.po
po/es.po
po/nl.po

index b7a91ca5940cb32bb3c781b6154583319cc5fa7b..da80f5bc60c115ba21f70c3d981b3c9f4cd2e191 100644 (file)
@@ -65,11 +65,12 @@ class TimerEditList(Screen):
                self.refill()
                
        def updateState(self):
-               if self["timerlist"].getCurrent()[0].disabled:
-                       self["key_yellow"].setText(_("Enable"))
-               else:
-                       self["key_yellow"].setText(_("Disable"))
-               self["key_yellow"].instance.invalidate()
+               if len(self.list) > 0:
+                       if self["timerlist"].getCurrent()[0].disabled:
+                               self["key_yellow"].setText(_("Enable"))
+                       else:
+                               self["key_yellow"].setText(_("Disable"))
+                       self["key_yellow"].instance.invalidate()
 
        def fillTimerList(self):
                del self.list[:]
index 232f7d6ecfec04b4a82d5a4685c40db83fa5390c..5893ed6bb75bb75f79654a31c0bed49b5d9bd951 100755 (executable)
--- a/po/ar.po
+++ b/po/ar.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: tuxbox-enigma 0.0.1\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-01-25 01:48+0100\n"
+"POT-Creation-Date: 2006-01-25 02:01+0100\n"
 "PO-Revision-Date: 2006-01-10 01:17+0300\n"
 "Last-Translator: hazem <moustafagamal@hotmail.com>\n"
 "Language-Team: Arabic <moustafagamal@hotmail.com>\n"
@@ -261,7 +261,7 @@ msgstr ""
 
 #: ../lib/python/Screens/ScanSetup.py:104
 #: ../lib/python/Screens/ScanSetup.py:375
-#: ../lib/python/Screens/TimerEdit.py:71 ../lib/python/Components/Lcd.py:31
+#: ../lib/python/Screens/TimerEdit.py:72 ../lib/python/Components/Lcd.py:31
 #: ../lib/python/Components/SetupDevices.py:38
 #: ../lib/python/Components/SetupDevices.py:39
 #: ../lib/python/Components/SetupDevices.py:43
@@ -313,7 +313,7 @@ msgstr "شرق"
 
 #: ../lib/python/Screens/ScanSetup.py:104
 #: ../lib/python/Screens/ScanSetup.py:375
-#: ../lib/python/Screens/TimerEdit.py:69 ../lib/python/Components/Lcd.py:31
+#: ../lib/python/Screens/TimerEdit.py:70 ../lib/python/Components/Lcd.py:31
 #: ../lib/python/Components/SetupDevices.py:38
 #: ../lib/python/Components/SetupDevices.py:39
 #: ../lib/python/Components/SetupDevices.py:43
@@ -613,7 +613,7 @@ msgstr "مقدم الخدمه"
 msgid "Providers"
 msgstr "مقدمو الخدمه"
 
-#: ../lib/python/Screens/TimerEdit.py:91
+#: ../lib/python/Screens/TimerEdit.py:92
 msgid "Really delete done timers?"
 msgstr ""
 
index 796656613ece5a8210dbb68a13e4a1b098f3cb07..a15f0263425b1eb7cd37d287a85a0cad305ec572 100644 (file)
--- a/po/de.po
+++ b/po/de.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: tuxbox-enigma 0.0.1\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-01-25 01:48+0100\n"
+"POT-Creation-Date: 2006-01-25 02:01+0100\n"
 "PO-Revision-Date: 2005-12-14 03:29+0100\n"
 "Last-Translator: Stefan Pluecken <stefan.pluecken@multimedia-labs.de>\n"
 "Language-Team: none\n"
@@ -185,11 +185,11 @@ msgstr "klassisch"
 
 #: ../lib/python/Screens/TimerEdit.py:27
 msgid "Cleanup"
-msgstr ""
+msgstr "Aufräumen"
 
 #: ../lib/python/Screens/TimerEntry.py:300
 msgid "Clear log"
-msgstr ""
+msgstr "Log löschen"
 
 #: ../lib/python/Screens/ScanSetup.py:128
 msgid "Code rate high"
@@ -221,7 +221,7 @@ msgstr "Löschen"
 
 #: ../lib/python/Screens/TimerEntry.py:297
 msgid "Delete entry"
-msgstr ""
+msgstr "Eintrag löschen"
 
 #: ../lib/python/Screens/MovieSelection.py:53
 msgid "Delete failed!"
@@ -261,7 +261,7 @@ msgstr ""
 
 #: ../lib/python/Screens/ScanSetup.py:104
 #: ../lib/python/Screens/ScanSetup.py:375
-#: ../lib/python/Screens/TimerEdit.py:71 ../lib/python/Components/Lcd.py:31
+#: ../lib/python/Screens/TimerEdit.py:72 ../lib/python/Components/Lcd.py:31
 #: ../lib/python/Components/SetupDevices.py:38
 #: ../lib/python/Components/SetupDevices.py:39
 #: ../lib/python/Components/SetupDevices.py:43
@@ -313,7 +313,7 @@ msgstr "Ost"
 
 #: ../lib/python/Screens/ScanSetup.py:104
 #: ../lib/python/Screens/ScanSetup.py:375
-#: ../lib/python/Screens/TimerEdit.py:69 ../lib/python/Components/Lcd.py:31
+#: ../lib/python/Screens/TimerEdit.py:70 ../lib/python/Components/Lcd.py:31
 #: ../lib/python/Components/SetupDevices.py:38
 #: ../lib/python/Components/SetupDevices.py:39
 #: ../lib/python/Components/SetupDevices.py:43
@@ -613,7 +613,7 @@ msgstr "Provider"
 msgid "Providers"
 msgstr "Anbieter"
 
-#: ../lib/python/Screens/TimerEdit.py:91
+#: ../lib/python/Screens/TimerEdit.py:92
 msgid "Really delete done timers?"
 msgstr ""
 
index 8983165707bc13d6801517e4c91d0baac204be68..263ceeaf502b8775f1758c42ae7c96d7aedbe806 100644 (file)
--- a/po/en.po
+++ b/po/en.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: tuxbox-enigma 0.0.1\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-01-25 01:48+0100\n"
+"POT-Creation-Date: 2006-01-25 02:01+0100\n"
 "PO-Revision-Date: 2005-11-17 20:53+0100\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -256,7 +256,7 @@ msgstr ""
 
 #: ../lib/python/Screens/ScanSetup.py:104
 #: ../lib/python/Screens/ScanSetup.py:375
-#: ../lib/python/Screens/TimerEdit.py:71 ../lib/python/Components/Lcd.py:31
+#: ../lib/python/Screens/TimerEdit.py:72 ../lib/python/Components/Lcd.py:31
 #: ../lib/python/Components/SetupDevices.py:38
 #: ../lib/python/Components/SetupDevices.py:39
 #: ../lib/python/Components/SetupDevices.py:43
@@ -304,7 +304,7 @@ msgstr ""
 
 #: ../lib/python/Screens/ScanSetup.py:104
 #: ../lib/python/Screens/ScanSetup.py:375
-#: ../lib/python/Screens/TimerEdit.py:69 ../lib/python/Components/Lcd.py:31
+#: ../lib/python/Screens/TimerEdit.py:70 ../lib/python/Components/Lcd.py:31
 #: ../lib/python/Components/SetupDevices.py:38
 #: ../lib/python/Components/SetupDevices.py:39
 #: ../lib/python/Components/SetupDevices.py:43
@@ -602,7 +602,7 @@ msgstr ""
 msgid "Providers"
 msgstr ""
 
-#: ../lib/python/Screens/TimerEdit.py:91
+#: ../lib/python/Screens/TimerEdit.py:92
 msgid "Really delete done timers?"
 msgstr ""
 
index 8e7bb6e1b7eba181019b58dc6cf31c6ef66c872d..632a96caf0c0c8397507c2c86f7457e13151ffc2 100644 (file)
--- a/po/es.po
+++ b/po/es.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: tuxbox-enigma 0.0.1\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-01-25 01:48+0100\n"
+"POT-Creation-Date: 2006-01-25 02:01+0100\n"
 "PO-Revision-Date: 2006-01-19 09:00+0100\n"
 "Last-Translator: Jose Juan Zapater <josej@zapater.fdns.net>\n"
 "Language-Team: none\n"
@@ -261,7 +261,7 @@ msgstr "Repetir DiSEqC"
 
 #: ../lib/python/Screens/ScanSetup.py:104
 #: ../lib/python/Screens/ScanSetup.py:375
-#: ../lib/python/Screens/TimerEdit.py:71 ../lib/python/Components/Lcd.py:31
+#: ../lib/python/Screens/TimerEdit.py:72 ../lib/python/Components/Lcd.py:31
 #: ../lib/python/Components/SetupDevices.py:38
 #: ../lib/python/Components/SetupDevices.py:39
 #: ../lib/python/Components/SetupDevices.py:43
@@ -313,7 +313,7 @@ msgstr "Este"
 
 #: ../lib/python/Screens/ScanSetup.py:104
 #: ../lib/python/Screens/ScanSetup.py:375
-#: ../lib/python/Screens/TimerEdit.py:69 ../lib/python/Components/Lcd.py:31
+#: ../lib/python/Screens/TimerEdit.py:70 ../lib/python/Components/Lcd.py:31
 #: ../lib/python/Components/SetupDevices.py:38
 #: ../lib/python/Components/SetupDevices.py:39
 #: ../lib/python/Components/SetupDevices.py:43
@@ -611,7 +611,7 @@ msgstr "Proveedor"
 msgid "Providers"
 msgstr "Proveedores"
 
-#: ../lib/python/Screens/TimerEdit.py:91
+#: ../lib/python/Screens/TimerEdit.py:92
 msgid "Really delete done timers?"
 msgstr ""
 
index 1cedf688c1e191c60c2ad3bce8be980e9fa56675..9368303c2aa7496751e153ca73ba7be8d0a5cadf 100755 (executable)
--- a/po/nl.po
+++ b/po/nl.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: tuxbox-enigma 0.0.1\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-01-25 01:48+0100\n"
+"POT-Creation-Date: 2006-01-25 02:01+0100\n"
 "PO-Revision-Date: 2006-01-21 03:29+0100\n"
 "Last-Translator: Kees Aerts <aerts11@planet.nl>\n"
 "Language-Team: none\n"
@@ -261,7 +261,7 @@ msgstr ""
 
 #: ../lib/python/Screens/ScanSetup.py:104
 #: ../lib/python/Screens/ScanSetup.py:375
-#: ../lib/python/Screens/TimerEdit.py:71 ../lib/python/Components/Lcd.py:31
+#: ../lib/python/Screens/TimerEdit.py:72 ../lib/python/Components/Lcd.py:31
 #: ../lib/python/Components/SetupDevices.py:38
 #: ../lib/python/Components/SetupDevices.py:39
 #: ../lib/python/Components/SetupDevices.py:43
@@ -313,7 +313,7 @@ msgstr "Oost"
 
 #: ../lib/python/Screens/ScanSetup.py:104
 #: ../lib/python/Screens/ScanSetup.py:375
-#: ../lib/python/Screens/TimerEdit.py:69 ../lib/python/Components/Lcd.py:31
+#: ../lib/python/Screens/TimerEdit.py:70 ../lib/python/Components/Lcd.py:31
 #: ../lib/python/Components/SetupDevices.py:38
 #: ../lib/python/Components/SetupDevices.py:39
 #: ../lib/python/Components/SetupDevices.py:43
@@ -613,7 +613,7 @@ msgstr "Provider"
 msgid "Providers"
 msgstr "Providers"
 
-#: ../lib/python/Screens/TimerEdit.py:91
+#: ../lib/python/Screens/TimerEdit.py:92
 msgid "Really delete done timers?"
 msgstr ""