Merge branch 'feature/better-delete-message' into 'master'

Better delete identity admin message

Closes #136

See merge request framasoft/mobilizon!171
This commit is contained in:
Thomas Citharel 2019-08-27 14:23:50 +02:00
commit 5f9f28d27f

View File

@ -229,6 +229,9 @@ export default class EditIdentity extends Vue {
type: 'is-danger',
title: this.$gettext('Delete your identity'),
message: this.$gettextInterpolate(
'This will delete / anonymize all content (events, comments, messages, participation...) created from this identity. <br /><br />' +
'If this identity is the only administrator of some groups, you need to delete them before being able to delete this identity. ' +
'Otherwise this identity will just be removed from the group administrators.<br /><br />' +
'To confirm, type your identity username "%{preferredUsername}"',
{ preferredUsername: this.identity.preferredUsername },
),