Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(i18n): Add Simplified Chinese translation #4379

Merged
merged 6 commits into from
Mar 25, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions locales/zh_CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
},
"aria-roles": {
"description": "确保所有元素包含的 role 属性值都是有效的",
"help": "使用的 ARIA 角色必须符合有效的值"
"help": "使用的 ARIA 角色属性值必须有效"
Copy link
Contributor

@dequejosie dequejosie Mar 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here is what I meant by inconsistence. Some of the "role" as attribute is translated and some of them is not. So I hope the mapping at the very beginning would help.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I understand what you mean. Thank you for your review.

},
"aria-text": {
"description": "确保使用 role=\"text\" 的元素没有任何可聚焦后代",
Expand Down Expand Up @@ -423,7 +423,7 @@
}
},
"aria-allowed-attr": {
"pass": "ARIA 属性正确用于定义的角色",
"pass": "所定义的角色使用的 ARIA 属性都是正确的",
"fail": {
"singular": "不允许使用 ARIA 属性: ${data.values}",
"plural": "不允许使用 ARIA 属性: ${data.values}"
Expand Down
Loading