@@ -14,7 +14,7 @@ msgid ""
1414msgstr ""
1515"Project-Id-Version : Python 3.8\n "
1616"Report-Msgid-Bugs-To : \n "
17- "POT-Creation-Date : 2020-02-09 12:40 +0000\n "
17+ "POT-Creation-Date : 2020-04-03 13:23 +0000\n "
1818"PO-Revision-Date : 2017-02-16 23:34+0000\n "
1919"
Last-Translator :
Trim21 <[email protected] >, 2019\n "
2020"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
@@ -127,103 +127,122 @@ msgid ""
127127" resolve the symlink eagerly and ignore the virtual environment."
128128msgstr ""
129129
130- #: ../../using/venv-create.inc:81
130+ #: ../../using/venv-create.inc:82
131+ msgid ""
132+ "On Microsoft Windows, it may be required to enable the ``Activate.ps1`` "
133+ "script by setting the execution policy for the user. You can do this by "
134+ "issuing the following PowerShell command:"
135+ msgstr ""
136+
137+ #: ../../using/venv-create.inc:86
138+ msgid ""
139+ "PS C:\\ > Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope "
140+ "CurrentUser"
141+ msgstr ""
142+
143+ #: ../../using/venv-create.inc:88
144+ msgid ""
145+ "See `About Execution Policies "
146+ "<ttps:/go.microsoft.com/fwlink/?LinkID=135170>`_ for more information."
147+ msgstr ""
148+
149+ #: ../../using/venv-create.inc:92
131150msgid ""
132151"The created ``pyvenv.cfg`` file also includes the ``include-system-site-"
133152"packages`` key, set to ``true`` if ``venv`` is run with the ``--system-site-"
134153"packages`` option, ``false`` otherwise."
135154msgstr ""
136155
137- #: ../../using/venv-create.inc:85
156+ #: ../../using/venv-create.inc:96
138157msgid ""
139158"Unless the ``--without-pip`` option is given, :mod:`ensurepip` will be "
140159"invoked to bootstrap ``pip`` into the virtual environment."
141160msgstr ""
142161
143- #: ../../using/venv-create.inc:88
162+ #: ../../using/venv-create.inc:99
144163msgid ""
145164"Multiple paths can be given to ``venv``, in which case an identical virtual "
146165"environment will be created, according to the given options, at each "
147166"provided path."
148167msgstr ""
149168
150- #: ../../using/venv-create.inc:92
169+ #: ../../using/venv-create.inc:103
151170msgid ""
152171"Once a virtual environment has been created, it can be \" activated\" using a"
153172" script in the virtual environment's binary directory. The invocation of the"
154173" script is platform-specific (`<venv>` must be replaced by the path of the "
155174"directory containing the virtual environment):"
156175msgstr ""
157176
158- #: ../../using/venv-create.inc:98
177+ #: ../../using/venv-create.inc:109
159178msgid "Platform"
160179msgstr "平台"
161180
162- #: ../../using/venv-create.inc:98
181+ #: ../../using/venv-create.inc:109
163182msgid "Shell"
164183msgstr "Shell"
165184
166- #: ../../using/venv-create.inc:98
185+ #: ../../using/venv-create.inc:109
167186msgid "Command to activate virtual environment"
168187msgstr "用于激活虚拟环境的命令"
169188
170- #: ../../using/venv-create.inc:100
189+ #: ../../using/venv-create.inc:111
171190msgid "POSIX"
172191msgstr ""
173192
174- #: ../../using/venv-create.inc:100
193+ #: ../../using/venv-create.inc:111
175194msgid "bash/zsh"
176195msgstr "bash/zsh"
177196
178- #: ../../using/venv-create.inc:100
197+ #: ../../using/venv-create.inc:111
179198msgid "$ source <venv>/bin/activate"
180199msgstr "$ source <venv>/bin/activate"
181200
182- #: ../../using/venv-create.inc:102
201+ #: ../../using/venv-create.inc:113
183202msgid "fish"
184203msgstr "fish"
185204
186- #: ../../using/venv-create.inc:102
205+ #: ../../using/venv-create.inc:113
187206msgid "$ . <venv>/bin/activate.fish"
188207msgstr "$ . <venv>/bin/activate.fish"
189208
190- #: ../../using/venv-create.inc:104
209+ #: ../../using/venv-create.inc:115
191210msgid "csh/tcsh"
192211msgstr "csh/tcsh"
193212
194- #: ../../using/venv-create.inc:104
213+ #: ../../using/venv-create.inc:115
195214msgid "$ source <venv>/bin/activate.csh"
196215msgstr "$ source <venv>/bin/activate.csh"
197216
198- #: ../../using/venv-create.inc:106
217+ #: ../../using/venv-create.inc:117
199218msgid "PowerShell Core"
200219msgstr ""
201220
202- #: ../../using/venv-create.inc:106
221+ #: ../../using/venv-create.inc:117
203222msgid "$ <venv>/bin/Activate.ps1"
204223msgstr ""
205224
206- #: ../../using/venv-create.inc:108
225+ #: ../../using/venv-create.inc:119
207226msgid "Windows"
208227msgstr "Windows"
209228
210- #: ../../using/venv-create.inc:108
229+ #: ../../using/venv-create.inc:119
211230msgid "cmd.exe"
212231msgstr "cmd.exe"
213232
214- #: ../../using/venv-create.inc:108
233+ #: ../../using/venv-create.inc:119
215234msgid "C:\\\\ > <venv>\\\\ Scripts\\\\ activate.bat"
216235msgstr "C:\\\\ > <venv>\\\\ Scripts\\\\ activate.bat"
217236
218- #: ../../using/venv-create.inc:110
237+ #: ../../using/venv-create.inc:121
219238msgid "PowerShell"
220239msgstr "PowerShell"
221240
222- #: ../../using/venv-create.inc:110
241+ #: ../../using/venv-create.inc:121
223242msgid "PS C:\\\\ > <venv>\\\\ Scripts\\\\ Activate.ps1"
224243msgstr "PS C:\\\\ > <venv>\\\\ Scripts\\\\ Activate.ps1"
225244
226- #: ../../using/venv-create.inc:113
245+ #: ../../using/venv-create.inc:124
227246msgid ""
228247"You don't specifically *need* to activate an environment; activation just "
229248"prepends the virtual environment's binary directory to your path, so that "
@@ -233,18 +252,18 @@ msgid ""
233252"activating it, and run with the virtual environment's Python automatically."
234253msgstr ""
235254
236- #: ../../using/venv-create.inc:120
255+ #: ../../using/venv-create.inc:131
237256msgid ""
238257"You can deactivate a virtual environment by typing \" deactivate\" in your "
239258"shell. The exact mechanism is platform-specific and is an internal "
240259"implementation detail (typically a script or shell function will be used)."
241260msgstr ""
242261
243- #: ../../using/venv-create.inc:124
262+ #: ../../using/venv-create.inc:135
244263msgid "``fish`` and ``csh`` activation scripts."
245264msgstr ""
246265
247- #: ../../using/venv-create.inc:127
266+ #: ../../using/venv-create.inc:138
248267msgid ""
249268"PowerShell activation scripts installed under POSIX for PowerShell Core "
250269"support."
0 commit comments