-
-
Notifications
You must be signed in to change notification settings - Fork 214
Translating json rst 162 #541
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
Closed
Closed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mattwang44
reviewed
Aug 5, 2023
library/json.po
Outdated
Comment on lines
146
to
150
msgstr "如果 *allow_nan* 設為 False (預設值為 ``True``), 那麼串聯化 (serialize)" | ||
":class:`float` 的特殊值 (``nan``, ""``inf``, ``-inf``) 會觸發 :exc:`ValueError`" | ||
"這麼設定是為了遵守較嚴格的 JSON 規範 (strict JSON specification)。 如果設為 True," | ||
"則串聯化這些極值不會出錯,而是會被自動代換成 JavaScript 上等價的值去(``NaN``," | ||
"``Infinity``, ``-Infinity``)" |
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.
- strict JSON specification 我覺得不是專有名詞不用附上原文
- 標點符號相關修正
Suggested change
msgstr "如果 *allow_nan* 設為 False (預設值為 ``True``), 那麼串聯化 (serialize)" | |
":class:`float` 的特殊值 (``nan``, ""``inf``, ``-inf``) 會觸發 :exc:`ValueError`" | |
"這麼設定是為了遵守較嚴格的 JSON 規範 (strict JSON specification)。 如果設為 True," | |
"則串聯化這些極值不會出錯,而是會被自動代換成 JavaScript 上等價的值去(``NaN``," | |
"``Infinity``, ``-Infinity``)" | |
msgstr "如果 *allow_nan* 設為 False(預設值為 ``True``),那麼串聯化 (serialize)" | |
":class:`float` 的特殊值 (``nan``, ``inf``, ``-inf``) 會觸發 :exc:`ValueError`," | |
"這麼設定是為了遵守較嚴格的 JSON 規範。如果設為 True," | |
"則串聯化這些極值不會出錯,而是會被自動代換成 JavaScript 上等價的值去 (``NaN``," | |
"``Infinity``, ``-Infinity``)" |
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.
感謝修正 有稍微再調一下斷行
thanks Co-authored-by: Wei-Hsiang (Matt) Wang <[email protected]>
thanks Co-authored-by: Wei-Hsiang (Matt) Wang <[email protected]>
…inese translation.
感激 依照建議關掉PR |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.