8000 feat: translate `c-api/bool.po` · python/python-docs-zh-tw@342b2d2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 342b2d2

Browse files
committed
feat: translate c-api/bool.po
1 parent 1fc4980 commit 342b2d2

File tree

1 file changed

+19
-6
lines changed

1 file changed

+19
-6
lines changed

c-api/bool.po

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,27 @@
44
#
55
# Translators:
66
# Ching-Lung Chuang, 2015
7+
# Matt Wang <mattwang44@gmail.com>, 2021
8+
#
79
msgid ""
810
msgstr ""
911
"Project-Id-Version: Python 3.10\n"
1012
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2021-09-13 00:11+0000\n"
12-
"PO-Revision-Date: 2017-09-22 18:26+0000\n"
13-
"Last-Translator: Ching-Lung Chuang\n"
13+
"POT-Creation-Date: 2021-06-29 12:56+0000\n"
14+
"PO-Revision-Date: 2021-12-09 20:47+0800\n"
15+
"Last-Translator: Matt Wang <mattwang44@gmail.com>\n"
1416
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
1517
"tw)\n"
1618
"Language: zh_TW\n"
1719
"MIME-Version: 1.0\n"
1820
"Content-Type: text/plain; charset=UTF-8\n"
1921
"Content-Transfer-Encoding: 8bit\n"
2022
"Plural-Forms: nplurals=1; plural=0;\n"
23+
"X-Generator: Poedit 3.0\n"
2124

2225
#: ../../c-api/bool.rst:6
2326
msgid "Boolean Objects"
24-
msgstr "布林物件"
27+
msgstr "Boolean(布林)物件"
2528

2629
#: ../../c-api/bool.rst:8
2730
msgid ""
@@ -30,39 +33,49 @@ msgid ""
3033
"normal creation and deletion functions don't apply to booleans. The "
3134
"following macros are available, however."
3235
msgstr ""
36+
"Python 中的 boolean 是以整數子類別化來實現的。只有 :const:`Py_False` 和 :"
37+
"const:`Py_True` 兩個 boolean,因此一般的建立和刪除函式並不適用於 boolean,但"
38+
"下列巨集 (macro) 是可用的。"
3339

3440
#: ../../c-api/bool.rst:16
3541
msgid ""
3642
"Return true if *o* is of type :c:data:`PyBool_Type`. This function always "
3743
"succeeds."
3844
msgstr ""
45+
"如果 *o* 的型別為 :c:data:`PyBool_Type` 則回傳真值。此函式總是會成功執行。"
3946

4047
#: ../../c-api/bool.rst:22
4148
msgid ""
4249
"The Python ``False`` object. This object has no methods. It needs to be "
4350
"treated just like any other object with respect to reference counts."
4451
msgstr ""
52+
"Python 的 ``False`` 物件。此物件沒有任何方法,在參照 (reference) 計數上必須有"
53+
"著和其他物件一樣的處理方式。"
4554

4655
#: ../../c-api/bool.rst:28
4756
msgid ""
4857
"The Python ``True`` object. This object has no methods. It needs to be "
4958
"treated just like any other object with respect to reference counts."
5059
msgstr ""
60+
"Python 的 ``True`` 物件。此物件沒有任何方法,在參照計數上必須有著和其他物件一"
61+
"樣的處理方式。"
5162

5263
#: ../../c-api/bool.rst:34
5364
msgid ""
5465
"Return :const:`Py_False` from a function, properly incrementing its "
5566
"reference count."
56-
msgstr ""
67+
msgstr "從函式回傳 :const:`Py_False`\\ ,並適當的增加它的參照計數。"
5768

5869
#: ../../c-api/bool.rst:40
5970
msgid ""
6071
"Return :const:`Py_True` from a function, properly incrementing its reference "
6172
"count."
62-
msgstr ""
73+
msgstr "從函式回傳 :const:`Py_True`\\ ,並適當的增加它的參照計數。"
6374

6475
#: ../../c-api/bool.rst:46
6576
msgid ""
6677
"Return a new reference to :const:`Py_True` or :const:`Py_False` depending on "
6778
"the truth value of *v*."
6879
msgstr ""
80+
"根據 *v* 的實際值來回傳一個 :const:`Py_True` 或者 :const:`Py_False` 的新參"
81+
"照。"

0 commit comments

Comments
 (0)
0