From 2bc75c09718546fe48ffe1e68c65402ec5fdf0f2 Mon Sep 17 00:00:00 2001 From: Stefan Pluecken Date: Wed, 28 Dec 2005 20:07:42 +0000 Subject: translate the update plugin --- lib/python/Plugins/update.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/python') diff --git a/lib/python/Plugins/update.py b/lib/python/Plugins/update.py index a1525cf3..3653472a 100644 --- a/lib/python/Plugins/update.py +++ b/lib/python/Plugins/update.py @@ -16,7 +16,7 @@ class Example(Screen): self.skin = Example.skin Screen.__init__(self, session) - self["text"] = Label("Please press OK!") + self["text"] = Label(_("Please press OK!")) self["actions"] = ActionMap(["WizardActions"], { @@ -34,7 +34,7 @@ class Example(Screen): string = "" for x in lines: string += x - self["text"].setText("Updating finished. Here is the result:\n\n" + string) + self["text"].setText(_("Updating finished. Here is the result:") + "\n\n" + string) else: self.close() -- cgit v1.2.3