diff --git a/client/src/components/UserProfilePage.tsx b/client/src/components/UserProfilePage.tsx index c894a82..fabea93 100644 --- a/client/src/components/UserProfilePage.tsx +++ b/client/src/components/UserProfilePage.tsx @@ -225,7 +225,7 @@ export default function UserProfilePage({ onBack, onLogout }: UserProfilePagePro trackPlausibleEvent(PlausibleEvents.PASSKEY_RENAMED) showAlert(t('profile.passkey_rename_success')) } catch (err: unknown) { - setError(err instanceof Error ? err.message : t('profile.add_passkey_failed')) + setError(err instanceof Error ? err.message : t('profile.passkey_rename_failed')) } finally { setPasskeyBusy(false) } diff --git a/client/src/i18n/locales/de.json b/client/src/i18n/locales/de.json index fcfbf37..b715e63 100644 --- a/client/src/i18n/locales/de.json +++ b/client/src/i18n/locales/de.json @@ -344,6 +344,7 @@ "passkey_label_placeholder": "z. B. MacBook, iPhone", "passkey_rename_btn": "Name speichern", "passkey_rename_success": "Passkey-Name gespeichert.", + "passkey_rename_failed": "Passkey-Name konnte nicht gespeichert werden.", "passkey_unnamed": "Unbenannter Passkey", "stats_title": "Statistiken", "stats_subtitle": "Über alle deine Logbücher auf diesem Gerät", diff --git a/client/src/i18n/locales/en.json b/client/src/i18n/locales/en.json index 096d9d6..9862512 100644 --- a/client/src/i18n/locales/en.json +++ b/client/src/i18n/locales/en.json @@ -344,6 +344,7 @@ "passkey_label_placeholder": "e.g. MacBook, iPhone", "passkey_rename_btn": "Save name", "passkey_rename_success": "Passkey name saved.", + "passkey_rename_failed": "Could not save passkey name.", "passkey_unnamed": "Unnamed passkey", "stats_title": "Statistics", "stats_subtitle": "Across all your logbooks on this device",