Skip to content

Translate faq/design.po - #1246

Open
dyp1109 wants to merge 1 commit into
python:3.14from
dyp1109:faq/design.po
Open

dyp1109 wants to merge 1 commit into
python:3.14from
dyp1109:faq/design.po

Conversation

@dyp1109

@dyp1109 dyp1109 commented Oct 3, 2026

Copy link
Copy Markdown
Contributor

Update the fuzzy and missing entries in faq/design.po, including the match statement references.

@mattwang44 mattwang44 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

中文翻譯都沒問題,只差 code comment 要翻譯

Comment thread faq/design.po
Comment on lines +1272 to +1278
"class label(Exception): pass # declare a label\n"
"\n"
"try:\n"
" ...\n"
" if condition: raise label() # goto label\n"
" ...\n"
"except label: # where to goto\n"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

目前慣例是 code comment 也需要翻譯

Comment thread faq/design.po
#: ../../faq/design.rst:661
msgid "f = open(\"/mydir/file.txt\") # works fine!"
msgstr ""
msgstr "f = open(\"/mydir/file.txt\") # works fine!"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

ditto

Comment thread faq/design.po
Comment on lines +1362 to +1363
" a = 1 # equivalent to obj.a = 1\n"
" total = total + 1 # obj.total = obj.total + 1"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

ditto

Comment thread faq/design.po
"('a', 'b', 'c',)\n"
"d = {\n"
" \"A\": [1, 5],\n"
" \"B\": [6, 7], # last trailing comma is optional but good style\n"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

ditto

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants