cleanup and mark stuff translateable
This commit is contained in:
parent
db6ea0c3b5
commit
49e2e4f3a3
@ -15,9 +15,10 @@ class command():
|
||||
def shutdown(self):
|
||||
pass
|
||||
def getDescription(self):
|
||||
return 'Saves your current Fenrir settings so they are the default.'
|
||||
return _('Saves your current Fenrir settings so they are the default.')
|
||||
def run(self):
|
||||
self.env['runtime']['settingsManager'].saveSettings(self.env['runtime']['settingsManager'].getSettingsFile())
|
||||
self.env['runtime']['outputManager'].presentText("Settings saved.", interrupt=True)
|
||||
settingsFile = self.env['runtime']['settingsManager'].getSettingsFile()
|
||||
self.env['runtime']['settingsManager'].saveSettings(settingsFile)
|
||||
self.env['runtime']['outputManager'].presentText(_("Settings saved."), interrupt=True)
|
||||
def setCallback(self, callback):
|
||||
pass
|
||||
|
Loading…
Reference in New Issue
Block a user