Skip to content
This repository was archived by the owner on Jun 1, 2022. It is now read-only.

Update translation of Chinese #176

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion src/i18n/locales.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@

- id: 'zh-Hans'
label: 简体中文
translators: ['TIOvOIT', 'scarsu', 'shadowings-zy']
translators: ['TIOvOIT', 'scarsu', 'shadowings-zy', 'S1ngS1ng']

- id: 'zh-Hant'
label: 正體中文
Expand Down
65 changes: 65 additions & 0 deletions src/i18n/zh-Hans/common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ translations:
t: 没有可供填写的问卷。
- key: general.closed_surveys
t: 已关闭
- key: general.no_closed_surveys
t: 没有已关闭的问卷。
- key: general.preview_surveys
t: 预览问卷
- key: general.no_preview_surveys
t: 没有可预览的问卷。
- key: general.start_survey
t: 开始问卷 »
- key: general.continue_survey
Expand Down Expand Up @@ -116,6 +122,12 @@ translations:
- key: partners.become_partner
t: 成为我的伙伴

# 404
- key: notfound.title
t: 404 未找到页面
- key: notfound.description
t: 抱歉,你想要访问的页面不存在。

# other
- key: general.join_discord
t: 在 <a href="{link}">Discord</a> 中加入我们.
Expand Down Expand Up @@ -494,6 +506,59 @@ translations:
t: 屏幕阅读器
- key: options.form_factors.print
t: 打印机

# Industry Sector
- key: options.industry_sector.ecommerce
t: 电商与零售
- key: options.industry_sector.news_media
t: 新闻、媒体、自媒体
- key: options.industry_sector.healthcare
t: 医疗健康
- key: options.industry_sector.finance
t: 金融
- key: options.industry_sector.programming_tools
t: 编程与技术工具
- key: options.industry_sector.socialmedia
t: 社交媒体
- key: options.industry_sector.marketing_tools
t: 市场/销售/分析工具
- key: options.industry_sector.education
t: 教育
- key: options.industry_sector.real_estate
t: 房地产
- key: options.industry_sector.government
t: 政府单位
- key: options.industry_sector.entertainment
t: 娱乐业
- key: options.industry_sector.consulting
t: 咨询与服务
- key: options.industry_sector.travel
t: 旅游
- key: options.industry_sector.insurance
t: 保险
- key: options.industry_sector.logistics
t: 物流
- key: options.industry_sector.energy
t: 能源
- key: options.industry_sector.telecommunications
t: 通信
- key: options.industry_sector.student
t: 学生
- key: options.industry_sector.hospitality
t: 餐旅业
- key: options.industry_sector.cyber_security
t: 计算机安全
- key: options.industry_sector.construction
t: 建筑
- key: options.industry_sector.automotive
t: 汽车产业
- key: options.industry_sector.agriculture
t: 农业
- key: options.industry_sector.transport
t: 运输业
- key: options.industry_sector.manufacturing
t: 制造业

###########################################################################
# Tools
###########################################################################
Expand Down
24 changes: 12 additions & 12 deletions src/i18n/zh-Hans/results.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ translations:

# knowledge score
- key: features.knowledge_score
t: Knowledge Score
t: 知识评分
- key: features.knowledge_score.description
t: 在调查中提到的所有特性中,受访者知道多少?

Expand Down Expand Up @@ -255,26 +255,26 @@ translations:

# tools quadrant
- key: blocks.tools_quadrant.title
t: 满意度 对比 使用率
- key: blocks.tools_quadrant.satisfaction.description
t: 满意度 对比 用户数量
- key: blocks.tools_quadrant.description
t: |
这张图表显示了每种技术对其总 **用户数量** **满意率**。它可以分为四个象限
这张图表展示了每种技术的 **用户数量** **满意度**。以下为四个象限的含义

- **评估**: 使用率较低,满意度较高。值得关注的技术。
- **评估**: 低使用率,高满意度。值得关注的技术。

- **采用**: 使用率高,满意度高。可采用安全技术
- **采用**: 高使用率,高满意度。可放心选用的技术

- **规避**: 使用率低,满意度低。目前最好避免使用的技术
- **规避**: 低使用率,低满意度。应避免使用的技术

- **待定**: 使用率高,满意度低。如果您正在使用这些技术,请重新评估它们。
- key: blocks.tools_quadrant.satisfaction.note
t: 注意,TypeScript 在图表中出现了两次,因为它同时包含在JavaScript 偏好和构建工具部分。
- **待定**: 高使用率,低满意度。如果您正在使用这些技术,请重新评估它们。
- key: blocks.tools_quadrant.note
t: 注意,TypeScript 在图表中出现了两次,因为它同时包含在 JavaScript 偏好和构建工具部分。

- key: blocks.tools_quadrant.interest.description
t: |
这张图表显示了每种技术对其总 **用户数量** **关注率** (关注定义为了解某一技术但尚未使用该技术的受访者)。
这张图表展示了每种技术的 **用户数量** **关注率** (关注的定义是受访者听说过某一项技术但尚未使用该技术)。

(请注意,低用户数量可能是由于非著名的技术,也可能是该技术很多受访者已经在使用。)
(请注意,低用户数量可能是因为有很多受访者未听说过此项技术,同时也可能是因为该技术已有很多受访者在使用。)

# category other tools
- key: blocks.category_other_tools.title
Expand Down
67 changes: 38 additions & 29 deletions src/i18n/zh-Hans/state_of_css.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
locale: en-US
locale: zh-Hans
namespace: css
translations:
###########################################################################
Expand Down Expand Up @@ -184,15 +184,15 @@ translations:
- key: features.blend_modes
t: 混合模式 (Blend Modes)
- key: features.blend_modes.description
t: The <code>mix-blend-mode</code> property
t: <code>mix-blend-mode</code> 属性
- key: features.filter_effects #
t: CSS 滤镜效果
t: CSS 滤镜效果(Filter)
- key: features.backdrop_filter
t: <code>backdrop-filter</code>

# interactions
- key: features.scroll_snap
t: CSS 滚动捕捉
t: CSS 滚动快照(Scroll Snap)
- key: features.overscroll_behavior
t: <code>overscroll-behavior</code>
- key: features.overflow_anchor
Expand All @@ -206,9 +206,9 @@ translations:
- key: features.web_fonts
t: Web 字体 (@font-face)
- key: features.variables_fonts
t: 可变(Variable fonts)
t: 可变字体(Variable fonts)
- key: features.line_breaking
t: 换行属性 (Line breaking properties)
t: 换行属性(Line breaking properties)
- key: features.line_breaking.description
t: <code>overflow-wrap</code>、 <code>word-break</code>、 <code>line-break</code>以及 <code>hyphens</code>
- key: features.font_variant
Expand Down Expand Up @@ -240,7 +240,7 @@ translations:

# media queries
- key: features.feature_support_queries
t: 特征查询(Feature Support Queries)「<code>@supports</code>
t: 特征查询<code>@supports</code>
- key: features.prefers_reduced_motion
t: <code>prefers-reduced-motion</code>
- key: features.prefers_color_scheme
Expand All @@ -252,17 +252,17 @@ translations:
- key: features.variables
t: CSS 变量(自定属性)
- key: features.containment
t: CSS 约束 (Containment
t: CSS Containment
- key: features.will_change
t: <code>will-change</code>
- key: features.calc
t: <code>calc()</code>
- key: features.houdini
t: Houdini
- key: features.comparison_functions
t: CSS 比较函数 (Comparison Functions)
t: CSS 比较函数(Comparison Functions)
- key: features.comparison_functions.description
t: <code>min()</code>、<code>max()</code> 以及 <code>clamp()</code>
t: <code>min()</code>、<code>max()</code><code>clamp()</code>

###########################################################################
# Units & Selectors
Expand All @@ -285,9 +285,9 @@ translations:
- key: options.units.rem
t: rem
- key: options.units.vh_vw
t: vh, vw
t: vhvw
- key: options.units.vmin_vmax
t: vmin, vmax
t: vminvmax
- key: options.units.ch
t: ch
- key: options.units.ex
Expand Down Expand Up @@ -322,18 +322,18 @@ translations:
t: '::backdrop'

- key: features_others.combinators
t: 关系选择器 (Combinators)
t: 关系选择器(Combinators)
- key: features_others.combinators.description
t: 你曾使用哪些关系选择器?

- key: options.combinators.descendant
t: div span (后代选择器)
t: div span后代选择器
- key: options.combinators.child
t: div > span (子代选择器)
t: div > span(直接子代选择器)
- key: options.combinators.next_sibling
t: div + div (领接兄弟选择器)
t: div + div(相邻兄弟选择器)
- key: options.combinators.subsequent_sibling
t: div ~ div (通用兄弟选择器)
t: div ~ div通用兄弟选择器

- key: features_others.tree_document_structure
t: 伪类选择器
Expand Down Expand Up @@ -381,17 +381,17 @@ translations:
t: 你曾使用哪些属性选择器?

- key: options.attributes.presence
t: div[foo] (存)
t: div[foo](存在 foo 属性)
- key: options.attributes.equality
t: div[foo="bar"] (等)
t: div[foo="bar"](foo 的属性值为 "bar")
- key: options.attributes.starts_with
t: div[foo^="bar"] (始)
t: div[foo^="bar"](foo 的属性值以 "bar" 开头)
- key: options.attributes.ends_with
t: div[foo$="bar"] (末)
t: div[foo$="bar"](foo 的属性值以 "bar" 结尾)
- key: options.attributes.contains_word
t: div[foo~="bar"] (词匹配)
t: div[foo~="bar"](foo 的属性值中有一个值为 "bar")
- key: options.attributes.contains_substring
t: div[foo*="bar"] (词包含)
t: div[foo*="bar"](foo 的属性值中包含 "bar")

- key: features_others.links_urls
t: 链接/网址
Expand All @@ -401,7 +401,7 @@ translations:
- key: options.links_urls.any_link
t: :any-link
- key: options.links_urls.link_visited
t: :link and :visited
t: :link :visited
- key: options.links_urls.local_link
t: :local-link
- key: options.links_urls.target
Expand Down Expand Up @@ -429,9 +429,9 @@ translations:
t: 你曾使用哪些关于表单控制的选择器?

- key: options.form_controls.enabled_disabled
t: :enabled and :disabled
t: :enabled :disabled
- key: options.form_controls.read_only_write
t: :read-only and :read-write
t: :read-only :read-write
- key: options.form_controls.placeholder_shown
t: :placeholder-shown
- key: options.form_controls.default
Expand Down Expand Up @@ -464,15 +464,20 @@ translations:
t: 在什么设备上进行测试?

- key: environments.css_for_print
t: CSS for Print
t: CSS for Print(打印样式)
- key: environments.css_for_print.description
t: 使用过打印样式(print styles)吗
t: 是否为打印网页的使用场景写过特定的样式

- key: environments.css_for_email
t: CSS for Email 客户端
- key: environments.css_for_email.description
t: 有些写过邮件客户端样式吗?

- key: charts.axis_legends.css_for_print
t: 频率
- key: charts.axis_legends.css_for_email
t: 频率

###########################################################################
# Opinions
###########################################################################
Expand Down Expand Up @@ -511,7 +516,11 @@ translations:
- key: opinions_others.currently_missing_from_css.others
t: 目前觉得 CSS 缺少什么?
- key: opinions_others.currently_missing_from_css.others.description
t: 展望 CSS 的未来。
t: 你希望今后 CSS 加入的功能。
- key: opinions_others.currently_missing_from_css.others.note
t: >
这些结果是根据用户自由填写的表单项归纳得出。
如果你想看到原始数据,请访问 [whatsmissingfromcss.com](http://whatsmissingfromcss.com/)。

- key: opinions.sum_up_one_word_css
t: 一个词来形容 CSS
Expand Down
Loading