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

Translate rst:595 to rst:702#713

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 3 commits intopython:event-1125fromhector-chin:string-translate
Nov 29, 2023

Conversation

hector-chin
Copy link
Contributor

No description provided.

@ken71301ken71301 changed the base branch from3.12 toevent-1125November 25, 2023 07:47

#: ../../library/string.rst:597
msgid ""
"This section contains examples of the :meth:`str.format` syntax and "
"comparison with the old ``%``-formatting."
msgstr ""
msgstr "本節包含 :meth:`str.format` 語法以及與舊式 ``%`` 格式化的比較。"
Copy link
Collaborator

Choose a reason for hiding this comment

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

這裏的formatting會不會翻成 格式 比較好?

Copy link
Collaborator

Choose a reason for hiding this comment

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

下面的formatting亦同

Copy link
Collaborator

@ken71301ken71301 left a comment

Choose a reason for hiding this comment

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

格式與譯文需修正


#: ../../library/string.rst:607
msgid "Accessing arguments by position::"
msgstr ""
msgstr "按位置取得引數"
Copy link
Collaborator

Choose a reason for hiding this comment

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

雙冒號有特殊規則,請參考
https://github.com/python/python-docs-zh-tw#rst

Copy link
Collaborator

Choose a reason for hiding this comment

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

IDE裡面直接改會長這樣
something...:\n"
"\n"
"::"

Copy link
Collaborator

Choose a reason for hiding this comment

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

補充一下,有另一個比較簡潔的寫法
#568


#: ../../library/string.rst:665
msgid "Replacing ``%+f``, ``%-f``, and ``% f`` and specifying a sign::"
msgstr ""
msgstr "替換 ``%+f`` , ``%-f`` 和 ``% f`` 以及指定正負號: ::"
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
msgstr "替換 ``%+f````%-f`` 和 ``% f`` 以及指定正負號: ::"
msgstr "替換 ``%+f````%-f`` 和 ``% f`` 以及指定正負號: ::"


#: ../../library/string.rst:643
msgid "Accessing arguments' items::"
msgstr ""
msgstr "取得引數的值:\n"
Copy link
Collaborator

Choose a reason for hiding this comment

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

我覺得 items 翻成值還是怪怪的,這邊可能我們在多少一個人討論吧

Copy link
Collaborator

Choose a reason for hiding this comment

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

暫定翻譯為 內容

Copy link
Collaborator

@ken71301ken71301 left a comment

Choose a reason for hiding this comment

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

LGTM!

@mattwang44mattwang44 merged commit251b6d4 intopython:event-1125Nov 29, 2023
mattwang44 pushed a commit that referenced this pull requestNov 29, 2023
mattwang44 pushed a commit that referenced this pull requestDec 6, 2023
mattwang44 pushed a commit that referenced this pull requestDec 18, 2023
mattwang44 added a commit that referenced this pull requestDec 27, 2023
* Translate rst:595 to rst:702 (#713)* Translate one sentence in library/string.po (#714)* translate string.rst:889-898;910* fix inappropriate translations* Revise translations of library/string.po (#728)* Apply suggestions from code review* fix translation and symbol---------Co-authored-by: hector-chin <66636221+hector-chin@users.noreply.github.com>Co-authored-by: Wei-Hsiang (Matt) Wang <mattwang44@gmail.com>Co-authored-by: cschan <45995789+cschan1828@users.noreply.github.com>
mattwang44 pushed a commit that referenced this pull requestJan 26, 2024
mattwang44 added a commit that referenced this pull requestJan 26, 2024
* Translate rst:595 to rst:702 (#713)* Translate one sentence in library/string.po (#714)* translate string.rst:889-898;910* fix inappropriate translations* Revise translations of library/string.po (#728)* Apply suggestions from code review* fix translation and symbol---------Co-authored-by: hector-chin <66636221+hector-chin@users.noreply.github.com>Co-authored-by: Wei-Hsiang (Matt) Wang <mattwang44@gmail.com>Co-authored-by: cschan <45995789+cschan1828@users.noreply.github.com>
mattwang44 pushed a commit that referenced this pull requestJan 27, 2024
mattwang44 added a commit that referenced this pull requestJan 27, 2024
* Translate rst:595 to rst:702 (#713)* Translate one sentence in library/string.po (#714)* translate string.rst:889-898;910* fix inappropriate translations* Revise translations of library/string.po (#728)* Apply suggestions from code review* fix translation and symbol---------Co-authored-by: hector-chin <66636221+hector-chin@users.noreply.github.com>Co-authored-by: Wei-Hsiang (Matt) Wang <mattwang44@gmail.com>Co-authored-by: cschan <45995789+cschan1828@users.noreply.github.com>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@mattwang44mattwang44mattwang44 left review comments

@ken71301ken71301ken71301 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.

3 participants
@hector-chin@mattwang44@ken71301

[8]ページ先頭

©2009-2025 Movatter.jp