X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/a304ed63ef86c02d1c74b342b619edff642a164b..7f4139426b99e850f951d3da3d0f8c37a5113827:/SleepTimer.py diff --git a/SleepTimer.py b/SleepTimer.py index ea18ceed..41ad2cda 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)