-
-
Notifications
You must be signed in to change notification settings - Fork 214
📝 docs(3.12): translate library/json.rst:63 #542
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
Changes from 2 commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
f5e68df
:memo: docs(3.12): translate library/json.rst:63
PayonAbyss e148b50
:memo: docs(3.12): translate library/json.rst:63
PayonAbyss 1166183
:memo: docs(3.12): translate library/json.rst:63
PayonAbyss 515b7c3
Merge branch 'aug-5-meetup' into translate-json
mattwang44 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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:45+0800\n" | ||
"Last-Translator: Adrian Liaw <[email protected]>\n" | ||
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" | ||
"tw)\n" | ||
|
@@ -64,7 +64,7 @@ msgstr "美化輸出:" | |
|
||
#: ../../library/json.rst:63 | ||
msgid "Decoding JSON::" | ||
msgstr "" | ||
msgstr "JSON 解碼:" | ||
|
||
#: ../../library/json.rst:75 | ||
msgid "Specializing JSON object decoding::" | ||
|
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.
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.
readme 中有提到
::
是 rst 特殊語法,要像以下這樣修正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.
根據readme修正語法
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.
另有問題:於指令

VERSION=3.12 make all
後產出的html檔案於前一commit版本看起來是正常的,如下想請問此rst語法具體影響的部分是否能被make後看出,感謝:D
Uh oh!
There was an error while loading. Please reload this page.
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.
看不出來是正常的。
make all
指令底下做的事情是用 sphinx-build 去把 html 頁面 build 出來,但 html mode 的步驟看起來是先將 template 建出來 (ref) 再去把翻譯寫進去,所以會因為 syntax highlight 都是基於原文語法來做而看不出差異。但 po file 就單純是個原文與譯文對映關係的載體,所以還是希望翻譯中要加上\n\n::
,若我們未來要使用其他根據譯文內容來做 highlighting 的工具才能正確 render。