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

Commit135961e

Browse files
committed
Translate faq/design.html#why-does-python-use-indentation-for-grouping-of-statements
1 parentd21ee60 commit135961e

File tree

1 file changed

+17
-3
lines changed

1 file changed

+17
-3
lines changed

‎faq/design.po‎

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ msgstr ""
99
"Project-Id-Version:Python 3.10\n"
1010
"Report-Msgid-Bugs-To:\n"
1111
"POT-Creation-Date:2022-07-06 00:17+0000\n"
12-
"PO-Revision-Date:2018-05-23 14:35+0000\n"
12+
"PO-Revision-Date:2022-08-12 17:43+0800\n"
1313
"Last-Translator:Adrian Liaw <adrianliaw2000@gmail.com>\n"
1414
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
1515
"tw)\n"
@@ -18,32 +18,40 @@ msgstr ""
1818
"Content-Type:text/plain; charset=UTF-8\n"
1919
"Content-Transfer-Encoding:8bit\n"
2020
"Plural-Forms:nplurals=1; plural=0;\n"
21+
"X-Generator:Poedit 3.1.1\n"
22+
"X-Poedit-Bookmarks:-1,-1,-1,-1,-1,-1,25,-1,-1,-1\n"
2123

2224
#:../../faq/design.rst:3
2325
msgid"Design and History FAQ"
24-
msgstr""
26+
msgstr"設計和歷史常見問題"
2527

2628
#:../../faq/design.rst:6
2729
msgid"Contents"
2830
msgstr"目錄"
2931

3032
#:../../faq/design.rst:11
3133
msgid"Why does Python use indentation for grouping of statements?"
32-
msgstr""
34+
msgstr"為何 Python 使用縮排來把陳述式 (statement) 分組?"
3335

3436
#:../../faq/design.rst:13
3537
msgid""
3638
"Guido van Rossum believes that using indentation for grouping is extremely "
3739
"elegant and contributes a lot to the clarity of the average Python program. "
3840
"Most people learn to love this feature after a while."
3941
msgstr""
42+
"吉多·范羅蘇姆相信用縮排來分組是極度優雅,且對於一般 Python 程式是乾淨俐落的。"
43+
"大多數人很快也愛上了這項特色。"
4044

4145
#:../../faq/design.rst:17
4246
msgid""
4347
"Since there are no begin/end brackets there cannot be a disagreement between "
4448
"grouping perceived by the parser and the human reader. Occasionally C "
4549
"programmers will encounter a fragment of code like this::"
4650
msgstr""
51+
"因為這裡沒有用 begin/end 包夾區塊,所以語法分析器解析的分組和人理解的分組不會"
52+
"有所歧異。偶爾 C 語言的程式人員會遇上像這樣的一段程式碼:\n"
53+
"\n"
54+
"::"
4755

4856
#:../../faq/design.rst:26
4957
msgid""
@@ -52,6 +60,9 @@ msgid ""
5260
"will sometimes stare at it a long time wondering as to why ``y`` is being "
5361
"decremented even for ``x > y``."
5462
msgstr""
63+
"如果條件為真,只有 ``x++`` 陳述句會被執行,但縮排會讓很多人對他有不同的理解。"
64+
"即使是資深的 C 語言開發者有時也會盯著他許久,思考為何即便 ``x > y``,但 "
65+
"``y`` 還是減少了。"
5566

5667
#:../../faq/design.rst:31
5768
msgid""
@@ -61,6 +72,9 @@ msgid ""
6172
"is normal to feel somewhat uneasy when reading (or being required to write) "
6273
"in a different one."
6374
msgstr""
75+
"因為沒有 begin/end 括號,Python 比起其他語言會更不容易遇到程式碼風格的衝突。"
76+
"在 C 語言中,有多種不同的方法來放置花括號。在習慣讀寫特定風格後,去讀(或是必"
77+
"須去寫)另一種風格會覺得不太舒服。"
6478

6579
#:../../faq/design.rst:38
6680
msgid""

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp