Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e53e8e3

Browse files
committed
[po] auto sync bot
1 parent a7a9461 commit e53e8e3

3 files changed

Lines changed: 48 additions & 36 deletions

File tree

c-api/init.po

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,8 @@ msgid ""
326326
"manipulations if :mod:`site` is explicitly imported later (call "
327327
":func:`site.main` if you want them to be triggered)."
328328
msgstr ""
329+
"禁用 :mod:`site` 的导入及其所附带的基于站点对 :data:`sys.path` 的操作。 如果 :mod:`site` "
330+
"会在稍后被显式地导入也会禁用这些操作 (如果你希望触发它们则应调用 :func:`site.main`)。"
329331

330332
#: ../../c-api/init.rst:180
331333
msgid "Set by the :option:`-S` option."
@@ -336,6 +338,7 @@ msgid ""
336338
"Don't add the :data:`user site-packages directory <site.USER_SITE>` to "
337339
":data:`sys.path`."
338340
msgstr ""
341+
"不要将 :data:`用户 site-packages 目录 <site.USER_SITE>` 添加到 :data:`sys.path`。"
339342

340343
#: ../../c-api/init.rst:187
341344
msgid ""

library/site.po

Lines changed: 37 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
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+
# Freesand Leo <[email protected]>, 2019
8+
#
69
#, fuzzy
710
msgid ""
811
msgstr ""
912
"Project-Id-Version: Python 3.7\n"
1013
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2018-07-25 08:38+0900\n"
12-
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14+
"POT-Creation-Date: 2019-01-01 10:14+0900\n"
15+
"PO-Revision-Date: 2017-02-16 23:26+0000\n"
16+
"Last-Translator: Freesand Leo <[email protected]>, 2019\n"
1317
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1418
"MIME-Version: 1.0\n"
1519
"Content-Type: text/plain; charset=UTF-8\n"
@@ -75,7 +79,7 @@ msgid ""
7579
"site-packages; otherwise they won't."
7680
msgstr ""
7781

78-
#: ../../library/site.rst:52
82+
#: ../../library/site.rst:56
7983
msgid ""
8084
"A path configuration file is a file whose name has the form "
8185
":file:`{name}.pth` and exists in one of the four directories mentioned "
@@ -87,7 +91,7 @@ msgid ""
8791
"by space or tab) are executed."
8892
msgstr ""
8993

90-
#: ../../library/site.rst:64
94+
#: ../../library/site.rst:68
9195
msgid ""
9296
"For example, suppose ``sys.prefix`` and ``sys.exec_prefix`` are set to "
9397
":file:`/usr/local`. The Python X.Y library is then installed in "
@@ -98,17 +102,17 @@ msgid ""
98102
":file:`foo.pth` contains the following::"
99103
msgstr ""
100104

101-
#: ../../library/site.rst:78
105+
#: ../../library/site.rst:82
102106
msgid "and :file:`bar.pth` contains::"
103107
msgstr ""
104108

105-
#: ../../library/site.rst:84
109+
#: ../../library/site.rst:88
106110
msgid ""
107111
"Then the following version-specific directories are added to ``sys.path``, "
108112
"in this order::"
109113
msgstr ""
110114

111-
#: ../../library/site.rst:90
115+
#: ../../library/site.rst:94
112116
msgid ""
113117
"Note that :file:`bletch` is omitted because it doesn't exist; the "
114118
":file:`bar` directory precedes the :file:`foo` directory because "
@@ -117,7 +121,7 @@ msgid ""
117121
"configuration file."
118122
msgstr ""
119123

120-
#: ../../library/site.rst:97
124+
#: ../../library/site.rst:101
121125
msgid ""
122126
"After these path manipulations, an attempt is made to import a module named "
123127
":mod:`sitecustomize`, which can perform arbitrary site-specific "
@@ -131,7 +135,7 @@ msgid ""
131135
"perhaps mysterious failure of the process."
132136
msgstr ""
133137

134-
#: ../../library/site.rst:109
138+
#: ../../library/site.rst:113
135139
msgid ""
136140
"After this, an attempt is made to import a module named "
137141
":mod:`usercustomize`, which can perform arbitrary user-specific "
@@ -143,18 +147,18 @@ msgid ""
143147
"ignored."
144148
msgstr ""
145149

146-
#: ../../library/site.rst:117
150+
#: ../../library/site.rst:121
147151
msgid ""
148152
"Note that for some non-Unix systems, ``sys.prefix`` and ``sys.exec_prefix`` "
149153
"are empty, and the path manipulations are skipped; however the import of "
150154
":mod:`sitecustomize` and :mod:`usercustomize` is still attempted."
151155
msgstr ""
152156

153-
#: ../../library/site.rst:125
157+
#: ../../library/site.rst:129
154158
msgid "Readline configuration"
155159
msgstr ""
156160

157-
#: ../../library/site.rst:127
161+
#: ../../library/site.rst:131
158162
msgid ""
159163
"On systems that support :mod:`readline`, this module will also import and "
160164
"configure the :mod:`rlcompleter` module, if Python is started in "
@@ -166,19 +170,19 @@ msgid ""
166170
":envvar:`PYTHONSTARTUP` file."
167171
msgstr ""
168172

169-
#: ../../library/site.rst:136
173+
#: ../../library/site.rst:140
170174
msgid "Activation of rlcompleter and history was made automatic."
171175
msgstr ""
172176

173-
#: ../../library/site.rst:141
177+
#: ../../library/site.rst:145
174178
msgid "Module contents"
175179
msgstr ""
176180

177-
#: ../../library/site.rst:145
181+
#: ../../library/site.rst:149
178182
msgid "A list of prefixes for site-packages directories."
179183
msgstr ""
180184

181-
#: ../../library/site.rst:150
185+
#: ../../library/site.rst:154
182186
msgid ""
183187
"Flag showing the status of the user site-packages directory. ``True`` means"
184188
" that it is enabled and was added to ``sys.path``. ``False`` means that it "
@@ -188,7 +192,7 @@ msgid ""
188192
"administrator."
189193
msgstr ""
190194

191-
#: ../../library/site.rst:160
195+
#: ../../library/site.rst:164
192196
msgid ""
193197
"Path to the user site-packages for the running Python. Can be ``None`` if "
194198
":func:`getusersitepackages` hasn't been called yet. Default value is "
@@ -199,7 +203,7 @@ msgid ""
199203
"means that :file:`.pth` files in it will be processed."
200204
msgstr ""
201205

202-
#: ../../library/site.rst:171
206+
#: ../../library/site.rst:175
203207
msgid ""
204208
"Path to the base directory for the user site-packages. Can be ``None`` if "
205209
":func:`getuserbase` hasn't been called yet. Default value is "
@@ -211,77 +215,77 @@ msgid ""
211215
"user>`. See also :envvar:`PYTHONUSERBASE`."
212216
msgstr ""
213217

214-
#: ../../library/site.rst:183
218+
#: ../../library/site.rst:187
215219
msgid ""
216220
"Adds all the standard site-specific directories to the module search path. "
217221
"This function is called automatically when this module is imported, unless "
218222
"the Python interpreter was started with the :option:`-S` flag."
219223
msgstr ""
220224

221-
#: ../../library/site.rst:187
225+
#: ../../library/site.rst:191
222226
msgid "This function used to be called unconditionally."
223227
msgstr ""
224228

225-
#: ../../library/site.rst:193
229+
#: ../../library/site.rst:197
226230
msgid ""
227231
"Add a directory to sys.path and process its :file:`.pth` files. Typically "
228232
"used in :mod:`sitecustomize` or :mod:`usercustomize` (see above)."
229233
msgstr ""
230234

231-
#: ../../library/site.rst:199
235+
#: ../../library/site.rst:203
232236
msgid "Return a list containing all global site-packages directories."
233237
msgstr ""
234238

235-
#: ../../library/site.rst:206
239+
#: ../../library/site.rst:210
236240
msgid ""
237241
"Return the path of the user base directory, :data:`USER_BASE`. If it is not"
238242
" initialized yet, this function will also set it, respecting "
239243
":envvar:`PYTHONUSERBASE`."
240244
msgstr ""
241245

242-
#: ../../library/site.rst:215
246+
#: ../../library/site.rst:219
243247
msgid ""
244248
"Return the path of the user-specific site-packages directory, "
245249
":data:`USER_SITE`. If it is not initialized yet, this function will also "
246250
"set it, respecting :envvar:`PYTHONNOUSERSITE` and :data:`USER_BASE`."
247251
msgstr ""
248252

249-
#: ../../library/site.rst:222
253+
#: ../../library/site.rst:226
250254
msgid ""
251255
"The :mod:`site` module also provides a way to get the user directories from "
252256
"the command line:"
253257
msgstr ""
254258

255-
#: ../../library/site.rst:232
259+
#: ../../library/site.rst:236
256260
msgid ""
257261
"If it is called without arguments, it will print the contents of "
258262
":data:`sys.path` on the standard output, followed by the value of "
259263
":data:`USER_BASE` and whether the directory exists, then the same thing for "
260264
":data:`USER_SITE`, and finally the value of :data:`ENABLE_USER_SITE`."
261265
msgstr ""
262266

263-
#: ../../library/site.rst:239
267+
#: ../../library/site.rst:243
264268
msgid "Print the path to the user base directory."
265269
msgstr ""
266270

267-
#: ../../library/site.rst:243
271+
#: ../../library/site.rst:247
268272
msgid "Print the path to the user site-packages directory."
269273
msgstr ""
270274

271-
#: ../../library/site.rst:245
275+
#: ../../library/site.rst:249
272276
msgid ""
273277
"If both options are given, user base and user site will be printed (always "
274278
"in this order), separated by :data:`os.pathsep`."
275279
msgstr ""
276280

277-
#: ../../library/site.rst:248
281+
#: ../../library/site.rst:252
278282
msgid ""
279283
"If any option is given, the script will exit with one of these values: ``0``"
280284
" if the user site-packages directory is enabled, ``1`` if it was disabled by"
281285
" the user, ``2`` if it is disabled for security reasons or by an "
282286
"administrator, and a value greater than 2 if there is an error."
283287
msgstr ""
284288

285-
#: ../../library/site.rst:255
289+
#: ../../library/site.rst:259
286290
msgid ":pep:`370` -- Per user site-packages directory"
287-
msgstr ""
291+
msgstr ":pep:`370` -- 分用户的 site-packages 目录"

using/cmdline.po

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -437,27 +437,30 @@ msgid ""
437437
"performance of a dict construction, O(n^2) complexity. See "
438438
"http://www.ocert.org/advisories/ocert-2011-003.html for details."
439439
msgstr ""
440+
"哈希随机化旨在针对由精心选择的输入引起的拒绝服务攻击提供防护,这种输入利用了构造 dict 在最坏情况下的性能即 O(n^2) 复杂度。 详情请参阅 "
441+
"http://www.ocert.org/advisories/ocert-2011-003.html。"
440442

441443
#: ../../using/cmdline.rst:310
442444
msgid ""
443445
":envvar:`PYTHONHASHSEED` allows you to set a fixed value for the hash seed "
444446
"secret."
445-
msgstr ""
447+
msgstr ":envvar:`PYTHONHASHSEED` 允许你为哈希种子密码设置一个固定值。"
446448

447449
#: ../../using/cmdline.rst:313
448450
msgid "The option is no longer ignored."
449-
msgstr ""
451+
msgstr "此选项不会再被忽略。"
450452

451453
#: ../../using/cmdline.rst:321
452454
msgid ""
453455
"Don't add the :data:`user site-packages directory <site.USER_SITE>` to "
454456
":data:`sys.path`."
455457
msgstr ""
458+
"不要将 :data:`用户 site-packages 目录 <site.USER_SITE>` 添加到 :data:`sys.path`。"
456459

457460
#: ../../using/cmdline.rst:326 ../../using/cmdline.rst:634
458461
#: ../../using/cmdline.rst:646
459462
msgid ":pep:`370` -- Per user site-packages directory"
460-
msgstr ""
463+
msgstr ":pep:`370` -- 分用户的 site-packages 目录"
461464

462465
#: ../../using/cmdline.rst:331
463466
msgid ""
@@ -466,6 +469,8 @@ msgid ""
466469
"manipulations if :mod:`site` is explicitly imported later (call "
467470
":func:`site.main` if you want them to be triggered)."
468471
msgstr ""
472+
"禁用 :mod:`site` 的导入及其所附带的基于站点对 :data:`sys.path` 的操作。 如果 :mod:`site` "
473+
"会在稍后被显式地导入也会禁用这些操作 (如果你希望触发它们则应调用 :func:`site.main`)。"
469474

470475
#: ../../using/cmdline.rst:339
471476
msgid ""

0 commit comments

Comments
 (0)