From 8c0a6bc252e866068348601ba5ea12e8df7e1efe Mon Sep 17 00:00:00 2001 From: Stefan Pluecken Date: Wed, 25 Jan 2006 01:02:46 +0000 Subject: [PATCH] reenable empty timer list editing :) translate some things --- lib/python/Screens/TimerEdit.py | 11 ++++++----- po/ar.po | 8 ++++---- po/de.po | 14 +++++++------- po/en.po | 8 ++++---- po/es.po | 8 ++++---- po/nl.po | 8 ++++---- 6 files changed, 29 insertions(+), 28 deletions(-) diff --git a/lib/python/Screens/TimerEdit.py b/lib/python/Screens/TimerEdit.py index b7a91ca5..da80f5bc 100644 --- a/lib/python/Screens/TimerEdit.py +++ b/lib/python/Screens/TimerEdit.py @@ -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[:] diff --git a/po/ar.po b/po/ar.po index 232f7d6e..5893ed6b 100755 --- 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 \n" "Language-Team: Arabic \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 "" diff --git a/po/de.po b/po/de.po index 79665661..a15f0263 100644 --- 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 \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 "" diff --git a/po/en.po b/po/en.po index 89831657..263ceeaf 100644 --- 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 "" diff --git a/po/es.po b/po/es.po index 8e7bb6e1..632a96ca 100644 --- 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 \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 "" diff --git a/po/nl.po b/po/nl.po index 1cedf688..9368303c 100755 --- 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 \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 "" -- 2.30.2