Skip to content

Commit 8fae333

Browse files
authored
fix: update password error translation text (#6690)
1 parent 40d6a0e commit 8fae333

File tree

4 files changed

+17
-13
lines changed

4 files changed

+17
-13
lines changed

.changeset/silent-rats-tie.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@aws-amplify/ui': minor
3+
---
4+
5+
fix: update password error translation text

packages/ui/src/i18n/dictionaries/authenticator/es.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,13 +107,13 @@ export const esDict: AuthenticatorDictionary = {
107107
'Your passwords must match': 'Las contraseñas deben coincidir',
108108
'Password must have at least 8 characters':
109109
'La contraseña debe tener al menos 8 caracteres',
110-
'Password did not conform with policy: Password must have uppercase characters':
110+
'Password must have upper case letters':
111111
'La contraseña debe tener al menos un carácter en mayúscula',
112-
'Password did not conform with policy: Password must have numeric characters':
112+
'Password must have numbers':
113113
'La contraseña debe tener al menos un carácter numérico',
114-
'Password did not conform with policy: Password must have symbol characters':
114+
'Password must have special characters':
115115
'La contraseña debe tener al menos un símbolo',
116-
'Password did not conform with policy: Password must have lowercase characters':
116+
'Password must have lower case letters':
117117
'La contraseña debe tener al menos un carácter en minúsculas',
118118
'Invalid verification code provided, please try again.':
119119
'Código de verificación no válido, inténtelo de nuevo.',

packages/ui/src/i18n/dictionaries/authenticator/fr.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,13 +129,13 @@ export const frDict: AuthenticatorDictionary = {
129129
Website: 'Site web',
130130
'Password must have at least 8 characters':
131131
'Le mot de passe doit comporter au moins 8 caractères',
132-
'Password did not conform with policy: Password must have uppercase characters':
132+
'Password must have upper case letters':
133133
'Le mot de passe doit comporter des caractères majuscules',
134-
'Password did not conform with policy: Password must have numeric characters':
134+
'Password must have numbers':
135135
'Le mot de passe doit comporter des caractères numériques',
136-
'Password did not conform with policy: Password must have symbol characters':
136+
'Password must have special characters':
137137
'Le mot de passe doit comporter des symboles',
138-
'Password did not conform with policy: Password must have lowercase characters':
138+
'Password must have lower case letters':
139139
'Le mot de passe doit comporter des caractères minuscules',
140140
'Invalid verification code provided, please try again.':
141141
'Code de vérification invalide, veuillez réessayer.',

packages/ui/src/i18n/dictionaries/authenticator/hu.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,12 @@ export const huDict: AuthenticatorDictionary = {
8383
'Password attempts exceeded': 'Jelszó próbálkozási limit túllépve',
8484
'Password did not conform with policy':
8585
'A jelszónak tartalmaznia kell kisbetűket',
86-
'Password must have lowercase characters':
86+
'Password must have lower case letters':
8787
'A jelszónak tartalmaznia kell kisbetűket',
88-
'Password must have numeric characters':
89-
'A jelszónak tartalmaznia kell számokat',
90-
'Password must have symbol characters':
88+
'Password must have numbers': 'A jelszónak tartalmaznia kell számokat',
89+
'Password must have special characters':
9190
'A jelszónak tartalmaznia kell szimbólumokat',
92-
'Password must have uppercase characters':
91+
'Password must have upper case letters':
9392
'A jelszónak tartalmaznia kell nagybetűket',
9493
'Password not long enough': 'Jelszó nem elég hosszú',
9594
'Password must have at least 8 characters':

0 commit comments

Comments
 (0)