cleanup and mark stuff translateable
This commit is contained in:
parent
db6ea0c3b5
commit
49e2e4f3a3
@ -15,9 +15,10 @@ class command():
|
|||||||
def shutdown(self):
|
def shutdown(self):
|
||||||
pass
|
pass
|
||||||
def getDescription(self):
|
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):
|
def run(self):
|
||||||
self.env['runtime']['settingsManager'].saveSettings(self.env['runtime']['settingsManager'].getSettingsFile())
|
settingsFile = self.env['runtime']['settingsManager'].getSettingsFile()
|
||||||
self.env['runtime']['outputManager'].presentText("Settings saved.", interrupt=True)
|
self.env['runtime']['settingsManager'].saveSettings(settingsFile)
|
||||||
|
self.env['runtime']['outputManager'].presentText(_("Settings saved."), interrupt=True)
|
||||||
def setCallback(self, callback):
|
def setCallback(self, callback):
|
||||||
pass
|
pass
|
||||||
|
Loading…
Reference in New Issue
Block a user