translate the window-title in the languageselection window when choosing a language
translate some missing stuff
<wizard>
<step number="1">
<wizard>
<step number="1">
- <text value="Welcome.\n\nThis start-wizard will guide you through the basic setup of your Dreambox.\n\nPress the OK button on your remote control to move to the next step." />
+ <text value="Welcome.\n\nThis start-wizard will guide you through the basic setup of your Dreambox.\nPress the OK button on your remote control to move to the next step." />
<code>
self["arrowdown"].moveTo(557, 232, 1)
self["arrowdown"].startMoving()
<code>
self["arrowdown"].moveTo(557, 232, 1)
self["arrowdown"].startMoving()
language.activateLanguage(self["list"].l.getCurrentSelectionIndex())
config.osd.language.value = self["list"].l.getCurrentSelectionIndex()
config.osd.language.save()
language.activateLanguage(self["list"].l.getCurrentSelectionIndex())
config.osd.language.value = self["list"].l.getCurrentSelectionIndex()
config.osd.language.save()
+ self.session.currentDialog.instance.setTitle(_("Language selection"))
def updateList(self):
self.list = []
def updateList(self):
self.list = []
self.list.append(LanguageEntryComponent(x[2], _(x[0])))
self["list"].l.setList(self.list)
self.list.append(LanguageEntryComponent(x[2], _(x[0])))
self["list"].l.setList(self.list)
def up(self):
self["list"].instance.moveSelection(self["list"].instance.moveUp)
self.run()
def up(self):
self["list"].instance.moveSelection(self["list"].instance.moveUp)
self.run()
from Screen import Screen
from Screen import Screen
from Screens.HelpMenu import HelpableScreen
from Components.Label import Label
from Components.Slider import Slider
from Screens.HelpMenu import HelpableScreen
from Components.Label import Label
from Components.Slider import Slider
self.lastStep = int(attrs.get('number'))
self.wizard[self.lastStep] = {"text": "", "list": [], "config": {"screen": None, "args": None, "type": "" }, "code": ""}
elif (name == "text"):
self.lastStep = int(attrs.get('number'))
self.wizard[self.lastStep] = {"text": "", "list": [], "config": {"screen": None, "args": None, "type": "" }, "code": ""}
elif (name == "text"):
- self.wizard[self.lastStep]["text"] = _(str(attrs.get('value')))
+ self.wizard[self.lastStep]["text"] = string.replace(str(attrs.get('value')), "\\n", "\n")
elif (name == "listentry"):
self.wizard[self.lastStep]["list"].append((str(attrs.get('caption')), str(attrs.get('step'))))
elif (name == "config"):
elif (name == "listentry"):
self.wizard[self.lastStep]["list"].append((str(attrs.get('caption')), str(attrs.get('step'))))
elif (name == "config"):
../lib/python/Screens/Satconfig.py \
../lib/python/Screens/EventView.py \
../lib/python/Screens/Ci.py \
../lib/python/Screens/Satconfig.py \
../lib/python/Screens/EventView.py \
../lib/python/Screens/Ci.py \
+ ../lib/python/Screens/LanguageSelection.py \
../lib/python/Screens/About.py \
../lib/python/Screens/HarddiskSetup.py \
../lib/python/Screens/InfoBar.py \
../lib/python/Screens/About.py \
../lib/python/Screens/HarddiskSetup.py \
../lib/python/Screens/InfoBar.py \
msgstr ""
"Project-Id-Version: tuxbox-enigma 0.0.1\n"
"Report-Msgid-Bugs-To: \n"
msgstr ""
"Project-Id-Version: tuxbox-enigma 0.0.1\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2005-12-14 23:43+0100\n"
+"POT-Creation-Date: 2005-12-15 00:08+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"
"PO-Revision-Date: 2005-12-14 03:29+0100\n"
"Last-Translator: Stefan Pluecken <stefan.pluecken@multimedia-labs.de>\n"
"Language-Team: none\n"
msgid "EndTime"
msgstr "Endzeit"
msgid "EndTime"
msgstr "Endzeit"
+#: ../lib/python/Screens/LanguageSelection.py:38
#: ../lib/python/Components/SetupDevices.py:24
#: ../lib/python/Components/Language.py:12
msgid "English"
#: ../lib/python/Components/SetupDevices.py:24
#: ../lib/python/Components/Language.py:12
msgid "English"
msgid "Inversion"
msgstr ""
msgid "Inversion"
msgstr ""
+#: ../lib/python/Screens/LanguageSelection.py:44 ../data/
+msgid "Language selection"
+msgstr "Sprachauswahl"
+
#: ../lib/python/Screens/Satconfig.py:28 ../data/
msgid "Latitude"
msgstr "Breitengrad"
#: ../lib/python/Screens/Satconfig.py:28 ../data/
msgid "Latitude"
msgstr "Breitengrad"
msgid "StartTime"
msgstr "Startzeit"
msgid "StartTime"
msgstr "Startzeit"
-#: ../lib/python/Screens/Wizard.py:166
+#: ../lib/python/Screens/Wizard.py:168
#: ../lib/python/Screens/InfoBar.py:77
msgid "Stop playing this movie?"
#: ../lib/python/Screens/InfoBar.py:77
msgid "Stop playing this movie?"
msgid "show EPG..."
msgstr "zeige EPG..."
msgid "show EPG..."
msgstr "zeige EPG..."
-#: ../lib/python/Screens/Wizard.py:169 ../lib/python/Screens/Wizard.py:170
+#: ../lib/python/Screens/Wizard.py:171 ../lib/python/Screens/Wizard.py:172
msgid "Use wizard to set up basic features"
msgstr "Grundeinstellungen jetzt vornehmen"
msgid "Use wizard to set up basic features"
msgstr "Grundeinstellungen jetzt vornehmen"
+#: ../data/
+msgid ""
+"Welcome.\n"
+"\n"
+"This start-wizard will guide you through the basic setup of your Dreambox.\n"
+"Press the OK button on your remote control to move to the next step."
+msgstr ""
+"Willkommen.\n"
+"\n"
+"Der Startassistent wird Sie durch die Grundeinstellungen Ihrer Dreambox "
+"führen.\n"
+"Drücken Sie OK auf Ihrer Fernbedienung, um zum nächsten Schritt zu gelangen."
+
#: ../data/
msgid "Sat / Dish Setup"
msgstr "Sat-/Schüsseleinstellungen"
#: ../data/
msgid "Sat / Dish Setup"
msgstr "Sat-/Schüsseleinstellungen"
-#: ../data/
-msgid ""
-"Welcome.\n"
-"\n"
-"This start-wizard will guide you through the basic setup of your Dreambox.\n"
-"\n"
-"Press the OK button on your remote control to move to the next step."
-msgstr ""
-"Willkommen.\n"
-"\n"
-"This start-wizard will guide you through the basic setup of your Dreambox.\n"
-"\n"
-"Press the OK button on your remote control to move to the next step."
-
#: ../data/
msgid "Timezone"
msgstr "Zeitzone"
#: ../data/
msgid "Timezone"
msgstr "Zeitzone"
msgid "#0000ff"
msgstr ""
msgid "#0000ff"
msgstr ""
-#: ../data/
-msgid "Language selection"
-msgstr ""
-
#: ../data/
msgid "Contrast"
msgstr "Kontrast"
#: ../data/
msgid "Contrast"
msgstr "Kontrast"
#!/usr/bin/python
import sys
import os
#!/usr/bin/python
import sys
import os
from xml.sax import make_parser
from xml.sax.handler import ContentHandler
from xml.sax import make_parser
from xml.sax.handler import ContentHandler
for k, v in attrlist.items():
print
print '#: ' + sys.argv[1]
for k, v in attrlist.items():
print
print '#: ' + sys.argv[1]
+ string.replace(k, "\\n", "\"\n\"")
print 'msgid "' + str(k) + '"'
print 'msgstr ""'
print 'msgid "' + str(k) + '"'
print 'msgstr ""'