From 8852223e339614129442f81ffbf4ac486e5dca88 Mon Sep 17 00:00:00 2001 From: William Lee <43682783+wlee221@users.noreply.github.com> Date: Thu, 22 Oct 2020 10:08:14 -0700 Subject: [PATCH] fix: rewrite "forget password" to "forgot password" (#7009) * fix: fix typo in SignIn.vue (#6921) Forget your password? the text has a typo * Rewrite "forget password" to "forgot password" Co-authored-by: sksabircn Co-authored-by: Alex Hinson --- packages/aws-amplify-react-native/src/AmplifyI18n.ts | 6 +++--- .../__tests__/Auth/__snapshots__/SignIn-test.tsx.snap | 6 +++--- packages/aws-amplify-react/src/AmplifyI18n.tsx | 8 ++++---- packages/aws-amplify-react/src/Auth/SignIn.tsx | 4 ++-- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/packages/aws-amplify-react-native/src/AmplifyI18n.ts b/packages/aws-amplify-react-native/src/AmplifyI18n.ts index 00848f4e7d2..cbd77595e9e 100644 --- a/packages/aws-amplify-react-native/src/AmplifyI18n.ts +++ b/packages/aws-amplify-react-native/src/AmplifyI18n.ts @@ -23,7 +23,7 @@ const dict = { 'Enter your username': 'Geben Sie Ihren Benutzernamen ein', 'Enter your password': 'Geben Sie Ihr Passwort ein', 'No account? ': 'Kein Account? ', - 'Forget your password? ': 'Passwort vergessen? ', + 'Forgot your password? ': 'Passwort vergessen? ', 'Reset password': 'Passwort zurücksetzen', 'User does not exist': 'Dieser Benutzer existiert nicht', 'User already exists': 'Dieser Benutzer existiert bereits', @@ -99,7 +99,7 @@ const dict = { 'Invalid phone number format': `Format de numéro de téléphone invalide. Veuillez utiliser un format de numéro de téléphone du +12345678900`, 'Sign in to your account': 'Connectez-vous à votre compte', - 'Forget your password? ': 'Mot de passe oublié ? ', + 'Forgot your password? ': 'Mot de passe oublié ? ', 'Reset password': 'Réinitialisez votre mot de passe', 'No account? ': 'Pas de compte ? ', 'Create account': 'Créer un compte', @@ -170,7 +170,7 @@ Utilice el formato de número de teléfono +12345678900`, Email: 'E-mail', 'Enter your password': 'Inserire la password', 'Enter your username': 'Inserisci il tuo nome utente', - 'Forget your password?': 'Password dimenticata?', + 'Forgot your password?': 'Password dimenticata?', 'Forgot Password': 'Password dimenticata', 'Have an account? ': 'Già registrato?', 'Incorrect username or password': 'Nome utente o password errati', diff --git a/packages/aws-amplify-react/__tests__/Auth/__snapshots__/SignIn-test.tsx.snap b/packages/aws-amplify-react/__tests__/Auth/__snapshots__/SignIn-test.tsx.snap index 3daad2df4ca..ac5d57f0f0c 100644 --- a/packages/aws-amplify-react/__tests__/Auth/__snapshots__/SignIn-test.tsx.snap +++ b/packages/aws-amplify-react/__tests__/Auth/__snapshots__/SignIn-test.tsx.snap @@ -2712,7 +2712,7 @@ exports[`SignIn normal case render correctly with Props signIn, signedOut or sig } } > - Forget your password? + Forgot your password? - Forget your password? + Forgot your password? - Forget your password? + Forgot your password? { /> {!hideForgotPassword && ( - {I18n.get('Forget your password? ')} + {I18n.get('Forgot your password? ')} this.changeState('forgotPassword')}