aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-07-11 22:40:20 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-07-11 22:40:20 +0000
commite75aee450a95822677cdc63d3f6201bd79dce123 (patch)
tree27daaa2e5cb1022fd779c16569cdebf71266acf6 /lib/python
parent6734718e206768fa8a47afca7e68083b9019901a (diff)
downloadenigma2-e75aee450a95822677cdc63d3f6201bd79dce123.tar.gz
enigma2-e75aee450a95822677cdc63d3f6201bd79dce123.zip
make some texts translatable and translate it to german languag
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Screens/InfoBar.py4
-rw-r--r--lib/python/Screens/InfoBarGenerics.py24
2 files changed, 14 insertions, 14 deletions
diff --git a/lib/python/Screens/InfoBar.py b/lib/python/Screens/InfoBar.py
index 372fad28..5d6e32a5 100644
--- a/lib/python/Screens/InfoBar.py
+++ b/lib/python/Screens/InfoBar.py
@@ -56,8 +56,8 @@ class InfoBar(InfoBarShowHide,
InfoBarTeletextPlugin, InfoBarExtensions, InfoBarSubtitleSupport:
x.__init__(self)
- self.helpList.append((self["actions"], "InfobarActions", [("showMovies", "Watch a Movie...")]))
- self.helpList.append((self["actions"], "InfobarActions", [("showRadio", "Hear Radio...")]))
+ self.helpList.append((self["actions"], "InfobarActions", [("showMovies", _("view recordings..."))]))
+ self.helpList.append((self["actions"], "InfobarActions", [("showRadio", _("hear radio..."))]))
self["CurrentTime"] = Clock()
diff --git a/lib/python/Screens/InfoBarGenerics.py b/lib/python/Screens/InfoBarGenerics.py
index dd5aadec..0241b6dc 100644
--- a/lib/python/Screens/InfoBarGenerics.py
+++ b/lib/python/Screens/InfoBarGenerics.py
@@ -319,7 +319,7 @@ class InfoBarMenu:
def __init__(self):
self["MenuActions"] = HelpableActionMap(self, "InfobarMenuActions",
{
- "mainMenu": (self.mainMenu, "Enter main menu..."),
+ "mainMenu": (self.mainMenu, _("Enter main menu...")),
})
def mainMenu(self):
@@ -559,13 +559,13 @@ class InfoBarSeek:
self["SeekActions"] = InfoBarSeekActionMap(self, "InfobarSeekActions",
{
- "pauseService": (self.pauseService, "pause"),
- "unPauseService": (self.unPauseService, "continue"),
+ "pauseService": (self.pauseService, _("pause")),
+ "unPauseService": (self.unPauseService, _("continue")),
- "seekFwd": (self.seekFwd, "skip forward"),
+ "seekFwd": (self.seekFwd, _("skip forward")),
"seekFwdDown": self.seekFwdDown,
"seekFwdUp": self.seekFwdUp,
- "seekBack": (self.seekBack, "skip backward"),
+ "seekBack": (self.seekBack, _("skip backward")),
"seekBackDown": self.seekBackDown,
"seekBackUp": self.seekBackUp,
}, prio=-1)
@@ -875,8 +875,8 @@ class InfoBarTimeshift:
def __init__(self):
self["TimeshiftActions"] = HelpableActionMap(self, "InfobarTimeshiftActions",
{
- "timeshiftStart": (self.startTimeshift, "start timeshift"), # the "yellow key"
- "timeshiftStop": (self.stopTimeshift, "stop timeshift") # currently undefined :), probably 'TV'
+ "timeshiftStart": (self.startTimeshift, _("start timeshift")), # the "yellow key"
+ "timeshiftStop": (self.stopTimeshift, _("stop timeshift")) # currently undefined :), probably 'TV'
}, prio=1)
self["TimeshiftActivateActions"] = ActionMap(["InfobarTimeshiftActivateActions"],
{
@@ -916,7 +916,7 @@ class InfoBarTimeshift:
# we remove the "relative time" for now.
#self.pvrStateDialog["timeshift"].setRelative(time.time())
-
+
# PAUSE.
self.setSeekState(self.SEEK_STATE_PAUSE)
@@ -1008,7 +1008,7 @@ class InfoBarExtensions:
self["InstantExtensionsActions"] = HelpableActionMap(self, "InfobarExtensions",
{
- "extensions": (self.extensions, "Extensions..."),
+ "extensions": (self.extensions, _("view extensions...")),
})
PIPON = 0
@@ -1075,7 +1075,7 @@ class InfoBarInstantRecord:
def __init__(self):
self["InstantRecordActions"] = HelpableActionMap(self, "InfobarInstantRecord",
{
- "instantRecord": (self.instantRecord, "Instant Record..."),
+ "instantRecord": (self.instantRecord, _("Instant Record...")),
})
self.recording = []
self["BlinkingPoint"] = BlinkingPixmapConditional()
@@ -1199,7 +1199,7 @@ class InfoBarAudioSelection:
def __init__(self):
self["AudioSelectionAction"] = HelpableActionMap(self, "InfobarAudioSelectionActions",
{
- "audioSelection": (self.audioSelection, "Audio Options..."),
+ "audioSelection": (self.audioSelection, _("Audio Options...")),
})
def audioSelection(self):
@@ -1573,7 +1573,7 @@ class InfoBarTeletextPlugin:
if self.teletext_plugin is not None:
self["TeletextActions"] = HelpableActionMap(self, "InfobarTeletextActions",
{
- "startTeletext": (self.startTeletext, "View teletext...")
+ "startTeletext": (self.startTeletext, _("View teletext..."))
})
else:
print "no teletext plugin found!"