Skip to content

Commit bf007b7

Browse files
committed
[MessageBox] don't translate. The text should be translated by the calling code
1 parent d804546 commit bf007b7

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

lib/python/Screens/MessageBox.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,7 @@ class MessageBox(Screen, HelpableScreen):
2929
def __init__(self, session, text, type=TYPE_YESNO, timeout=0, close_on_any_key=False, default=True, enable_input=True, msgBoxID=None, picon=True, simple=False, wizard=False, list=None, skin_name=None, timeout_default=None, title=None):
3030
Screen.__init__(self, session)
3131
HelpableScreen.__init__(self)
32-
if text:
33-
self.text = _(text)
34-
else:
35-
self.text = text
32+
self.text = text
3633
if type in range(self.TYPE_MESSAGE + 1):
3734
self.type = type
3835
else:

0 commit comments

Comments
 (0)