Better delete identity admin message

This commit is contained in:
Chocobozzz 2019-08-26 15:58:28 +02:00
parent 4a8f971443
commit fd00663a1e
No known key found for this signature in database
GPG key ID: 583A612D890159BE

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 },
),