From 86420cd7c511a2bf7a5efa8afc7aa8b5b43130b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20Cort=C3=A9z?= Date: Sun, 26 Feb 2017 16:16:29 -0600 Subject: [PATCH] Translation implemented in start/stop messages in fenrir --- src/fenrir/fenrir.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fenrir/fenrir.py b/src/fenrir/fenrir.py index 0bf18f58..49a0f123 100644 --- a/src/fenrir/fenrir.py +++ b/src/fenrir/fenrir.py @@ -21,7 +21,7 @@ class fenrir(): raise RuntimeError('Cannot Initialize. Maybe the configfile is not available or not parseable') except RuntimeError: raise - self.environment['runtime']['outputManager'].presentText("Start Fenrir", soundIcon='ScreenReaderOn', interrupt=True) + self.environment['runtime']['outputManager'].presentText(_("Start Fenrir"), soundIcon='ScreenReaderOn', interrupt=True) signal.signal(signal.SIGINT, self.captureSignal) signal.signal(signal.SIGTERM, self.captureSignal) self.wasCommand = False @@ -96,7 +96,7 @@ class fenrir(): self.shutdownRequest() def shutdown(self): - self.environment['runtime']['outputManager'].presentText("Quit Fenrir", soundIcon='ScreenReaderOff', interrupt=True) + self.environment['runtime']['outputManager'].presentText(_("Quit Fenrir"), soundIcon='ScreenReaderOff', interrupt=True) for currManager in self.environment['generalInformation']['managerList']: if self.environment['runtime'][currManager]: self.environment['runtime'][currManager].shutdown()