feat(i18n): add missing localizations

This commit is contained in:
Hunyady Mihály 2024-02-22 08:02:34 +01:00
parent a4dcb4f92e
commit ec29c9a3b0
26 changed files with 253 additions and 25 deletions

View file

@ -248,14 +248,14 @@ export default {
.then((data) => {
this.$store.commit('setServerSettings', data.serverSettings)
if (data.updated) {
this.$toast.success('Server settings updated')
this.$toast.success(this.$strings.ToastServerSettingsUpdateSuccess)
} else {
this.$toast.info(this.$strings.MessageNoUpdatesWereNecessary)
}
})
.catch((error) => {
console.error('Failed to update server settings', error)
this.$toast.error('Failed to update server settings')
this.$toast.error(this.$strings.ToastServerSettingsUpdateFailed)
})
.finally(() => {
this.savingSettings = false