Add Simplified Chinese CONTRIBUTING.md (#500)

* add file CONTRIBUTING.zh_cn.md as a chinese version for CONTRIBUTING.md

* Update CONTRIBUTING.md

* Update CONTRIBUTING.zh_cn.md

* Update CONTRIBUTING.ko_kr.md

* Update CONTRIBUTING.ar.md

* Update CONTRIBUTING.zh_cn.md

Resolve some grammar issue and syntax errors  . @liyishuai And thank you for your reviews

* Update CONTRIBUTING.zh_cn.md

* Update CONTRIBUTING.zh_cn.md

* Update CONTRIBUTING.zh_cn.md

Co-authored-by: James Harris <wopian@wopian.me>
This commit is contained in:
5Mall 2020-01-08 01:48:10 +08:00 committed by James Harris
parent 6037b95475
commit f3d3081767
4 changed files with 108 additions and 0 deletions

View File

@ -8,6 +8,7 @@
[Türkçe][TR], [Türkçe][TR],
**العربية**, **العربية**,
[正體中文][ZH_TW], [正體中文][ZH_TW],
[简体中文][ZH_CN],
[한국어][KO_KR] [한국어][KO_KR]
[AR]:CONTRIBUTING.ar.md [AR]:CONTRIBUTING.ar.md
@ -15,6 +16,7 @@
[KO_KR]:CONTRIBUTING.ko_kr.md [KO_KR]:CONTRIBUTING.ko_kr.md
[PT_BR]:CONTRIBUTING.pt_br.md [PT_BR]:CONTRIBUTING.pt_br.md
[TR]:CONTRIBUTING.tr.md [TR]:CONTRIBUTING.tr.md
[ZH_CN]:CONTRIBUTING.zh_cn.md
[ZH_TW]:CONTRIBUTING.zh_tw.md [ZH_TW]:CONTRIBUTING.zh_tw.md
تم ترقيم الكود المصدري في هذا المستودع يدويًا من مطبوعات ورقية، لذلك تم إدخال أخطاء مطبعية وما شابه بطريق الخطأ. يجب تعديل الكود ليكون متوافقًا مع المطبوعات الممسوحة: تم ترقيم الكود المصدري في هذا المستودع يدويًا من مطبوعات ورقية، لذلك تم إدخال أخطاء مطبعية وما شابه بطريق الخطأ. يجب تعديل الكود ليكون متوافقًا مع المطبوعات الممسوحة:

View File

@ -6,6 +6,7 @@
[Türkçe][TR], [Türkçe][TR],
[العربية][AR], [العربية][AR],
[正體中文][ZH_TW], [正體中文][ZH_TW],
[简体中文][ZH_CN],
**한국어** **한국어**
[AR]:CONTRIBUTING.ar.md [AR]:CONTRIBUTING.ar.md
@ -13,6 +14,7 @@
[KO_KR]:CONTRIBUTING.ko_kr.md [KO_KR]:CONTRIBUTING.ko_kr.md
[PT_BR]:CONTRIBUTING.pt_br.md [PT_BR]:CONTRIBUTING.pt_br.md
[TR]:CONTRIBUTING.tr.md [TR]:CONTRIBUTING.tr.md
[ZH_CN]:CONTRIBUTING.zh_cn.md
[ZH_TW]:CONTRIBUTING.zh_tw.md [ZH_TW]:CONTRIBUTING.zh_tw.md
## 유용한 확장기능들 ## 유용한 확장기능들

View File

@ -6,6 +6,7 @@
[Türkçe][TR], [Türkçe][TR],
[العربية][AR], [العربية][AR],
[正體中文][ZH_TW], [正體中文][ZH_TW],
[简体中文][ZH_CN],
[한국어][KO_KR] [한국어][KO_KR]
[AR]:CONTRIBUTING.ar.md [AR]:CONTRIBUTING.ar.md
@ -13,6 +14,7 @@
[KO_KR]:CONTRIBUTING.ko_kr.md [KO_KR]:CONTRIBUTING.ko_kr.md
[PT_BR]:CONTRIBUTING.pt_br.md [PT_BR]:CONTRIBUTING.pt_br.md
[TR]:CONTRIBUTING.tr.md [TR]:CONTRIBUTING.tr.md
[ZH_CN]:CONTRIBUTING.zh_cn.md
[ZH_TW]:CONTRIBUTING.zh_tw.md [ZH_TW]:CONTRIBUTING.zh_tw.md
The source code in this repository was digitized manually from paper printouts, so typos and other discrepancies have been introduced accidentally. The code shall be modified to be made consistent with the scanned printouts: The source code in this repository was digitized manually from paper printouts, so typos and other discrepancies have been introduced accidentally. The code shall be modified to be made consistent with the scanned printouts:

102
CONTRIBUTING.zh_cn.md Normal file
View File

@ -0,0 +1,102 @@
# Contributing
:crossed_flags:
[English][EN],
[العربية][AR],
[한국어][KO_KR],
中文
[EN]:CONTRIBUTING.md
[AR]:CONTRIBUTING.ar.md
[KO_KR]:CONTRIBUTING.ko_kr.md
[ZH_CN]:CONTRIBUTING.zh_cn.md
本仓库中的源代码来自对纸质打印输出文件的手动数字化,所以会不小心引入一些拼写错误和其他差异。这些代码应该被修正以使其与原纸质打印输出文件内容保持一致:
* [阿波罗11号制导计算机AGC中指令模块打印输出][8]
* [阿波罗11号制导计算机AGC中登月模块打印输出][9]
## 有用的扩展
GitHub内建会支持AGC汇编语言语法。不幸的是你的代码编辑器不会但有些
AGC的语言扩展插件可以为下列的编辑器提供语法高亮显示支持
- [Atom][5]
- [Sublime Text 3][4]
- [Visual Studio Code][3]
## 格式化
**注意**GitHub和上面列出的3个扩展插件会确保您自动使用正确的格式。
- 使用TAB进行缩进
- TAB宽度为8个字符
- 去掉末尾的空格
## 我该怎么检查?
原始的扫描打印输出文件与此存储库中的源码之间存在的差异,包括:
### 注释
- 转录代码中的注释应与扫描完全匹配
- 这可能涉及故意创建的拼写错误或删除/添加整个评论
### 换行
- 第1列带`R0000`的换行符应与扫描完全匹配。
- 第1列中带**__out__* `R0000` 的换行符应该只包含一个或2个连续空行。
- 如果有超过2个空行换行请删除额外的空白行换行。
- 第1列中带`R0000`的行不计入此。
- 在原始图片中这些是由一个未打印的数字分8列创建. A 2 处强制两个空格单个空白行A 3 强制三个空格双空行。值4-8是被定义但从未使用过。可在[#159][7]查看更多
例如以下内容:
```plain
R0819 SUBROUTINE TO SKIP...
R0820
0821 LAMPTEST CS IMODES33
```
应该改为:
```plain
R0819 SUBROUTINE TO SKIP...
R0820
0820 LAMPTEST CS IMODES33
```
### 空格
- 字符串中两个字符之间的空格应遵循以下约定 (可在 [#316][10]查阅相关讨论):
- 新单词另起一个空格.
- 新句另起两个空格.
- 缩进占三个空格.
例如以下内容:
```plain
1) FOO BAR BAZ QUX QUUX QUUZ. CORGE, GRAULT,
GARPLY, WALDO.
```
应该改为:
```plain
1) FOO BAR BAZ QUX QUUX QUUZ. CORGE, GRAULT,
GARPLY, WALDO.
```
## 谨记
在制作PR之前请确保您的更改与原始的扫描打印输出一致
[0]:https://github.com/chrislgarry/Apollo-11/pull/new/master
[1]:http://www.ibiblio.org/apollo/ScansForConversion/Luminary099/
[2]:http://www.ibiblio.org/apollo/ScansForConversion/Comanche055/
[3]:https://github.com/wopian/agc-assembly
[4]:https://github.com/jimlawton/AGC-Assembly
[5]:https://github.com/Alhadis/language-agc
[6]:https://github.com/wopian/agc-assembly#user-settings
[7]:https://github.com/chrislgarry/Apollo-11/issues/159
[8]:http://www.ibiblio.org/apollo/ScansForConversion/Comanche055/
[9]:http://www.ibiblio.org/apollo/ScansForConversion/Luminary099/
[10]:https://github.com/chrislgarry/Apollo-11/pull/316#pullrequestreview-102892741