aboutsummaryrefslogtreecommitdiff
path: root/SleepTimer.py
diff options
context:
space:
mode:
Diffstat (limited to 'SleepTimer.py')
-rw-r--r--SleepTimer.py4
1 files changed, 2 insertions, 2 deletions
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)