Skip to content

Commit 349596c

Browse files
griiidmattwang44
andauthored
Translate library/datetime.rst:2501 (#526)
* Translate library/datetime.rst:2501 * Translate library/datetime.rst:2501, remove spaces * Update library/datetime.rst:2501, punctuation mark * Update library/datetime.rst:2501, 'format code' * Update library/datetime.rst:2505 --------- Co-authored-by: Wei-Hsiang (Matt) Wang <mattwang44@gmail.com>
1 parent 9428ce5 commit 349596c

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

Diff for: library/datetime.po

+9-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ msgstr ""
88
"Project-Id-Version: Python 3.12\n"
99
"Report-Msgid-Bugs-To: \n"
1010
"POT-Creation-Date: 2023-07-17 17:39+0800\n"
11-
"PO-Revision-Date: 2023-08-05 15:55+0800\n"
12-
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
11+
"PO-Revision-Date: 2023-08-07 10:20+0800\n"
12+
"Last-Translator: Griiid <gridwing@gmail.com>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
1414
"tw)\n"
1515
"Language: zh_TW\n"
@@ -3026,20 +3026,27 @@ msgid ""
30263026
"by ``time.strptime``."
30273027
msgstr ""
30283028

3029+
# format code 在這份文件第一次出現的地方是 ../../library/datetime.rst:739,應該要改成在那邊註記 (format code)
30293030
#: ../../library/datetime.rst:2501
3031+
#, fuzzy
30303032
msgid ""
30313033
"For :class:`.time` objects, the format codes for year, month, and day should "
30323034
"not be used, as :class:`time` objects have no such values. If they're used "
30333035
"anyway, ``1900`` is substituted for the year, and ``1`` for the month and "
30343036
"day."
30353037
msgstr ""
3038+
"對 :class:`.time` 物件來說,不應該使用年、月、日的格式碼 (format code),因"
3039+
"為 :class:`time` 物件並沒有這些值。如果使用這些格式碼,年份會以 ``1900`` 代"
3040+
"替、月及日會以 ``1`` 代替。"
30363041

30373042
#: ../../library/datetime.rst:2505
30383043
msgid ""
30393044
"For :class:`date` objects, the format codes for hours, minutes, seconds, and "
30403045
"microseconds should not be used, as :class:`date` objects have no such "
30413046
"values. If they're used anyway, ``0`` is substituted for them."
30423047
msgstr ""
3048+
"對 :class:`.date` 物件來說,不應該使用時、分、秒、微秒的格式碼,因為 :class:"
3049+
"`date` 物件並沒有這些值。如果使用這些格式碼,這些值都會以 ``0`` 代替。"
30433050

30443051
#: ../../library/datetime.rst:2509
30453052
msgid ""

0 commit comments

Comments
 (0)