Skip to content

Commit 226b912

Browse files
authoredAug 23, 2019
Update README.md
1 parent e1f6551 commit 226b912

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed
 

‎README.md

+9-10
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,9 @@
8484

8585
### 內文中的程式區塊
8686

87-
- 翻譯註解
88-
- 翻譯使用者訊息與範例字串
87+
**本翻譯教程以不翻譯語法和對應的圖片為原則。**
88+
89+
- 只翻譯註解與範例字串
8990
- 不要翻譯變數 (variables)、類別 (classes) 和標示符 (identifiers)
9091
- 確保程式在翻譯後可以正確執行 :)
9192

@@ -105,7 +106,7 @@ const text = 'Hello, world';
105106
document.querySelector('.hello').innerHTML = text;
106107
```
107108

108-
❌ 別翻成 (翻譯類別):
109+
❌ 別翻成 (不要翻譯類別):
109110

110111
```js
111112
// 範例
@@ -117,13 +118,13 @@ document.querySelector('.嗨').innerHTML = text;
117118

118119
請注意,有時候程式區塊之後會接著圖片,若你在程式區塊中翻譯了 `Hello```,那你必須也修改圖片中的字。
119120

120-
在這種情況下也許不翻譯該文字是更好的選擇。
121-
122-
*本翻譯教程以不更動圖片為原則。*
121+
所以在這種情況下不翻譯該文字是更好的選擇。
123122

124123
### 外部連結
125124

126-
若一個外部連結是連到 Wikipedia,如:`https://en.wikipedia.org/wiki/JavaScript`,且該文章有你使用語言的優良版本,請將連結連到該版本。
125+
**本翻譯教程以維持原本外部連結為原則。**
126+
127+
若一個外部連結是連到 Wikipedia,如:`https://en.wikipedia.org/wiki/JavaScript`,且該文章有你使用語言的優良版本,可以將連結連到該版本。
127128

128129
例如:
129130

@@ -141,8 +142,6 @@ MDN 的連結可以使用部分翻譯的版本。
141142

142143
若一個外部連結的文章沒有翻譯過的版本,則維持原本連結。
143144

144-
*本翻譯教程以不更動外部連結為原則。*
145-
146145
### 詮釋資料
147146

148147
一些檔案,通常是課題,頂端會有 YAML 的詮釋資料 (metadata) 並以 `---` 分隔:
@@ -173,7 +172,7 @@ importance: 5
173172
伺服器安裝指南請參考 <https://github.com/javascript-tutorial/server>
174173

175174
---
176-
🚀
175+
繁體中文版的維護者們 🚀
177176

178177
- Len Chen [@lenchen1112](https://github.com/lenchen1112)
179178
- Jason Huang [@kaddopur](https://github.com/kaddopur)

0 commit comments

Comments
 (0)
Please sign in to comment.