From 58d17982abbef611f266e06eb3d91e8f6473734a Mon Sep 17 00:00:00 2001 From: Immad Abdul Jabbar Date: Fri, 1 Nov 2024 10:36:56 +0100 Subject: [PATCH] fix: translation fix for migration pages (#5080) --- src/i18n/en-US.json | 1 - src/script/page/migration/AcceptInvitation.tsx | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/i18n/en-US.json b/src/i18n/en-US.json index bddf7e491a..977219fbf2 100644 --- a/src/i18n/en-US.json +++ b/src/i18n/en-US.json @@ -91,7 +91,6 @@ "openWithBrowser": "Open in Browser" }, "migration": { - "errorLogin": "Unable to login with these credentials.", "wrongCredentialsError": "Please enter valid credentials.", "passwordLabel": "Password (personal account)", "passwordPlaceholder": "Password", diff --git a/src/script/page/migration/AcceptInvitation.tsx b/src/script/page/migration/AcceptInvitation.tsx index e01c15cd6c..8d596a7cd6 100644 --- a/src/script/page/migration/AcceptInvitation.tsx +++ b/src/script/page/migration/AcceptInvitation.tsx @@ -91,7 +91,7 @@ export const AcceptInvitation = () => { await accountAction.login(login); navigate(ROUTE.TERMS_ACKNOWLEDGEMENT); } catch (error) { - setError(t('errorLogin')); + setError(t('wrongCredentialsError')); console.warn('Unable to login', error); } };