From 7f0223c63680f05b9886e0c323eda5c7a24f335b Mon Sep 17 00:00:00 2001 From: elpatron Date: Sun, 31 May 2026 10:01:30 +0200 Subject: [PATCH] fix(profile): Abbrechen-Text im Recovery-Rotations-Dialog Verwendet recovery_rotate_confirm_no statt remove_passkey_confirm_no. Co-authored-by: Cursor --- client/src/components/UserProfilePage.tsx | 2 +- client/src/i18n/locales/de.json | 1 + client/src/i18n/locales/en.json | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/client/src/components/UserProfilePage.tsx b/client/src/components/UserProfilePage.tsx index d4ff5d5..2d16bfc 100644 --- a/client/src/components/UserProfilePage.tsx +++ b/client/src/components/UserProfilePage.tsx @@ -336,7 +336,7 @@ export default function UserProfilePage({ onBack, onLogout }: UserProfilePagePro t('profile.recovery_rotate_confirm_desc'), t('profile.recovery_rotate_confirm_title'), t('profile.recovery_rotate_confirm_yes'), - t('profile.remove_passkey_confirm_no') + t('profile.recovery_rotate_confirm_no') ) if (!confirmed) return diff --git a/client/src/i18n/locales/de.json b/client/src/i18n/locales/de.json index 84101c8..34d6f16 100644 --- a/client/src/i18n/locales/de.json +++ b/client/src/i18n/locales/de.json @@ -334,6 +334,7 @@ "recovery_rotate_confirm_title": "Neuen Wiederherstellungsschlüssel erstellen?", "recovery_rotate_confirm_desc": "Der bisherige 12-Wörter-Schlüssel wird sofort ungültig. Stelle sicher, dass du den neuen Schlüssel sicher aufbewahrst, bevor du fortfährst.", "recovery_rotate_confirm_yes": "Neuen Schlüssel erstellen", + "recovery_rotate_confirm_no": "Abbrechen", "recovery_rotate_new_warning": "WICHTIG: Schreib diese 12 Wörter auf und bewahre sie offline auf. Der bisherige Wiederherstellungsschlüssel ist ab sofort ungültig.", "recovery_rotate_failed": "Wiederherstellungsschlüssel konnte nicht erstellt werden.", "recovery_rotate_no_session": "Verschlüsselungssitzung abgelaufen — bitte abmelden und erneut anmelden, dann erneut versuchen.", diff --git a/client/src/i18n/locales/en.json b/client/src/i18n/locales/en.json index 8790273..ca946cd 100644 --- a/client/src/i18n/locales/en.json +++ b/client/src/i18n/locales/en.json @@ -334,6 +334,7 @@ "recovery_rotate_confirm_title": "Create new recovery phrase?", "recovery_rotate_confirm_desc": "Your previous 12-word phrase will be invalidated immediately. Make sure you can store the new phrase securely before continuing.", "recovery_rotate_confirm_yes": "Create new phrase", + "recovery_rotate_confirm_no": "Cancel", "recovery_rotate_new_warning": "IMPORTANT: Write down these 12 words and store them offline. Your previous recovery phrase is no longer valid.", "recovery_rotate_failed": "Could not create a new recovery phrase.", "recovery_rotate_no_session": "Encryption session expired — please sign out and sign in again, then retry.",