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

Skip to content

Commit 1e6e377

Browse files
[po] auto sync
1 parent b87265e commit 1e6e377

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

library/idle.po

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1275,7 +1275,7 @@ msgstr ""
12751275
msgid ""
12761276
"Otherwise, arguments are files opened for editing and ``sys.argv`` reflects "
12771277
"the arguments passed to IDLE itself."
1278-
msgstr ""
1278+
msgstr "在其他情况下,参数为要打开编辑的文件而 ``sys.argv`` 反映的是传给 IDLE 本身的参数。"
12791279

12801280
#: ../../library/idle.rst:673
12811281
msgid "Startup failure"
@@ -1290,6 +1290,9 @@ msgid ""
12901290
"usually displays a ``Tk`` error box with a 'cannot connect' message that "
12911291
"directs the user here. It then exits."
12921292
msgstr ""
1293+
"IDLE 使用一个套接字在 IDLE GUI 进程和用户代码执行进程之间通信。 当 Shell 启动或重启动时必须建立一个连接。 (重启动会以一个内容为"
1294+
" 'RESTART' 的分隔行来标示)。 如果用户进程无法连接到 GUI 进程,它通常会显示一个包含 'cannot connect' 消息的 "
1295+
"``Tk`` 错误提示框来引导用户。 随后将会退出程序。"
12931296

12941297
#: ../../library/idle.rst:682
12951298
msgid ""
@@ -1300,6 +1303,10 @@ msgid ""
13001303
"diagnose with ``tcpconnect -irv 127.0.0.1 6543`` in one terminal window and "
13011304
"``tcplisten <same args>`` in another."
13021305
msgstr ""
1306+
"有一个 Unix 系统专属的连接失败是由系统网络设置中错误配置的掩码规则导致的。 当从一个终端启动 IDLE 时,用户将看到一条以 ``** "
1307+
"Invalid host:`` 开头的消息。 有效的值为 ``127.0.0.1 (idlelib.rpc.LOCALHOST)``。 "
1308+
"用户可以在一个终端窗口输入 ``tcpconnect -irv 127.0.0.1 6543`` 并在另一个终端窗口中输入 ``tcplisten "
1309+
"<same args>`` 来进行诊断。"
13031310

13041311
#: ../../library/idle.rst:690
13051312
msgid ""
@@ -1309,6 +1316,8 @@ msgid ""
13091316
"IDLE cannot import the stdlib file. The current fix is to rename the user "
13101317
"file."
13111318
msgstr ""
1319+
"导致连接失败的一个常见原因是用户创建的文件与标准库模块同名,例如 *random.py* 和 *tkinter.py*。 "
1320+
"当这样的文件与要运行的文件位于同一目录中时,IDLE 将无法导入标准库模块。 可用的解决办法是重命名用户文件。"
13121321

13131322
#: ../../library/idle.rst:696
13141323
msgid ""
@@ -1318,6 +1327,8 @@ msgid ""
13181327
"allow this internal connection because no data is visible on external ports."
13191328
" A similar problem is a network mis-configuration that blocks connections."
13201329
msgstr ""
1330+
"虽然现在已不太常见,但杀毒软件或防火墙程序也有可能会阻止连接。 如果无法将此类程序设为允许连接,那么为了运行 IDLE 就必须将其关闭。 "
1331+
"允许这样的内部连接是安全的,因为数据在外部端口上不可见。 一个类似的问题是错误的网络配置阻止了连接。"
13211332

13221333
#: ../../library/idle.rst:703
13231334
msgid ""

0 commit comments

Comments
 (0)