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

update zh-cn translation of cssref sidebar #38102

Merged
merged 4 commits into from
Feb 13, 2025
Merged
Changes from all commits
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
17 changes: 17 additions & 0 deletions files/sidebars/cssref.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -483,12 +483,19 @@ l10n:
Transitions: Переходы
Tools: Инструменты
zh-CN:
Beginners: 初学者教程
Styling_the_content: 你的第一个网站:样式化内容
CSS_styling_basics: CSS 样式基础
CSS_text_styling: CSS 文本样式
Containment: CSS 局限
CSS_layout: CSS 布局概述
Combinators: 关系选择器
Guides: 指南
Comment on lines +486 to 493
Copy link
Member

Choose a reason for hiding this comment

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

/cc @bsmth. BTW, I want to know in what order we should sort these keys. Should we order them in the order they appear in the sidebar key above?

Copy link
Member

Choose a reason for hiding this comment

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

I don't think you have to worry about that -> they should be sorted via yarn content fmt-sidebars, if you'd like to try, it probably alpha sorts them.

Animations: 动画
At-rules: At 规则
Backgrounds_and_Borders: 背景和边框
Resizing_background_images: 重设背景图片的大小
Box alignment: 盒对齐
Box_alignment_in_block_layout: 块布局中的盒对齐方式
Box_model: 盒模型
Colors: 颜色
Expand All @@ -499,6 +506,7 @@ l10n:
Display: 流式布局
Flexbox: 弹性盒布局
Fonts: 字体
Functions: 函数
Grid: 网格布局
Images: 图片
Lists_and_counters: 列表和计数器
Expand All @@ -513,6 +521,15 @@ l10n:
Transforms: 变换
Transitions: 过渡
Tools: 工具
Accessibility_Understanding_colors_and_luminance: 无障碍:理解颜色和亮度
Applying_color_to_HTML_elements: 为 HTML 元素应用颜色
Resizing_background_images: 调整背景图片的大小
Modules: 模块
Pseudo-classes: 伪类
Pseudo-elements: 伪元素
Properties: 属性
Selectors: 选择器
Types: 类型
zh-TW:
CSS_layout: CSS 版面配置
Flexbox: 彈性區塊
Expand Down