From b38ef48ed38821d0317cd58a7bf2cf4d4282ff8d Mon Sep 17 00:00:00 2001
From: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com>
Date: Mon, 29 Apr 2024 13:09:44 +0700
Subject: [PATCH] fix(client): clarify what progress reset includes (#54542)
---
client/i18n/locales/english/translations.json | 8 ++++++--
client/src/components/settings/reset-modal.tsx | 8 +++++++-
2 files changed, 13 insertions(+), 3 deletions(-)
diff --git a/client/i18n/locales/english/translations.json b/client/i18n/locales/english/translations.json
index f7a403e4223..a4790789e0f 100644
--- a/client/i18n/locales/english/translations.json
+++ b/client/i18n/locales/english/translations.json
@@ -263,8 +263,12 @@
"nevermind": "Nevermind, I don't want to delete my account",
"certain": "I am 100% certain. Delete everything related to this account",
"reset-heading": "Reset My Progress",
- "reset-p1": "This will really delete all of your progress, points, completed challenges, our records of your projects, any certifications you have, everything.",
- "reset-p2": "We won't be able to recover any of it for you later, even if you change your mind.",
+ "reset-p1": "This will permanently delete and reset all of the following:",
+ "reset-item-1": "Your progress through each step/challenge (all completed challenges will be lost)",
+ "reset-item-2": "Any saved code, including partially completed challenges, and certification project code",
+ "reset-item-3": "All completed and claimed certifications",
+ "reset-p2": "You will effectively be set back to the very first day you signed up.",
+ "reset-p3": "We won't be able to recover any of it for you later, even if you change your mind.",
"nevermind-2": "Nevermind, I don't want to delete all of my progress",
"reset-confirm": "Reset everything. I want to start from the beginning"
},
diff --git a/client/src/components/settings/reset-modal.tsx b/client/src/components/settings/reset-modal.tsx
index 431680db24e..94d45506be9 100644
--- a/client/src/components/settings/reset-modal.tsx
+++ b/client/src/components/settings/reset-modal.tsx
@@ -19,9 +19,15 @@ function ResetModal(props: ResetModalProps): JSX.Element {
{t('settings.danger.reset-heading')}
-
+