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 b47418d..d9fc089 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 749b899..26f43e1 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 a756db8..aa5965b 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':