@@ -675,7 +675,7 @@ msgstr "``'b'``"
675675
676676#: ../../library/string.rst:452
677677msgid "Binary format. Outputs the number in base 2."
678- msgstr "二进制格式。输出基数2中的数字 。"
678+ msgstr "二进制格式。 输出以 2 为基数的数字 。"
679679
680680#: ../../library/string.rst:454
681681msgid "``'c'``"
@@ -693,15 +693,15 @@ msgstr "``'d'``"
693693
694694#: ../../library/string.rst:457
695695msgid "Decimal Integer. Outputs the number in base 10."
696- msgstr "十进制整数。输出基数为10的数字 。"
696+ msgstr "十进制整数。 输出以 10 为基数的数字 。"
697697
698698#: ../../library/string.rst:459
699699msgid "``'o'``"
700700msgstr "``'o'``"
701701
702702#: ../../library/string.rst:459
703703msgid "Octal format. Outputs the number in base 8."
704- msgstr "八进制格式。输出基数为8的数字 。"
704+ msgstr "八进制格式。 输出以 8 为基数的数字 。"
705705
706706#: ../../library/string.rst:461
707707msgid "``'x'``"
@@ -711,7 +711,7 @@ msgstr "``'x'``"
711711msgid ""
712712"Hex format. Outputs the number in base 16, using lower-case letters for the "
713713"digits above 9."
714- msgstr "十六进制格式输出基数为16的数字,使用小写字母表示9以上的数字 。"
714+ msgstr "十六进制格式。 输出以 16 为基数的数字,使用小写字母表示 9 以上的数码 。"
715715
716716#: ../../library/string.rst:464
717717msgid "``'X'``"
@@ -721,7 +721,7 @@ msgstr "``'X'``"
721721msgid ""
722722"Hex format. Outputs the number in base 16, using upper-case letters for the "
723723"digits above 9."
724- msgstr "十六进制格式输出基数16中的数字,使用大写字母表示9以上的数字 。"
724+ msgstr "十六进制格式。 输出以 16 为基数的数字,使用大写字母表示 9 以上的数码 。"
725725
726726#: ../../library/string.rst:467 ../../library/string.rst:525
727727msgid "``'n'``"
@@ -731,11 +731,11 @@ msgstr "``'n'``"
731731msgid ""
732732"Number. This is the same as ``'d'``, except that it uses the current locale "
733733"setting to insert the appropriate number separator characters."
734- msgstr ""
734+ msgstr "数字。 这与 ``'d'`` 相似,不同之处在于它会使用当前区域设置来插入适当的数字分隔字符。 "
735735
736736#: ../../library/string.rst:471
737737msgid "The same as ``'d'``."
738- msgstr "和 ``'d'`` 一样 。"
738+ msgstr "和 ``'d'`` 相同 。"
739739
740740#: ../../library/string.rst:474
741741msgid ""
@@ -744,11 +744,13 @@ msgid ""
744744"``None``). When doing so, :func:`float` is used to convert the integer to a "
745745"floating point number before formatting."
746746msgstr ""
747+ "在上述的表示类型之外,整数还可以通过下列的浮点表示类型来格式化 (除了 ``'n'`` 和 ``None``)。 当这样做时,会在格式化之前使用 "
748+ ":func:`float` 将整数转换为浮点数。"
747749
748750#: ../../library/string.rst:479
749751msgid ""
750752"The available presentation types for floating point and decimal values are:"
751- msgstr ""
753+ msgstr "浮点数和小数值可用的表示类型有: "
752754
753755#: ../../library/string.rst:484
754756msgid "``'e'``"
@@ -758,7 +760,7 @@ msgstr "``'e'``"
758760msgid ""
759761"Exponent notation. Prints the number in scientific notation using the letter"
760762" 'e' to indicate the exponent. The default precision is ``6``."
761- msgstr ""
763+ msgstr "指数表示。 以使用字母 'e' 来标示指数的科学计数法打印数字。 默认的精度为 ``6``。 "
762764
763765#: ../../library/string.rst:488
764766msgid "``'E'``"
@@ -768,7 +770,7 @@ msgstr "``'E'``"
768770msgid ""
769771"Exponent notation. Same as ``'e'`` except it uses an upper case 'E' as the "
770772"separator character."
771- msgstr ""
773+ msgstr "指数表示。 与 ``'e'`` 相似,不同之处在于它使用大写字母 'E' 作为分隔字符。 "
772774
773775#: ../../library/string.rst:491
774776msgid "``'f'``"
@@ -778,7 +780,7 @@ msgstr "``'f'``"
778780msgid ""
779781"Fixed-point notation. Displays the number as a fixed-point number. The "
780782"default precision is ``6``."
781- msgstr ""
783+ msgstr "定点表示。 将数字显示为一个定点数。 默认的精确度为 ``6``。 "
782784
783785#: ../../library/string.rst:494
784786msgid "``'F'``"
@@ -788,7 +790,7 @@ msgstr "``'F'``"
788790msgid ""
789791"Fixed-point notation. Same as ``'f'``, but converts ``nan`` to ``NAN`` and "
790792"``inf`` to ``INF``."
791- msgstr ""
793+ msgstr "定点表示。 与 ``'f'`` 相似,但会将 ``nan`` 转为 ``NAN`` 并将 ``inf`` 转为 ``INF``。 "
792794
793795#: ../../library/string.rst:497
794796msgid "``'g'``"
0 commit comments