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}'", "create": "Create user '{name}'",
"delete": "Delete user '{name}'", "delete": "Delete user '{name}'",
"update": "Update user '{name}'" "update": "Update user '{name}'"
},
"settings": {
"update": "Update global settings"
} }
}, },
"run": "Run", "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.", "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" "transitions": "Page transition animations"
}, },
"tools_yunohost_settings": "YunoHost settings",
"tools_webadmin_settings": "Web-admin settings", "tools_webadmin_settings": "Web-admin settings",
"traceback": "Traceback", "traceback": "Traceback",
"udp": "UDP", "udp": "UDP",

View file

@ -48,7 +48,7 @@ export default {
api.put( api.put(
'settings', 'settings',
{ key: id_, args: objectToParams(formatedData) }, { key: id_, args: objectToParams(formatedData) },
{ key: 'tools.update_settings', name: this.name } { key: 'settings.update', name: this.name }
).then(() => { ).then(() => {
this.$refs.view.fetchQueries({ triggerLoading: true }) this.$refs.view.fetchQueries({ triggerLoading: true })
}).catch(err => { }).catch(err => {