11# SOME DESCRIPTIVE TITLE.
2- # Copyright (C) 2001-2018 , Python Software Foundation
2+ # Copyright (C) 2001-2019 , Python Software Foundation
33# This file is distributed under the same license as the Python package.
44# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55#
6+ # Translators:
7+ # cdarlint <[email protected] >, 20178+ # Fei Yin <[email protected] >, 20189+ # Meng Du <[email protected] >, 201910+ #
611#, fuzzy
712msgid ""
813msgstr ""
914"Project-Id-Version : Python 3.7\n "
1015"Report-Msgid-Bugs-To : \n "
11- "POT-Creation-Date : 2018-06-30 05:56 +0900\n "
12- "PO-Revision-Date : YEAR-MO-DA HO:MI+ZONE \n "
13- "Last-Translator : Fei Yin <icebirds@163 .com>, 2018 \n "
16+ "POT-Creation-Date : 2019-01-01 10:14 +0900\n "
17+ "PO-Revision-Date : 2017-02-16 23:42+0000 \n "
18+ "Last-Translator : Meng Du <alphanow@gmail .com>, 2019 \n "
1419"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
1520"MIME-Version : 1.0\n "
1621"Content-Type : text/plain; charset=UTF-8\n "
@@ -37,10 +42,12 @@ msgid ""
3742"features such as the IDE and the Package Manager that are worth pointing "
3843"out."
3944msgstr ""
45+ "运行 Mac OS X 的 Macintosh上 的 Python 原则上与任何其他 Unix 平台上的 Python "
46+ "非常相似,但是还有一些额外的功能,例如 IDE 和包管理器,值得一提。"
4047
4148#: ../../using/mac.rst:18
4249msgid "Getting and Installing MacPython"
43- msgstr ""
50+ msgstr "获取和安装 MacPython "
4451
4552#: ../../using/mac.rst:20
4653msgid ""
@@ -50,10 +57,13 @@ msgid ""
5057"build of Python, which runs natively on the Mac's new Intel and legacy PPC "
5158"CPU's, is available there."
5259msgstr ""
60+ "Mac OS X 10.8 附带 Apple 预安装的 Python 2.7 。 如果你愿意,可以从 Python 网站( "
61+ "https://www.python.org )安装最新版本的 Python 3 。 Python 的当前“通用二进制”版本可以在 Mac 的新 "
62+ "Intel 和传统 PPC CPU 上本地运行。"
5363
5464#: ../../using/mac.rst:26
5565msgid "What you get after installing is a number of things:"
56- msgstr ""
66+ msgstr "你安装后得到的东西有: "
5767
5868#: ../../using/mac.rst:28
5969msgid ""
@@ -63,6 +73,9 @@ msgid ""
6373" Python scripts from the Finder; and the \" Build Applet\" tool, which allows"
6474" you to package Python scripts as standalone applications on your system."
6575msgstr ""
76+ "一个 :file:`MacPython 3.6` 文件夹在你的 :file:`Applications` 文件夹中。 在这里你可以找到 IDLE "
77+ ",这是开发环境,是官方 Python 发行版的标准部分; PythonLauncher ,它处理从 Finder 双击运行的 Python 脚本; "
78+ "以及“ Build Applet ”工具,它允许你将 Python 脚本打包为系统上的独立应用程序。"
6679
6780#: ../../using/mac.rst:34
6881msgid ""
@@ -71,6 +84,9 @@ msgid ""
7184"shell path. To uninstall MacPython, you can simply remove these three "
7285"things. A symlink to the Python executable is placed in /usr/local/bin/."
7386msgstr ""
87+ "框架 :file:`/Library/Frameworks/Python.framework` ,包括 Python "
88+ "可执行文件和库。安装程序将此位置添加到 shell 路径。 要卸载 MacPython ,你可以简单地移除这三个项目。 Python "
89+ "可执行文件的符号链接放在 /usr/local/bin/ 中。"
7490
7591#: ../../using/mac.rst:39
7692msgid ""
@@ -83,30 +99,36 @@ msgid ""
8399"installations on your computer, so it will be important that your paths and "
84100"usages are consistent with what you want to do."
85101msgstr ""
102+ "Apple 提供的 Python 版本分别安装在 :file:`/System/Library/Frameworks/Python.framework`"
103+ " 和 :file:`/usr/bin/python` 中。 你永远不应修改或删除这些内容,因为它们由 Apple 控制并由 Apple "
104+ "或第三方软件使用。 请记住,如果你选择从 python.org 安装较新的 Python 版本,那么你的计算机上将安装两个不同但都有用的 Python "
105+ ",因此你的路径和用法与你想要执行的操作一致非常重要。"
86106
87107#: ../../using/mac.rst:47
88108msgid ""
89109"IDLE includes a help menu that allows you to access Python documentation. If"
90110" you are completely new to Python you should start reading the tutorial "
91111"introduction in that document."
92- msgstr ""
112+ msgstr "IDLE 包含一个帮助菜单,允许你访问 Python 文档。 如果您是 Python 的新手,你应该开始阅读该文档中的教程介绍。 "
93113
94114#: ../../using/mac.rst:51
95115msgid ""
96116"If you are familiar with Python on other Unix platforms you should read the "
97117"section on running Python scripts from the Unix shell."
98- msgstr ""
118+ msgstr "如果你熟悉其他 Unix 平台上的 Python ,那么你应该阅读有关从 Unix shell 运行 Python 脚本的部分。 "
99119
100120#: ../../using/mac.rst:56
101121msgid "How to run a Python script"
102- msgstr ""
122+ msgstr "如何运行 Python 脚本 "
103123
104124#: ../../using/mac.rst:58
105125msgid ""
106126"Your best way to get started with Python on Mac OS X is through the IDLE "
107127"integrated development environment, see section :ref:`ide` and use the Help "
108128"menu when the IDE is running."
109129msgstr ""
130+ "在 Mac OS X 上开始使用 Python 的最佳方法是通过 IDLE 集成开发环境,参见 :ref:`ide` 部分,并在 IDE "
131+ "运行时使用“帮助”菜单。"
110132
111133#: ../../using/mac.rst:62
112134msgid ""
@@ -120,20 +142,27 @@ msgid ""
120142":program:`Gvim` (http://macvim-dev.github.io/macvim/) and "
121143":program:`Aquamacs` (http://aquamacs.org/)."
122144msgstr ""
145+ "如果要从终端窗口命令行或 Finder 运行 Python 脚本,首先需要一个编辑器来创建脚本。 Mac OS X 附带了许多标准的 Unix "
146+ "命令行编辑器,如 :program:`vim` 和 :program:`emacs` 。 如果你想要一个更 Mac "
147+ "化的编辑器,那么:program:`BBEdit` 或来自 Bare Bones Software 的 :program:`TextWrangler` "
148+ "(参见 http://www.barebones.com/products/bbedit/index.html )是不错的选择 ,就如 "
149+ ":program:`TextMate`(参见 https://macromates.com/ )。 其他编辑器包括 :program:`Gvim` ( "
150+ "http://macvim-dev.github.io/macvim/ )和 :program:`Aquamacs` ( "
151+ "http://aquamacs.org/ )。"
123152
124153#: ../../using/mac.rst:72
125154msgid ""
126155"To run your script from the Terminal window you must make sure that "
127156":file:`/usr/local/bin` is in your shell search path."
128- msgstr ""
157+ msgstr "要从终端窗口运行脚本,必须确保:file:`/usr/local/bin` 位于 shell 搜索路径中。 "
129158
130159#: ../../using/mac.rst:75
131160msgid "To run your script from the Finder you have two options:"
132- msgstr ""
161+ msgstr "要从 Finder 运行你的脚本,你有两个选择: "
133162
134163#: ../../using/mac.rst:77
135164msgid "Drag it to :program:`PythonLauncher`"
136- msgstr ""
165+ msgstr "把脚本拖拽到 :program:`PythonLauncher` "
137166
138167#: ../../using/mac.rst:79
139168msgid ""
@@ -143,6 +172,9 @@ msgid ""
143172"script is launched. Option-dragging allows you to change these for one "
144173"invocation, or use its Preferences menu to change things globally."
145174msgstr ""
175+ "选择 :program:`PythonLauncher` 作为通过 finder Info 窗口打开脚本(或任何 .py "
176+ "脚本)的默认应用程序,然后双击脚本。 :program:`PythonLauncher` 有各种首选项来控制脚本的启动方式。 "
177+ "拖拽方式允许你为一次调用更改这些选项,或使用其“首选项”菜单全局更改内容。"
146178
147179#: ../../using/mac.rst:89
148180msgid "Running scripts with a GUI"
0 commit comments