Skip to content

Commit

Permalink
feat(i18n): add Chinese translations for password fields in zh.ts (#6125
Browse files Browse the repository at this point in the history
)

Co-authored-by: Caleb Pollman <[email protected]>
  • Loading branch information
BeforeSunset16 and calebpollman authored Jan 9, 2025
1 parent 89fe9fc commit 8757f03
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/blue-ladybugs-grab.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@aws-amplify/ui": patch
---

feat(i18n): add Chinese translations for password fields in zh.ts
2 changes: 2 additions & 0 deletions packages/ui/src/i18n/dictionaries/authenticator/zh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export const zhDict: AuthenticatorDictionary = {
Email: '邮箱',
'Enter your code': '输入验证码',
'Enter your Email': '输入电子邮件',
'Enter your Password': '输入密码',
'Enter your phone number': '输入电话号码',
'Enter your username': '输入用户名',
'Forgot your password?': '忘记密码了?',
Expand All @@ -31,6 +32,7 @@ export const zhDict: AuthenticatorDictionary = {
or: '或者',
Password: '密码',
'Phone Number': '电话',
'Please confirm your Password': '请再次输入密码',
'Resend Code': '重发验证码',
'Reset your password': '重置密码',
'Reset your Password': '重置密码',
Expand Down

0 comments on commit 8757f03

Please sign in to comment.