File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1292,6 +1292,10 @@ msgid ""
12921292"diagnose with ``tcpconnect -irv 127.0.0.1 6543`` in one terminal window and "
12931293"``tcplisten <same args>`` in another."
12941294msgstr ""
1295+ "有一个 Unix 系统专属的连接失败是由系统网络设置中错误配置的掩码规则导致的。 当从一个终端启动 IDLE 时,用户将看到一条以 ``** "
1296+ "Invalid host:`` 开头的消息。 有效的值为 ``127.0.0.1 (idlelib.rpc.LOCALHOST)``。 "
1297+ "用户可以在一个终端窗口输入 ``tcpconnect -irv 127.0.0.1 6543`` 并在另一个终端窗口中输入 ``tcplisten "
1298+ "<same args>`` 来进行诊断。"
12951299
12961300#: ../../library/idle.rst:684
12971301msgid ""
@@ -1301,6 +1305,8 @@ msgid ""
13011305"IDLE cannot import the stdlib file. The current fix is to rename the user "
13021306"file."
13031307msgstr ""
1308+ "导致连接失败的一个常见原因是用户创建的文件与标准库模块同名,例如 *random.py* 和 *tkinter.py*。 "
1309+ "当这样的文件与要运行的文件位于同一目录中时,IDLE 将无法导入标准库模块。 可用的解决办法是重命名用户文件。"
13041310
13051311#: ../../library/idle.rst:690
13061312msgid ""
@@ -1310,6 +1316,8 @@ msgid ""
13101316"allow this internal connection because no data is visible on external ports."
13111317" A similar problem is a network mis-configuration that blocks connections."
13121318msgstr ""
1319+ "虽然现在已不太常见,但杀毒软件或防火墙程序也有可能会阻止连接。 如果无法将此类程序设为允许连接,那么为了运行 IDLE 就必须将其关闭。 "
1320+ "允许这样的内部连接是安全的,因为数据在外部端口上不可见。 一个类似的问题是错误的网络配置阻止了连接。"
13131321
13141322#: ../../library/idle.rst:697
13151323msgid ""
You can’t perform that action at this time.
0 commit comments