Translation implemented in start/stop messages in fenrir
This commit is contained in:
		@@ -21,7 +21,7 @@ class fenrir():
 | 
				
			|||||||
                raise RuntimeError('Cannot Initialize. Maybe the configfile is not available or not parseable')
 | 
					                raise RuntimeError('Cannot Initialize. Maybe the configfile is not available or not parseable')
 | 
				
			||||||
        except RuntimeError:
 | 
					        except RuntimeError:
 | 
				
			||||||
            raise
 | 
					            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.SIGINT, self.captureSignal)
 | 
				
			||||||
        signal.signal(signal.SIGTERM, self.captureSignal)
 | 
					        signal.signal(signal.SIGTERM, self.captureSignal)
 | 
				
			||||||
        self.wasCommand = False
 | 
					        self.wasCommand = False
 | 
				
			||||||
@@ -96,7 +96,7 @@ class fenrir():
 | 
				
			|||||||
        self.shutdownRequest()
 | 
					        self.shutdownRequest()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def shutdown(self):
 | 
					    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']:
 | 
					        for currManager in self.environment['generalInformation']['managerList']:
 | 
				
			||||||
            if self.environment['runtime'][currManager]:
 | 
					            if self.environment['runtime'][currManager]:
 | 
				
			||||||
                self.environment['runtime'][currManager].shutdown()                      
 | 
					                self.environment['runtime'][currManager].shutdown()                      
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user