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

Skip to content

Commit 43cdbcc

Browse files
[po] auto sync
1 parent 2c57959 commit 43cdbcc

2 files changed

Lines changed: 14 additions & 6 deletions

File tree

library/socketserver.po

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,16 @@ msgid ""
5454
"This uses datagrams, which are discrete packets of information that may "
5555
"arrive out of order or be lost while in transit. The parameters are the "
5656
"same as for :class:`TCPServer`."
57-
msgstr ""
57+
msgstr "该类使用数据包,即一系列离散的信息分包,它们可能会无序地到达或在传输中丢失。 该类的形参与 :class:`TCPServer` 的相同。"
5858

5959
#: ../../library/socketserver.rst:36
6060
msgid ""
6161
"These more infrequently used classes are similar to the TCP and UDP classes,"
6262
" but use Unix domain sockets; they're not available on non-Unix platforms. "
6363
"The parameters are the same as for :class:`TCPServer`."
6464
msgstr ""
65+
"这两个更常用的类与 TCP 和 UDP 类相似,但使用 Unix 域套接字;它们在非 Unix 系统平台上不可用。 它们的形参与 "
66+
":class:`TCPServer` 的相同。"
6567

6668
#: ../../library/socketserver.rst:42
6769
msgid ""

library/zipapp.po

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -360,16 +360,20 @@ msgid ""
360360
"exact version like \"/usr/bin/env python3.4\" as you will need to change "
361361
"your shebang line for users of Python 3.5, for example."
362362
msgstr ""
363+
"因为无法指定“python X.Y以上版本”,所以应小心“/usr/bin/env python3.4”这种精确版本的指定方式,因为对于 Python "
364+
"3.5 的用户就得修改释伴行,比如:"
363365

364366
#: ../../library/zipapp.rst:254
365367
msgid ""
366368
"Typically, you should use an \"/usr/bin/env python2\" or \"/usr/bin/env "
367369
"python3\", depending on whether your code is written for Python 2 or 3."
368370
msgstr ""
371+
"通常应该用“/usr/bin/env python2”或“/usr/bin/env python3”的格式,具体根据代码适用于 Python 2 还是 "
372+
"3 而定。"
369373

370374
#: ../../library/zipapp.rst:259
371375
msgid "Creating Standalone Applications with zipapp"
372-
msgstr ""
376+
msgstr "用 zipapp 创建独立运行的应用程序"
373377

374378
#: ../../library/zipapp.rst:261
375379
msgid ""
@@ -379,30 +383,32 @@ msgid ""
379383
"this is to bundle all of the application's dependencies into the archive, "
380384
"along with the application code."
381385
msgstr ""
386+
"利用 :mod:`zipapp` 模块可以创建独立运行的 Python 程序,以便向最终用户发布,仅需在系统中装有合适版本的 Python "
387+
"即可运行。操作的关键就是把应用程序代码和所有依赖项一起放入打包文件中。"
382388

383389
#: ../../library/zipapp.rst:267
384390
msgid "The steps to create a standalone archive are as follows:"
385-
msgstr ""
391+
msgstr "创建独立运行打包文件的步骤如下:"
386392

387393
#: ../../library/zipapp.rst:269
388394
msgid ""
389395
"Create your application in a directory as normal, so you have a ``myapp`` "
390396
"directory containing a ``__main__.py`` file, and any supporting application "
391397
"code."
392-
msgstr ""
398+
msgstr "照常在某个目录中创建应用程序,于是会有一个 ``myapp`` 目录,里面有个``__main__.py`` 文件,以及所有支持性代码。"
393399

394400
#: ../../library/zipapp.rst:273
395401
msgid ""
396402
"Install all of your application's dependencies into the ``myapp`` directory,"
397403
" using pip:"
398-
msgstr ""
404+
msgstr "用 pip 将应用程序的所有依赖项装入 ``myapp`` 目录。"
399405

400406
#: ../../library/zipapp.rst:280
401407
msgid ""
402408
"(this assumes you have your project requirements in a ``requirements.txt`` "
403409
"file - if not, you can just list the dependencies manually on the pip "
404410
"command line)."
405-
msgstr ""
411+
msgstr "(这里假定在 ``requirements.txt`` 文件中列出了项目所需的依赖项,也可以在 pip 命令行中列出依赖项)。"
406412

407413
#: ../../library/zipapp.rst:284
408414
msgid ""

0 commit comments

Comments
 (0)