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

Skip to content

Commit cff2a18

Browse files
[po] auto sync
1 parent 657f35e commit cff2a18

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

library/cgi.po

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
# Meng Du <[email protected]>, 2021
1010
# nick <[email protected]>, 2021
1111
# Freesand Leo <[email protected]>, 2021
12+
# Dai Xu <[email protected]>, 2021
1213
#
1314
#, fuzzy
1415
msgid ""
@@ -17,7 +18,7 @@ msgstr ""
1718
"Report-Msgid-Bugs-To: \n"
1819
"POT-Creation-Date: 2021-07-27 13:07+0000\n"
1920
"PO-Revision-Date: 2021-06-28 00:56+0000\n"
20-
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2021\n"
21+
"Last-Translator: Dai Xu <daixu61@hotmail.com>, 2021\n"
2122
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2223
"MIME-Version: 1.0\n"
2324
"Content-Type: text/plain; charset=UTF-8\n"
@@ -641,13 +642,16 @@ msgid ""
641642
"most likely the traceback will end up in one of the HTTP server's log files,"
642643
" or be discarded altogether."
643644
msgstr ""
645+
"当某个常规 Python 脚本触发了未处理的异常,(无论出于什么原因:模块名称出错、文件无法打开等),Python "
646+
"解释器就会打印出一条完整的跟踪信息并退出。在 CGI 脚本触发异常时,Python 解释器依然会如此,但最有可能的是,跟踪信息只会停留在某个 HTTP "
647+
"服务日志文件中,或者被完全丢弃。"
644648

645649
#: ../../library/cgi.rst:459
646650
msgid ""
647651
"Fortunately, once you have managed to get your script to execute *some* "
648652
"code, you can easily send tracebacks to the web browser using the "
649653
":mod:`cgitb` module. If you haven't done so already, just add the lines::"
650-
msgstr ""
654+
msgstr "幸运的是,只要执行 *某些* 代码,就可以利用 :mod:`cgitb` 模块将跟踪信息发送给浏览器。加入以下几行代码即可:"
651655

652656
#: ../../library/cgi.rst:466
653657
msgid ""

0 commit comments

Comments
 (0)