diff options
| author | ghost <andreas.monzner@multimedia-labs.de> | 2009-02-14 14:56:17 +0100 |
|---|---|---|
| committer | ghost <andreas.monzner@multimedia-labs.de> | 2009-02-14 14:56:17 +0100 |
| commit | 2b80914bdd9aada1797f450bbb9089f6d9bb5740 (patch) | |
| tree | 149b675eb4ef5e6d631da8f3a7126905122d6e07 /lib/python | |
| parent | eb23e866b8888b4d7b86e0b5ff45891e12fb04e1 (diff) | |
| download | enigma2-2b80914bdd9aada1797f450bbb9089f6d9bb5740.tar.gz enigma2-2b80914bdd9aada1797f450bbb9089f6d9bb5740.zip | |
make factory reset description translatable
Diffstat (limited to 'lib/python')
| -rw-r--r-- | lib/python/Screens/FactoryReset.py | 9 | ||||
| -rwxr-xr-x | lib/python/Screens/Makefile.am | 2 |
2 files changed, 10 insertions, 1 deletions
diff --git a/lib/python/Screens/FactoryReset.py b/lib/python/Screens/FactoryReset.py new file mode 100644 index 00000000..ce5aaeb3 --- /dev/null +++ b/lib/python/Screens/FactoryReset.py @@ -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 diff --git a/lib/python/Screens/Makefile.am b/lib/python/Screens/Makefile.am index 00204a94..ca67f73d 100755 --- a/lib/python/Screens/Makefile.am +++ b/lib/python/Screens/Makefile.am @@ -14,5 +14,5 @@ install_PYTHON = \ SubtitleDisplay.py SubservicesQuickzap.py ParentalControlSetup.py NumericalTextInputHelpDialog.py \ SleepTimerEdit.py Ipkg.py RdsDisplay.py Globals.py DefaultWizard.py \ SessionGlobals.py LocationBox.py WizardLanguage.py TaskView.py Rc.py VirtualKeyBoard.py \ - TextBox.py + TextBox.py FactoryReset.py |
