Skip to content

Commit 4af7de9

Browse files
Merge pull request #51664 from nextcloud/backport/51644/stable29
[stable29] fix(user): Some strings not being translated
2 parents 2de1a2f + 513a307 commit 4af7de9

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

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

Lines changed: 7 additions & 7 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', {
@@ -672,7 +672,7 @@ export default {
672672
}).then(() => {
673673
this.loading.password = false
674674
this.editedPassword = ''
675-
showSuccess(t('setting', 'Password was successfully changed'))
675+
showSuccess(t('settings', 'Password was successfully changed'))
676676
})
677677
}
678678
},
@@ -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
})

dist/settings-users-3239.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/settings-users-3239.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/settings-vue-settings-apps-users-management.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/settings-vue-settings-apps-users-management.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)