8000 Small syntax fix based on linter's suggestion. by cschan1828 · Pull Request #742 · python/python-docs-zh-tw · GitHub
[go: up one dir, main page]

Skip to content

Small syntax fix based on linter's suggestion. #742

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 2 commits into from
Dec 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ the PSF for inclusion in the documentation.
.. _GitHub Flow: https://guides.github.com/introduction/flow/

首先,`新增一個 issue <https://github.com/python/python-docs-zh-tw/issues>`_\
,如:「翻譯 tutorial/introduction.po」,讓大家知道你正在翻譯這個檔案。可以使用 `make todo` 列出尚待翻譯的檔案。
,如:「翻譯 tutorial/introduction.po」,讓大家知道你正在翻譯這個檔案。可以使用 ``make todo`` 列出尚待翻譯的檔案。

接著在 terminal 裡按照以下步驟:

Expand Down
4 changes: 2 additions & 2 deletions library/csv.po
Original file line number Diff line number Diff line change
Expand Up @@ -571,8 +571,8 @@ msgid ""
"as end-of-line, and ignores *lineterminator*. This behavior may change in "
"the future."
msgstr ""
":class:`reader`是 hard-coded 辨別 ``'\\r'`` or ``'\\n'`` 作為行尾 (end-of-"
"line),並忽略\\ *分行符號*\\ 。未來可能會改變這個行為。"
":class:`reader` 是 hard-coded 辨別 ``'\\r'`` or ``'\\n'`` 作為行尾 (end-of-"
"line),並忽略\\ *分行符號*。未來可能會改變這個行為。"

#: ../../library/csv.rst:425
msgid ""
Expand Down
2 changes: 1 addition & 1 deletion library/statistics.po
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@ msgid ""
"arithmetic mean is automatically calculated."
msgstr ""
"若有傳入選擇性的第二個引數 *mu*,該引數通常是 *data* 的平均值。它也可以用於計"
"算非以平均值為中心的第二動差。如果沒有傳入此引數或者引數為 `None` (預設"
"算非以平均值為中心的第二動差。如果沒有傳入此引數或者引數為 ``None`` (預設"
"值),則自動計算資料的算數平均數。"

#: ../../library/statistics.rst:456
Expand Down
2 changes: 1 addition & 1 deletion library/wsgiref.po
Original file line number Diff line number Diff line change
Expand Up @@ -886,7 +886,7 @@ msgid ""
"classes and instances."
msgstr ""
"預設環境變數包含在每一個請求的 WSGI 環境中。預設情況下,這是在載入 :mod:"
"`wsgiref.handlers` 時的 `os.environ` 副本,但子類別可以在類別或實例層級建立自"
"`wsgiref.handlers` 時的 ``os.environ`` 副本,但子類別可以在類別或實例層級建立自"
"己的副本。注意字典應該被視為唯讀,因為預設值在多個類別與實例中共享。"

#: ../../library/wsgiref.rst:627
Expand Down
2 changes: 1 addition & 1 deletion tutorial/stdlib2.po
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ msgid ""
msgstr ""
"格式化方式是使用佔位符號名稱 (placeholder name),它是由 ``$`` 加上合法的 "
"Python 識別符(字母、數字和下底線)構成。使用大括號包覆佔位符號以允許在後面接"
"上更多的字母和數字而無需插入空格。使用 ``$$`` 將會跳脫為單一字元 `$`:\n"
"上更多的字母和數字而無需插入空格。使用 ``$$`` 將會跳脫為單一字元 ``$``:\n"
"\n"
"::"

Expand Down
2 changes: 1 addition & 1 deletion whatsnew/3.11.po
Original file line number Diff line number Diff line change
Expand Up @@ -1157,7 +1157,7 @@ msgid ""
"Apply syntax highlighting to ``.pyi`` files. (Contributed by Alex Waygood "
"and Terry Jan Reedy in :issue:`45447`.)"
msgstr ""
"在 `.pyi` 檔案施用語法突顯 (syntax highlight)。(由 Alex Waygood 與 Terry "
"在 ``.pyi`` 檔案施用語法突顯 (syntax highlight)。(由 Alex Waygood 與 Terry "
"Jan Reedy 於 :issue:`45447` 中所貢獻。)"

#: ../../whatsnew/3.11.rst:801
Expand Down
0