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#
@@ -11,7 +11,7 @@ msgid ""
1111msgstr ""
1212"Project-Id-Version : Python 3.7\n "
1313"Report-Msgid-Bugs-To : \n "
14- "POT-Creation-Date : 2018-12-29 10:12 +0900\n "
14+ "POT-Creation-Date : 2019-02-10 10:28 +0900\n "
1515"PO-Revision-Date : 2017-02-16 23:14+0000\n "
1616"
Last-Translator :
Shengjing Zhu <[email protected] >, 2018\n "
1717"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
@@ -1275,23 +1275,34 @@ msgstr ""
12751275
12761276#: ../../library/idle.rst:719
12771277msgid ""
1278- "Text widgets display a subset of Unicode, the Basic Multilingual Plane "
1279- "(BMP). Which characters get a proper glyph instead of a replacement box "
1280- "depends on the operating system and installed fonts. Newline characters "
1281- "cause following text to appear on a new line, but other control characters "
1282- "are either replaced with a box or deleted. However, ``repr()``, which is "
1283- "used for interactive echo of expression values, replaces control characters,"
1284- " some BMP codepoints, and all non-BMP characters with escape codes before "
1285- "they are output."
1278+ "A Tk Text widget, and hence IDLE's Shell, displays characters (codepoints) "
1279+ "in the the BMP (Basic Multilingual Plane) subset of Unicode. Which "
1280+ "characters are displayed with a proper glyph and which with a replacement "
1281+ "box depends on the operating system and installed fonts. Tab characters "
1282+ "cause the following text to begin after the next tab stop. (They occur every"
1283+ " 8 'characters'). Newline characters cause following text to appear on a new"
1284+ " line. Other control characters are ignored or displayed as a space, box, or"
1285+ " something else, depending on the operating system and font. (Moving the "
1286+ "text cursor through such output with arrow keys may exhibit some surprising "
1287+ "spacing behavior.)"
12861288msgstr ""
12871289
1288- #: ../../library/idle.rst:728
1290+ #: ../../library/idle.rst:741
1291+ msgid ""
1292+ "The ``repr`` function is used for interactive echo of expression values. It"
1293+ " returns an altered version of the input string in which control codes, some"
1294+ " BMP codepoints, and all non-BMP codepoints are replaced with escape codes. "
1295+ "As demonstrated above, it allows one to identify the characters in a string,"
1296+ " regardless of how they are displayed."
1297+ msgstr ""
1298+
1299+ #: ../../library/idle.rst:747
12891300msgid ""
12901301"Normal and error output are generally kept separate (on separate lines) from"
12911302" code input and each other. They each get different highlight colors."
12921303msgstr ""
12931304
1294- #: ../../library/idle.rst:731
1305+ #: ../../library/idle.rst:750
12951306msgid ""
12961307"For SyntaxError tracebacks, the normal '^' marking where the error was "
12971308"detected is replaced by coloring the text with an error highlight. When code"
@@ -1300,7 +1311,7 @@ msgid ""
13001311"opened if necessary."
13011312msgstr ""
13021313
1303- #: ../../library/idle.rst:737
1314+ #: ../../library/idle.rst:756
13041315msgid ""
13051316"Shell has a special facility for squeezing output lines down to a 'Squeezed "
13061317"text' label. This is done automatically for output over N lines (N = 50 by "
@@ -1310,18 +1321,18 @@ msgid ""
13101321"scrolling."
13111322msgstr ""
13121323
1313- #: ../../library/idle.rst:745
1324+ #: ../../library/idle.rst:764
13141325msgid ""
13151326"Squeezed output is expanded in place by double-clicking the label. It can "
13161327"also be sent to the clipboard or a separate view window by right-clicking "
13171328"the label."
13181329msgstr ""
13191330
1320- #: ../../library/idle.rst:750
1331+ #: ../../library/idle.rst:769
13211332msgid "Developing tkinter applications"
13221333msgstr ""
13231334
1324- #: ../../library/idle.rst:752
1335+ #: ../../library/idle.rst:771
13251336msgid ""
13261337"IDLE is intentionally different from standard Python in order to facilitate "
13271338"development of tkinter programs. Enter ``import tkinter as tk; root = "
@@ -1333,7 +1344,7 @@ msgid ""
13331344" visibly changes in standard Python until one enters ``root.update()``."
13341345msgstr ""
13351346
1336- #: ../../library/idle.rst:761
1347+ #: ../../library/idle.rst:780
13371348msgid ""
13381349"Most tkinter programs run ``root.mainloop()``, which usually does not return"
13391350" until the tk app is destroyed. If the program is run with ``python -i`` or"
@@ -1342,27 +1353,27 @@ msgid ""
13421353"with."
13431354msgstr ""
13441355
1345- #: ../../library/idle.rst:767
1356+ #: ../../library/idle.rst:786
13461357msgid ""
13471358"When running a tkinter program from an IDLE editor, one can comment out the "
13481359"mainloop call. One then gets a shell prompt immediately and can interact "
13491360"with the live application. One just has to remember to re-enable the "
13501361"mainloop call when running in standard Python."
13511362msgstr ""
13521363
1353- #: ../../library/idle.rst:773
1364+ #: ../../library/idle.rst:792
13541365msgid "Running without a subprocess"
13551366msgstr ""
13561367
1357- #: ../../library/idle.rst:775
1368+ #: ../../library/idle.rst:794
13581369msgid ""
13591370"By default, IDLE executes user code in a separate subprocess via a socket, "
13601371"which uses the internal loopback interface. This connection is not "
13611372"externally visible and no data is sent to or received from the Internet. If "
13621373"firewall software complains anyway, you can ignore it."
13631374msgstr ""
13641375
1365- #: ../../library/idle.rst:780
1376+ #: ../../library/idle.rst:799
13661377msgid ""
13671378"If the attempt to make the socket connection fails, Idle will notify you. "
13681379"Such failures are sometimes transient, but if persistent, the problem may be"
@@ -1371,7 +1382,7 @@ msgid ""
13711382" command line switch."
13721383msgstr ""
13731384
1374- #: ../../library/idle.rst:786
1385+ #: ../../library/idle.rst:805
13751386msgid ""
13761387"If IDLE is started with the -n command line switch it will run in a single "
13771388"process and will not create the subprocess which runs the RPC Python "
@@ -1385,15 +1396,15 @@ msgid ""
13851396"at all possible."
13861397msgstr ""
13871398
1388- #: ../../library/idle.rst:801
1399+ #: ../../library/idle.rst:820
13891400msgid "Help and preferences"
13901401msgstr ""
13911402
1392- #: ../../library/idle.rst:806
1403+ #: ../../library/idle.rst:825
13931404msgid "Help sources"
13941405msgstr ""
13951406
1396- #: ../../library/idle.rst:808
1407+ #: ../../library/idle.rst:827
13971408msgid ""
13981409"Help menu entry \" IDLE Help\" displays a formatted html version of the IDLE "
13991410"chapter of the Library Reference. The result, in a read-only tkinter text "
@@ -1403,25 +1414,25 @@ msgid ""
14031414"the opened box."
14041415msgstr ""
14051416
1406- #: ../../library/idle.rst:816
1417+ #: ../../library/idle.rst:835
14071418msgid ""
14081419"Help menu entry \" Python Docs\" opens the extensive sources of help, "
14091420"including tutorials, available at docs.python.org/x.y, where 'x.y' is the "
14101421"currently running Python version. If your system has an off-line copy of "
14111422"the docs (this may be an installation option), that will be opened instead."
14121423msgstr ""
14131424
1414- #: ../../library/idle.rst:822
1425+ #: ../../library/idle.rst:841
14151426msgid ""
14161427"Selected URLs can be added or removed from the help menu at any time using "
14171428"the General tab of the Configure IDLE dialog ."
14181429msgstr ""
14191430
1420- #: ../../library/idle.rst:828
1431+ #: ../../library/idle.rst:847
14211432msgid "Setting preferences"
14221433msgstr ""
14231434
1424- #: ../../library/idle.rst:830
1435+ #: ../../library/idle.rst:849
14251436msgid ""
14261437"The font preferences, highlighting, keys, and general preferences can be "
14271438"changed via Configure IDLE on the Option menu. Non-default user settings are"
@@ -1430,30 +1441,30 @@ msgid ""
14301441"more of the files in .idlerc."
14311442msgstr ""
14321443
1433- #: ../../library/idle.rst:836
1444+ #: ../../library/idle.rst:855
14341445msgid ""
14351446"On the Highlights and Keys tab, select a built-in or custom color theme and "
14361447"key set. To use a newer built-in color theme or key set with older IDLEs, "
14371448"save it as a new custom theme or key set and it well be accessible to older "
14381449"IDLEs."
14391450msgstr ""
14401451
1441- #: ../../library/idle.rst:842
1452+ #: ../../library/idle.rst:861
14421453msgid "IDLE on macOS"
14431454msgstr ""
14441455
1445- #: ../../library/idle.rst:844
1456+ #: ../../library/idle.rst:863
14461457msgid ""
14471458"Under System Preferences: Dock, one can set \" Prefer tabs when opening "
14481459"documents\" to \" Always\" . This setting is not compatible with the "
14491460"tk/tkinter GUI framework used by IDLE, and it breaks a few IDLE features."
14501461msgstr ""
14511462
1452- #: ../../library/idle.rst:849
1463+ #: ../../library/idle.rst:868
14531464msgid "Extensions"
14541465msgstr ""
14551466
1456- #: ../../library/idle.rst:851
1467+ #: ../../library/idle.rst:870
14571468msgid ""
14581469"IDLE contains an extension facility. Preferences for extensions can be "
14591470"changed with the Extensions tab of the preferences dialog. See the beginning"
0 commit comments