translate setup-titles
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Thu, 24 Nov 2005 03:06:50 +0000 (03:06 +0000)
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Thu, 24 Nov 2005 03:06:50 +0000 (03:06 +0000)
lib/python/Screens/Setup.py
po/de.po
skin.py

index b47418d825c9eadd9e52311e34161ee7628ba1f6..d9fc08939470ca7bb6331233647ff099946af1c7 100644 (file)
@@ -103,7 +103,7 @@ class Setup(Screen):
                
                self["config"] = ConfigList(list)
 
-               self["title"] = Label(myTitle);
+               self["title"] = Label(_(myTitle));
 
                self["ok"] = Label("OK")
                self["cancel"] = Label("Cancel")
index 749b899bca167a71d1b5c71a5d1373b13491da4f..26f43e13a2eb30540aa987acbc131d83473f3a0b 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-24 03:42+0100\n"
+"POT-Creation-Date: 2005-11-24 04:00+0100\n"
 "PO-Revision-Date: 2005-11-17 20:53+0100\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -68,7 +68,7 @@ msgstr "Kabelanbieter"
 
 #: ../lib/python/Screens/HarddiskSetup.py:29
 msgid "Capacity: "
-msgstr "Kapazitaet"
+msgstr "Kapazitaet"
 
 #: ../lib/python/Screens/TimerEntry.py:154
 #: ../lib/python/Screens/TimerEntry.py:181 ../data/
diff --git a/skin.py b/skin.py
index a756db8ab1b384145e9a85f236641601b7884ac1..aa5965bdd1a759ba03b3710e9672f8858691fc29 100644 (file)
--- a/skin.py
+++ b/skin.py
@@ -66,7 +66,7 @@ def applySingleAttribute(guiObject, desktop, attrib, value):
                elif attrib == 'size':
                        guiObject.resize(parseSize(value))
                elif attrib == 'title':
-                       guiObject.setTitle(value)
+                       guiObject.setTitle(_(value))
                elif attrib == 'text':
                        guiObject.setText(value)
                elif attrib == 'font':