From: Stefan Pluecken Date: Sun, 12 Nov 2006 23:55:06 +0000 (+0000) Subject: concatenate strings X-Git-Tag: 2.6.0~2734 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/ba6bb835f789bf23374d825599844a172473ca8a concatenate strings --- 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)