From fd00663a1eb3195cacc5387a7c52837ed886a55d Mon Sep 17 00:00:00 2001
From: Chocobozzz <me@florianbigard.com>
Date: Mon, 26 Aug 2019 15:58:28 +0200
Subject: [PATCH] Better delete identity admin message

---
 js/src/views/Account/children/EditIdentity.vue | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/js/src/views/Account/children/EditIdentity.vue b/js/src/views/Account/children/EditIdentity.vue
index 03468e286..117ffcd02 100644
--- a/js/src/views/Account/children/EditIdentity.vue
+++ b/js/src/views/Account/children/EditIdentity.vue
@@ -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 },
       ),