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

Skip to content

Commit 2009c48

Browse files
[po] auto sync
1 parent 5c191ff commit 2009c48

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

library/cgi.po

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,8 @@ msgid ""
355355
":meth:`~FieldStorage.getfirst` and :meth:`~FieldStorage.getlist` provided by"
356356
" this higher level interface."
357357
msgstr ""
358+
"一种更便捷的方式是使用这个更高层级接口所提供的 :meth:`~FieldStorage.getfirst` 和 "
359+
":meth:`~FieldStorage.getlist` 方法。"
358360

359361
#: ../../library/cgi.rst:247
360362
msgid ""
@@ -366,6 +368,9 @@ msgid ""
366368
"specified by the optional parameter *default*. This parameter defaults to "
367369
"``None`` if not specified."
368370
msgstr ""
371+
"此方法总是只返回与表单字段 *name* 相关联的单一值。 此方法在同一名称下提交了多个值的情况下将仅返回第一个值。 "
372+
"请注意所接收的值顺序在不同浏览器上可能发生变化因而是不确定的。 [#]_ 如果指定的表单字段或值不存在则此方法将返回可选形参 *default* "
373+
"所指定的值。 如果未指定此形参则默认值为 ``None``。"
369374

370375
#: ../../library/cgi.rst:258
371376
msgid ""
@@ -374,10 +379,12 @@ msgid ""
374379
"exists for *name*. It returns a list consisting of one item if only one "
375380
"such value exists."
376381
msgstr ""
382+
"此方法总是返回与表单字段 *name* 相关联的值列表。 如果 *name* 指定的表单字段或值不存在则此方法将返回一个空列表。 "
383+
"如果指定的表单字段只包含一个值则它将返回只有一项的列表。"
377384

378385
#: ../../library/cgi.rst:262
379386
msgid "Using these methods you can write nice compact code::"
380-
msgstr ""
387+
msgstr "使用这两个方法你将能写出优雅简洁的代码::"
381388

382389
#: ../../library/cgi.rst:274
383390
msgid "Functions"

0 commit comments

Comments
 (0)