global settings: fix i18n

This commit is contained in:
Alexandre Aubin 2022-08-06 13:50:40 +02:00
parent dd039b30c4
commit 2671fd32d3
2 changed files with 5 additions and 1 deletions

View file

@ -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.<br> 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",

View file

@ -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 => {