Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6c2fe7d

Browse files
committed
Merge branch '3.7' ofhttps://github.com/python/python-docs-zh-tw into inputoutput
2 parentse84e58b +93d8fee commit6c2fe7d

File tree

5 files changed

+52
-16
lines changed

5 files changed

+52
-16
lines changed

‎README.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,12 @@ the PSF for inclusion in the documentation.
7373
- `安裝好 git<https://help.github.com/articles/set-up-git/>`_\(Windows
7474
上請參考 https://gitforwindows.org/)
7575
- 一個 ``.po`` 檔的編輯器,如果還沒有的話請使用 `poedit<https://poedit.net>`_
76+
- MacOS 的使用者還需要先利用 `homebrew<https://brew.sh/index_zh-tw>`_ 安裝 gettext ,屆時 Sphinx 會使用到。
77+
..code-block::bash
78+
79+
brew install gettext
80+
81+
brew link gettext --force
7682
7783
在進行任何動作以前,你必須在 GitHub 上 fork 此專案(按下右上角的 ``Fork``
7884
按鈕),這樣會把整個專案複製一份到你的 GitHub 帳號底下,你可以對這個 fork
@@ -297,6 +303,7 @@ rST 語法注意事項
297303
===================== =====================
298304
argument 引數
299305
attribute 屬性
306+
approximate 近似
300307
boolean boolean(布林)
301308
class class(類別)
302309
condition 條件

‎bugs.po

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,20 @@ msgstr ""
1313
"Project-Id-Version:Python 3.7\n"
1414
"Report-Msgid-Bugs-To:\n"
1515
"POT-Creation-Date:2018-06-26 18:54+0800\n"
16-
"PO-Revision-Date:2017-09-22 18:26+0000\n"
17-
"Last-Translator:sammy huang <sammy.huang@kkday.com>\n"
16+
"PO-Revision-Date:2018-10-13 16:29+0800\n"
17+
"Last-Translator:Adrian Liaw <adrianliaw2000@gmail.com>\n"
1818
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
1919
"tw)\n"
2020
"Language:zh_TW\n"
2121
"MIME-Version:1.0\n"
2222
"Content-Type:text/plain; charset=UTF-8\n"
2323
"Content-Transfer-Encoding:8bit\n"
2424
"Plural-Forms:nplurals=1; plural=0;\n"
25+
"X-Generator:Poedit 2.1.1\n"
2526

2627
#:../../bugs.rst:5
2728
msgid"Dealing with Bugs"
28-
msgstr"處理bug"
29+
msgstr"處理 Bug"
2930

3031
#:../../bugs.rst:7
3132
msgid""
@@ -42,6 +43,9 @@ msgid ""
4243
"Python as it streamlines the process and involves less people. Learn how to :"
4344
"ref:`contribute <contributing-to-python>`."
4445
msgstr""
46+
"有時候自己直接修復 bug 並且送出一個修正給 Python 會比較快,因為這樣會加速流程"
47+
"而且不會困擾到太多人。學習如何\\ :ref:`貢獻給 Python <contributing-to-"
48+
"python>`。"
4549

4650
#:../../bugs.rst:16
4751
msgid"Documentation bugs"

‎tutorial/datastructures.po

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ msgstr ""
1414
"Project-Id-Version:Python 3.7\n"
1515
"Report-Msgid-Bugs-To:\n"
1616
"POT-Creation-Date:2018-08-07 14:20+0800\n"
17-
"PO-Revision-Date:2018-07-30 15:57+0800\n"
17+
"PO-Revision-Date:2018-10-14 09:57+0800\n"
1818
"Last-Translator:Ching-Hao Liu <chinghao.liu@gmail.com>\n"
1919
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
2020
"tw)\n"
@@ -72,11 +72,12 @@ msgstr ""
7272
"``a.append(x)``。"
7373

7474
#:../../tutorial/datastructures.rst:43
75-
#,fuzzy
7675
msgid""
7776
"Remove the first item from the list whose value is equal to *x*. It raises "
7877
"a ``ValueError`` if there is no such item."
79-
msgstr"刪除 list 中第一個值等於 *x* 的元素。若 list 中無此元素則會產生錯誤。"
78+
msgstr""
79+
"刪除 list 中第一個值等於 *x* 的元素。若 list 中無此元素則會觸發 "
80+
"``ValueError``。"
8081

8182
#:../../tutorial/datastructures.rst:50
8283
msgid""

‎tutorial/floatingpoint.po

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgstr ""
88
"Project-Id-Version:Python 3.7\n"
99
"Report-Msgid-Bugs-To:\n"
1010
"POT-Creation-Date:2018-06-26 18:54+0800\n"
11-
"PO-Revision-Date:2016-11-19 00:37+0000\n"
11+
"PO-Revision-Date:2018-10-16 16:15+0800\n"
1212
"Last-Translator:Liang-Bo Wang <me@liang2.tw>\n"
1313
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
1414
"tw)\n"
@@ -17,28 +17,37 @@ msgstr ""
1717
"Content-Type:text/plain; charset=UTF-8\n"
1818
"Content-Transfer-Encoding:8bit\n"
1919
"Plural-Forms:nplurals=1; plural=0;\n"
20+
"X-Generator:Poedit 2.2\n"
2021

2122
#:../../tutorial/floatingpoint.rst:9
2223
msgid"Floating Point Arithmetic: Issues and Limitations"
23-
msgstr""
24+
msgstr"浮點數運算:問題與限制"
2425

2526
#:../../tutorial/floatingpoint.rst:14
2627
msgid""
2728
"Floating-point numbers are represented in computer hardware as base 2 "
2829
"(binary) fractions. For example, the decimal fraction ::"
2930
msgstr""
31+
"在計算機架構中,浮點數透過二進位小數表示。例如說,在十進位小數中:\n"
32+
"\n"
33+
"::"
3034

3135
#:../../tutorial/floatingpoint.rst:19
3236
msgid""
3337
"has value 1/10 + 2/100 + 5/1000, and in the same way the binary fraction ::"
3438
msgstr""
39+
"可被分為 1/10 + 2/100 + 5/1000,同樣的道理,二進位小數 :\n"
40+
"\n"
41+
"::"
3542

3643
#:../../tutorial/floatingpoint.rst:23
3744
msgid""
3845
"has value 0/2 + 0/4 + 1/8. These two fractions have identical values, the "
3946
"only real difference being that the first is written in base 10 fractional "
4047
"notation, and the second in base 2."
4148
msgstr""
49+
"可被分為 0/2 + 0/4 + 1/8。這兩個小數有相同的數值,而唯一真正的不同在於前者以"
50+
"十進位表示,後者以二進位表示。"
4251

4352
#:../../tutorial/floatingpoint.rst:27
4453
msgid""
@@ -47,30 +56,45 @@ msgid ""
4756
"point numbers you enter are only approximated by the binary floating-point "
4857
"numbers actually stored in the machine."
4958
msgstr""
59+
"不幸的是,大多數十進位小數無法精準地以二進位小數表示。一般的結果為,您輸入的"
60+
"十進位浮點數由實際存在計算機中的二進位浮點數近似。"
5061

5162
#:../../tutorial/floatingpoint.rst:32
5263
msgid""
5364
"The problem is easier to understand at first in base 10. Consider the "
5465
"fraction 1/3. You can approximate that as a base 10 fraction::"
5566
msgstr""
67+
"在十進位中,這個問題更容易被理解。以分數 1/3 為例,您可以將其近似為十進位小"
68+
"數:\n"
69+
"\n"
70+
"::"
5671

5772
#:../../tutorial/floatingpoint.rst:37../../tutorial/floatingpoint.rst:41
5873
msgid"or, better, ::"
5974
msgstr""
75+
"或者,更好的近似:\n"
76+
"\n"
77+
"::"
6078

6179
#:../../tutorial/floatingpoint.rst:45
6280
msgid""
6381
"and so on. No matter how many digits you're willing to write down, the "
6482
"result will never be exactly 1/3, but will be an increasingly better "
6583
"approximation of 1/3."
6684
msgstr""
85+
"依此類推,不論你使用多少位數表示小數,最後的結果都無法精準地表示 1/3,但你還"
86+
"是能越來越精準地表示 1/3。"
6787

6888
#:../../tutorial/floatingpoint.rst:49
6989
msgid""
7090
"In the same way, no matter how many base 2 digits you're willing to use, the "
7191
"decimal value 0.1 cannot be represented exactly as a base 2 fraction. In "
7292
"base 2, 1/10 is the infinitely repeating fraction ::"
7393
msgstr""
94+
"同樣的道理,不論你願意以多少位數表示二進位小數,十進位小數 0.1 都無法被二進位"
95+
"小數精準地表達。在二進位小數中, 1/10 會是一個無限循環小數:\n"
96+
"\n"
97+
"::"
7498

7599
#:../../tutorial/floatingpoint.rst:55
76100
msgid""

‎tutorial/introduction.po

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgstr ""
1111
"Project-Id-Version:Python 3.7\n"
1212
"Report-Msgid-Bugs-To:\n"
1313
"POT-Creation-Date:2018-09-20 15:25+0800\n"
14-
"PO-Revision-Date:2018-07-30 15:36+0800\n"
14+
"PO-Revision-Date:2018-10-14 10:03+0800\n"
1515
"Last-Translator:Ching-Hao Liu <chinghao.liu@gmail.com>\n"
1616
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
1717
"tw)\n"
@@ -594,7 +594,6 @@ msgstr ""
594594
"(evaluate),賦值再發生。右項的運算式由左至右依序被計算。"
595595

596596
#:../../tutorial/introduction.rst:494
597-
#,fuzzy
598597
msgid""
599598
"The :keyword:`while` loop executes as long as the condition (here: ``a < "
600599
"10``) remains true. In Python, like in C, any non-zero integer value is "
@@ -605,12 +604,13 @@ msgid ""
605604
"than), ``>`` (greater than), ``==`` (equal to), ``<=`` (less than or equal "
606605
"to), ``>=`` (greater than or equal to) and ``!=`` (not equal to)."
607606
msgstr""
608-
":keyword:`while` 迴圈只要它的條件為真,將會一直重覆執行。在 Python 中如同 C "
609-
"語言,任何非零的整數值為真 (true);零為偽 (false)。條件可以是字串、list、甚至"
610-
"是任何序列型別;任何非零長度的序列為真,即空的序列為假。本例子使用的條件是個"
611-
"簡單的比較。標準的比較運算子 (comparison operators) 使用如同 C 語言一樣的符"
612-
"號:\\ ``<``\\ (小於)、\\ ``>``\\ (大於)、\\ ``==``\\ (等於)、\\ ``<=``"
613-
"\\ (小於等於)、\\ ``>=``\\ (大於等於)以及\\ ``!=``\\ (不等於)。"
607+
":keyword:`while` 迴圈只要它的條件為真(此範例:``a < 10``),將會一直重覆執"
608+
"行。在 Python 中如同 C 語言,任何非零的整數值為真 (true);零為假 (false)。條"
609+
"件可以是字串、list、甚至是任何序列型別;任何非零長度的序列為真,空的序列即為"
610+
"假。本例子使用的條件是個簡單的比較。標準的比較運算子 (comparison operators) "
611+
"使用如同 C 語言一樣的符號:\\ ``<``\\ (小於)、\\ ``>``\\ (大於)、\\ "
612+
"``==``\\ (等於)、\\ ``<=``\\ (小於等於)、\\ ``>=``\\ (大於等於)以及 ``!"
613+
"=``\\ (不等於)。"
614614

615615
#:../../tutorial/introduction.rst:503
616616
msgid""

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp