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

Skip to content

Commit ea94791

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

1 file changed

Lines changed: 18 additions & 9 deletions

File tree

library/locale.po

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
# Zombie110year <[email protected]>, 2019
1010
# 钢 彭 <[email protected]>, 2019
1111
# ppcfish <[email protected]>, 2019
12-
# Dai Xu <[email protected]>, 2021
1312
# Freesand Leo <[email protected]>, 2021
13+
# Dai Xu <[email protected]>, 2021
1414
#
1515
#, fuzzy
1616
msgid ""
@@ -19,7 +19,7 @@ msgstr ""
1919
"Report-Msgid-Bugs-To: \n"
2020
"POT-Creation-Date: 2021-01-01 05:02+0000\n"
2121
"PO-Revision-Date: 2017-02-16 23:16+0000\n"
22-
"Last-Translator: Freesand Leo <yuqinju@163.com>, 2021\n"
22+
"Last-Translator: Dai Xu <daixu61@hotmail.com>, 2021\n"
2323
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
2424
"MIME-Version: 1.0\n"
2525
"Content-Type: text/plain; charset=UTF-8\n"
@@ -581,22 +581,23 @@ msgid ""
581581
"locale code is formatted for use with :func:`setlocale`. If normalization "
582582
"fails, the original name is returned unchanged."
583583
msgstr ""
584+
"为给定的区域名称返回标准代码。返回的区域代码已经格式化,可供 :func:`setlocale` 使用。 如果标准化操作失败,则返回原名称。"
584585

585586
#: ../../library/locale.rst:341
586587
msgid ""
587588
"If the given encoding is not known, the function defaults to the default "
588589
"encoding for the locale code just like :func:`setlocale`."
589-
msgstr ""
590+
msgstr "如果给出的编码无法识别,则本函数默认采用区域代码的默认编码,这正类似于 :func:`setlocale`。"
590591

591592
#: ../../library/locale.rst:347
592593
msgid "Sets the locale for *category* to the default setting."
593-
msgstr ""
594+
msgstr "将 *category* 的区域设为默认值。"
594595

595596
#: ../../library/locale.rst:349
596597
msgid ""
597598
"The default setting is determined by calling :func:`getdefaultlocale`. "
598599
"*category* defaults to :const:`LC_ALL`."
599-
msgstr ""
600+
msgstr "默认设置通过调用 :func:`getdefaultlocale` 确定。*category* 默认为 :const:`LC_ALL`。"
600601

601602
#: ../../library/locale.rst:355
602603
msgid ""
@@ -605,6 +606,8 @@ msgid ""
605606
"``0``, depending on whether *string1* collates before or after *string2* or "
606607
"is equal to it."
607608
msgstr ""
609+
"根据当前的 :const:`LC_COLLATE` 设置,对两个字符串进行比较。与其他比较函数一样,根据 *string1* 位于 *string2* "
610+
"之前、之后或是相同,返回负值、、正值或者 ``0``。"
608611

609612
#: ../../library/locale.rst:363
610613
msgid ""
@@ -613,6 +616,8 @@ msgid ""
613616
"s2) < 0``. This function can be used when the same string is compared "
614617
"repeatedly, e.g. when collating a sequence of strings."
615618
msgstr ""
619+
"将字符串转换为可用于本地化比较的字符串。例如 ``strxfrm(s1) < strxfrm(s2)`` 相当于 ``strcoll(s1, s2) <"
620+
" 0``。在重复比较同一个字符串时,可能会用到本函数,比如整理字符串列表时。"
616621

617622
#: ../../library/locale.rst:372
618623
msgid ""
@@ -621,33 +626,37 @@ msgid ""
621626
"point values, the decimal point is modified if appropriate. If *grouping* "
622627
"is true, also takes the grouping into account."
623628
msgstr ""
629+
"根据当前的 :const:`LC_NUMERIC` 设置,对数字 *val* 进行格式化。格式将遵循 ``%`` "
630+
"运算符的约定。浮点值的小数点会按需修改。若 *grouping* 为 True,则还会考虑分组。"
624631

625632
#: ../../library/locale.rst:377
626633
msgid ""
627634
"If *monetary* is true, the conversion uses monetary thousands separator and "
628635
"grouping strings."
629-
msgstr ""
636+
msgstr "若 *monetary* 为 True,则会用到货币千位分隔符和分组字符串。"
630637

631638
#: ../../library/locale.rst:380
632639
msgid ""
633640
"Processes formatting specifiers as in ``format % val``, but takes the "
634641
"current locale settings into account."
635-
msgstr ""
642+
msgstr "格式化符的处理类似 ``format % val`` ,但会考虑到当前的区域设置。"
636643

637644
#: ../../library/locale.rst:383
638645
msgid "The *monetary* keyword parameter was added."
639-
msgstr ""
646+
msgstr "增加了关键字参数 *monetary* 。"
640647

641648
#: ../../library/locale.rst:389
642649
msgid ""
643650
"Please note that this function works like :meth:`format_string` but will "
644651
"only work for exactly one ``%char`` specifier. For example, ``'%f'`` and "
645652
"``'%.0f'`` are both valid specifiers, but ``'%f KiB'`` is not."
646653
msgstr ""
654+
"请注意,本函数的工作原理与 :meth:`format_string` 类似,但只对 ``%char`` 格式符起作用。 比如 ``'%f'`` 和 "
655+
"``'%.0f'`` 都是有效的格式符,但 ``'%f KiB'`` 则不是。"
647656

648657
#: ../../library/locale.rst:393
649658
msgid "For whole format strings, use :func:`format_string`."
650-
msgstr ""
659+
msgstr "若想用到全部的格式化串,请采用 :func:`format_string`。"
651660

652661
#: ../../library/locale.rst:395
653662
msgid "Use :meth:`format_string` instead."

0 commit comments

Comments
 (0)