From f293e5fb89c5db275fdad3a5063345a285af0906 Mon Sep 17 00:00:00 2001 From: mindihx Date: Sat, 5 Aug 2023 15:55:43 +0800 Subject: [PATCH 1/2] Add translation for library/json --- library/json.po | 2 ++ 1 file changed, 2 insertions(+) diff --git a/library/json.po b/library/json.po index bca98e8f85..f7cf906b6d 100644 --- a/library/json.po +++ b/library/json.po @@ -43,6 +43,8 @@ msgid "" "string may cause the decoder to consume considerable CPU and memory " "resources. Limiting the size of data to be parsed is recommended." msgstr "" +"當從無法信任的來源剖析 JSON 資料的時候要小心。一段惡意的 JSON 字串可能會導致" +"解碼器耗費大量 CPU 與記憶體資源。建議限制剖析資料的大小。" #: ../../library/json.rst:26 msgid "" From fb38054c0735ac687592d646f64e47d44ed085ec Mon Sep 17 00:00:00 2001 From: minghx Date: Sun, 6 Aug 2023 07:23:53 +0000 Subject: [PATCH 2/2] Refine sentence in library/json --- library/json.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/json.po b/library/json.po index f7cf906b6d..6fa5186fc5 100644 --- a/library/json.po +++ b/library/json.po @@ -43,7 +43,7 @@ msgid "" "string may cause the decoder to consume considerable CPU and memory " "resources. Limiting the size of data to be parsed is recommended." msgstr "" -"當從無法信任的來源剖析 JSON 資料的時候要小心。一段惡意的 JSON 字串可能會導致" +"當剖析無法信任來源的 JSON 資料時要小心。一段惡意的 JSON 字串可能會導致" "解碼器耗費大量 CPU 與記憶體資源。建議限制剖析資料的大小。" #: ../../library/json.rst:26