From ba6bb835f789bf23374d825599844a172473ca8a Mon Sep 17 00:00:00 2001 From: Stefan Pluecken Date: Sun, 12 Nov 2006 23:55:06 +0000 Subject: [PATCH] concatenate strings --- SleepTimer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.7.4