From 1839c2069c4caf2292f690440c35084f38adc265 Mon Sep 17 00:00:00 2001 From: Griiid Date: Sat, 5 Aug 2023 15:48:05 +0800 Subject: [PATCH 1/5] Translate library/datetime.rst:2501 --- library/datetime.po | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/library/datetime.po b/library/datetime.po index ae13bec8e3..a311f87277 100644 --- a/library/datetime.po +++ b/library/datetime.po @@ -8,8 +8,8 @@ msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2023-07-17 17:39+0800\n" -"PO-Revision-Date: 2018-05-23 14:42+0000\n" -"Last-Translator: Adrian Liaw \n" +"PO-Revision-Date: 2023-08-05 15:45+0800\n" +"Last-Translator: Griiid \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" "tw)\n" "Language: zh_TW\n" @@ -17,6 +17,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: Poedit 3.3.2\n" #: ../../library/datetime.rst:2 msgid ":mod:`datetime` --- Basic date and time types" @@ -3026,6 +3027,9 @@ msgid "" "anyway, ``1900`` is substituted for the year, and ``1`` for the month and " "day." msgstr "" +"對 :class:`.time` 物件來說,不應該使用年、月、日的格式,因為 :class:`time` " +"物件並沒有這些值。如果使用這些格式,年份會以 ``1900`` 代替,月及日會以 ``1`` " +"代替。" #: ../../library/datetime.rst:2505 msgid "" From cf3696eb0f049f13fc7cebb2d83c7173bc9aff9a Mon Sep 17 00:00:00 2001 From: Griiid Date: Sat, 5 Aug 2023 16:23:53 +0800 Subject: [PATCH 2/5] Translate library/datetime.rst:2501, remove spaces --- library/datetime.po | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/library/datetime.po b/library/datetime.po index a311f87277..6acbd31b0a 100644 --- a/library/datetime.po +++ b/library/datetime.po @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2023-07-17 17:39+0800\n" -"PO-Revision-Date: 2023-08-05 15:45+0800\n" +"PO-Revision-Date: 2023-08-05 16:23+0800\n" "Last-Translator: Griiid \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" "tw)\n" @@ -3027,9 +3027,9 @@ msgid "" "anyway, ``1900`` is substituted for the year, and ``1`` for the month and " "day." msgstr "" -"對 :class:`.time` 物件來說,不應該使用年、月、日的格式,因為 :class:`time` " -"物件並沒有這些值。如果使用這些格式,年份會以 ``1900`` 代替,月及日會以 ``1`` " -"代替。" +"對 :class:`.time` 物件來說,不應該使用年、月、日的格式,因為 :class:`time` 物" +"件並沒有這些值。如果使用這些格式,年份會以 ``1900`` 代替,月及日會以 ``1`` 代" +"替。" #: ../../library/datetime.rst:2505 msgid "" From 1dbea00bf4d446f6960689ee8d9f1f4381bd62aa Mon Sep 17 00:00:00 2001 From: Griiid Date: Sat, 5 Aug 2023 23:00:20 +0800 Subject: [PATCH 3/5] Update library/datetime.rst:2501, punctuation mark --- library/datetime.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/datetime.po b/library/datetime.po index 6acbd31b0a..66234f5687 100644 --- a/library/datetime.po +++ b/library/datetime.po @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2023-07-17 17:39+0800\n" -"PO-Revision-Date: 2023-08-05 16:23+0800\n" +"PO-Revision-Date: 2023-08-05 22:59+0800\n" "Last-Translator: Griiid \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" "tw)\n" @@ -3028,7 +3028,7 @@ msgid "" "day." msgstr "" "對 :class:`.time` 物件來說,不應該使用年、月、日的格式,因為 :class:`time` 物" -"件並沒有這些值。如果使用這些格式,年份會以 ``1900`` 代替,月及日會以 ``1`` 代" +"件並沒有這些值。如果使用這些格式,年份會以 ``1900`` 代替、月及日會以 ``1`` 代" "替。" #: ../../library/datetime.rst:2505 From b38b8977d00595cc6e2ec023c25309897f97ed69 Mon Sep 17 00:00:00 2001 From: Griiid Date: Sun, 6 Aug 2023 21:36:26 +0800 Subject: [PATCH 4/5] Update library/datetime.rst:2501, 'format code' --- library/datetime.po | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/library/datetime.po b/library/datetime.po index 66234f5687..a286a5086e 100644 --- a/library/datetime.po +++ b/library/datetime.po @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2023-07-17 17:39+0800\n" -"PO-Revision-Date: 2023-08-05 22:59+0800\n" +"PO-Revision-Date: 2023-08-06 21:34+0800\n" "Last-Translator: Griiid \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" "tw)\n" @@ -3020,16 +3020,18 @@ msgid "" "by ``time.strptime``." msgstr "" +# format code 在這份文件第一次出現的地方是 ../../library/datetime.rst:739,應該要改成在那邊註記 (format code) #: ../../library/datetime.rst:2501 +#, fuzzy msgid "" "For :class:`.time` objects, the format codes for year, month, and day should " "not be used, as :class:`time` objects have no such values. If they're used " "anyway, ``1900`` is substituted for the year, and ``1`` for the month and " "day." msgstr "" -"對 :class:`.time` 物件來說,不應該使用年、月、日的格式,因為 :class:`time` 物" -"件並沒有這些值。如果使用這些格式,年份會以 ``1900`` 代替、月及日會以 ``1`` 代" -"替。" +"對 :class:`.time` 物件來說,不應該使用年、月、日的格式碼 (format code),因" +"為 :class:`time` 物件並沒有這些值。如果使用這些格式碼,年份會以 ``1900`` 代" +"替、月及日會以 ``1`` 代替。" #: ../../library/datetime.rst:2505 msgid "" From 649326201798cdcb3c5d91e46204c94261b15a35 Mon Sep 17 00:00:00 2001 From: Griiid Date: Mon, 7 Aug 2023 10:21:35 +0800 Subject: [PATCH 5/5] Update library/datetime.rst:2505 --- library/datetime.po | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/library/datetime.po b/library/datetime.po index a286a5086e..e3c0a75e7c 100644 --- a/library/datetime.po +++ b/library/datetime.po @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2023-07-17 17:39+0800\n" -"PO-Revision-Date: 2023-08-06 21:34+0800\n" +"PO-Revision-Date: 2023-08-07 10:20+0800\n" "Last-Translator: Griiid \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" "tw)\n" @@ -3039,6 +3039,8 @@ msgid "" "microseconds should not be used, as :class:`date` objects have no such " "values. If they're used anyway, ``0`` is substituted for them." msgstr "" +"對 :class:`.date` 物件來說,不應該使用時、分、秒、微秒的格式碼,因為 :class:" +"`date` 物件並沒有這些值。如果使用這些格式碼,這些值都會以 ``0`` 代替。" #: ../../library/datetime.rst:2509 msgid ""