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

Skip to content

Commit ae91654

Browse files
[po] auto sync
1 parent f75fbd6 commit ae91654

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

library/locale.po

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -524,13 +524,17 @@ msgid ""
524524
"``'LANG'``. The GNU gettext search path contains ``'LC_ALL'``, "
525525
"``'LC_CTYPE'``, ``'LANG'`` and ``'LANGUAGE'``, in that order."
526526
msgstr ""
527+
"为了维持与其他平台的兼容性,不仅需要检测 :envvar:`LANG` 变量,还需要检测 envvars 参数给出的变量列表。首先发现的定义将被采用。 "
528+
"*envvars* 默认为 GNU gettext 采用的搜索路径;必须包含 ``'LANG'`` 变量。 GNU gettext 的搜索路径依次包含了"
529+
" ``'LC_ALL'``、``'LC_CTYPE'``、``'LANG'`` 和 ``'LANGUAGE'``。"
527530

528531
#: ../../library/locale.rst:300 ../../library/locale.rst:311
529532
msgid ""
530533
"Except for the code ``'C'``, the language code corresponds to :rfc:`1766`. "
531534
"*language code* and *encoding* may be ``None`` if their values cannot be "
532535
"determined."
533536
msgstr ""
537+
"除了 ``'C'`` 之外,语言代码对应 :rfc:`1766` 标准。如果 *语言代码* 和 *编码* 不能确定,可为 ``None``。"
534538

535539
#: ../../library/locale.rst:307
536540
msgid ""
@@ -539,6 +543,8 @@ msgid ""
539543
":const:`LC_\\*` values except :const:`LC_ALL`. It defaults to "
540544
":const:`LC_CTYPE`."
541545
msgstr ""
546+
"以列表的形式返回指定地区类别的当前设置,结果包括 *语言代码* 、*编码*。*category* 可以是 :const:`LC_\\*` 之一, "
547+
":const:`LC_ALL` 除外。默认为 :const:`LC_CTYPE`。"
542548

543549
#: ../../library/locale.rst:318
544550
msgid ""
@@ -554,6 +560,8 @@ msgid ""
554560
"user preferences, so this function is not thread-safe. If invoking setlocale"
555561
" is not necessary or desired, *do_setlocale* should be set to ``False``."
556562
msgstr ""
563+
"某些系统必须调用 :func:`setlocale` 才能获取用户偏好,所以本函数不是线程安全的。如果不需要或不希望调用 "
564+
"setlocale,*do_setlocale* 应设为 ``False``。"
557565

558566
#: ../../library/locale.rst:327
559567
msgid ""

0 commit comments

Comments
 (0)