aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2005-12-19 20:04:50 +0000
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2005-12-19 20:04:50 +0000
commit8b4c680b5218447a7fc7c710c51aeb86a2b1c716 (patch)
tree0d76d8d4a0a7ac12b2cfff387e1dc8f8b3595c58 /lib/python
parent828d14b327774be99e3d411399907e5141d60814 (diff)
downloadenigma2-8b4c680b5218447a7fc7c710c51aeb86a2b1c716.tar.gz
enigma2-8b4c680b5218447a7fc7c710c51aeb86a2b1c716.zip
translate a single letter
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Screens/ChannelSelection.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/python/Screens/ChannelSelection.py b/lib/python/Screens/ChannelSelection.py
index 7650a4a6..45de7abd 100644
--- a/lib/python/Screens/ChannelSelection.py
+++ b/lib/python/Screens/ChannelSelection.py
@@ -330,9 +330,9 @@ class ChannelSelectionBase(Screen):
service.setName(service_name) # why we need this cast?
except:
if orbpos > 1800: # west
- service.setName("%s (%3.1fW)"%(str, (0 - (orbpos - 3600)) / 10.0))
+ service.setName("%s (%3.1f" + _("W") + ")" %(str, (0 - (orbpos - 3600)) / 10.0))
else:
- service.setName("%s (%3.1fE)"%(str, orbpos / 10.0))
+ service.setName("%s (%3.1f" + _("E") + ")" % (str, orbpos / 10.0))
self.servicelist.addService(service)
self.servicelist.finishFill()