Skip to content

Add translation for library/json #555

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

Merged
merged 2 commits into from
Aug 7, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions library/json.po
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ msgid ""
"wikipedia.org/wiki/JavaScript>`_ object literal syntax (although it is not a "
"strict subset of JavaScript [#rfc-errata]_ )."
msgstr ""
"`JSON (JavaScript Object Notation) <https://json.org>`_ 是一個輕量化的資料交"
"換格式,在 :rfc:`7159`\ (其廢棄了 :rfc:`4627`\ )及 `ECMA-404 <https://"
"www.ecma-international.org/publications-and-standards/standards/ecma-404/>`_ "
"裡面有詳細說明,它啟發自 `JavaScript <https://en.wikipedia.org/wiki/"
"JavaScript>`_ 的物件字面語法 (object literal syntax)(雖然它並不是 "
"JavaScript 的嚴格子集 [#rfc-errata]_\ )。"
Copy link
Collaborator

Choose a reason for hiding this comment

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

翻譯與語法我覺得都很精準!

但 project 中關於反斜線做 space escaping 的用法有個不成文小規定:escaping 的確是單個反斜線就能生效 (ref),但是單個反斜線在 poedit 等常見編輯器中又必須要做 escaping,所以 project 內都是使用兩個反斜線。

Suggested change
"換格式,在 :rfc:`7159`\ (其廢棄了 :rfc:`4627`\ )及 `ECMA-404 <https://"
"www.ecma-international.org/publications-and-standards/standards/ecma-404/>`_ "
"裡面有詳細說明,它啟發自 `JavaScript <https://en.wikipedia.org/wiki/"
"JavaScript>`_ 的物件字面語法 (object literal syntax)(雖然它並不是 "
"JavaScript 的嚴格子集 [#rfc-errata]_\ )。"
"換格式,在 :rfc:`7159`\\ (其廢棄了 :rfc:`4627`\\ )及 `ECMA-404 <https://"
"www.ecma-international.org/publications-and-standards/standards/ecma-404/>`_ "
"裡面有詳細說明,它啟發自 `JavaScript <https://en.wikipedia.org/wiki/"
"JavaScript>`_ 的物件字面語法 (object literal syntax)(雖然它並不是 "
"JavaScript 的嚴格子集 [#rfc-errata]_\\ )。"

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Copy link
Collaborator

Choose a reason for hiding this comment

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

建議 README 裡面也可以調整一下說明

OK!


#: ../../library/json.rst:22
msgid ""
Expand Down