Skip to content

Commit ccfcaa3

Browse files
[po] auto sync
1 parent c2fdc95 commit ccfcaa3

2 files changed

Lines changed: 49 additions & 6 deletions

File tree

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "93.60%", "updated_at": "2024-10-05T07:57:37Z"}
1+
{"translation": "93.61%", "updated_at": "2024-10-05T08:57:54Z"}

using/mac.po

Lines changed: 48 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ msgstr ""
4848

4949
#: ../../using/mac.rst:34
5050
msgid "Using Python for macOS from ``python.org``"
51-
msgstr ""
51+
msgstr "使用来自 ``python.org`` 的 macOS 版 Python"
5252

5353
#: ../../using/mac.rst:37
5454
msgid "Installation steps"
@@ -224,11 +224,11 @@ msgstr ""
224224

225225
#: ../../using/mac.rst:163
226226
msgid "|usemac_python_x_dot_y_literal| ``myscript.py``"
227-
msgstr ""
227+
msgstr "|usemac_python_x_dot_y_literal| ``myscript.py``"
228228

229229
#: ../../using/mac.rst:165
230230
msgid "To run your script from the Finder, you can either:"
231-
msgstr ""
231+
msgstr "要从 Finder 运行你的脚本,你有两种选择:"
232232

233233
#: ../../using/mac.rst:167
234234
msgid "Drag it to :program:`Python Launcher`."
@@ -269,7 +269,7 @@ msgstr "`ActivePython <https://www.activestate.com/products/python/>`_"
269269

270270
#: ../../using/mac.rst:192
271271
msgid "Installer with multi-platform compatibility, documentation"
272-
msgstr ""
272+
msgstr "具有多平台兼容性的安装器,文档"
273273

274274
#: ../../using/mac.rst:194
275275
msgid "`Anaconda <https://www.anaconda.com/download/>`_"
@@ -581,12 +581,38 @@ msgid ""
581581
"\n"
582582
"sudo installer -pkg ./${RELEASE} -applyChoiceChangesXML ./choicechanges.plist -target /"
583583
msgstr ""
584+
"RELEASE=\"python-3.13.0b2-macos11.pkg\"\n"
585+
"\n"
586+
"# 下载安装器 pkg\n"
587+
"curl -O https://www.python.org/ftp/python/3.13.0/${RELEASE}\n"
588+
"\n"
589+
"# 创建安装器 choicechanges 文件来定制安装:\n"
590+
"# 启用 PythonTFramework-3.13 包\n"
591+
"# 并接受其他默认选项(安装所有其他包)\n"
592+
"cat > ./choicechanges.plist <<EOF\n"
593+
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
594+
"<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n"
595+
"<plist version=\"1.0\">\n"
596+
"<array>\n"
597+
" <dict>\n"
598+
" <key>attributeSetting</key>\n"
599+
" <integer>1</integer>\n"
600+
" <key>choiceAttribute</key>\n"
601+
" <string>selected</string>\n"
602+
" <key>choiceIdentifier</key>\n"
603+
" <string>org.python.Python.PythonTFramework-3.13</string>\n"
604+
" </dict>\n"
605+
"</array>\n"
606+
"</plist>\n"
607+
"EOF\n"
608+
"\n"
609+
"sudo installer -pkg ./${RELEASE} -applyChoiceChangesXML ./choicechanges.plist -target /"
584610

585611
#: ../../using/mac.rst:405
586612
msgid ""
587613
"You can then test that both installer builds are now available with "
588614
"something like:"
589-
msgstr ""
615+
msgstr "接下来你可以这样测试两个安装器构建版现在是否可用:"
590616

591617
#: ../../using/mac.rst:407
592618
msgid ""
@@ -602,6 +628,17 @@ msgid ""
602628
"$ python3.13 -VV\n"
603629
"Python 3.13.0b2 (v3.13.0b2:3a83b172af, Jun 5 2024, 12:50:24) [Clang 15.0.0 (clang-1500.3.9.4)]"
604630
msgstr ""
631+
"$ # 当 Unix Command Tools 包被启用时测试自由线程解释器是否已安装\n"
632+
"$ /usr/local/bin/python3.13t -VV\n"
633+
"Python 3.13.0b2 experimental free-threading build (v3.13.0b2:3a83b172af, Jun 5 2024, 12:57:31) [Clang 15.0.0 (clang-1500.3.9.4)]\n"
634+
"$ # 并测试传统解释器\n"
635+
"$ /usr/local/bin/python3.13 -VV\n"
636+
"Python 3.13.0b2 (v3.13.0b2:3a83b172af, Jun 5 2024, 12:50:24) [Clang 15.0.0 (clang-1500.3.9.4)]\n"
637+
"$ # 当 /usr/local/bin 在 $PATH 中时测试它们在不带前缀的情况下是否可用\n"
638+
"$ python3.13t -VV\n"
639+
"Python 3.13.0b2 experimental free-threading build (v3.13.0b2:3a83b172af, Jun 5 2024, 12:57:31) [Clang 15.0.0 (clang-1500.3.9.4)]\n"
640+
"$ python3.13 -VV\n"
641+
"Python 3.13.0b2 (v3.13.0b2:3a83b172af, Jun 5 2024, 12:50:24) [Clang 15.0.0 (clang-1500.3.9.4)]"
605642

606643
#: ../../using/mac.rst:423
607644
msgid ""
@@ -610,6 +647,9 @@ msgid ""
610647
":file:`/usr/local/bin`. You cannot use the :command:`installer` ``-domain`` "
611648
"option to install to other locations."
612649
msgstr ""
650+
"当前的 ``python.org`` 安装器只会安装到固定位置如 :file:`/Library/Frameworks/`, "
651+
":file:`/Applications` 和 :file:`/usr/local/bin`。 你不能使用 :command:`installer` "
652+
"``-domain`` 选项来安装到其他位置。"
613653

614654
#: ../../using/mac.rst:431
615655
msgid "Distributing Python Applications"
@@ -634,12 +674,15 @@ msgid ""
634674
"supports creation of ``.app`` bundles on macOS, as well as managing signing "
635675
"and notarization."
636676
msgstr ""
677+
"`Briefcase <https://briefcase.readthedocs.io>`_: `BeeWare 项目 "
678+
"<https://beeware.org>`_ 的一部分;一款支持在 macOS 上创建 ``.app`` 捆绑包,并能管理签名和公证的跨平台打包工具。"
637679

638680
#: ../../using/mac.rst:444
639681
msgid ""
640682
"`PyInstaller <https://pyinstaller.org/>`_: A cross-platform packaging tool "
641683
"that creates a single file or folder as a distributable artifact."
642684
msgstr ""
685+
"`PyInstaller <https://pyinstaller.org/>`_: 一款可创建单独文件或文件夹作为可分发包的跨平台打包工具。"
643686

644687
#: ../../using/mac.rst:448
645688
msgid "App Store Compliance"

0 commit comments

Comments
 (0)