DouyinFE / semi-design

🚀A modern, comprehensive, flexible design system and React UI library. 🎨 Provide more than 3000+ Design Tokens, easy to build your design system. Make Semi Design to Any Design. 🧑🏻‍💻 Design to Code in one click
https://semi.design
Other
8.47k stars 716 forks source link

fix: improve translate of datepicker in vi_vn #2486

Closed pointhalo closed 2 months ago

pointhalo commented 2 months ago

中文模板 / Chinese Template

What kind of change does this PR introduce? (check at least one)

PR description

在 Datepicker 日期选择器中,日历头部的 周一到周日 文本,会适配不同语言,显示对应的文本。 如下,分别为英文、中文时显示的文案 image image

而在马来语中,会超长 image 因此根据译员建议,采用缩写,优化后效果如下 image

Changelog

🇨🇳 Chinese


🇺🇸 English

Checklist

Other

Additional information

codesandbox-ci[bot] commented 2 months ago

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit c5ddeab821288d03c5dc51bb74e30ef308220711:

Sandbox Source
pr-story Configuration
cypress[bot] commented 2 months ago

semi-design    Run #2804

Run Properties:  status check passed Passed #2804  •  git commit 9b9c908b68 ℹ️: Merge c5ddeab821288d03c5dc51bb74e30ef308220711 into ff810ec47ddba1b249be96c460ac...
Project semi-design
Branch Review locale-datepicker
Run status status check passed Passed #2804
Run duration 07m 59s
Commit git commit 9b9c908b68 ℹ️: Merge c5ddeab821288d03c5dc51bb74e30ef308220711 into ff810ec47ddba1b249be96c460ac...
Committer pointhalo
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 11
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 263
⚠️ You've recorded test results over your free plan limit.
Upgrade your plan to view test results.
View all changes introduced in this branch ↗︎
cypress[bot] commented 2 months ago

semi-design    Run #2805

Run Properties:  status check passed Passed #2805  •  git commit a858925310: fix: improve translate of datepicker in vi_vn/ms_MY (#2486)
Project semi-design
Branch Review main
Run status status check passed Passed #2805
Run duration 07m 44s
Commit git commit a858925310: fix: improve translate of datepicker in vi_vn/ms_MY (#2486)
Committer pointhalo
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 11
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 263
⚠️ You've recorded test results over your free plan limit.
Upgrade your plan to view test results.
View all changes introduced in this branch ↗︎