-
-
Notifications
You must be signed in to change notification settings - Fork 214
Translate library/xml.po
#604
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@mindihx 能否請你幫忙 review 這個 PR? |
ok~ |
library/xml.po
Outdated
|
||
#: ../../library/xml.rst:20 | ||
msgid "" | ||
"The XML modules are not secure against erroneous or maliciously constructed " | ||
"data. If you need to parse untrusted or unauthenticated data see the :ref:" | ||
"`xml-vulnerabilities` and :ref:`defusedxml-package` sections." | ||
msgstr "" | ||
"XML 模組不能防止錯誤或惡意建構的資料。如果你需要剖析不受信任或未經身份驗證的" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
不能防止
感覺沒有表達出不安全的意思,不確定這樣有沒有好一點
XML 模組對於錯誤或惡意建構的資料是不安全的
或者跟下面一樣翻成 無法抵禦
library/xml.po
Outdated
|
||
#: ../../library/xml.rst:20 | ||
msgid "" | ||
"The XML modules are not secure against erroneous or maliciously constructed " | ||
"data. If you need to parse untrusted or unauthenticated data see the :ref:" | ||
"`xml-vulnerabilities` and :ref:`defusedxml-package` sections." | ||
msgstr "" | ||
"XML 模組不能防止錯誤或惡意建構的資料。如果你需要剖析不受信任或未經身份驗證的" | ||
"資料,請參閱 :ref:`xml-vulnerabilities` 和 :ref:`defusedxml-package` 部分。" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
這裡的 section 要不要翻成段落
library/xml.po
Outdated
@@ -127,51 +137,51 @@ msgstr "xmlrpc" | |||
|
|||
#: ../../library/xml.rst:66 | |||
msgid "billion laughs" | |||
msgstr "" | |||
msgstr "billion laughs" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
好奇為什麼只有 billion laughs 沒有翻?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
這次的情況我覺得可以翻然後加上附註原文
(忽然看到解壓縮炸彈要加上附註原文嗎)
不過因為後面又有說明所以這裡先不翻後面再翻好像也可以
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
都先翻譯好了,請再幫忙看看這樣會不會太奇怪 🙏🏽
library/xml.po
Outdated
|
||
#: ../../library/xml.rst:91 | ||
msgid "billion laughs / exponential entity expansion" | ||
msgstr "" | ||
msgstr "billion laughs / 指數實體擴展" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
指數實體擴展要附註原文嗎
Co-authored-by: mindihx <ymhuang.ymh@gmail.com>
@@ -269,3 +300,7 @@ msgid "" | |||
"data. The package also ships with example exploits and extended " | |||
"documentation on more XML exploits such as XPath injection." | |||
msgstr "" | |||
"`defusedxml`_ 是一個純 Python 套件,其中包含所有標準函式庫中 XML 剖析器的修正" | |||
"版本子類別,可防止任何潛在的惡意操作。當伺服器程式會剖析任何不受信任的 XML 資" | |||
"料時建議使用此套件。該套件還附帶了更多有關 XML 漏洞(例如 XPath 注入)的範例" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
這邊範例漏洞
改成 漏洞範例
或者範例
會不會比較通順一點?
@@ -269,3 +300,7 @@ msgid "" | |||
"data. The package also ships with example exploits and extended " | |||
"documentation on more XML exploits such as XPath injection." | |||
msgstr "" | |||
"`defusedxml`_ 是一個純 Python 套件,其中包含所有標準函式庫中 XML 剖析器的修正" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
好奇問一下,這邊的 defusedxml 和上面的 ZIP bomb 都是用 ``_ 包起來,
那顯示的時候它怎麼知道哪個是要查 wiki 哪個是要連到 pypi?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* translate `library/xml.po` * Apply suggestions from code review Co-authored-by: mindihx <ymhuang.ymh@gmail.com> * fix(library/xml): update based on reviewer's comment * fix(library/xml): modify based on review comment --------- Co-authored-by: mindihx <ymhuang.ymh@gmail.com>
resolve #603
Preview