@@ -1601,50 +1601,52 @@ msgid ""
16011601" having been changed (*changed*\\ ``=True``) or unchanged (*changed*\\ "
16021602"``=False``)."
16031603msgstr ""
1604+ "假定从行 *start* 开始的 *count* 行已被更改。 如果提供了 *changed*,它将指明是将受影响的行标记为已更改 "
1605+ "(*changed*\\ ``=True``) 还是未更改 (*changed*\\ ``=False``)。"
16041606
16051607#: ../../library/curses.rst:1261
16061608msgid ""
16071609"Pretend the whole window has been changed, for purposes of drawing "
16081610"optimizations."
1609- msgstr ""
1611+ msgstr "假定整个窗口已被更改,其目的是用于绘制优化。 "
16101612
16111613#: ../../library/curses.rst:1267
16121614msgid ""
16131615"Mark all lines in the window as unchanged since the last call to "
16141616":meth:`refresh`."
1615- msgstr ""
1617+ msgstr "将自上次调用 :meth:`refresh` 以来窗口中的所有行标记为未改变。 "
16161618
16171619#: ../../library/curses.rst:1274
16181620msgid ""
16191621"Display a vertical line starting at ``(y, x)`` with length *n* consisting of"
16201622" the character *ch*."
1621- msgstr ""
1623+ msgstr "显示一条起始于 ``(y, x)`` 长度为 *n* 个字符 *ch* 的垂直线。 "
16221624
16231625#: ../../library/curses.rst:1279
16241626msgid "Constants"
16251627msgstr "常量"
16261628
16271629#: ../../library/curses.rst:1281
16281630msgid "The :mod:`curses` module defines the following data members:"
1629- msgstr ""
1631+ msgstr ":mod:`curses` 模块定义了以下数据成员: "
16301632
16311633#: ../../library/curses.rst:1286
16321634msgid ""
16331635"Some curses routines that return an integer, such as "
16341636":meth:`~window.getch`, return :const:`ERR` upon failure."
1635- msgstr ""
1637+ msgstr "一些返回整数的 curses 例程,例如 :meth:`~window.getch`,在失败时将返回 :const:`ERR`。 "
16361638
16371639#: ../../library/curses.rst:1292
16381640msgid ""
16391641"Some curses routines that return an integer, such as :func:`napms`, "
16401642"return :const:`OK` upon success."
1641- msgstr ""
1643+ msgstr "一些返回整数的 curses 例程,例如 :func:`napms`,在成功时将返回 :const:`OK`。 "
16421644
16431645#: ../../library/curses.rst:1298
16441646msgid ""
16451647"A bytes object representing the current version of the module. Also "
16461648"available as :const:`__version__`."
1647- msgstr ""
1649+ msgstr "一个代表当前模块版本的字节串对象。 也作 :const:`__version__`。 "
16481650
16491651#: ../../library/curses.rst:1304
16501652msgid ""
@@ -1653,16 +1655,19 @@ msgid ""
16531655"components can also be accessed by name, so ``curses.ncurses_version[0]`` "
16541656"is equivalent to ``curses.ncurses_version.major`` and so on."
16551657msgstr ""
1658+ "一个具名元组,它包含构成 ncurses 库版本号的三个数字: *major*, *minor* 和 *patch*。 三个值均为整数。 "
1659+ "三个值也可通过名称来访问,因此 ``curses.ncurses_version[0]`` 等价于 "
1660+ "``curses.ncurses_version.major``,依此类推。"
16561661
16571662#: ../../library/curses.rst:1309
16581663msgid "Availability: if the ncurses library is used."
1659- msgstr ""
1664+ msgstr "可用性:如果使用了 ncurses 库。 "
16601665
16611666#: ../../library/curses.rst:1314
16621667msgid ""
16631668"Some constants are available to specify character cell attributes. The exact"
16641669" constants available are system dependent."
1665- msgstr ""
1670+ msgstr "有些常量可用于指定字符单元属性。 实际可用的常量取决于具体的系统。 "
16661671
16671672#: ../../library/curses.rst:1318
16681673msgid "Attribute"
@@ -2692,6 +2697,8 @@ msgid ""
26922697"software emulations such as X terminals. When there is no graphic "
26932698"available, curses falls back on a crude printable ASCII approximation."
26942699msgstr ""
2700+ "下表列出了替代字符集中的字符。 这些字符继承自 VT100 终端,在 X 终端等软件模拟器上通常均为可用。 当没有可用的图形时,curses "
2701+ "会回退为粗糙的可打印 ASCII 近似符号。"
26952702
26962703#: ../../library/curses.rst:1607
26972704msgid "These are available only after :func:`initscr` has been called."
@@ -2995,7 +3002,7 @@ msgstr "``ACS_SSSS``"
29953002
29963003#: ../../library/curses.rst:1684
29973004msgid "alternate name for crossover or big plus"
2998- msgstr ""
3005+ msgstr "交叉或大加号的替代名称 "
29993006
30003007#: ../../library/curses.rst:1686
30013008msgid "``ACS_STERLING``"
@@ -3119,7 +3126,7 @@ msgstr "黄色"
31193126
31203127#: ../../library/curses.rst:1723
31213128msgid ":mod:`curses.textpad` --- Text input widget for curses programs"
3122- msgstr ""
3129+ msgstr ":mod:`curses.textpad` --- 用于 curses 程序的文本输入控件 "
31233130
31243131#: ../../library/curses.rst:1731
31253132msgid ""
0 commit comments