translations
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Tue, 22 Nov 2005 23:41:16 +0000 (23:41 +0000)
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Tue, 22 Nov 2005 23:41:16 +0000 (23:41 +0000)
fix ScanSetup when there is a non-dvb-s-nim in slot a and dvb-s in slot b

data/skin.xml
lib/dvb_ci/dvbci.cpp
lib/python/Components/Lcd.py
lib/python/Screens/ScanSetup.py
po/Makefile
po/de.po

index 4209f281e66d4ec301e1fffa03722b74d97f0b57..80337c93b68be5f5d32c80c15d549b3e05dec3be 100644 (file)
@@ -87,9 +87,9 @@
                <screen name="Satconfig" position="140,125" size="460,280" title="Satconfig">
                        <widget name="config" position="10,50" size="420,150" />
                </screen>
-               <screen name="ScanSetup" position="100,100" size="500,400" title="Service scan">
+               <screen name="ScanSetup" position="90,100" size="520,400" title="Service scan">
                        <widget name="config" position="20,10" size="460,350" />
-                       <widget name="introduction" position="20,360" size="280,30" font="Arial;23" />
+                       <widget name="introduction" position="20,360" size="350,30" font="Arial;23" />
                </screen>
                <screen name="ScanSimple" position="150,100" size="400,300" title="Service scan">
                        <widget name="header" position="20,10" size="280,25" font="Arial;23"/>
index efd6925ce6f789d104961355343b9ec31fa1d6b6..22da5187a1984d4588bcc78fc3a0dbb433c03c45 100644 (file)
@@ -189,10 +189,12 @@ void eDVBCIInterfaces::gotPMT(eDVBServicePMTHandler *pmthandler)
                        // HACK this assigns ALL RUNNING SERVICES to the first free CI !!!
                        for (eSmartPtrList<eDVBCISlot>::iterator ci_it(m_slots.begin()); ci_it != m_slots.end(); ++ci_it)
                        {
+                               /*
                                eDVBCISlot **usedby = &it->usedby;
                                *usedby = ci_it;
                                (*usedby)->resetPrevSentCAPMTVersion();
                                break;
+                               */
                        }
                }
                if (it->usedby)
index 42f15698123ec71318c67dc3d2024b1360ebf315..b9ba5606bc5b22490b68ae0ad8d759e1a82b345f 100644 (file)
@@ -29,7 +29,7 @@ def InitLcd():
        config.lcd.bright = configElement("config.lcd.bright", ConfigSlider, 10, "");
        config.lcd.contrast = configElement("config.lcd.contrast", ConfigSlider, 10, "");
        config.lcd.standby = configElement("config.lcd.standby", ConfigSlider, 0, "");
-       config.lcd.invert = configElement("config.lcd.invert", configSelection, 0, ("Disable", "Enable") );
+       config.lcd.invert = configElement("config.lcd.invert", configSelection, 0, (_("Disable"), _("Enable")) );
 
        ilcd = LCD()
 
index fd805e45276508fe7eb90bede3d9a68715cfd321..f677f5c8dfb74cb122be51f2286ffedf07e78359 100644 (file)
@@ -63,10 +63,14 @@ class ScanSetup(Screen):
                for slot in nimmanager.nimslots:
                        if (nimmanager.getNimType(slot.slotid) == nimmanager.nimType["DVB-S"]):
                                self.satList.append(nimmanager.getSatListForNim(slot.slotid))
-
+                       else:
+                               self.satList.append(None)
+                               
        def createSetup(self):
                self.list = []
 
+               print "ID: " + str(config.scan.nims.value)
+
                self.list.append(getConfigListEntry(_("Tuner"), config.scan.nims))
                
                if (nimmanager.getNimType(config.scan.nims.value) == nimmanager.nimType["DVB-S"]):
@@ -83,12 +87,12 @@ class ScanSetup(Screen):
                                self.list.append(getConfigListEntry(_('Frequency'), config.scan.sat.frequency))
                                self.list.append(getConfigListEntry(_('Inversion'), config.scan.sat.inversion))
                                self.list.append(getConfigListEntry(_('Symbolrate'), config.scan.sat.symbolrate))
-                               self.list.append(getConfigListEntry("Polarity", config.scan.sat.polarization))
-                               self.list.append(getConfigListEntry("FEC", config.scan.sat.fec))
+                               self.list.append(getConfigListEntry(_("Polarity"), config.scan.sat.polarization))
+                               self.list.append(getConfigListEntry(_("FEC"), config.scan.sat.fec))
                        if (config.scan.type.value == 1): # single satellite scan
                                self.updateSatList()
                                print config.scan.satselection[config.scan.nims.value]
-                               self.list.append(getConfigListEntry("Satellite", config.scan.satselection[config.scan.nims.value]))
+                               self.list.append(getConfigListEntry(_("Satellite"), config.scan.satselection[config.scan.nims.value]))
                        if (config.scan.type.value == 2): # multi sat scan
                                # if (norotor)
                                tlist = []
@@ -97,7 +101,7 @@ class ScanSetup(Screen):
                                for x in SatList:
                                        if self.Satexists(tlist, x[1]) == 0:
                                                tlist.append(x[1])
-                                               sat = configElement_nonSave(x[1], configSelection, 0, ("Enable", "Disable"))
+                                               sat = configElement_nonSave(x[1], configSelection, 0, (_("Enable"), "Disable"))
                                                self.list.append(getConfigListEntry(nimmanager.getSatDescription(x[1]), sat))
        
                                # if (rotor):
@@ -199,8 +203,10 @@ class ScanSetup(Screen):
                        slotid = 0
                        for slot in nimmanager.nimslots:
                                if (nimmanager.getNimType(slot.slotid) == nimmanager.nimType["DVB-S"]):
+                                       print str(slot.slotid) + " : " + str(self.satList)
                                        config.scan.satselection.append(configElement_nonSave("config.scan.satselection[" + str(slot.slotid) + "]", configSatlist, 0, self.satList[slot.slotid]))
-
+                               else:
+                                       config.scan.satselection.append(None)
        def keyLeft(self):
                self["config"].handleKey(config.key["prevElement"])
                self.newConfig()
@@ -355,9 +361,9 @@ class ScanSimple(Screen):
                for x in SatList:
                        if self.Satexists(tlist, x) == 0:
                                tlist.append(x)
-                               sat = configElement_nonSave(x, configSelection, 0, ("Enable", "Disable"))
+                               sat = configElement_nonSave(x, configSelection, 0, (_("Enable"), _("Disable")))
                                self.list.append(getConfigListEntry(nimmanager.getSatDescription(x), sat))
 
                self["config"] = ConfigList(self.list)
-               self["header"] = Label("Automatic Scan")
-               self["footer"] = Label("Press OK to scan")
+               self["header"] = Label(_("Automatic Scan"))
+               self["footer"] = Label(_("Press OK to scan"))
index 5183b2d36a64bea91618b34d4c2d5f1203715996..2f169a246ce569c74b4caba4bd54b107801d71c0 100644 (file)
@@ -37,6 +37,7 @@ enigma2.pot:
                        ../lib/python/Screens/Wizard.py \
                        ../lib/python/Screens/ServiceScan.py \
                        ../lib/python/Components/ServiceScan.py \
+                       ../lib/python/Components/Lcd.py \
                        ../lib/python/Components/SetupDevices.py \
                        ../lib/python/Components/Language.py \
                        ../lib/python/Components/NimManager.py \
index 22554ef3a8088d56ec4b20baf5fe0dcba06130bc..2dce328ff73f301166506c813bfac962e3936d12 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: 2005-11-22 20:49+0100\n"
+"POT-Creation-Date: 2005-11-22 21:04+0100\n"
 "PO-Revision-Date: 2005-11-17 20:53+0100\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -30,6 +30,10 @@ msgstr "%s (%s, %d MB frei)"
 msgid "Add"
 msgstr "Hinzufuegen"
 
+#: ../lib/python/Screens/ScanSetup.py:362 ../data/
+msgid "Automatic Scan"
+msgstr "Automatische Suche"
+
 #: ../lib/python/Screens/HarddiskSetup.py:30
 msgid "Bus: "
 msgstr ""
@@ -79,6 +83,7 @@ msgstr ""
 msgid "DiSEqC A/B/C/D"
 msgstr ""
 
+#: ../lib/python/Screens/ScanSetup.py:358 ../lib/python/Components/Lcd.py:32
 #: ../lib/python/Components/SetupDevices.py:38
 #: ../lib/python/Components/SetupDevices.py:39
 #: ../lib/python/Components/SetupDevices.py:43
@@ -98,6 +103,7 @@ msgstr "Diseqcmodus"
 msgid "ERROR - failed to scan (%s)!"
 msgstr ""
 
+#: ../lib/python/Screens/ScanSetup.py:358 ../lib/python/Components/Lcd.py:32
 #: ../lib/python/Components/SetupDevices.py:38
 #: ../lib/python/Components/SetupDevices.py:39
 #: ../lib/python/Components/SetupDevices.py:43
@@ -194,6 +200,10 @@ msgstr ""
 msgid "Positioner"
 msgstr "Motor"
 
+#: ../lib/python/Screens/ScanSetup.py:363
+msgid "Press OK to scan"
+msgstr "Zum Starten der Suche OK druecken."
+
 #: ../lib/python/Screens/ScanSetup.py:82 ../lib/python/Screens/Satconfig.py:13
 msgid "Satellite"
 msgstr "Satellit"
@@ -558,10 +568,6 @@ msgstr "Sprache"
 msgid "Eventview"
 msgstr "Programmuebersicht"
 
-#: ../data/
-msgid "Automatic Scan"
-msgstr "Automatische Suche"
-
 #: ../data/
 msgid "Keymap"
 msgstr "Tastenlayout"