diff --git a/app/src/i18n/locales/en.json b/app/src/i18n/locales/en.json index 7eac7dec..81d17059 100644 --- a/app/src/i18n/locales/en.json +++ b/app/src/i18n/locales/en.json @@ -452,6 +452,9 @@ "create": "Create user '{name}'", "delete": "Delete user '{name}'", "update": "Update user '{name}'" + }, + "settings": { + "update": "Update global settings" } }, "run": "Run", @@ -501,6 +504,7 @@ "experimental_description": "Gives you access to experimental features. These are considered unstable and may break your system.
Enable this only if you know what you are doing.", "transitions": "Page transition animations" }, + "tools_yunohost_settings": "YunoHost settings", "tools_webadmin_settings": "Web-admin settings", "traceback": "Traceback", "udp": "UDP", diff --git a/app/src/views/tool/ToolSettings.vue b/app/src/views/tool/ToolSettings.vue index 54d32981..8cf6dfa6 100644 --- a/app/src/views/tool/ToolSettings.vue +++ b/app/src/views/tool/ToolSettings.vue @@ -48,7 +48,7 @@ export default { api.put( 'settings', { key: id_, args: objectToParams(formatedData) }, - { key: 'tools.update_settings', name: this.name } + { key: 'settings.update', name: this.name } ).then(() => { this.$refs.view.fetchQueries({ triggerLoading: true }) }).catch(err => {