Skip to content

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 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 3 commits into from
Nov 29, 2023

Conversation

hector-chin
Copy link
Contributor

No description provided.

@ken71301 ken71301 changed the base branch from 3.12 to event-1125 November 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

@ken71301 ken71301 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

@ken71301 ken71301 left a comment

Choose a reason for hiding this comment

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

LGTM!

@mattwang44 mattwang44 merged commit 251b6d4 into python:event-1125 Nov 29, 2023
mattwang44 pushed a commit that referenced this pull request Nov 29, 2023
mattwang44 pushed a commit that referenced this pull request Dec 6, 2023
mattwang44 pushed a commit that referenced this pull request Dec 18, 2023
mattwang44 added a commit that referenced this pull request Dec 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 <[email protected]>
Co-authored-by: Wei-Hsiang (Matt) Wang <[email protected]>
Co-authored-by: cschan <[email protected]>
mattwang44 pushed a commit that referenced this pull request Jan 26, 2024
mattwang44 added a commit that referenced this pull request Jan 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 <[email protected]>
Co-authored-by: Wei-Hsiang (Matt) Wang <[email protected]>
Co-authored-by: cschan <[email protected]>
mattwang44 pushed a commit that referenced this pull request Jan 27, 2024
mattwang44 added a commit that referenced this pull request Jan 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 <[email protected]>
Co-authored-by: Wei-Hsiang (Matt) Wang <[email protected]>
Co-authored-by: cschan <[email protected]>
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.

3 participants