Merge branch 'from/develop/tusooa/multi-iface-lang' into 'develop'
Multiple interface languages support See merge request pleroma/pleroma-fe!1568
This commit is contained in:
commit
a9716701be
7 changed files with 108 additions and 25 deletions
|
|
@ -43,7 +43,7 @@ const ProfileTab = {
|
|||
bannerPreview: null,
|
||||
background: null,
|
||||
backgroundPreview: null,
|
||||
emailLanguage: this.$store.state.users.currentUser.language || ''
|
||||
emailLanguage: this.$store.state.users.currentUser.language || ['']
|
||||
}
|
||||
},
|
||||
components: {
|
||||
|
|
@ -130,7 +130,7 @@ const ProfileTab = {
|
|||
}
|
||||
|
||||
if (this.emailLanguage) {
|
||||
params.language = localeService.internalToBackendLocale(this.emailLanguage)
|
||||
params.language = localeService.internalToBackendLocaleMulti(this.emailLanguage)
|
||||
}
|
||||
|
||||
this.$store.state.api.backendInteractor
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue