aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2005-11-22 23:41:16 +0000
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2005-11-22 23:41:16 +0000
commit2b72cfe222c5c013e9a10372c826ae5b3f56ef33 (patch)
treefea923b608c010f72f1671448d915ca10f281df2
parent7fcee9d52e615789975fd049a6c5d5eb5a34faa2 (diff)
downloadenigma2-2b72cfe222c5c013e9a10372c826ae5b3f56ef33.tar.gz
enigma2-2b72cfe222c5c013e9a10372c826ae5b3f56ef33.zip
translations
fix ScanSetup when there is a non-dvb-s-nim in slot a and dvb-s in slot b
-rw-r--r--data/skin.xml4
-rw-r--r--lib/dvb_ci/dvbci.cpp2
-rw-r--r--lib/python/Components/Lcd.py2
-rw-r--r--lib/python/Screens/ScanSetup.py24
-rw-r--r--po/Makefile1
-rw-r--r--po/de.po16
6 files changed, 32 insertions, 17 deletions
diff --git a/data/skin.xml b/data/skin.xml
index 4209f281..80337c93 100644
--- a/data/skin.xml
+++ b/data/skin.xml
@@ -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"/>
diff --git a/lib/dvb_ci/dvbci.cpp b/lib/dvb_ci/dvbci.cpp
index efd6925c..22da5187 100644
--- a/lib/dvb_ci/dvbci.cpp
+++ b/lib/dvb_ci/dvbci.cpp
@@ -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)
diff --git a/lib/python/Components/Lcd.py b/lib/python/Components/Lcd.py
index 42f15698..b9ba5606 100644
--- a/lib/python/Components/Lcd.py
+++ b/lib/python/Components/Lcd.py
@@ -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()
diff --git a/lib/python/Screens/ScanSetup.py b/lib/python/Screens/ScanSetup.py
index fd805e45..f677f5c8 100644
--- a/lib/python/Screens/ScanSetup.py
+++ b/lib/python/Screens/ScanSetup.py
@@ -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"))
diff --git a/po/Makefile b/po/Makefile
index 5183b2d3..2f169a24 100644
--- a/po/Makefile
+++ b/po/Makefile
@@ -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 \
diff --git a/po/de.po b/po/de.po
index 22554ef3..2dce328f 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: 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"
@@ -559,10 +569,6 @@ msgid "Eventview"
msgstr "Programmuebersicht"
#: ../data/
-msgid "Automatic Scan"
-msgstr "Automatische Suche"
-
-#: ../data/
msgid "Keymap"
msgstr "Tastenlayout"