From 9110f3909b1e0809a894901de09f819cc4ff9404 Mon Sep 17 00:00:00 2001 From: Stefan Pluecken Date: Thu, 17 Nov 2005 21:51:36 +0000 Subject: [PATCH] translations --- lib/python/Screens/InfoBar.py | 2 +- lib/python/Screens/NetworkSetup.py | 4 ++-- po/Makefile | 1 + po/de.po | 13 +++++++++++-- 4 files changed, 15 insertions(+), 5 deletions(-) diff --git a/lib/python/Screens/InfoBar.py b/lib/python/Screens/InfoBar.py index 221b3375..90594241 100644 --- a/lib/python/Screens/InfoBar.py +++ b/lib/python/Screens/InfoBar.py @@ -63,7 +63,7 @@ class MoviePlayer(Screen, InfoBarVolumeControl, InfoBarShowHide, InfoBarPowerKey self.session.nav.playService(service) def leavePlayer(self): - self.session.openWithCallback(self.leavePlayerConfirmed, MessageBox, "Stop playing this movie?") + self.session.openWithCallback(self.leavePlayerConfirmed, MessageBox, _("Stop playing this movie?")) def leavePlayerConfirmed(self, answer): if answer == True: diff --git a/lib/python/Screens/NetworkSetup.py b/lib/python/Screens/NetworkSetup.py index 5637d88d..0724eb73 100644 --- a/lib/python/Screens/NetworkSetup.py +++ b/lib/python/Screens/NetworkSetup.py @@ -37,7 +37,7 @@ class NetworkSetup(Screen): def createSetup(self): self.list = [] - self.list.append(getConfigListEntry("Use DHCP", config.network.dhcp)) + self.list.append(getConfigListEntry(_("Use DHCP"), config.network.dhcp)) if (config.network.dhcp.value == 0): self.list.append(getConfigListEntry(_('IP Address'), config.network.ip)) self.list.append(getConfigListEntry(_('Netmask'), config.network.netmask)) @@ -49,7 +49,7 @@ class NetworkSetup(Screen): def newConfig(self): print self["config"].getCurrent() - if self["config"].getCurrent()[0] == "Use DHCP": + if self["config"].getCurrent()[0] == _("Use DHCP"): self.createSetup() def keyLeft(self): diff --git a/po/Makefile b/po/Makefile index 5fe5e2f5..15a01c52 100644 --- a/po/Makefile +++ b/po/Makefile @@ -27,6 +27,7 @@ enigma2.pot: ../lib/python/Screens/Ci.py \ ../lib/python/Screens/About.py \ ../lib/python/Screens/HarddiskSetup.py \ + ../lib/python/Screens/InfoBar.py \ ../lib/python/Components/SetupDevices.py \ ../lib/python/Components/Language.py diff --git a/po/de.po b/po/de.po index b79a3e49..e1a2d9a3 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-17 22:41+0100\n" +"POT-Creation-Date: 2005-11-17 22:47+0100\n" "PO-Revision-Date: 2005-11-17 20:53+0100\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" @@ -24,7 +24,7 @@ msgstr "" #: ../lib/python/Screens/About.py:25 #, python-format msgid "%s (%s, %d MB free)" -msgstr "" +msgstr "%s (%s, %d MB frei)" #: ../lib/python/Screens/HarddiskSetup.py:30 msgid "Bus: " @@ -153,10 +153,19 @@ msgstr "" msgid "Satellite" msgstr "Satellit" +#: ../lib/python/Screens/InfoBar.py:66 +msgid "Stop playing this movie?" +msgstr "" + #: ../lib/python/Screens/ScanSetup.py:78 msgid "Symbolrate" msgstr "" +#: ../lib/python/Screens/NetworkSetup.py:40 +#: ../lib/python/Screens/NetworkSetup.py:52 +msgid "Use DHCP" +msgstr "Adresse automatisch beziehen (DHCP)" + #: ../lib/python/Screens/HarddiskSetup.py:57 msgid "no HDD found" msgstr "keine Festplatte gefunden" -- 2.30.2