Skip to content

Commit 30f90ae

Browse files
solracsfAndyScherzinger
authored andcommitted
fix(user): Some strings not being translated
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
1 parent 2de1a2f commit 30f90ae

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

apps/settings/src/components/Users/UserRow.vue

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ export default {
587587
})
588588
} catch (error) {
589589
// TRANSLATORS This string describes a line manager in the context of an organization
590-
showError(t('setting', 'Failed to update line manager'))
590+
showError(t('settings', 'Failed to update line manager'))
591591
console.error(error)
592592
} finally {
593593
this.loading.manager = false
@@ -649,7 +649,7 @@ export default {
649649
}).then(() => {
650650
this.loading.displayName = false
651651
if (this.editedDisplayName === this.user.displayname) {
652-
showSuccess(t('setting', 'Display name was successfully changed'))
652+
showSuccess(t('settings', 'Display name was successfully changed'))
653653
}
654654
})
655655
},
@@ -662,7 +662,7 @@ export default {
662662
updatePassword() {
663663
this.loading.password = true
664664
if (this.editedPassword.length === 0) {
665-
showError(t('setting', "Password can't be empty"))
665+
showError(t('settings', "Password can't be empty"))
666666
this.loading.password = false
667667
} else {
668668
this.$store.dispatch('setUserData', {
@@ -685,7 +685,7 @@ export default {
685685
updateEmail() {
686686
this.loading.mailAddress = true
687687
if (this.editedMail === '') {
688-
showError(t('setting', "Email can't be empty"))
688+
showError(t('settings', "Email can't be empty"))
689689
this.loading.mailAddress = false
690690
this.editedMail = this.user.email
691691
} else {
@@ -696,7 +696,7 @@ export default {
696696
}).then(() => {
697697
this.loading.mailAddress = false
698698
if (this.editedMail === this.user.email) {
699-
showSuccess(t('setting', 'Email was successfully changed'))
699+
showSuccess(t('settings', 'Email was successfully changed'))
700700
}
701701
})
702702
}
@@ -898,7 +898,7 @@ export default {
898898
sendWelcomeMail() {
899899
this.loading.all = true
900900
this.$store.dispatch('sendWelcomeMail', this.user.id)
901-
.then(() => showSuccess(t('setting', 'Welcome mail sent!'), { timeout: 2000 }))
901+
.then(() => showSuccess(t('settings', 'Welcome mail sent!'), { timeout: 2000 }))
902902
.finally(() => {
903903
this.loading.all = false
904904
})

0 commit comments

Comments
 (0)