mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Merge pull request #51666 from nextcloud/backport/51644/stable31
[stable31] fix(user): Some strings not being translated
This commit is contained in:
commit
dfc067ad7d
5 changed files with 13 additions and 13 deletions
|
|
@ -576,7 +576,7 @@ export default {
|
|||
})
|
||||
} catch (error) {
|
||||
// TRANSLATORS This string describes a line manager in the context of an organization
|
||||
showError(t('setting', 'Failed to update line manager'))
|
||||
showError(t('settings', 'Failed to update line manager'))
|
||||
console.error(error)
|
||||
} finally {
|
||||
this.loading.manager = false
|
||||
|
|
@ -638,7 +638,7 @@ export default {
|
|||
})
|
||||
|
||||
if (this.editedDisplayName === this.user.displayname) {
|
||||
showSuccess(t('setting', 'Display name was successfully changed'))
|
||||
showSuccess(t('settings', 'Display name was successfully changed'))
|
||||
}
|
||||
} finally {
|
||||
this.loading.displayName = false
|
||||
|
|
@ -651,7 +651,7 @@ export default {
|
|||
async updatePassword() {
|
||||
this.loading.password = true
|
||||
if (this.editedPassword.length === 0) {
|
||||
showError(t('setting', "Password can't be empty"))
|
||||
showError(t('settings', "Password can't be empty"))
|
||||
this.loading.password = false
|
||||
} else {
|
||||
try {
|
||||
|
|
@ -661,7 +661,7 @@ export default {
|
|||
value: this.editedPassword,
|
||||
})
|
||||
this.editedPassword = ''
|
||||
showSuccess(t('setting', 'Password was successfully changed'))
|
||||
showSuccess(t('settings', 'Password was successfully changed'))
|
||||
} finally {
|
||||
this.loading.password = false
|
||||
}
|
||||
|
|
@ -674,7 +674,7 @@ export default {
|
|||
async updateEmail() {
|
||||
this.loading.mailAddress = true
|
||||
if (this.editedMail === '') {
|
||||
showError(t('setting', "Email can't be empty"))
|
||||
showError(t('settings', "Email can't be empty"))
|
||||
this.loading.mailAddress = false
|
||||
this.editedMail = this.user.email
|
||||
} else {
|
||||
|
|
@ -686,7 +686,7 @@ export default {
|
|||
})
|
||||
|
||||
if (this.editedMail === this.user.email) {
|
||||
showSuccess(t('setting', 'Email was successfully changed'))
|
||||
showSuccess(t('settings', 'Email was successfully changed'))
|
||||
}
|
||||
} finally {
|
||||
this.loading.mailAddress = false
|
||||
|
|
@ -890,7 +890,7 @@ export default {
|
|||
sendWelcomeMail() {
|
||||
this.loading.all = true
|
||||
this.$store.dispatch('sendWelcomeMail', this.user.id)
|
||||
.then(() => showSuccess(t('setting', 'Welcome mail sent!'), { timeout: 2000 }))
|
||||
.then(() => showSuccess(t('settings', 'Welcome mail sent!'), { timeout: 2000 }))
|
||||
.finally(() => {
|
||||
this.loading.all = false
|
||||
})
|
||||
|
|
|
|||
4
dist/settings-users-3239.js
vendored
4
dist/settings-users-3239.js
vendored
File diff suppressed because one or more lines are too long
2
dist/settings-users-3239.js.map
vendored
2
dist/settings-users-3239.js.map
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue