forked from AkkomaGang/admin-fe
Update confimation messages for rejecting accounts
This commit is contained in:
parent
7815274d17
commit
ab37ebb00b
3 changed files with 9 additions and 8 deletions
|
@ -229,13 +229,14 @@ export default {
|
||||||
revokeRightConfirmation: 'Are you sure you want to revoke {right} rights from all selected users?',
|
revokeRightConfirmation: 'Are you sure you want to revoke {right} rights from all selected users?',
|
||||||
activateMultipleUsersConfirmation: 'Are you sure you want to activate accounts of all selected users?',
|
activateMultipleUsersConfirmation: 'Are you sure you want to activate accounts of all selected users?',
|
||||||
deactivateMultipleUsersConfirmation: 'Are you sure you want to deactivate accounts of all selected users?',
|
deactivateMultipleUsersConfirmation: 'Are you sure you want to deactivate accounts of all selected users?',
|
||||||
deleteUsersConfirmation: 'Are you sure you want to delete this account? This action cannot be undone.',
|
deleteUserConfirmation: 'Are you sure you want to delete this account? This action cannot be undone.',
|
||||||
deleteMultipleUsersConfirmation: 'Are you sure you want to delete accounts of all selected users?',
|
rejectAccountConfirmation: 'Are you sure you want to reject this account? This account will be deleted and it cannot be undone.',
|
||||||
|
deleteMultipleUsersConfirmation: 'Are you sure you want to delete accounts of all selected users? This action cannot be undone.',
|
||||||
addTagForMultipleUsersConfirmation: 'Are you sure you want to apply tag to all selected users?',
|
addTagForMultipleUsersConfirmation: 'Are you sure you want to apply tag to all selected users?',
|
||||||
removeTagFromMultipleUsersConfirmation: 'Are you sure you want to remove tag from all selected users?',
|
removeTagFromMultipleUsersConfirmation: 'Are you sure you want to remove tag from all selected users?',
|
||||||
requirePasswordResetConfirmation: 'Are you sure you want to require password reset for all selected users?',
|
requirePasswordResetConfirmation: 'Are you sure you want to require password reset for all selected users?',
|
||||||
approveAccountsConfirmation: 'Are you sure you want to approve accounts for all selected users?',
|
approveAccountsConfirmation: 'Are you sure you want to approve accounts for all selected users?',
|
||||||
rejectAccountsConfirmation: 'Are you sure you want to reject accounts for all selected users?',
|
rejectAccountsConfirmation: 'Are you sure you want to reject accounts for all selected users? These accounts will be deleted and it cannot be undone.',
|
||||||
confirmAccountsConfirmation: 'Are you sure you want to confirm emails for all selected users?',
|
confirmAccountsConfirmation: 'Are you sure you want to confirm emails for all selected users?',
|
||||||
resendEmailConfirmation: 'Are you sure you want to resend confirmation email for all selected users?',
|
resendEmailConfirmation: 'Are you sure you want to resend confirmation email for all selected users?',
|
||||||
mailerMustBeEnabled: 'To require user\'s password reset you must enable mailer.',
|
mailerMustBeEnabled: 'To require user\'s password reset you must enable mailer.',
|
||||||
|
|
|
@ -155,7 +155,7 @@ export default {
|
||||||
},
|
},
|
||||||
handleDeletion(user) {
|
handleDeletion(user) {
|
||||||
this.$confirm(
|
this.$confirm(
|
||||||
this.$t('users.deleteUsersConfirmation'),
|
this.$t('users.deleteUserConfirmation'),
|
||||||
{
|
{
|
||||||
confirmButtonText: 'Delete',
|
confirmButtonText: 'Delete',
|
||||||
cancelButtonText: 'Cancel',
|
cancelButtonText: 'Cancel',
|
||||||
|
@ -174,9 +174,9 @@ export default {
|
||||||
},
|
},
|
||||||
handleAccountRejection(user) {
|
handleAccountRejection(user) {
|
||||||
this.$confirm(
|
this.$confirm(
|
||||||
this.$t('users.deleteUsersConfirmation'),
|
this.$t('users.rejectAccountConfirmation'),
|
||||||
{
|
{
|
||||||
confirmButtonText: 'Delete',
|
confirmButtonText: 'Reject',
|
||||||
cancelButtonText: 'Cancel',
|
cancelButtonText: 'Cancel',
|
||||||
type: 'warning'
|
type: 'warning'
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
|
@ -184,7 +184,7 @@ export default {
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
this.$message({
|
this.$message({
|
||||||
type: 'info',
|
type: 'info',
|
||||||
message: 'Delete canceled'
|
message: 'Reject canceled'
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
|
@ -325,7 +325,7 @@ export default {
|
||||||
rejectAccountsForMultipleUsers() {
|
rejectAccountsForMultipleUsers() {
|
||||||
const { remove } = this.mappers()
|
const { remove } = this.mappers()
|
||||||
this.confirmMessage(
|
this.confirmMessage(
|
||||||
this.$t('users.deleteMultipleUsersConfirmation'),
|
this.$t('users.rejectAccountsConfirmation'),
|
||||||
remove
|
remove
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue