Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed

Conversation

husohome
Copy link
Contributor

No description provided.

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``)"
Copy link
Collaborator

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``)"

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

感謝修正 有稍微再調一下斷行

husohomeand others added4 commitsAugust 5, 2023 16:42
thanksCo-authored-by: Wei-Hsiang (Matt) Wang <mattwang44@gmail.com>
thanksCo-authored-by: Wei-Hsiang (Matt) Wang <mattwang44@gmail.com>
@mattwang44
Copy link
Collaborator

發現有重複的 PR#525
同一翻譯任務請在同一個 branch/PR 上修正,請不要重複開歐;要請你關掉#525#541

@husohome
Copy link
ContributorAuthor

感激 依照建議關掉PR

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@mattwang44mattwang44mattwang44 left review comments

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@husohome@mattwang44

[8]ページ先頭

©2009-2025 Movatter.jp