aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Screens/InfoBar.py2
-rw-r--r--lib/python/Screens/NetworkSetup.py4
2 files changed, 3 insertions, 3 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):