make factory reset description translatable
[enigma2.git] / lib / python / Screens / FactoryReset.py
diff --git a/lib/python/Screens/FactoryReset.py b/lib/python/Screens/FactoryReset.py
new file mode 100644 (file)
index 0000000..ce5aaeb
--- /dev/null
@@ -0,0 +1,9 @@
+from Screens.MessageBox import MessageBox
+
+class FactoryReset(MessageBox):
+       def __init__(self, session):
+               MessageBox.__init__(self, session, _("When you do a factory reset, you will lose ALL your configuration data\n"
+                       "(including bouquets, services, satellite data ...)\n"
+                       "After completion of factory reset, your receiver will restart automatically!\n\n"
+                       "Really do a factory reset?"), MessageBox.TYPE_YESNO)
+               self.skinName = "MessageBox"
\ No newline at end of file