Keep the style of the old README.md
This commit is contained in:
160
README.md
160
README.md
@ -55,85 +55,85 @@ diff 操作如下:
|
|||||||
|
|
||||||
翻译术语的时候请参考这个对照表:
|
翻译术语的时候请参考这个对照表:
|
||||||
|
|
||||||
| 术语 | 备选翻译 |
|
| 术语 | 备选翻译 |
|
||||||
|-------------------------------|-----------------------------------------------------------------------------------------------------------------------------|
|
| --- | --- |
|
||||||
| property wrapper | 属性包装器([翻译相关讨论](https://github.com/SwiftGGTeam/the-swift-programming-language-in-chinese/issues/982#issuecomment-536244784)) |
|
| property wrapper | 属性包装器([翻译相关讨论](https://github.com/SwiftGGTeam/the-swift-programming-language-in-chinese/issues/982#issuecomment-536244784)) |
|
||||||
| projected value | 被呈现值 |
|
| projected value | 被呈现值 |
|
||||||
| wrapped value | 被包装值 |
|
| wrapped value | 被包装值 |
|
||||||
| argument | 实参 |
|
| argument | 实参 |
|
||||||
| parameter | 形参 |
|
| parameter | 形参 |
|
||||||
| variadic parameters | 可变参数 |
|
| variadic parameters| 可变参数 |
|
||||||
| associated type | 关联类型 |
|
| associated type | 关联类型 |
|
||||||
| range | 区间 |
|
| range | 区间 |
|
||||||
| type property | 类型属性 |
|
| type property | 类型属性 |
|
||||||
| unary operator | 一元运算符 |
|
| unary operator | 一元运算符 |
|
||||||
| binary operator | 二元运算符 |
|
| binary operator | 二元运算符 |
|
||||||
| ternary operator | 三元运算符 |
|
| ternary operator | 三元运算符 |
|
||||||
| labeled statement | 具名语句 |
|
| labeled statement | 具名语句 |
|
||||||
| conform protocol | 遵循协议 |
|
| conform protocol | 遵循协议 |
|
||||||
| availability-condition | 可用性条件 |
|
| availability-condition | 可用性条件 |
|
||||||
| fallthrough | 贯穿 |
|
| fallthrough | 贯穿 |
|
||||||
| branch statement | 分支语句 |
|
| branch statement | 分支语句 |
|
||||||
| control transfer statement | 控制传递语句 |
|
| control transfer statement | 控制传递语句 |
|
||||||
| type annotation | 类型注解 |
|
| type annotation | 类型注解 |
|
||||||
| type identifier | 类型标识符 |
|
| type identifier | 类型标识符 |
|
||||||
| metatype type | 元类型 |
|
| metatype type | 元类型 |
|
||||||
| protocol composition type | 复合协议类型 |
|
| protocol composition type | 复合协议类型 |
|
||||||
| associated value | 关联值 |
|
| associated value | 关联值 |
|
||||||
| raw value | 原始值 |
|
| raw value | 原始值 |
|
||||||
| computed property | 计算属性 |
|
| computed property | 计算属性 |
|
||||||
| stored property | 存储属性 |
|
| stored property | 存储属性 |
|
||||||
| operator | 运算符 |
|
| operator | 运算符 |
|
||||||
| playground | 不翻译 |
|
| playground | 不翻译 |
|
||||||
| array | 数组 |
|
| array | 数组 |
|
||||||
| dictionary | 字典 |
|
| dictionary | 字典 |
|
||||||
| list | 列表 |
|
| list | 列表 |
|
||||||
| statement | 语句 |
|
| statement | 语句 |
|
||||||
| expression | 表达式 |
|
| expression | 表达式 |
|
||||||
| optional | 可选 |
|
| optional | 可选 |
|
||||||
| implicitly unwrapped optional | 隐式解包可选值 |
|
| implicitly unwrapped optional | 隐式解包可选值 |
|
||||||
| optional binding | 可选绑定 |
|
| optional binding | 可选绑定 |
|
||||||
| optional chaining | 可选链 |
|
| optional chaining | 可选链 |
|
||||||
| collection | 集合 |
|
| collection | 集合 |
|
||||||
| convention | 约定 |
|
| convention | 约定 |
|
||||||
| iterate | 迭代 |
|
| iterate | 迭代 |
|
||||||
| nest | 嵌套 |
|
| nest | 嵌套 |
|
||||||
| inheritance | 继承 |
|
| inheritance | 继承 |
|
||||||
| override | 重写 |
|
| override | 重写 |
|
||||||
| base class | 基类 |
|
| base class | 基类 |
|
||||||
| designated initializer | 指定构造器 |
|
| designated initializer | 指定构造器 |
|
||||||
| convenience initializer | 便利构造器 |
|
| convenience initializer | 便利构造器 |
|
||||||
| automatic reference counting | 自动引用计数 |
|
| automatic reference counting | 自动引用计数 |
|
||||||
| type inference | 类型推断 |
|
| type inference | 类型推断 |
|
||||||
| type casting | 类型转换 |
|
| type casting | 类型转换 |
|
||||||
| unwrapped | 解包 |
|
| unwrapped | 解包 |
|
||||||
| wrapped | 包装 |
|
| wrapped | 包装 |
|
||||||
| note | 注意 |
|
| note | 注意 |
|
||||||
| closure | 闭包 |
|
| closure | 闭包 |
|
||||||
| tuple | 元组 |
|
| tuple | 元组 |
|
||||||
| first-class | 一等 |
|
| first-class | 一等 |
|
||||||
| deinitializer | 析构器 |
|
| deinitializer | 析构器 |
|
||||||
| initializer | 构造器 |
|
| initializer | 构造器 |
|
||||||
| initialization | 构造过程 |
|
| initialization | 构造过程 |
|
||||||
| deinitialization | 析构过程 |
|
| deinitialization | 析构过程 |
|
||||||
| getter | 不翻译 |
|
| getter | 不翻译 |
|
||||||
| setter | 不翻译 |
|
| setter | 不翻译 |
|
||||||
| subscript | 下标 |
|
| subscript | 下标 |
|
||||||
| property | 属性 |
|
| property | 属性 |
|
||||||
| attribute | 特性或者属性,根据上下文 |
|
| attribute | 特性或者属性,根据上下文 |
|
||||||
| method | 方法 |
|
| method | 方法 |
|
||||||
| enumeration | 枚举 |
|
| enumeration | 枚举 |
|
||||||
| structure | 结构体 |
|
| structure | 结构体 |
|
||||||
| protocol | 协议 |
|
| protocol | 协议 |
|
||||||
| extension | 扩展 |
|
| extension | 扩展 |
|
||||||
| generic | 泛型 |
|
| generic | 泛型 |
|
||||||
| literal value | 字面量 |
|
| literal value | 字面量 |
|
||||||
| alias | 别名 |
|
| alias | 别名 |
|
||||||
| assertion | 断言 |
|
| assertion | 断言 |
|
||||||
| conditional compilation | 条件编译 |
|
| conditional compilation | 条件编译 |
|
||||||
| opaque type | 不透明类型 |
|
| opaque type | 不透明类型 |
|
||||||
| function | 函数 |
|
| function | 函数 |
|
||||||
| runtime | 运行时 |
|
| runtime | 运行时 |
|
||||||
|
|
||||||
# 贡献者
|
# 贡献者
|
||||||
|
|
||||||
@ -142,4 +142,4 @@ diff 操作如下:
|
|||||||
|
|
||||||
|
|
||||||
# 协议
|
# 协议
|
||||||
和 [苹果官方文档](https://swift.org/documentation/) 协议一致:[Creative Commons Attribution 4.0 International (CC BY 4.0) License](https://creativecommons.org/licenses/by/4.0/)。
|
和 [苹果官方文档](https://swift.org/documentation/) 协议一致:[Creative Commons Attribution 4.0 International (CC BY 4.0) License](https://creativecommons.org/licenses/by/4.0/)。
|
||||||
Reference in New Issue
Block a user