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

Commit4752a0c

Browse files
committed
fix: resolve code block translation - part 2
1 parent5cd19d5 commit4752a0c

40 files changed

+8880
-57
lines changed

‎c-api/typeobj.po

Lines changed: 604 additions & 2 deletions
Large diffs are not rendered by default.

‎extending/newtypes_tutorial.po

Lines changed: 1345 additions & 3 deletions
Large diffs are not rendered by default.

‎installing/index.po

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ msgid ""
1010
msgstr ""
1111
"Project-Id-Version:Python 3.12\n"
1212
"Report-Msgid-Bugs-To:\n"
13-
"POT-Creation-Date:2023-08-18 00:03+0000\n"
13+
"POT-Creation-Date:2024-09-03 11:11+0800\n"
1414
"PO-Revision-Date:2022-06-27 09:37+0800\n"
1515
"Last-Translator:Adrian Liaw <adrianliaw2000@gmail.com>\n"
1616
"Language-Team:Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -180,6 +180,10 @@ msgstr ""
180180
"以下指令將從 Python 套件索引安裝一個模組的最新版本及其依賴套件 "
181181
"(dependencies): ::"
182182

183+
#:../../installing/index.rst:84
184+
msgid"python -m pip install SomePackage"
185+
msgstr"python -m pip install SomePackage"
186+
183187
#:../../installing/index.rst:88
184188
msgid""
185189
"For POSIX users (including macOS and Linux users), the examples in this "
@@ -208,6 +212,12 @@ msgstr ""
208212
"的比較運算子,或某些可被 shell 所解釋的其他特殊字元時,套件名稱與版本編號應該"
209213
"要放在雙引號內: ::"
210214

215+
#:../../installing/index.rst:100
216+
msgid""
217+
"python -m pip install SomePackage==1.0.4 # specific version\n"
218+
"python -m pip install\"SomePackage>=1.0.4\" # minimum version"
219+
msgstr""
220+
211221
#:../../installing/index.rst:103
212222
msgid""
213223
"Normally, if a suitable module is already installed, attempting to install "
@@ -217,6 +227,10 @@ msgstr ""
217227
"通常,如果一個合適的模組已被安裝,嘗試再次安裝它將不會有任何效果。要升級現有"
218228
"的模組就必須明確地請求: ::"
219229

230+
#:../../installing/index.rst:107
231+
msgid"python -m pip install --upgrade SomePackage"
232+
msgstr"python -m pip install --upgrade SomePackage"
233+
220234
#:../../installing/index.rst:109
221235
msgid""
222236
"More information and resources regarding ``pip`` and its capabilities can be "
@@ -320,6 +334,14 @@ msgstr ""
320334
"在 Linux、macOS 以及其他 POSIX 系統中,使用帶有版本編號的 Python 指令並結合 "
321335
"``-m`` 開關參數 (switch),來運行 ``pip`` 的適當副本: ::"
322336

337+
#:../../installing/index.rst:171
338+
msgid""
339+
"python2 -m pip install SomePackage # default Python 2\n"
340+
"python2.7 -m pip install SomePackage # specifically Python 2.7\n"
341+
"python3 -m pip install SomePackage # default Python 3\n"
342+
"python3.4 -m pip install SomePackage # specifically Python 3.4"
343+
msgstr""
344+
323345
#:../../installing/index.rst:176
324346
msgid"Appropriately versioned ``pip`` commands may also be available."
325347
msgstr"使用帶有合適版本編號的 ``pip`` 指令,也是可行的。"
@@ -332,6 +354,14 @@ msgstr ""
332354
"在 Windows 中,使用 Python 啟動指令 ``py`` 並結合 ``-m`` 開關參數 "
333355
"(switch): ::"
334356

357+
#:../../installing/index.rst:181
358+
msgid""
359+
"py -2 -m pip install SomePackage # default Python 2\n"
360+
"py -2.7 -m pip install SomePackage # specifically Python 2.7\n"
361+
"py -3 -m pip install SomePackage # default Python 3\n"
362+
"py -3.4 -m pip install SomePackage # specifically Python 3.4"
363+
msgstr""
364+
335365
#:../../installing/index.rst:195
336366
msgid"Common installation issues"
337367
msgstr"常見的安裝問題"
@@ -370,6 +400,10 @@ msgid ""
370400
"fix is::"
371401
msgstr"``pip`` 沒有預設被安裝也是有可能的。一個潛在的解法是: ::"
372402

403+
#:../../installing/index.rst:215
404+
msgid"python -m ensurepip --default-pip"
405+
msgstr"python -m ensurepip --default-pip"
406+
373407
#:../../installing/index.rst:217
374408
msgid""
375409
"There are also additional resources for `installing pip. <https://packaging."

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp