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

Skip to content

Commit ee1caff

Browse files
[po] auto sync
1 parent 7d42155 commit ee1caff

2 files changed

Lines changed: 6742 additions & 6702 deletions

File tree

library/idle.po

Lines changed: 67 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ msgid ""
1313
msgstr ""
1414
"Project-Id-Version: Python 3.9\n"
1515
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2021-02-24 05:33+0000\n"
16+
"POT-Creation-Date: 2021-03-31 05:55+0000\n"
1717
"PO-Revision-Date: 2017-02-16 23:14+0000\n"
1818
"Last-Translator: ppcfish <[email protected]>, 2021\n"
1919
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -1208,20 +1208,30 @@ msgid ""
12081208
"code execution process. A connection must be established whenever the Shell"
12091209
" starts or restarts. (The latter is indicated by a divider line that says "
12101210
"'RESTART'). If the user process fails to connect to the GUI process, it "
1211-
"displays a ``Tk`` error box with a 'cannot connect' message that directs the"
1212-
" user here. It then exits."
1211+
"usually displays a ``Tk`` error box with a 'cannot connect' message that "
1212+
"directs the user here. It then exits."
12131213
msgstr ""
12141214

12151215
#: ../../library/idle.rst:676
12161216
msgid ""
1217+
"One specific connection failure on Unix systems results from misconfigured "
1218+
"masquerading rules somewhere in a system's network setup. When IDLE is "
1219+
"started from a terminal, one will see a message starting with ``** Invalid "
1220+
"host:``. The valid value is ``127.0.0.1 (idlelib.rpc.LOCALHOST)``. One can "
1221+
"diagnose with ``tcpconnect -irv 127.0.0.1 6543`` in one terminal window and "
1222+
"``tcplisten <same args>`` in another."
1223+
msgstr ""
1224+
1225+
#: ../../library/idle.rst:684
1226+
msgid ""
12171227
"A common cause of failure is a user-written file with the same name as a "
12181228
"standard library module, such as *random.py* and *tkinter.py*. When such a "
12191229
"file is located in the same directory as a file that is about to be run, "
12201230
"IDLE cannot import the stdlib file. The current fix is to rename the user "
12211231
"file."
12221232
msgstr ""
12231233

1224-
#: ../../library/idle.rst:682
1234+
#: ../../library/idle.rst:690
12251235
msgid ""
12261236
"Though less common than in the past, an antivirus or firewall program may "
12271237
"stop the connection. If the program cannot be taught to allow the "
@@ -1230,15 +1240,15 @@ msgid ""
12301240
" A similar problem is a network mis-configuration that blocks connections."
12311241
msgstr ""
12321242

1233-
#: ../../library/idle.rst:689
1243+
#: ../../library/idle.rst:697
12341244
msgid ""
12351245
"Python installation issues occasionally stop IDLE: multiple versions can "
12361246
"clash, or a single installation might need admin access. If one undo the "
12371247
"clash, or cannot or does not want to run as admin, it might be easiest to "
12381248
"completely remove Python and start over."
12391249
msgstr ""
12401250

1241-
#: ../../library/idle.rst:694
1251+
#: ../../library/idle.rst:702
12421252
msgid ""
12431253
"A zombie pythonw.exe process could be a problem. On Windows, use Task "
12441254
"Manager to check for one and stop it if there is. Sometimes a restart "
@@ -1247,7 +1257,7 @@ msgid ""
12471257
"may fix a temporary problem."
12481258
msgstr ""
12491259

1250-
#: ../../library/idle.rst:700
1260+
#: ../../library/idle.rst:708
12511261
msgid ""
12521262
"When IDLE first starts, it attempts to read user configuration files in "
12531263
"``~/.idlerc/`` (~ is one's home directory). If there is a problem, an error"
@@ -1258,18 +1268,28 @@ msgid ""
12581268
"with the settings dialog."
12591269
msgstr ""
12601270

1261-
#: ../../library/idle.rst:708
1271+
#: ../../library/idle.rst:716
12621272
msgid ""
12631273
"If IDLE quits with no message, and it was not started from a console, try "
12641274
"starting it from a console or terminal (``python -m idlelib``) and see if "
12651275
"this results in an error message."
12661276
msgstr ""
12671277

1268-
#: ../../library/idle.rst:713
1278+
#: ../../library/idle.rst:720
1279+
msgid ""
1280+
"On Unix-based systems with tcl/tk older than ``8.6.11`` (see ``About IDLE``)"
1281+
" certain characters of certain fonts can cause a tk failure with a message "
1282+
"to the terminal. This can happen either if one starts IDLE to edit a file "
1283+
"with such a character or later when entering such a character. If one "
1284+
"cannot upgrade tcl/tk, then re-configure IDLE to use a font that works "
1285+
"better."
1286+
msgstr ""
1287+
1288+
#: ../../library/idle.rst:728
12691289
msgid "Running user code"
12701290
msgstr "运行用户代码"
12711291

1272-
#: ../../library/idle.rst:715
1292+
#: ../../library/idle.rst:730
12731293
msgid ""
12741294
"With rare exceptions, the result of executing Python code with IDLE is "
12751295
"intended to be the same as executing the same code by the default method, "
@@ -1279,7 +1299,7 @@ msgid ""
12791299
"``threading.activeCount()`` returns 2 instead of 1."
12801300
msgstr ""
12811301

1282-
#: ../../library/idle.rst:722
1302+
#: ../../library/idle.rst:737
12831303
msgid ""
12841304
"By default, IDLE runs user code in a separate OS process rather than in the "
12851305
"user interface process that runs the shell and editor. In the execution "
@@ -1289,7 +1309,7 @@ msgid ""
12891309
"``sys.__stderr__`` are not touched, but may be ``None``."
12901310
msgstr ""
12911311

1292-
#: ../../library/idle.rst:729
1312+
#: ../../library/idle.rst:744
12931313
msgid ""
12941314
"Sending print output from one process to a text widget in another is slower "
12951315
"than printing to a system terminal in the same process. This has the most "
@@ -1301,7 +1321,7 @@ msgid ""
13011321
"fields and lines."
13021322
msgstr ""
13031323

1304-
#: ../../library/idle.rst:738
1324+
#: ../../library/idle.rst:753
13051325
msgid ""
13061326
"IDLE's standard stream replacements are not inherited by subprocesses "
13071327
"created in the execution process, whether directly by user code or by "
@@ -1311,40 +1331,40 @@ msgid ""
13111331
" attached to that window for input and output."
13121332
msgstr ""
13131333

1314-
#: ../../library/idle.rst:745
1334+
#: ../../library/idle.rst:760
13151335
msgid ""
13161336
"If ``sys`` is reset by user code, such as with ``importlib.reload(sys)``, "
13171337
"IDLE's changes are lost and input from the keyboard and output to the screen"
13181338
" will not work correctly."
13191339
msgstr ""
13201340

1321-
#: ../../library/idle.rst:749
1341+
#: ../../library/idle.rst:764
13221342
msgid ""
13231343
"When Shell has the focus, it controls the keyboard and screen. This is "
13241344
"normally transparent, but functions that directly access the keyboard and "
13251345
"screen will not work. These include system-specific functions that "
13261346
"determine whether a key has been pressed and if so, which."
13271347
msgstr ""
13281348

1329-
#: ../../library/idle.rst:754
1349+
#: ../../library/idle.rst:769
13301350
msgid ""
13311351
"The IDLE code running in the execution process adds frames to the call stack"
13321352
" that would not be there otherwise. IDLE wraps ``sys.getrecursionlimit`` "
13331353
"and ``sys.setrecursionlimit`` to reduce the effect of the additional stack "
13341354
"frames."
13351355
msgstr ""
13361356

1337-
#: ../../library/idle.rst:759
1357+
#: ../../library/idle.rst:774
13381358
msgid ""
13391359
"When user code raises SystemExit either directly or by calling sys.exit, "
13401360
"IDLE returns to a Shell prompt instead of exiting."
13411361
msgstr ""
13421362

1343-
#: ../../library/idle.rst:763
1363+
#: ../../library/idle.rst:778
13441364
msgid "User output in Shell"
13451365
msgstr "Shell中的用户输出"
13461366

1347-
#: ../../library/idle.rst:765
1367+
#: ../../library/idle.rst:780
13481368
msgid ""
13491369
"When a program outputs text, the result is determined by the corresponding "
13501370
"output device. When IDLE executes user code, ``sys.stdout`` and "
@@ -1354,7 +1374,7 @@ msgid ""
13541374
"rather than production runs."
13551375
msgstr ""
13561376

1357-
#: ../../library/idle.rst:772
1377+
#: ../../library/idle.rst:787
13581378
msgid ""
13591379
"For instance, Shell never throws away output. A program that sends "
13601380
"unlimited output to Shell will eventually fill memory, resulting in a memory"
@@ -1363,7 +1383,7 @@ msgid ""
13631383
"lines, with 300 the default."
13641384
msgstr ""
13651385

1366-
#: ../../library/idle.rst:778
1386+
#: ../../library/idle.rst:793
13671387
msgid ""
13681388
"A Tk Text widget, and hence IDLE's Shell, displays characters (codepoints) "
13691389
"in the BMP (Basic Multilingual Plane) subset of Unicode. Which characters "
@@ -1377,7 +1397,7 @@ msgid ""
13771397
"spacing behavior.) ::"
13781398
msgstr ""
13791399

1380-
#: ../../library/idle.rst:796
1400+
#: ../../library/idle.rst:811
13811401
msgid ""
13821402
"The ``repr`` function is used for interactive echo of expression values. It"
13831403
" returns an altered version of the input string in which control codes, some"
@@ -1386,13 +1406,13 @@ msgid ""
13861406
" regardless of how they are displayed."
13871407
msgstr ""
13881408

1389-
#: ../../library/idle.rst:802
1409+
#: ../../library/idle.rst:817
13901410
msgid ""
13911411
"Normal and error output are generally kept separate (on separate lines) from"
13921412
" code input and each other. They each get different highlight colors."
13931413
msgstr ""
13941414

1395-
#: ../../library/idle.rst:805
1415+
#: ../../library/idle.rst:820
13961416
msgid ""
13971417
"For SyntaxError tracebacks, the normal '^' marking where the error was "
13981418
"detected is replaced by coloring the text with an error highlight. When code"
@@ -1401,7 +1421,7 @@ msgid ""
14011421
"opened if necessary."
14021422
msgstr ""
14031423

1404-
#: ../../library/idle.rst:811
1424+
#: ../../library/idle.rst:826
14051425
msgid ""
14061426
"Shell has a special facility for squeezing output lines down to a 'Squeezed "
14071427
"text' label. This is done automatically for output over N lines (N = 50 by "
@@ -1411,18 +1431,18 @@ msgid ""
14111431
"scrolling."
14121432
msgstr ""
14131433

1414-
#: ../../library/idle.rst:819
1434+
#: ../../library/idle.rst:834
14151435
msgid ""
14161436
"Squeezed output is expanded in place by double-clicking the label. It can "
14171437
"also be sent to the clipboard or a separate view window by right-clicking "
14181438
"the label."
14191439
msgstr ""
14201440

1421-
#: ../../library/idle.rst:824
1441+
#: ../../library/idle.rst:839
14221442
msgid "Developing tkinter applications"
14231443
msgstr "开发 tkinter 应用程序"
14241444

1425-
#: ../../library/idle.rst:826
1445+
#: ../../library/idle.rst:841
14261446
msgid ""
14271447
"IDLE is intentionally different from standard Python in order to facilitate "
14281448
"development of tkinter programs. Enter ``import tkinter as tk; root = "
@@ -1434,7 +1454,7 @@ msgid ""
14341454
" visibly changes in standard Python until one enters ``root.update()``."
14351455
msgstr ""
14361456

1437-
#: ../../library/idle.rst:835
1457+
#: ../../library/idle.rst:850
14381458
msgid ""
14391459
"Most tkinter programs run ``root.mainloop()``, which usually does not return"
14401460
" until the tk app is destroyed. If the program is run with ``python -i`` or"
@@ -1443,27 +1463,27 @@ msgid ""
14431463
"with."
14441464
msgstr ""
14451465

1446-
#: ../../library/idle.rst:841
1466+
#: ../../library/idle.rst:856
14471467
msgid ""
14481468
"When running a tkinter program from an IDLE editor, one can comment out the "
14491469
"mainloop call. One then gets a shell prompt immediately and can interact "
14501470
"with the live application. One just has to remember to re-enable the "
14511471
"mainloop call when running in standard Python."
14521472
msgstr ""
14531473

1454-
#: ../../library/idle.rst:847
1474+
#: ../../library/idle.rst:862
14551475
msgid "Running without a subprocess"
14561476
msgstr "在没有子进程的情况下运行"
14571477

1458-
#: ../../library/idle.rst:849
1478+
#: ../../library/idle.rst:864
14591479
msgid ""
14601480
"By default, IDLE executes user code in a separate subprocess via a socket, "
14611481
"which uses the internal loopback interface. This connection is not "
14621482
"externally visible and no data is sent to or received from the Internet. If "
14631483
"firewall software complains anyway, you can ignore it."
14641484
msgstr ""
14651485

1466-
#: ../../library/idle.rst:854
1486+
#: ../../library/idle.rst:869
14671487
msgid ""
14681488
"If the attempt to make the socket connection fails, Idle will notify you. "
14691489
"Such failures are sometimes transient, but if persistent, the problem may be"
@@ -1472,7 +1492,7 @@ msgid ""
14721492
" command line switch."
14731493
msgstr ""
14741494

1475-
#: ../../library/idle.rst:860
1495+
#: ../../library/idle.rst:875
14761496
msgid ""
14771497
"If IDLE is started with the -n command line switch it will run in a single "
14781498
"process and will not create the subprocess which runs the RPC Python "
@@ -1486,15 +1506,15 @@ msgid ""
14861506
"at all possible."
14871507
msgstr ""
14881508

1489-
#: ../../library/idle.rst:875
1509+
#: ../../library/idle.rst:890
14901510
msgid "Help and preferences"
14911511
msgstr "帮助和偏好"
14921512

1493-
#: ../../library/idle.rst:880
1513+
#: ../../library/idle.rst:895
14941514
msgid "Help sources"
14951515
msgstr "帮助源"
14961516

1497-
#: ../../library/idle.rst:882
1517+
#: ../../library/idle.rst:897
14981518
msgid ""
14991519
"Help menu entry \"IDLE Help\" displays a formatted html version of the IDLE "
15001520
"chapter of the Library Reference. The result, in a read-only tkinter text "
@@ -1504,7 +1524,7 @@ msgid ""
15041524
"the opened box."
15051525
msgstr ""
15061526

1507-
#: ../../library/idle.rst:890
1527+
#: ../../library/idle.rst:905
15081528
msgid ""
15091529
"Help menu entry \"Python Docs\" opens the extensive sources of help, "
15101530
"including tutorials, available at ``docs.python.org/x.y``, where 'x.y' is "
@@ -1513,17 +1533,17 @@ msgid ""
15131533
"instead."
15141534
msgstr ""
15151535

1516-
#: ../../library/idle.rst:896
1536+
#: ../../library/idle.rst:911
15171537
msgid ""
15181538
"Selected URLs can be added or removed from the help menu at any time using "
15191539
"the General tab of the Configure IDLE dialog."
15201540
msgstr ""
15211541

1522-
#: ../../library/idle.rst:902
1542+
#: ../../library/idle.rst:917
15231543
msgid "Setting preferences"
15241544
msgstr "首选项设置"
15251545

1526-
#: ../../library/idle.rst:904
1546+
#: ../../library/idle.rst:919
15271547
msgid ""
15281548
"The font preferences, highlighting, keys, and general preferences can be "
15291549
"changed via Configure IDLE on the Option menu. Non-default user settings are"
@@ -1532,7 +1552,7 @@ msgid ""
15321552
" or more of the files in ``.idlerc``."
15331553
msgstr ""
15341554

1535-
#: ../../library/idle.rst:910
1555+
#: ../../library/idle.rst:925
15361556
msgid ""
15371557
"On the Font tab, see the text sample for the effect of font face and size on"
15381558
" multiple characters in multiple languages. Edit the sample to add other "
@@ -1541,30 +1561,30 @@ msgid ""
15411561
"the top of the sample and try changing first size and then font."
15421562
msgstr ""
15431563

1544-
#: ../../library/idle.rst:917
1564+
#: ../../library/idle.rst:932
15451565
msgid ""
15461566
"On the Highlights and Keys tab, select a built-in or custom color theme and "
15471567
"key set. To use a newer built-in color theme or key set with older IDLEs, "
15481568
"save it as a new custom theme or key set and it well be accessible to older "
15491569
"IDLEs."
15501570
msgstr ""
15511571

1552-
#: ../../library/idle.rst:923
1572+
#: ../../library/idle.rst:938
15531573
msgid "IDLE on macOS"
15541574
msgstr "macOS 上的IDLE "
15551575

1556-
#: ../../library/idle.rst:925
1576+
#: ../../library/idle.rst:940
15571577
msgid ""
15581578
"Under System Preferences: Dock, one can set \"Prefer tabs when opening "
15591579
"documents\" to \"Always\". This setting is not compatible with the "
15601580
"tk/tkinter GUI framework used by IDLE, and it breaks a few IDLE features."
15611581
msgstr ""
15621582

1563-
#: ../../library/idle.rst:930
1583+
#: ../../library/idle.rst:945
15641584
msgid "Extensions"
15651585
msgstr "扩展"
15661586

1567-
#: ../../library/idle.rst:932
1587+
#: ../../library/idle.rst:947
15681588
msgid ""
15691589
"IDLE contains an extension facility. Preferences for extensions can be "
15701590
"changed with the Extensions tab of the preferences dialog. See the beginning"

0 commit comments

Comments
 (0)