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

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

Already on GitHub?Sign in to your account

Merged
mattwang44 merged 4 commits intopython:aug-5-meetupfromken71301:translate-json
Aug 8, 2023

Conversation

ken71301
Copy link
Collaborator

for procedure test purpose,
translate /library/json.rst:63

for procedure test purpose,translate /library/json.rst:63
@rockleona
Copy link
Collaborator

Hi@mattwang44, I think it LTGM

ken71301 reacted with laugh emoji

@@ -64,7 +64,7 @@ msgstr "美化輸出:"

#: ../../library/json.rst:63
msgid "Decoding JSON::"
msgstr ""
msgstr "JSON 解碼:"
Copy link
Collaborator

Choose a reason for hiding this comment

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

readme 中有提到:: 是 rst 特殊語法,要像以下這樣修正

Suggested change
msgstr "JSON 解碼:"
msgstr ""
"JSON 解碼:\n"
"\n"
"::"

ken71301 reacted with thumbs up emoji
Copy link
CollaboratorAuthor

Choose a reason for hiding this comment

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

根據readme修正語法

Copy link
CollaboratorAuthor

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版本看起來是正常的,如下
image
想請問此rst語法具體影響的部分是否能被make後看出,感謝:D

Copy link
Collaborator

@mattwang44mattwang44Aug 8, 2023
edited
Loading

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。

@mattwang44mattwang44 changed the base branch from3.12 toaug-5-meetupAugust 8, 2023 15:47
@mattwang44mattwang44 merged commit9428ce5 intopython:aug-5-meetupAug 8, 2023
@ken71301ken71301 deleted the translate-json branchAugust 9, 2023 00:16
mattwang44 added a commit that referenced this pull requestAug 14, 2023
* 📝 docs(3.12): translate library/json.rst:63for procedure test purpose,translate /library/json.rst:63* 📝 docs(3.12): translate library/json.rst:63通順語句與空格修正* 📝 docs(3.12): translate library/json.rst:63fix rst issue---------Co-authored-by: 鄭宇辰 <ken71301@gmail.com>Co-authored-by: Wei-Hsiang (Matt) Wang <mattwang44@gmail.com>
mattwang44 added a commit that referenced this pull requestAug 14, 2023
* /library/datetime.rst:2485 (#549)* Translate datetime.rst:754 (#548)* datetime.rst:754* Apply suggestions from code review* translate datetime.rst:196 (#545)* git  commit rst:157 translate (#535)* feat(translate): json.po line 323 to tranditional chinese (#532)* Datetime/upstream/3.12 (#550)* translate-datetime.rst:2369* datetime-2369-fixed-by-reviewer---------Co-authored-by: Dai Stella <daistella@DaiMacAirM2.local>Co-authored-by: Wei-Hsiang (Matt) Wang <mattwang44@gmail.com>* translate `library/datetime.rst:2619` (#524)* docs: translate footnote 1* fix: translate msg* fix: translate of Relativity* Add translations to `library/json` rst:26 and rst:29 (#537)* Add translations to `library/json` rst:26 and rst:29* fix literal code block marker* Update library/json.poCo-authored-by: RockLeon <34214497+rockleona@users.noreply.github.com>---------Co-authored-by: RockLeon <34214497+rockleona@users.noreply.github.com>* translate json title (#523)* Add translation for library/json (#555)* Add translation for library/json* Fix using single backslash to escape space* Translate library/datetime.rst:124 (#543)* Translate library/datetime.rst:124* Apply suggestions from code reviewCo-authored-by: RockLeon <34214497+rockleona@users.noreply.github.com>* Update datetime.po* Update datetime.po---------Co-authored-by: RockLeon <34214497+rockleona@users.noreply.github.com>* Add translation for library/json (#527)* Add translation for library/json* Refine sentence in library/json* 📝 docs(3.12): translate library/json.rst:63 (#542)* 📝 docs(3.12): translate library/json.rst:63for procedure test purpose,translate /library/json.rst:63* 📝 docs(3.12): translate library/json.rst:63通順語句與空格修正* 📝 docs(3.12): translate library/json.rst:63fix rst issue---------Co-authored-by: 鄭宇辰 <ken71301@gmail.com>Co-authored-by: Wei-Hsiang (Matt) Wang <mattwang44@gmail.com>* Translate library/datetime.rst:2501 (#526)* Translate library/datetime.rst:2501* Translate library/datetime.rst:2501, remove spaces* Update library/datetime.rst:2501, punctuation mark* Update library/datetime.rst:2501, 'format code'* Update library/datetime.rst:2505---------Co-authored-by: Wei-Hsiang (Matt) Wang <mattwang44@gmail.com>* Translated the weekday sentence (#534)* Translated the weekday sentence* Modified the error* Update library/datetime.po---------Co-authored-by: 李逸帆 <ivan@liyifande-MacBook-Pro.local>Co-authored-by: Wei-Hsiang (Matt) Wang <mattwang44@gmail.com>* Translate datetime rst: 709 (#539)* Translate datetime rst: 709* Update library/datetime.po---------Co-authored-by: Wei-Hsiang (Matt) Wang <mattwang44@gmail.com>* translate datetime.rst:872 (#540)* translate datetime.rst:872* Update library/datetime.po---------Co-authored-by: Wei-Hsiang (Matt) Wang <mattwang44@gmail.com>* translated 'check reference' is Falses841u0 (#525)* translated 'check reference' is Falses841u0* 依建議改為將'視為'改為'設為'* Update library/json.po---------Co-authored-by: Wei-Hsiang (Matt) Wang <mattwang44@gmail.com>* New branch2 (#544)* git  commit rst:157 translate* 改rst:179* Update library/datetime.po---------Co-authored-by: Wei-Hsiang (Matt) Wang <mattwang44@gmail.com>---------Co-authored-by: isabellechiu <39623214+isabellechiu@users.noreply.github.com>Co-authored-by: Song-Lin Tsai <55531306+Bradley-Tsai@users.noreply.github.com>Co-authored-by: ccchian <72912233+ccchian@users.noreply.github.com>Co-authored-by: neo <71454430+neo-maker-sudo@users.noreply.github.com>Co-authored-by: ai.Stella <63219262+estelladai@users.noreply.github.com>Co-authored-by: Dai Stella <daistella@DaiMacAirM2.local>Co-authored-by: Simon Chu <chicochu9333@gmail.com>Co-authored-by: Yu-Sheng Li <kevin1kevin1k@gmail.com>Co-authored-by: RockLeon <34214497+rockleona@users.noreply.github.com>Co-authored-by: mindihx <ymhuang.ymh@gmail.com>Co-authored-by: 933yee <92087014+933yee@users.noreply.github.com>Co-authored-by: Payon <ken71301@hotmail.com>Co-authored-by: 鄭宇辰 <ken71301@gmail.com>Co-authored-by: Griiid <gridwing@gmail.com>Co-authored-by: Ivan Lee <leeivan1007@gmail.com>Co-authored-by: 李逸帆 <ivan@liyifande-MacBook-Pro.local>Co-authored-by: Yang_yang <31895597+Yang92047111@users.noreply.github.com>Co-authored-by: PinErh Chen <chanpiner518@gmail.com>Co-authored-by: Nick (Shun-Fu) Hu <husohome98@gmail.com>
beccalzh pushed a commit to beccalzh/python-docs-zh-tw that referenced this pull requestSep 4, 2024
* /library/datetime.rst:2485 (python#549)* Translate datetime.rst:754 (python#548)* datetime.rst:754* Apply suggestions from code review* translate datetime.rst:196 (python#545)* git  commit rst:157 translate (python#535)* feat(translate): json.po line 323 to tranditional chinese (python#532)* Datetime/upstream/3.12 (python#550)* translate-datetime.rst:2369* datetime-2369-fixed-by-reviewer---------Co-authored-by: Dai Stella <daistella@DaiMacAirM2.local>Co-authored-by: Wei-Hsiang (Matt) Wang <mattwang44@gmail.com>* translate `library/datetime.rst:2619` (python#524)* docs: translate footnote 1* fix: translate msg* fix: translate of Relativity* Add translations to `library/json` rst:26 and rst:29 (python#537)* Add translations to `library/json` rst:26 and rst:29* fix literal code block marker* Update library/json.poCo-authored-by: RockLeon <34214497+rockleona@users.noreply.github.com>---------Co-authored-by: RockLeon <34214497+rockleona@users.noreply.github.com>* translate json title (python#523)* Add translation for library/json (python#555)* Add translation for library/json* Fix using single backslash to escape space* Translate library/datetime.rst:124 (python#543)* Translate library/datetime.rst:124* Apply suggestions from code reviewCo-authored-by: RockLeon <34214497+rockleona@users.noreply.github.com>* Update datetime.po* Update datetime.po---------Co-authored-by: RockLeon <34214497+rockleona@users.noreply.github.com>* Add translation for library/json (python#527)* Add translation for library/json* Refine sentence in library/json* 📝 docs(3.12): translate library/json.rst:63 (python#542)* 📝 docs(3.12): translate library/json.rst:63for procedure test purpose,translate /library/json.rst:63* 📝 docs(3.12): translate library/json.rst:63通順語句與空格修正* 📝 docs(3.12): translate library/json.rst:63fix rst issue---------Co-authored-by: 鄭宇辰 <ken71301@gmail.com>Co-authored-by: Wei-Hsiang (Matt) Wang <mattwang44@gmail.com>* Translate library/datetime.rst:2501 (python#526)* Translate library/datetime.rst:2501* Translate library/datetime.rst:2501, remove spaces* Update library/datetime.rst:2501, punctuation mark* Update library/datetime.rst:2501, 'format code'* Update library/datetime.rst:2505---------Co-authored-by: Wei-Hsiang (Matt) Wang <mattwang44@gmail.com>* Translated the weekday sentence (python#534)* Translated the weekday sentence* Modified the error* Update library/datetime.po---------Co-authored-by: 李逸帆 <ivan@liyifande-MacBook-Pro.local>Co-authored-by: Wei-Hsiang (Matt) Wang <mattwang44@gmail.com>* Translate datetime rst: 709 (python#539)* Translate datetime rst: 709* Update library/datetime.po---------Co-authored-by: Wei-Hsiang (Matt) Wang <mattwang44@gmail.com>* translate datetime.rst:872 (python#540)* translate datetime.rst:872* Update library/datetime.po---------Co-authored-by: Wei-Hsiang (Matt) Wang <mattwang44@gmail.com>* translated 'check reference' is Falses841u0 (python#525)* translated 'check reference' is Falses841u0* 依建議改為將'視為'改為'設為'* Update library/json.po---------Co-authored-by: Wei-Hsiang (Matt) Wang <mattwang44@gmail.com>* New branch2 (python#544)* git  commit rst:157 translate* 改rst:179* Update library/datetime.po---------Co-authored-by: Wei-Hsiang (Matt) Wang <mattwang44@gmail.com>---------Co-authored-by: isabellechiu <39623214+isabellechiu@users.noreply.github.com>Co-authored-by: Song-Lin Tsai <55531306+Bradley-Tsai@users.noreply.github.com>Co-authored-by: ccchian <72912233+ccchian@users.noreply.github.com>Co-authored-by: neo <71454430+neo-maker-sudo@users.noreply.github.com>Co-authored-by: ai.Stella <63219262+estelladai@users.noreply.github.com>Co-authored-by: Dai Stella <daistella@DaiMacAirM2.local>Co-authored-by: Simon Chu <chicochu9333@gmail.com>Co-authored-by: Yu-Sheng Li <kevin1kevin1k@gmail.com>Co-authored-by: RockLeon <34214497+rockleona@users.noreply.github.com>Co-authored-by: mindihx <ymhuang.ymh@gmail.com>Co-authored-by: 933yee <92087014+933yee@users.noreply.github.com>Co-authored-by: Payon <ken71301@hotmail.com>Co-authored-by: 鄭宇辰 <ken71301@gmail.com>Co-authored-by: Griiid <gridwing@gmail.com>Co-authored-by: Ivan Lee <leeivan1007@gmail.com>Co-authored-by: 李逸帆 <ivan@liyifande-MacBook-Pro.local>Co-authored-by: Yang_yang <31895597+Yang92047111@users.noreply.github.com>Co-authored-by: PinErh Chen <chanpiner518@gmail.com>Co-authored-by: Nick (Shun-Fu) Hu <husohome98@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@mattwang44mattwang44mattwang44 approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

4 participants
@ken71301@rockleona@mattwang44@PayonAbyss

[8]ページ先頭

©2009-2025 Movatter.jp