From 4a618908e836ecb94f70e99f2198ee7b3ba3b2ec Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Wed, 14 Jun 2017 18:01:27 +0200 Subject: Account deletion (#3728) * Add form for account deletion * If avatar or header are gone from source, remove them * Add option to have SuspendAccountService remove user record, add tests * Exclude suspended accounts from search --- config/locales/en.yml | 11 +++++++++++ config/locales/simple_form.ru.yml | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) (limited to 'config/locales') diff --git a/config/locales/en.yml b/config/locales/en.yml index 71def8fe2..0d33aae3f 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -201,6 +201,8 @@ en: invalid_url: The provided URL is invalid auth: change_password: Credentials + delete_account: Delete account + delete_account_html: If you wish to delete your account, you can proceed here. You will be asked for confirmation. didnt_get_confirmation: Didn't receive confirmation instructions? forgot_password: Forgot your password? login: Log in @@ -228,6 +230,14 @@ en: x_minutes: "%{count}m" x_months: "%{count}mo" x_seconds: "%{count}s" + deletes: + bad_password_msg: Nice try, hackers! Incorrect password + confirm_password: Enter your current password to verify your identity + description_html: This will permanently, irreversibly remove content from your account and deactivate it. Your username will remain reserved to prevent future impersonations. + proceed: Delete account + success_msg: Your account was successfully deleted + warning_html: Only deletion of content from this particular instance is guaranteed. Content that has been widely shared is likely to leave traces. Offline servers and servers that have unsubscribed from your updates will not update their databases. + warning_title: Disseminated content availability errors: '403': You don't have permission to view this page. '404': The page you were looking for doesn't exist. @@ -313,6 +323,7 @@ en: settings: authorized_apps: Authorized apps back: Back to Mastodon + delete: Account deletion edit_profile: Edit profile export: Data export followers: Authorized followers diff --git a/config/locales/simple_form.ru.yml b/config/locales/simple_form.ru.yml index a2e2eaf9e..c4e6ad8a8 100644 --- a/config/locales/simple_form.ru.yml +++ b/config/locales/simple_form.ru.yml @@ -41,8 +41,8 @@ ru: password: Пароль setting_auto_play_gif: Автоматически проигрывать анимированные GIF setting_boost_modal: Показывать диалог подтверждения перед продвижением - setting_delete_modal: Показывать диалог подтверждения перед удалением setting_default_privacy: Видимость постов + setting_delete_modal: Показывать диалог подтверждения перед удалением severity: Строгость type: Тип импорта username: Имя пользователя -- cgit