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

Add translations tolibrary/json rst:26 and rst:29#537

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

Merged
Merged
Changes fromall commits
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
8 changes: 7 additions & 1 deletionlibrary/json.po
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -9,7 +9,7 @@ msgstr ""
"Project-Id-Version: Python 3.12\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-07-29 10:36+0000\n"
"PO-Revision-Date:2018-05-23 16:04+0000\n"
"PO-Revision-Date:2023-08-05 16:26+0800\n"
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
"tw)\n"
Expand All@@ -18,6 +18,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Poedit 3.3.2\n"

#: ../../library/json.rst:2
msgid ":mod:`json` --- JSON encoder and decoder"
Expand DownExpand Up@@ -49,10 +50,15 @@ msgid ""
":mod:`json` exposes an API familiar to users of the standard library :mod:"
"`marshal` and :mod:`pickle` modules."
msgstr ""
":mod:`json` 為標準函式庫 :mod:`marshal` 與 :mod:`pickle` 模組的使用者提供熟悉"
"的 API。"

#: ../../library/json.rst:29
msgid "Encoding basic Python object hierarchies::"
msgstr ""
"對基本 Python 物件階層進行編碼:\n"
"\n"
"::"
Comment on lines +59 to +61
Copy link
Collaborator

@rockleonarockleonaAug 5, 2023
edited
Loading

Choose a reason for hiding this comment

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

感覺是不是多餘的空白
對照原文的話是不是這樣就好了

Suggested change
"對基本 Python 物件階層進行編碼:\n"
"\n"
"::"
"對基本 Python 物件階層進行編碼:"

Copy link
Collaborator

Choose a reason for hiding this comment

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

剛剛誤會:: 的意思了 XD
再麻煩看一下

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

看 README 才發現有這個神祕語法 還要多一個換行XD

Copy link
Collaborator

Choose a reason for hiding this comment

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

翻譯中抽換成以下這樣是正確的歐,請參考rst literal block 用法

"...:\n""\n""::"

Copy link
Collaborator

@mattwang44mattwang44Aug 5, 2023
edited
Loading

Choose a reason for hiding this comment

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

其實使用以下這樣的單行形式比較省事,只是前人在 readme 內寫完整形式,而大家也就 follow 到現在

...: ::

kevin1kevin1k reacted with thumbs up emoji

#: ../../library/json.rst:48
msgid "Compact encoding::"
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp