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

Translatelibrary/html.po#623

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 2 commits intopython:3.12fromascodeasice:html
Aug 29, 2023
Merged

Translatelibrary/html.po#623

mattwang44 merged 2 commits intopython:3.12fromascodeasice:html
Aug 29, 2023

Conversation

ascodeasice
Copy link
Contributor

Related to#486

第一次發PR,有錯請包容

mattwang44 reacted with thumbs up emoji
Copy link
Collaborator

@mattwang44mattwang44 left a comment

Choose a reason for hiding this comment

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

Nice job! 再請你修正幾個小地方

@@ -20,15 +20,15 @@ msgstr ""

#: ../../library/html.rst:2
msgid ":mod:`html` --- HyperText Markup Language support"
msgstr ""
msgstr ":mod:`html` --- HTML 支援"
Copy link
Collaborator

Choose a reason for hiding this comment

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

這邊既然原文不是用縮寫,那也請翻譯他的全名(但可以附註 HTML 縮寫)


#: ../../library/html.rst:36
msgid "Submodules in the ``html`` package are:"
msgstr ""
msgstr "``html`` 中的子套件為:"
Copy link
Collaborator

Choose a reason for hiding this comment

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

  • module -> 模組
  • package -> 套件
Suggested change
msgstr "``html``中的子套件為:"
msgstr "``html``套件中的子模組為:"

Comment on lines 41 to 44
"將字串 s 中的 ``&``, ``<`` 和 ``>`` 字元轉換為在 HTML 中安全的序列(sequence)"
"。如果你需要在HTML中顯示可能包含這些字元的文字,使用這個函式。如果選擇性的旗標 "
"*quote* 為 true,則 (``\"``) 與(``'``) 字元也會被轉換;這讓函式能包含在 HTML "
"中,被引號分隔的屬性值,如 ``<a href=\"...\">`` 。"
Copy link
Collaborator

Choose a reason for hiding this comment

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

  • s ->*s*
  • 中文部分要用全形標點符號
  • 括號內無中文的話通常就用半形括號
  • 中文與半形標點符號和英文間要有空格
  • 最後一句話沒有提到「函式」,要請你修正翻譯
Suggested change
"將字串s 中的 ``&``,``<`` 和 ``>`` 字元轉換為在 HTML 中安全的序列(sequence)"
"如果你需要在HTML中顯示可能包含這些字元的文字,使用這個函式。如果選擇性的旗標"
"*quote* 為 true,則``\"``) 與(``'`` 字元也會被轉換;這讓函式能包含在 HTML "
"中,被引號分隔的屬性值,如 ``<a href=\"...\">`` 。"
"將字串*s* 中的 ``&````<`` 和 ``>`` 字元轉換為在 HTML 中安全的序列(sequence)"
"如果你需要在 HTML 中顯示可能包含這些字元的文字,可以使用這個函式。如果選擇性的旗標"
"*quote* 為 true,則(``\"``) 與 (``'``) 字元也會被轉換;這讓函式能包含在 HTML "
"中,被引號分隔的屬性值,如 ``<a href=\"...\">`` 。"

Comment on lines 54 to 57
"將字串 *s* 中所有附名 (named) 且為數值的 (numeric) 字元參照(如: ``&gt;``,"
" ``&#62;``, ``&#x3e;`` )轉換為對應的 Unicode 字元。此函式針對有效及無效的字元參"
"照,皆使用 HTML 5 標準所定義的規則,以及 :data:`HTML 5 附名字元參照清單"
" <html.entities.html5>` 。"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
"將字串 *s* 中所有附名 (named) 且為數值的 (numeric) 字元參照(如: ``&gt;``,"
" ``&#62;``,``&#x3e;`` )轉換為對應的 Unicode 字元。此函式針對有效及無效的字元參"
"照,皆使用 HTML 5 標準所定義的規則,以及 :data:`HTML 5 附名字元參照清單"
" <html.entities.html5>` 。"
"將字串 *s* 中所有附名 (named) 且為數值的 (numeric) 字元參照(如: ``&gt;``"
" ``&#62;````&#x3e;`` )轉換為對應的 Unicode 字元。此函式針對有效及無效的字元參"
"照,皆使用 HTML 5 標準所定義的規則,以及 :data:`HTML 5 附名字元參照清單"
" <html.entities.html5>` 。"

@mattwang44mattwang44 linked an issueAug 27, 2023 that may beclosed by this pull request
@ascodeasice
Copy link
ContributorAuthor

git那邊操作有點錯,所以force push了自己的branch,如果可能會有問題我可以重開一個PR
有在第二個commit修改提到的地方了

Copy link
Collaborator

@mattwang44mattwang44 left a comment
edited
Loading

Choose a reason for hiding this comment

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

Nice work!
commit 看起來沒問題!

ascodeasice reacted with thumbs up emoji
@mattwang44mattwang44 merged commite119d02 intopython:3.12Aug 29, 2023
beccalzh pushed a commit to beccalzh/python-docs-zh-tw that referenced this pull requestSep 4, 2024
* Translate* Fix translation in library/html.po---------Co-authored-by: Leo Wang <ab0988956087@gamil.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.

Translatelibrary/html
2 participants
@ascodeasice@mattwang44

[8]ページ先頭

©2009-2025 Movatter.jp