remove bad words (and characters)
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Thu, 2 Mar 2006 01:02:04 +0000 (01:02 +0000)
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Thu, 2 Mar 2006 01:02:04 +0000 (01:02 +0000)
lib/python/Plugins/DemoPlugins/TestPlugin/plugin.py

index c4e28fea560b1bd4f36fa5b4720632b20533b463..1d21ea3db040a873b8904971b70a61afce8d8df3 100644 (file)
@@ -69,7 +69,7 @@ class Test(Screen):
                self["text"].number(number)
 
 def main(session):
                self["text"].number(number)
 
 def main(session):
-       session.openWithCallback(test, ChoiceBox, title="Delete everything on this Dreambox?", list=[(_("yes"), "yes"), (_("no"), "no"), (_("perhaps"), "perhaps"), (_("ask me tomorrow"), "ask me tomorrow"), (_("leave me alone with this s§&$!"), "yes")])
+       session.openWithCallback(test, ChoiceBox, title="Delete everything on this Dreambox?", list=[(_("yes"), "yes"), (_("no"), "no"), (_("perhaps"), "perhaps"), (_("ask me tomorrow"), "ask me tomorrow"), (_("leave me alone with this!"), "yes")])
        
 def test(returnValue):
        print "You entered", returnValue
        
 def test(returnValue):
        print "You entered", returnValue