translations
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Thu, 17 Nov 2005 22:01:27 +0000 (22:01 +0000)
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Thu, 17 Nov 2005 22:01:27 +0000 (22:01 +0000)
lib/python/Components/EventInfo.py
lib/python/Components/Network.py
lib/python/Screens/TimerEdit.py
po/Makefile
po/de.po

index 6f6d07f..83f2a0b 100644 (file)
@@ -40,5 +40,5 @@ class EventInfo(PerServiceDisplay):
 
        def stopEvent(self):
                self.setText(
-                       ("waiting for event data...", "", "--:--",  "--:--", "--:--", "--:--")[self.now_or_next]);
+                       (_("waiting for event data..."), "", "--:--",  "--:--", "--:--", "--:--")[self.now_or_next]);
 
index 60c98ea..e3077d0 100644 (file)
@@ -12,7 +12,7 @@ class Network:
                # fixme using interfaces.tmp instead of interfaces for now
                fp = file('/etc/network/interfaces', 'w')
                fp.write("auto eth0\n")
-               if (config.network.dhcp.value == "yes"):
+               if (config.network.dhcp.value == _("yes")):
                        fp.write("iface eth0 inet dhcp\n")
                else:
                        fp.write("iface eth0 inet static\n")
@@ -131,7 +131,7 @@ def InitNetwork():
                print "[Network.py] Could not get current ip (not necessarily an error)"
                
        config.network = ConfigSubsection()
-       config.network.dhcp = configElement_nonSave("config.network.dhcp", configSelection, 1, ("no", "yes"))
+       config.network.dhcp = configElement_nonSave("config.network.dhcp", configSelection, 1, (_("no"), _("yes")))
        config.network.ip = configElement_nonSave("config.network.ip", configSequence, ip, configsequencearg.get("IP"))
        config.network.netmask = configElement_nonSave("config.network.netmask", configSequence, [255,255,255,0], configsequencearg.get("IP"))
        config.network.gateway = configElement_nonSave("config.network.gateway", configSequence, [192,168,1,3], configsequencearg.get("IP"))
index 0f90267..ffb6f8f 100644 (file)
@@ -21,8 +21,8 @@ class TimerEditList(Screen):
 
                self["timerlist"] = TimerList(list)
                
-               self["key_red"] = Button("Delete")
-               self["key_green"] = Button("Add")
+               self["key_red"] = Button(_("Delete"))
+               self["key_green"] = Button(_("Add"))
                self["key_yellow"] = Button("")
                self["key_blue"] = Button("")
 
index 15a01c5..2f1b66d 100644 (file)
@@ -28,8 +28,11 @@ enigma2.pot:
                        ../lib/python/Screens/About.py \
                        ../lib/python/Screens/HarddiskSetup.py \
                        ../lib/python/Screens/InfoBar.py \
+                       ../lib/python/Screens/TimerEdit.py \
                        ../lib/python/Components/SetupDevices.py \
-                       ../lib/python/Components/Language.py 
+                       ../lib/python/Components/Language.py \
+                       ../lib/python/Components/EventInfo.py \
+                       ../lib/python/Components/Network.py 
                        
 
 
index e1a2d9a..e08b703 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-17 22:47+0100\n"
+"POT-Creation-Date: 2005-11-17 22:59+0100\n"
 "PO-Revision-Date: 2005-11-17 20:53+0100\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -26,6 +26,10 @@ msgstr ""
 msgid "%s (%s, %d MB free)"
 msgstr "%s (%s, %d MB frei)"
 
+#: ../lib/python/Screens/TimerEdit.py:25
+msgid "Add"
+msgstr ""
+
 #: ../lib/python/Screens/HarddiskSetup.py:30
 msgid "Bus: "
 msgstr "Personennahverkehr: "
@@ -47,6 +51,11 @@ msgstr "Konfigurationsmodus"
 msgid "Default"
 msgstr "Standard"
 
+#: ../lib/python/Screens/TimerEdit.py:24
+#, fuzzy
+msgid "Delete"
+msgstr "Standard"
+
 #: ../lib/python/Screens/About.py:22
 msgid "Detected HDD:"
 msgstr "Erkannte Festplatten:"
@@ -166,6 +175,10 @@ msgstr ""
 msgid "Use DHCP"
 msgstr "Adresse automatisch beziehen (DHCP)"
 
+#: ../lib/python/Components/Network.py:134
+msgid "no"
+msgstr "nein"
+
 #: ../lib/python/Screens/HarddiskSetup.py:57
 msgid "no HDD found"
 msgstr "keine Festplatte gefunden"
@@ -181,3 +194,13 @@ msgstr "unbekannter Dienst"
 #: ../lib/python/Screens/Ci.py:32
 msgid "waiting for CI..."
 msgstr "warte auf das CI..."
+
+#: ../lib/python/Components/EventInfo.py:43
+#, fuzzy
+msgid "waiting for event data..."
+msgstr "warte auf Programmdaten..."
+
+#: ../lib/python/Components/Network.py:15
+#: ../lib/python/Components/Network.py:134
+msgid "yes"
+msgstr "ja"