diff --git a/client/src/Components/TabPanels/Account/ProfilePanel.jsx b/client/src/Components/TabPanels/Account/ProfilePanel.jsx index aa6c11f3c..bdf52de3a 100644 --- a/client/src/Components/TabPanels/Account/ProfilePanel.jsx +++ b/client/src/Components/TabPanels/Account/ProfilePanel.jsx @@ -344,7 +344,7 @@ const ProfilePanel = () => { spellCheck="false" > - {t('DeleteAccount')} + {t('DeleteAccountTitle')} { color="error" onClick={() => setIsOpen("delete")} > - {t('DeleteAccount')} + {t('DeleteAccountButton')} )} @@ -367,7 +367,7 @@ const ProfilePanel = () => { title={t('DeleteWarningTitle')} description={t('DeleteAccountWarning')} onCancel={() => setIsOpen("")} - confirmationButtonLabel={t('DeleteAccount')} + confirmationButtonLabel={t('DeleteAccountButton')} onConfirm={handleDeleteAccount} isLoading={isLoading} /> diff --git a/client/src/locales/gb.json b/client/src/locales/gb.json index b78e4116b..ce82f8dff 100644 --- a/client/src/locales/gb.json +++ b/client/src/locales/gb.json @@ -393,7 +393,8 @@ "YourPhoto": "Profile photo", "PhotoDescriptionText": "This photo will be displayed in your profile page.", "save": "Save", - "DeleteAccount": "Remove account", + "DeleteAccountTitle": "Remove account", + "DeleteAccountButton": "Remove account", "DeleteDescriptionText": "This will remove the account and all associated data from the server. This isn't reversible.", "DeleteAccountWarning": "Removing your account means you won't be able to sign in again and all your data will be removed. This isn't reversible.", "DeleteWarningTitle": "Really remove this account?", diff --git a/client/src/locales/ru.json b/client/src/locales/ru.json index 001e96c56..e694394b7 100644 --- a/client/src/locales/ru.json +++ b/client/src/locales/ru.json @@ -105,7 +105,8 @@ "YourPhoto": "Фото профиля", "PhotoDescriptionText": "Это фото будет отображаться на странице вашего профиля.", "EmailDescriptionText": "Ваш текущий email—его нельзя изменить.", - "DeleteAccount": "Удалить аккаунт", + "DeleteAccountTitle": "Удалить аккаунт", + "DeleteAccountButton": "Удалить аккаунт", "DeleteDescriptionText": "Это удалит аккаунт и все связанные данные с сервера. Это необратимо.", "DeleteAccountWarning": "Удаление аккаунта означает, что вы не сможете снова войти в систему, и все ваши данные будут удалены. Это необратимо.", "DeleteWarningTitle": "Действительно удалить этот аккаунт?", diff --git a/client/src/locales/tr.json b/client/src/locales/tr.json index e2b163986..f4a5c4b01 100644 --- a/client/src/locales/tr.json +++ b/client/src/locales/tr.json @@ -393,7 +393,8 @@ "YourPhoto": "Profil fotoğrafı", "PhotoDescriptionText": "Bu fotoğraf profil sayfanızda görüntülenecektir.", "save": "", - "DeleteAccount": "Hesabı kaldır", + "DeleteAccountTitle": "Hesabı kaldır", + "DeleteAccountButton": "Hesabı kaldır", "DeleteDescriptionText": "Bu, hesabı ve tüm ilişkili verileri sunucudan kaldıracaktır. Bu geri alınamaz.", "DeleteAccountWarning": "Hesabınızı kaldırmak, tekrar oturum açamayacağınız ve tüm verilerinizin kaldırılacağı anlamına gelir. Bu geri alınamaz.", "DeleteWarningTitle": "Bu hesabı gerçekten kaldırmak istiyor musunuz?",