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

【官网】 文档支持国际化 #896

Merged
merged 2 commits into from
May 25, 2022
Merged

【官网】 文档支持国际化 #896

merged 2 commits into from
May 25, 2022

Conversation

honkinglin
Copy link
Collaborator

@honkinglin honkinglin commented May 20, 2022

🤔 这个 PR 的性质是?

  • 日常 bug 修复
  • 新特性提交
  • 文档改进
  • 演示代码改进
  • 组件样式/交互改进
  • CI/CD 改进
  • 重构
  • 代码风格优化
  • 测试用例
  • 分支合并
  • 其他

🔗 相关 Issue

💡 需求背景和解决方案

📝 更新日志

  • fix(组件名称): 处理问题或特性描述 ...

  • 本条 PR 不需要纳入 Changelog

☑️ 请求合并前的自查清单

⚠️ 请自检并全部勾选全部选项⚠️

  • 文档已补充或无须补充
  • 代码演示已提供或无须提供
  • TypeScript 定义已补充或无须补充
  • Changelog 已提供或无须提供

@github-actions
Copy link
Contributor

Size Change: 0 B

Total Size: 641 kB

ℹ️ View Unchanged
Filename Size
./dist/tdesign.css 43.5 kB
./dist/tdesign.js 354 kB
./dist/tdesign.min.css 38.6 kB
./dist/tdesign.min.js 205 kB

@codecov-commenter
Copy link

codecov-commenter commented May 20, 2022

Codecov Report

Merging #896 (e33f1d4) into develop (a0db0df) will increase coverage by 2.98%.
The diff coverage is 18.18%.

@@             Coverage Diff             @@
##           develop     #896      +/-   ##
===========================================
+ Coverage    57.56%   60.54%   +2.98%     
===========================================
  Files          346      357      +11     
  Lines        12828    13641     +813     
  Branches      2405     2596     +191     
===========================================
+ Hits          7384     8259     +875     
+ Misses        5200     5124      -76     
- Partials       244      258      +14     
Impacted Files Coverage Δ
src/affix/affix.tsx 28.57% <18.18%> (-37.51%) ⬇️
src/swiper/props.ts 68.75% <0.00%> (-31.25%) ⬇️
src/dialog/props.ts 70.00% <0.00%> (-30.00%) ⬇️
src/calendar/props.ts 70.00% <0.00%> (-30.00%) ⬇️
src/popup/props.ts 75.00% <0.00%> (-25.00%) ⬇️
src/slider/props.ts 75.00% <0.00%> (-25.00%) ⬇️
src/message/props.ts 75.00% <0.00%> (-25.00%) ⬇️
src/tooltip/props.ts 75.00% <0.00%> (-25.00%) ⬇️
src/pagination/props.ts 75.00% <0.00%> (-25.00%) ⬇️
src/steps/step-item-props.ts 75.00% <0.00%> (-25.00%) ⬇️
... and 116 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2bc4109...e33f1d4. Read the comment docs.

@github-actions
Copy link
Contributor

github-actions bot commented May 20, 2022

完成

@honkinglin honkinglin changed the title feat: 文档支持国际化 feat: 文档支持国际化【测试中,暂不合并】 May 20, 2022
@github-actions
Copy link
Contributor

Size Change: 0 B

Total Size: 641 kB

ℹ️ View Unchanged
Filename Size
./dist/tdesign.css 43.5 kB
./dist/tdesign.js 354 kB
./dist/tdesign.min.css 38.6 kB
./dist/tdesign.min.js 205 kB

@github-actions
Copy link
Contributor

Size Change: 0 B

Total Size: 641 kB

ℹ️ View Unchanged
Filename Size
./dist/tdesign.css 43.5 kB
./dist/tdesign.js 354 kB
./dist/tdesign.min.css 38.6 kB
./dist/tdesign.min.js 205 kB

@xiaosansiji xiaosansiji changed the title feat: 文档支持国际化【测试中,暂不合并】 [WIP] 文档支持国际化【测试中,暂不合并】 May 20, 2022
@honkinglin honkinglin force-pushed the feat/md-locale branch 2 times, most recently from 725de35 to 192b6aa Compare May 23, 2022 09:17
@honkinglin honkinglin force-pushed the feat/md-locale branch 3 times, most recently from 48a67a5 to 89c385e Compare May 25, 2022 06:57
@honkinglin honkinglin changed the title [WIP] 文档支持国际化【测试中,暂不合并】 [WIP] 文档支持国际化 May 25, 2022
@honkinglin honkinglin changed the title [WIP] 文档支持国际化 【官网】 文档支持国际化 May 25, 2022
@honkinglin
Copy link
Collaborator Author

预览 https://preview-pr896-tdesign-vue.surge.sh/vue/components/button-en 可以看到效果,其他文档由于没有提供 xxx.en-US.md 文档会自动回退到中文文档

@xiaosansiji xiaosansiji merged commit 22bac24 into develop May 25, 2022
@xiaosansiji xiaosansiji deleted the feat/md-locale branch May 25, 2022 07:39
@github-actions github-actions bot mentioned this pull request May 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants