Skip to content

Commit

Permalink
fix: rewrite "forget password" to "forgot password" (aws-amplify#7009)
Browse files Browse the repository at this point in the history
* fix: fix typo in SignIn.vue (aws-amplify#6921)

Forget your password? the text has a typo

* Rewrite "forget password" to "forgot password"

Co-authored-by: sksabircn <sksabir@capitalnumbers.com>
Co-authored-by: Alex Hinson <alexmhinson@gmail.com>
  • Loading branch information
3 people authored and CryogenicPlanet committed Jan 20, 2021
1 parent 31d475f commit 8852223
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions packages/aws-amplify-react-native/src/AmplifyI18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -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',
Expand Down Expand Up @@ -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',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2712,7 +2712,7 @@ exports[`SignIn normal case render correctly with Props signIn, signedOut or sig
}
}
>
Forget your password?
Forgot your password?
<Component
data-test="sign-in-forgot-password-link"
onClick={[Function]}
Expand Down Expand Up @@ -6913,7 +6913,7 @@ exports[`SignIn normal case render correctly with Props signIn, signedOut or sig
}
}
>
Forget your password?
Forgot your password?
<Component
data-test="sign-in-forgot-password-link"
onClick={[Function]}
Expand Down Expand Up @@ -11114,7 +11114,7 @@ exports[`SignIn normal case render correctly with Props signIn, signedOut or sig
}
}
>
Forget your password?
Forgot your password?
<Component
data-test="sign-in-forgot-password-link"
onClick={[Function]}
Expand Down
8 changes: 4 additions & 4 deletions packages/aws-amplify-react/src/AmplifyI18n.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export 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',
Expand Down Expand Up @@ -110,7 +110,7 @@ export const dict = {
'Username/client id combination not found.': "L'utilisateur n'existe pas",
'Network error': 'Erreur réseau',
'Sign in to your account': 'Connexion à 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',
Expand Down Expand Up @@ -185,7 +185,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',
Expand Down Expand Up @@ -259,7 +259,7 @@ Utilice el formato de número de teléfono +12345678900`,
'Enter your username': 'ユーザー名を入力 ',
'Enter your password': 'パスワードを入力 ',
'No account? ': 'アカウントが無いとき ',
'Forget your password? ': 'パスワードを忘れましたか? ',
'Forgot your password? ': 'パスワードを忘れましたか? ',
'Reset password': 'パスワードをリセット ',
'User does not exist': 'ユーザーが存在しません ',
'User already exists': '既にユーザーが存在しています ',
Expand Down
4 changes: 2 additions & 2 deletions packages/aws-amplify-react/src/Auth/SignIn.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import * as React from 'react';
import { I18n, isEmpty, ConsoleLogger as Logger } from '@aws-amplify/core';
import { Auth } from '@aws-amplify/auth';

import { AuthPiece, IAuthPieceProps, IAuthPieceState } from './AuthPiece';
import { AuthPiece, IAuthPieceProps, IAuthPieceState } from './AuthPiece';
import { FederatedButtons } from './FederatedSignIn';
import { SignUp } from './SignUp';
import { ForgotPassword } from './ForgotPassword';
Expand Down Expand Up @@ -176,7 +176,7 @@ export class SignIn extends AuthPiece<ISignInProps, ISignInState> {
/>
{!hideForgotPassword && (
<Hint theme={theme}>
{I18n.get('Forget your password? ')}
{I18n.get('Forgot your password? ')}
<Link
theme={theme}
onClick={() => this.changeState('forgotPassword')}
Expand Down

0 comments on commit 8852223

Please sign in to comment.