-
Notifications
You must be signed in to change notification settings - Fork 8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(zh-cn): add translation glossary (#12858)
Co-authored-by: Jason Ren <[email protected]>
- Loading branch information
1 parent
24cc216
commit 146ff9b
Showing
3 changed files
with
86 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
# 简体中文 web 术语翻译对照表 | ||
|
||
## 特定领域术语 | ||
|
||
### API | ||
|
||
| 英文词汇 | 翻译 | 备注 | 引用来源 | | ||
| ------- | --- | ---- | ------ | | ||
| light DOM | 常规 DOM | 与影子 DOM 相对 | 同 shadow DOM | | ||
| shadow DOM | 影子 DOM | DOM 节点的附属树,在常规 DOM 中不可见(web 组件) | <https://github.com/mdn/translated-content/pull/13432#issuecomment-1575018754> | | ||
| shadow host | 影子宿主 | web 组件的宿主元素 | 同 shadow DOM | | ||
| shadow tree | 影子树 | 隐藏的 DOM 子树 | 同 shadow DOM | | ||
|
||
### CSS | ||
|
||
| 英文词汇 | 翻译 | 备注 | 引用来源 | | ||
| ------- | --- | ---- | ------ | | ||
| block | 区块 | 用于表示布局、书写模式等 | <https://github.com/mdn/translated-content/issues/12632> | | ||
| block direction | 块向 | | 同 `block` | | ||
| block end/start | 块末/首 | | 同 `block` | | ||
| block-level | 块级 | | 同 `block` | | ||
| inline | 行内 | 用于表示布局、书写模式等 | <https://github.com/mdn/translated-content/issues/12632> | | ||
| inline direction | 行向 | | 同 `inline` | | ||
| inline end/start | 行末/首 | | 同 `inline` | | ||
| inline-level | 行级 | | 同 `inline` | | ||
|
||
### HTML | ||
|
||
| 英文词汇 | 翻译 | 备注 | 引用来源 | | ||
| ------- | --- | ---- | ------ | | ||
| light dismiss | 轻触关闭 | | <https://github.com/mdn/translated-content/pull/13609#discussion_r1222377850> | | ||
| Living Standard | 动态标准 | | <https://github.com/mdn/translated-content/pull/13406#discussion_r1206197135> | | ||
|
||
### HTTP | ||
|
||
| 英文词汇 | 翻译 | 备注 | 引用来源 | | ||
| ------- | --- | ---- | ------ | | ||
| CORS | 跨源资源共享 | 使用“域”并不准确,来源包括协议、域名和端口。 | <https://github.com/mdn/translated-content/pull/3096#issuecomment-1114015297> | | ||
| Header | 标头 | HTTP 消息中的附加信息。 | 来自 Google Chrome 控制台 | | ||
|
||
### JavaScript | ||
|
||
| 英文词汇 | 翻译 | 备注 | 引用来源 | | ||
| ------- | --- | ---- | ------ | | ||
| bare module | 裸模块 | Vite.js 官方将其翻译为“裸模块”,其意为“没有任何路径的模块”。 | <https://github.com/mdn/translated-content/pull/12852#discussion_r1174339277> | | ||
| brand check | 特定类型检查 | 通过一段代码来对特定的数据类型进行检查。 | <https://github.com/mdn/translated-content/pull/13381#discussion_r1205437483> | | ||
| exotic object | 特异对象 | | | | ||
| normative optional | 可选标准 | | <https://github.com/mdn/translated-content/pull/13627#discussion_r1224014687> | | ||
| interface | 接口 | | <https://zh.wikipedia.org/wiki/介面_(資訊科技)> | | ||
| unscopable | 非作用域(属性) | | <https://github.com/mdn/translated-content/pull/12793#discussion_r1170694183> | | ||
| well-known symbol | 内置通用符号 | | <https://github.com/mdn/translated-content/pull/10338#discussion_r1036997921> | | ||
|
||
## 标题/表格 | ||
|
||
| 英文词汇 | 翻译 | 备注 | 引用来源 | | ||
| ------- | --- | ---- | ------ | | ||
| Accessibility concerns | 无障碍考虑 | | <https://github.com/mdn/translated-content/issues/11456> | | ||
| Active learning | 动手练习 | | <https://github.com/mdn/translated-content/pull/12696#discussion_r1164859935> | | ||
| Browser compatibility | 浏览器兼容性 | | | | ||
| Conclusion | 总结 | | <https://github.com/mdn/translated-content/pull/13329#discussion_r1199677894> | | ||
| Examples | 示例 | | | | ||
| Exceptions | 异常 | | | | ||
| Formal Definition | 形式定义 | | <https://zh.wikipedia.org/zh-cn/形式文法> | | ||
| Formal syntax | 形式语法 | | <https://zh.wikipedia.org/zh-cn/形式文法> | | ||
| Objective | 目标 | 在学习区表格中使用 | | | ||
| Parameters | 参数 | | | | ||
| Prerequisites | 前提 | 在学习区表格中使用 | | | ||
| See also | 参见 | | | | ||
| Specifications | 规范 | | | | ||
| Technical summary | 技术概要 | | <https://github.com/mdn/translated-content/issues/11456> | | ||
| Test your skills | 技能测试 | | | | ||
| Usage notes | 使用说明 | | <https://github.com/mdn/translated-content/pull/12600#discussion_r1161045585> | | ||
|
||
## 通用术语 | ||
|
||
| 英文词汇 | 翻译 | 备注 | 引用来源 | | ||
| ------- | --- | ---- | ------ | | ||
| repository | 仓库 | 用于存储代码的“仓库”。 | <https://github.com/progit/progit2-zh/issues/98> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters