From b7d240e92fbf4cff5f57ae44422c0b976a70fb1a Mon Sep 17 00:00:00 2001 From: sweslo17 Date: Sat, 8 Jul 2023 16:27:35 +0800 Subject: [PATCH 1/5] translate General properties --- library/pathlib.po | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/library/pathlib.po b/library/pathlib.po index 1b8fcddffe..bfd1927781 100644 --- a/library/pathlib.po +++ b/library/pathlib.po @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2023-05-11 00:16+0000\n" -"PO-Revision-Date: 2018-05-23 16:07+0000\n" +"PO-Revision-Date: 2023-07-08 16:28+0800\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-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.1\n" #: ../../library/pathlib.rst:3 msgid ":mod:`pathlib` --- Object-oriented filesystem paths" @@ -189,7 +190,7 @@ msgstr "" #: ../../library/pathlib.rst:188 msgid "General properties" -msgstr "" +msgstr "通用性質" #: ../../library/pathlib.rst:190 msgid "" @@ -197,14 +198,16 @@ msgid "" "comparable and orderable. These properties respect the flavour's case-" "folding semantics::" msgstr "" +"路徑物件是不可被修改 (immutable) 且可以被 hash 的 (:term: `hashable`)。相同類" +"型的路徑物件可以被比較和排序。這些特性遵守該類型的大小寫規則:" #: ../../library/pathlib.rst:203 msgid "Paths of a different flavour compare unequal and cannot be ordered::" -msgstr "" +msgstr "不同類型的路徑物件在比較時視為不相等且無法被排序:" #: ../../library/pathlib.rst:214 msgid "Operators" -msgstr "" +msgstr "運算子" #: ../../library/pathlib.rst:216 msgid "" @@ -213,12 +216,15 @@ msgid "" "the drive is not reset when the argument is a rooted relative path (e.g., " "``r'\\foo'``)::" msgstr "" +"斜線運算符(slash operator)用於創建子路徑,就像是 :func:`os.path.join` 函數" +"一樣。如果參數是絕對路徑,則忽略前一個路徑。在Windows系統上,當參數是以根目錄" +"為基礎的相對路徑(例如,``r’\\foo’``),磁碟路徑不會被重置:" #: ../../library/pathlib.rst:234 msgid "" "A path object can be used anywhere an object implementing :class:`os." "PathLike` is accepted::" -msgstr "" +msgstr "路徑物件可以被用在任何可以使用 :class:`os.PathLike` 的地方:" #: ../../library/pathlib.rst:242 msgid "" From f82bcf031678034b0bb2d080b0ede2fd47f413e3 Mon Sep 17 00:00:00 2001 From: sweslo17 Date: Sat, 8 Jul 2023 17:01:59 +0800 Subject: [PATCH 2/5] fix term: hashable translate conflict --- library/pathlib.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/pathlib.po b/library/pathlib.po index bfd1927781..527b2b6e82 100644 --- a/library/pathlib.po +++ b/library/pathlib.po @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2023-05-11 00:16+0000\n" -"PO-Revision-Date: 2023-07-08 16:28+0800\n" +"PO-Revision-Date: 2023-07-08 17:01+0800\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" "tw)\n" @@ -198,7 +198,7 @@ msgid "" "comparable and orderable. These properties respect the flavour's case-" "folding semantics::" msgstr "" -"路徑物件是不可被修改 (immutable) 且可以被 hash 的 (:term: `hashable`)。相同類" +"路徑物件是不可被修改 (immutable) 且 :term: `hashable`(可以被hash)的。相同類" "型的路徑物件可以被比較和排序。這些特性遵守該類型的大小寫規則:" #: ../../library/pathlib.rst:203 From b34803560a93d1d3e46d454804c636f8e6674fba Mon Sep 17 00:00:00 2001 From: sweslo17 Date: Tue, 11 Jul 2023 19:58:24 +0800 Subject: [PATCH 3/5] fix according to reviewer's recommandation --- library/pathlib.po | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/library/pathlib.po b/library/pathlib.po index 527b2b6e82..acaba84e7f 100644 --- a/library/pathlib.po +++ b/library/pathlib.po @@ -8,7 +8,7 @@ msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2023-05-11 00:16+0000\n" -"PO-Revision-Date: 2023-07-08 17:01+0800\n" +"PO-Revision-Date: 2023-07-11 01:08+0800\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" "tw)\n" @@ -190,7 +190,7 @@ msgstr "" #: ../../library/pathlib.rst:188 msgid "General properties" -msgstr "通用性質" +msgstr "通用特性" #: ../../library/pathlib.rst:190 msgid "" @@ -198,8 +198,8 @@ msgid "" "comparable and orderable. These properties respect the flavour's case-" "folding semantics::" msgstr "" -"路徑物件是不可被修改 (immutable) 且 :term: `hashable`(可以被hash)的。相同類" -"型的路徑物件可以被比較和排序。這些特性遵守該類型的大小寫規則:" +"路徑物件是不可變 (immutable) 且 :term:`hashable` (可雜湊的)的。相同類型的路" +"徑物件可以被比較和排序。這些特性遵守該類型的大小寫規則:" #: ../../library/pathlib.rst:203 msgid "Paths of a different flavour compare unequal and cannot be ordered::" From f92375f576cbec33cceb5f960994b1e518dd467e Mon Sep 17 00:00:00 2001 From: sweslo17 Date: Tue, 11 Jul 2023 23:34:48 +0800 Subject: [PATCH 4/5] fix translation --- library/pathlib.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/library/pathlib.po b/library/pathlib.po index b1d664623e..100c5759f1 100644 --- a/library/pathlib.po +++ b/library/pathlib.po @@ -257,9 +257,9 @@ msgid "" "the drive is not reset when the argument is a rooted relative path (e.g., " "``r'\\foo'``)::" msgstr "" -"斜線運算符(slash operator)用於創建子路徑,就像是 :func:`os.path.join` 函數" -"一樣。如果參數是絕對路徑,則忽略前一個路徑。在Windows系統上,當參數是以根目錄" -"為基礎的相對路徑(例如,``r’\\foo’``),磁碟路徑不會被重置:" +"斜線運算子(slash operator)用於建立子路徑,就像是 :func:`os.path.join` 函式" +"一樣。如果引數是絕對路徑,則忽略前一個路徑。在 Windows 系統上,當引數是以根目" +"錄為基礎的相對路徑(例如,``r’\\foo’``),磁碟路徑不會被重置:" #: ../../library/pathlib.rst:234 msgid "" From b186f675a6c7efeb4953ce7b578a55f520602390 Mon Sep 17 00:00:00 2001 From: sweslo17 Date: Tue, 11 Jul 2023 23:40:43 +0800 Subject: [PATCH 5/5] fix duplicated wording --- library/pathlib.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/pathlib.po b/library/pathlib.po index 100c5759f1..bcef46e916 100644 --- a/library/pathlib.po +++ b/library/pathlib.po @@ -239,7 +239,7 @@ msgid "" "comparable and orderable. These properties respect the flavour's case-" "folding semantics::" msgstr "" -"路徑物件是不可變 (immutable) 且 :term:`hashable` (可雜湊的)的。相同類型的路" +"路徑物件是不可變 (immutable) 且 :term:`hashable` (可雜湊)的。相同類型的路" "徑物件可以被比較和排序。這些特性遵守該類型的大小寫規則:" #: ../../library/pathlib.rst:203