Skip to content

Commit 7a05c00

Browse files
Merge pull request #51644 from nextcloud/fixWrongTranslation
fix(user): Some strings not being translated
2 parents cdc2e8b + fd94228 commit 7a05c00

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
@@ -576,7 +576,7 @@ export default {
576576
})
577577
} catch (error) {
578578
// TRANSLATORS This string describes a line manager in the context of an organization
579-
showError(t('setting', 'Failed to update line manager'))
579+
showError(t('settings', 'Failed to update line manager'))
580580
console.error(error)
581581
} finally {
582582
this.loading.manager = false
@@ -638,7 +638,7 @@ export default {
638638
})
639639
640640
if (this.editedDisplayName === this.user.displayname) {
641-
showSuccess(t('setting', 'Display name was successfully changed'))
641+
showSuccess(t('settings', 'Display name was successfully changed'))
642642
}
643643
} finally {
644644
this.loading.displayName = false
@@ -651,7 +651,7 @@ export default {
651651
async updatePassword() {
652652
this.loading.password = true
653653
if (this.editedPassword.length === 0) {
654-
showError(t('setting', "Password can't be empty"))
654+
showError(t('settings', "Password can't be empty"))
655655
this.loading.password = false
656656
} else {
657657
try {
@@ -661,7 +661,7 @@ export default {
661661
value: this.editedPassword,
662662
})
663663
this.editedPassword = ''
664-
showSuccess(t('setting', 'Password was successfully changed'))
664+
showSuccess(t('settings', 'Password was successfully changed'))
665665
} finally {
666666
this.loading.password = false
667667
}
@@ -674,7 +674,7 @@ export default {
674674
async updateEmail() {
675675
this.loading.mailAddress = true
676676
if (this.editedMail === '') {
677-
showError(t('setting', "Email can't be empty"))
677+
showError(t('settings', "Email can't be empty"))
678678
this.loading.mailAddress = false
679679
this.editedMail = this.user.email
680680
} else {
@@ -686,7 +686,7 @@ export default {
686686
})
687687
688688
if (this.editedMail === this.user.email) {
689-
showSuccess(t('setting', 'Email was successfully changed'))
689+
showSuccess(t('settings', 'Email was successfully changed'))
690690
}
691691
} finally {
692692
this.loading.mailAddress = false
@@ -890,7 +890,7 @@ export default {
890890
sendWelcomeMail() {
891891
this.loading.all = true
892892
this.$store.dispatch('sendWelcomeMail', this.user.id)
893-
.then(() => showSuccess(t('setting', 'Welcome mail sent!'), { timeout: 2000 }))
893+
.then(() => showSuccess(t('settings', 'Welcome mail sent!'), { timeout: 2000 }))
894894
.finally(() => {
895895
this.loading.all = false
896896
})

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)