another fix
[enigma2.git] / lib / python / Components / TimerList.py
index f55c9b1bf21c9c3e86a0e3d23b5e95faeeb5b105..5e371a040e07207b6391d4e8900325c7a5c71adb 100644 (file)
@@ -48,20 +48,20 @@ def TimerEntryComponent(timer, processed):
 
        if not processed:
                if timer.state == TimerEntry.StateWaiting:
-                       state = "waiting"
+                       state = _("waiting")
                elif timer.state == TimerEntry.StatePrepared:
-                       state = "about to start"
+                       state = _("about to start")
                elif timer.state == TimerEntry.StateRunning:
-                       state = "recording..."
+                       state = _("recording...")
                else:
-                       state = "<unknown>"
+                       state = _("<unknown>")
        else:
-               state = "done!"
+               state = _("done!")
        
        res.append((eListboxPythonMultiContent.TYPE_TEXT, 320, 50, 240, 20, 1, RT_HALIGN_RIGHT|RT_VALIGN_CENTER, state))
 
        if timer.disabled:
-               png = loadPNG(resolveFilename(SCOPE_SKIN_IMAGE, "/redx.png"))
+               png = loadPNG(resolveFilename(SCOPE_SKIN_IMAGE, "redx.png"))
                res.append((eListboxPythonMultiContent.TYPE_PIXMAP_ALPHATEST, 490, 5, 40, 40, png))
        
        return res