From 754cf467822bcdca09c1df1ef869893810a9f006 Mon Sep 17 00:00:00 2001 From: 933yee Date: Sat, 5 Aug 2023 16:14:08 +0800 Subject: [PATCH 1/4] Translate library/datetime.rst:124 --- library/datetime.po | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/library/datetime.po b/library/datetime.po index ae13bec8e3..bb7b0b967e 100644 --- a/library/datetime.po +++ b/library/datetime.po @@ -158,9 +158,9 @@ msgstr "" #: ../../library/datetime.rst:107 msgid "" "An idealized time, independent of any particular day, assuming that every " -"day has exactly 24\\*60\\*60 seconds. (There is no notion of \"leap " -"seconds\" here.) Attributes: :attr:`hour`, :attr:`minute`, :attr:`second`, :" -"attr:`microsecond`, and :attr:`.tzinfo`." +"day has exactly 24\\*60\\*60 seconds. (There is no notion of \"leap seconds" +"\" here.) Attributes: :attr:`hour`, :attr:`minute`, :attr:`second`, :attr:" +"`microsecond`, and :attr:`.tzinfo`." msgstr "" #: ../../library/datetime.rst:116 @@ -175,6 +175,8 @@ msgid "" "A duration expressing the difference between two :class:`date`, :class:`." "time`, or :class:`.datetime` instances to microsecond resolution." msgstr "" +"表示兩種 :class:`date`, :class:`.time` 或 :class:`.datetime` 實例之間時間的差" +"異,以微秒為單位。" #: ../../library/datetime.rst:131 msgid "" From 2143d69614fd852de24e1070735f67c1953f76c4 Mon Sep 17 00:00:00 2001 From: 933yee <92087014+933yee@users.noreply.github.com> Date: Sat, 5 Aug 2023 17:07:17 +0800 Subject: [PATCH 2/4] Apply suggestions from code review Co-authored-by: RockLeon <34214497+rockleona@users.noreply.github.com> --- library/datetime.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/datetime.po b/library/datetime.po index bb7b0b967e..06d0e7195c 100644 --- a/library/datetime.po +++ b/library/datetime.po @@ -175,7 +175,7 @@ msgid "" "A duration expressing the difference between two :class:`date`, :class:`." "time`, or :class:`.datetime` instances to microsecond resolution." msgstr "" -"表示兩種 :class:`date`, :class:`.time` 或 :class:`.datetime` 實例之間時間的差" +"表示兩種 :class:`date`、:class:`.time` 或 :class:`.datetime` 實例之間時間的差" "異,以微秒為單位。" #: ../../library/datetime.rst:131 From cfa5097abfc97b61af722bf2fec6fd0fcb6af696 Mon Sep 17 00:00:00 2001 From: 933yee <92087014+933yee@users.noreply.github.com> Date: Sat, 5 Aug 2023 22:32:56 +0800 Subject: [PATCH 3/4] Update datetime.po --- library/datetime.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/library/datetime.po b/library/datetime.po index 06d0e7195c..e964214685 100644 --- a/library/datetime.po +++ b/library/datetime.po @@ -158,9 +158,9 @@ msgstr "" #: ../../library/datetime.rst:107 msgid "" "An idealized time, independent of any particular day, assuming that every " -"day has exactly 24\\*60\\*60 seconds. (There is no notion of \"leap seconds" -"\" here.) Attributes: :attr:`hour`, :attr:`minute`, :attr:`second`, :attr:" -"`microsecond`, and :attr:`.tzinfo`." +"day has exactly 24\\*60\\*60 seconds. (There is no notion of \"leap " +"seconds\" here.) Attributes: :attr:`hour`, :attr:`minute`, :attr:`second`, :" +"attr:`microsecond`, and :attr:`.tzinfo`." msgstr "" #: ../../library/datetime.rst:116 From facb96788112e93d324c0a1855fe4b4cabbc5ee5 Mon Sep 17 00:00:00 2001 From: 933yee <92087014+933yee@users.noreply.github.com> Date: Mon, 7 Aug 2023 11:07:01 +0800 Subject: [PATCH 4/4] Update datetime.po --- library/datetime.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/datetime.po b/library/datetime.po index e964214685..f20445aae2 100644 --- a/library/datetime.po +++ b/library/datetime.po @@ -175,8 +175,8 @@ msgid "" "A duration expressing the difference between two :class:`date`, :class:`." "time`, or :class:`.datetime` instances to microsecond resolution." msgstr "" -"表示兩種 :class:`date`、:class:`.time` 或 :class:`.datetime` 實例之間時間的差" -"異,以微秒為單位。" +"表示兩個 :class:`date`、:class:`.time` 或 :class:`.datetime` 實例之間時間的差" +"異,以微秒為解析度。" #: ../../library/datetime.rst:131 msgid ""