aboutsummaryrefslogtreecommitdiff
path: root/SleepTimer.py
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2006-11-12 23:55:06 +0000
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2006-11-12 23:55:06 +0000
commitba6bb835f789bf23374d825599844a172473ca8a (patch)
treecf377374960174da52a97e4c914844b1ddf3d71e /SleepTimer.py
parent21a732ea994a3c6f90df22d05a2d107fdf46bee3 (diff)
downloadenigma2-ba6bb835f789bf23374d825599844a172473ca8a.tar.gz
enigma2-ba6bb835f789bf23374d825599844a172473ca8a.zip
concatenate strings
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)