X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;f=SleepTimer.py;h=41ad2cdabecfe765768cfbe5a9cea376411abee6;hb=efa41fe76ddfee368009a914bc9b4bff54dee8ce;hp=ea18ceed027d0e1c32e5824de3f5719b05bb264e;hpb=a304ed63ef86c02d1c74b342b619edff642a164b;p=vuplus_dvbapp diff --git a/SleepTimer.py b/SleepTimer.py index ea18cee..41ad2cd 100644 --- a/SleepTimer.py +++ b/SleepTimer.py @@ -24,12 +24,12 @@ class SleepTimerEntry(timer.TimerEntry): if self.state == self.StateRunning: if config.SleepTimer.action.value == "shutdown": if config.SleepTimer.ask.value: - Notifications.AddNotificationWithCallback(self.shutdown, MessageBox, _("A sleep timer want's to shut down") + "\n" + _("your Dreambox. Shutdown now?"), timeout = 20) + Notifications.AddNotificationWithCallback(self.shutdown, MessageBox, _("A sleep timer want's to shut down\nyour Dreambox. Shutdown now?"), timeout = 20) else: self.shutdown(True) elif config.SleepTimer.action.value == "standby": if config.SleepTimer.ask.value: - Notifications.AddNotificationWithCallback(self.standby, MessageBox, _("A sleep timer want's to set your") + "\n" + _("Dreambox to standby. Do that now?"), timeout = 20) + Notifications.AddNotificationWithCallback(self.standby, MessageBox, _("A sleep timer want's to set your\nDreambox to standby. Do that now?"), timeout = 20) else: self.standby(True)