From 92fb4215feb77224faa02e8b796649ec0c871e7c Mon Sep 17 00:00:00 2001 From: rockleona Date: Sun, 6 Aug 2023 01:03:31 +0800 Subject: [PATCH 1/2] Update CSV Translation --- library/csv.po | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/library/csv.po b/library/csv.po index bbd0f10de3..58a1001f17 100644 --- a/library/csv.po +++ b/library/csv.po @@ -20,7 +20,7 @@ msgstr "" #: ../../library/csv.rst:2 msgid ":mod:`csv` --- CSV File Reading and Writing" -msgstr "" +msgstr ":mod:`csv` --- CSV 檔案讀取及寫入" #: ../../library/csv.rst:9 msgid "**Source code:** :source:`Lib/csv.py`" @@ -39,6 +39,13 @@ msgid "" "single module which can efficiently manipulate such data, hiding the details " "of reading and writing the data from the programmer." msgstr "" +"所謂的 CSV (Comma Separated Values) 檔案格式是試算表及資料庫中最常見的" +"引入、匯出檔案格式。在嘗試使用 :rfc:`4180` 以標準化的方式來描述格式之前," +"CSV 格式已經使用了許多年。由於缺少一個完善定義的標準,意味著各個不同的" +"應用程式會在資料產生及銷毀時有微妙的差別。這些不同之處使得從不同資料來源" +"產生 CSV 檔案時會非常擾人。儘管如此,雖然分隔符和引號字符有所不同,整體的" +"格式非常相似,可以寫個單一模組來高效率的操作這樣的資料,讓程式設計師可以隱藏" +"讀取及寫入資料的細節。" #: ../../library/csv.rst:28 msgid "" @@ -56,6 +63,9 @@ msgid "" "write sequences. Programmers can also read and write data in dictionary " "form using the :class:`DictReader` and :class:`DictWriter` classes." msgstr "" +":mod:`csv` 模組的 class (類別) :class:`reader` 及 class :class:`writer` " +"物件可以讀取及寫入序列。程式設計師也可以透過 class :class:`DictReader` 及 " +"class :class:`DictWriter` 使用 dictionary (字典)讀取及寫入資料。" #: ../../library/csv.rst:41 msgid ":pep:`305` - CSV File API" From 67e45d3fbdfc15948442dbcf18892bd97f335bd5 Mon Sep 17 00:00:00 2001 From: rockleona Date: Sun, 6 Aug 2023 14:34:38 +0800 Subject: [PATCH 2/2] Update with Reviewer's comment --- library/csv.po | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/library/csv.po b/library/csv.po index 58a1001f17..f6fc5c0358 100644 --- a/library/csv.po +++ b/library/csv.po @@ -40,10 +40,10 @@ msgid "" "of reading and writing the data from the programmer." msgstr "" "所謂的 CSV (Comma Separated Values) 檔案格式是試算表及資料庫中最常見的" -"引入、匯出檔案格式。在嘗試使用 :rfc:`4180` 以標準化的方式來描述格式之前," +"匯入、匯出檔案格式。在嘗試以 :rfc:`4180` 中的標準化方式來描述格式之前," "CSV 格式已經使用了許多年。由於缺少一個完善定義的標準,意味著各個不同的" "應用程式會在資料產生及銷毀時有微妙的差別。這些不同之處使得從不同資料來源" -"產生 CSV 檔案時會非常擾人。儘管如此,雖然分隔符和引號字符有所不同,整體的" +"處理 CSV 檔案時會非常擾人。儘管如此,雖然分隔符號和引號字元有所不同,整體的" "格式非常相似,可以寫個單一模組來高效率的操作這樣的資料,讓程式設計師可以隱藏" "讀取及寫入資料的細節。" @@ -63,9 +63,9 @@ msgid "" "write sequences. Programmers can also read and write data in dictionary " "form using the :class:`DictReader` and :class:`DictWriter` classes." msgstr "" -":mod:`csv` 模組的 class (類別) :class:`reader` 及 class :class:`writer` " -"物件可以讀取及寫入序列。程式設計師也可以透過 class :class:`DictReader` 及 " -"class :class:`DictWriter` 使用 dictionary (字典)讀取及寫入資料。" +":mod:`csv` 模組的 :class:`reader` 及 :class:`writer` 物件可以讀取" +"及寫入序列。程式設計師也可以透過 :class:`DictReader` 及 :class:`DictWriter`" +" class(類別)使用 dictionary (字典)讀取及寫入資料。" #: ../../library/csv.rst:41 msgid ":pep:`305` - CSV File API"