mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Added a success message in case where language has been switched.
This commit is contained in:
parent
d87fd70784
commit
3ca200bb96
@ -105,7 +105,8 @@
|
|||||||
"language": "Sprache",
|
"language": "Sprache",
|
||||||
"languages": {
|
"languages": {
|
||||||
"de": "Deutsch",
|
"de": "Deutsch",
|
||||||
"en": "English"
|
"en": "English",
|
||||||
|
"success": "Deine Sprache wurde erfolgreich geändert."
|
||||||
},
|
},
|
||||||
"login": "Anmeldung",
|
"login": "Anmeldung",
|
||||||
"logout": "Abmelden",
|
"logout": "Abmelden",
|
||||||
|
|||||||
@ -105,7 +105,8 @@
|
|||||||
"language": "Language",
|
"language": "Language",
|
||||||
"languages": {
|
"languages": {
|
||||||
"de": "Deutsch",
|
"de": "Deutsch",
|
||||||
"en": "English"
|
"en": "English",
|
||||||
|
"success": "Your language has been successfully updated."
|
||||||
},
|
},
|
||||||
"login": "Login",
|
"login": "Login",
|
||||||
"logout": "Logout",
|
"logout": "Logout",
|
||||||
|
|||||||
@ -100,6 +100,7 @@ export default {
|
|||||||
.then(() => {
|
.then(() => {
|
||||||
this.$store.commit('language', this.language)
|
this.$store.commit('language', this.language)
|
||||||
this.cancelEdit()
|
this.cancelEdit()
|
||||||
|
this.$toasted.success(this.$t('languages.success'))
|
||||||
})
|
})
|
||||||
.catch((error) => {
|
.catch((error) => {
|
||||||
this.$toasted.error(error.message)
|
this.$toasted.error(error.message)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user