Skip to content

Commit

Permalink
fix (authenticator): fix translations for enter your email (#3923)
Browse files Browse the repository at this point in the history
Our AuthenticatorDictionary TS type didn't match actual defaultTexts constant for
ENTER_EMAIL which has "Email" capitalized. This lead to missing translations
due to case sensitivity. Will follow up with other translation mismatches,
but this only addresses "Enter your Email".
  • Loading branch information
reesscot committed May 23, 2023
1 parent 150bad9 commit ca591a2
Show file tree
Hide file tree
Showing 20 changed files with 24 additions and 21 deletions.
5 changes: 5 additions & 0 deletions .changeset/late-masks-raise.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@aws-amplify/ui": patch
---

fix (authenticator): fix translations for enter your email
3 changes: 1 addition & 2 deletions packages/ui/src/i18n/dictionaries/authenticator/de.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const deDict: AuthenticatorDictionary = {
'Dismiss alert': 'Warnung verwerfen',
Email: 'Email',
'Enter your code': 'Geben Sie Ihren Code ein',
'Enter your email': 'Geben Sie Ihre Email ein',
'Enter your Email': 'Geben Sie Ihre E-Mail',
'Enter your phone number': 'Geben Sie Ihre Telefonnummer ein',
'Enter your username': 'Geben Sie Ihren Benutzernamen ein',
'Forgot your password?': 'Passwort vergessen? ',
Expand Down Expand Up @@ -67,7 +67,6 @@ export const deDict: AuthenticatorDictionary = {
'Create account': 'Hier registrieren',
'Enter your password': 'Geben Sie Ihr Passwort ein',
'Enter your Password': 'Geben Sie Ihre Passwort ein',
'Enter your Email': 'Geben Sie Ihre E-Mail',
'Sign Up with Facebook': 'Mit Facebook registrieren',
'Sign Up with Google': 'Mit Google registrieren',
'Forgot Password': 'Passwort vergessen',
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/i18n/dictionaries/authenticator/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const enDict: AuthenticatorDictionary = {
'Enter your Birthdate': 'Enter your Birthdate',
'Enter your code': 'Enter your code',
'Enter your Confirmation Code': 'Enter your Confirmation Code',
'Enter your email': 'Enter your email',
'Enter your Email': 'Enter your Email',
'Enter your Family Name': 'Enter your Family Name',
'Enter your Given Name': 'Enter your Given Name',
'Enter your Middle Name': 'Enter your Middle Name',
Expand Down
3 changes: 2 additions & 1 deletion packages/ui/src/i18n/dictionaries/authenticator/es.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ export const esDict: AuthenticatorDictionary = {
'Dismiss alert': 'Descartar alerta',
Email: 'Email',
'Enter your code': 'Ingrese el código',
'Enter your email': 'Escriba su Email',
'Enter your Email': 'Escriba su Email',
'Enter your Password': 'Escriba su Contraseña',
'Enter your phone number': 'Ingrese el número de teléfono',
'Enter your username': 'Ingrese el nombre de usuario',
'Forgot your password?': '¿Olvidó su contraseña?',
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/i18n/dictionaries/authenticator/fr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const frDict: AuthenticatorDictionary = {
'Dismiss alert': `Supprimer l'alerte`,
Email: 'Email',
'Enter your code': 'Saisissez cotre code de confirmation',
'Enter your email': 'Saisissez votre adresse email',
'Enter your Email': 'Saisissez votre adresse email',
'Enter your phone number': 'Saisissez votre numéro de téléphone',
'Enter your username': "Saisissez votre nom d'utilisateur",
'Forgot your password?': 'Mot de passe oublié ? ',
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/i18n/dictionaries/authenticator/he.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const heDict: AuthenticatorDictionary = {
'Dismiss alert': 'הסר התראה',
Email: 'אימייל',
'Enter your code': 'הכנס את הקוד',
'Enter your email': 'הכנס את המייל שלך',
'Enter your Email': 'הכנס את המייל שלך',
'Enter your phone number': 'הכנס את מספר הטלפון שלך',
'Enter your username': 'הכנס את שם המתמש שלך',
'Forgot your password?': 'שחכת סיסמא ?',
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/i18n/dictionaries/authenticator/id.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const idDict: AuthenticatorDictionary = {
'Dismiss alert': 'Hentikan pemberitahuan',
Email: 'Email',
'Enter your code': 'Masukkan kode anda',
'Enter your email': 'Masukkan email anda',
'Enter your Email': 'Masukkan email anda',
'Enter your phone number': 'Masukkan nomor telepon anda',
'Enter your username': 'Masukkan nama akun anda',
'Forgot your password?': 'Lupa kata sandi? ',
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/i18n/dictionaries/authenticator/it.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const itDict: AuthenticatorDictionary = {
'Dismiss alert': `Ignora l'avviso`,
Email: 'Email',
'Enter your code': 'Inserisci il tuo codice',
'Enter your email': 'Inserisci la tua e-mail',
'Enter your Email': 'Inserisci la tua e-mail',
'Enter your phone number': 'Inserisci il tuo numero di telefono"',
'Enter your username': 'Inserisci il tuo nome utente',
'Forgot your password?': 'Password dimenticata?',
Expand Down
3 changes: 1 addition & 2 deletions packages/ui/src/i18n/dictionaries/authenticator/ja.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const jaDict: AuthenticatorDictionary = {
'Dismiss alert': 'アラートを閉じる',
Email: 'メールアドレス',
'Enter your code': 'コードを入力',
'Enter your email': 'メールアドレスを入力',
'Enter your Email': 'メールアドレスを入力',
'Enter your phone number': '電話番号を入力',
'Enter your username': 'ユーザー名を入力 ',
'Forgot your password?': 'パスワードを忘れましたか? ',
Expand Down Expand Up @@ -64,7 +64,6 @@ export const jaDict: AuthenticatorDictionary = {
'Confirm a Code': 'コードを確認',
'Confirm Sign In': 'サインインする',
'Create account': 'アカウントを作る ',
'Enter your Email': 'メールアドレスを入力',
'Enter your password': 'パスワードを入力 ',
'Enter your Password': 'パスワードを入力',
'Please confirm your Password': 'パスワードを入力',
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/i18n/dictionaries/authenticator/kr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const krDict: AuthenticatorDictionary = {
'Dismiss alert': '알림 무시',
Email: '이메일',
'Enter your code': '인증번호를 입력해주세요',
'Enter your email': '이메일 입력',
'Enter your Email': '이메일 입력',
'Enter your phone number': '전화번호 입력',
'Enter your username': '아이디를 입력해주세요',
'Hide password': '비밀번호 숨기기',
Expand Down
1 change: 0 additions & 1 deletion packages/ui/src/i18n/dictionaries/authenticator/nb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ export const nbDict: AuthenticatorDictionary = {
'Enter your Birthdate': 'Skriv inn fødselsdatoen din',
'Enter your code': 'Skriv inn koden din',
'Enter your Confirmation Code': 'Skriv inn bekreftelseskoden din',
'Enter your email': 'Skriv inn e-postadressen din',
'Enter your Email': 'Skriv inn e-postadressen din',
'Enter your Family Name': 'Skriv inn etternavnet ditt',
'Enter your Given Name': 'Skriv inn fornavnet ditt',
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/i18n/dictionaries/authenticator/nl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const nlDict: AuthenticatorDictionary = {
'Dismiss alert': 'Waarschuwing sluiten',
Email: 'E-mail',
'Enter your code': 'Vul je code in',
'Enter your email': 'Vul je e-mail in',
'Enter your Email': 'Vul je e-mail in',
'Enter your Password': 'Vul je wachtwoord in',
'Enter your phone number': 'Vul je telefoonnummer in',
'Enter your username': 'Vul je gebruikersnaam in',
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/i18n/dictionaries/authenticator/pl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const plDict: AuthenticatorDictionary = {
'Dismiss alert': 'Odrzuć alert',
Email: 'E-mail',
'Enter your code': 'Wprowadź swój kod',
'Enter your email': 'Wpisz swój adres e-mail',
'Enter your Email': 'Wpisz swój adres e-mail',
'Enter your phone number': 'Wpisz swój numer telefonu',
'Enter your username': 'Wprowadź swoją nazwę użytkownika',
'Forgot your password?': 'Zapomniałeś hasła? ',
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/i18n/dictionaries/authenticator/pt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const ptDict: AuthenticatorDictionary = {
'Dismiss alert': 'Descartar alerta',
Email: 'O email',
'Enter your code': 'Insira seu código',
'Enter your email': 'Digite seu e-mail',
'Enter your Email': 'Digite seu e-mail',
'Enter your phone number': 'Digite seu número de telefone',
'Enter your username': 'entre com seu nome de usuário',
'Forgot your password?': 'Esqueceu sua senha? ',
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/i18n/dictionaries/authenticator/ru.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const ruDict: AuthenticatorDictionary = {
'Dismiss alert': 'Закрыть оповещение',
Email: 'электронная почта',
'Enter your code': 'ввести ваш Код',
'Enter your email': 'ввести ваш электронная почта',
'Enter your Email': 'ввести ваш электронная почта',
'Enter your phone number': 'ввести ваш номер телефона',
'Enter your username': 'ввести ваш имя пользователя',
'Forgot your password?': 'Забыли ваш пароль?',
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/i18n/dictionaries/authenticator/sv.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const svDict: AuthenticatorDictionary = {
'Dismiss alert': 'Avvisa varning',
Email: 'E-post',
'Enter your code': 'Skriv din kod',
'Enter your email': 'Fyll i din e-post',
'Enter your Email': 'Fyll i din e-post',
'Enter your phone number': 'Ange ditt telefonnummer',
'Enter your username': 'Ange ditt användarnamn',
'Forgot your password?': 'Glömt ditt lösenord? ',
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/i18n/dictionaries/authenticator/tr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const trDict: AuthenticatorDictionary = {
'Dismiss alert': 'Uyarıyı reddet',
Email: 'E-posta',
'Enter your code': 'Kodu girin',
'Enter your email': 'E-posta adresinizi girin',
'Enter your Email': 'E-posta adresinizi girin',
'Enter your phone number': 'Telefon numaranızı girin',
'Enter your username': 'Kullanıcı adınızı girin',
'Forgot your password?': 'Şifrenizi mi unuttunuz?',
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/i18n/dictionaries/authenticator/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ type AuthenticatorText =
| 'Dismiss alert'
| 'Email'
| 'Enter your code'
| 'Enter your email'
| 'Enter your Email'
| 'Enter your phone number'
| 'Enter your username'
| 'Forgot your password?'
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/i18n/dictionaries/authenticator/ua.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const uaDict: AuthenticatorDictionary = {
'Dismiss alert': 'Відхилити сповіщення',
Email: 'Email',
'Enter your code': 'Введіть код',
'Enter your email': 'Введіть ваш email',
'Enter your Email': 'Введіть ваш email',
'Enter your phone number': 'Введіть ваш номер телефону',
'Enter your username': 'Введіть ваше імʼя користувача',
'Forgot password?': 'Забули пароль?',
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/i18n/dictionaries/authenticator/zh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const zhDict: AuthenticatorDictionary = {
'Dismiss alert': '关闭警报',
Email: '邮箱',
'Enter your code': '输入验证码',
'Enter your email': '输入电子邮件',
'Enter your Email': '输入电子邮件',
'Enter your phone number': '输入电话号码',
'Enter your username': '输入用户名',
'Forgot your password?': '忘记密码了?',
Expand Down

0 comments on commit ca591a2

Please sign in to comment.