@@ -106,7 +106,7 @@ msgstr ""
106106
107107#: ../../library/string.rst:79
108108msgid "Custom String Formatting"
109- msgstr ""
109+ msgstr "自定义字符串格式 "
110110
111111#: ../../library/string.rst:81
112112msgid ""
@@ -242,7 +242,7 @@ msgstr ""
242242
243243#: ../../library/string.rst:187
244244msgid "Format String Syntax"
245- msgstr ""
245+ msgstr "格式字符串语法 "
246246
247247#: ../../library/string.rst:189
248248msgid ""
@@ -309,7 +309,7 @@ msgstr ""
309309
310310#: ../../library/string.rst:247
311311msgid "Some simple format string examples::"
312- msgstr ""
312+ msgstr "一些简单的格式字符串示例 "
313313
314314#: ../../library/string.rst:256
315315msgid ""
@@ -418,27 +418,27 @@ msgstr "意义"
418418
419419#: ../../library/string.rst:342
420420msgid "``'<'``"
421- msgstr ""
421+ msgstr "``'<'`` "
422422
423423#: ../../library/string.rst:342
424424msgid ""
425425"Forces the field to be left-aligned within the available space (this is the "
426426"default for most objects)."
427- msgstr ""
427+ msgstr "强制字段在可用空间内左对齐(这是大多数对象的默认值)。 "
428428
429429#: ../../library/string.rst:345
430430msgid "``'>'``"
431- msgstr ""
431+ msgstr "``'>'`` "
432432
433433#: ../../library/string.rst:345
434434msgid ""
435435"Forces the field to be right-aligned within the available space (this is the"
436436" default for numbers)."
437- msgstr ""
437+ msgstr "强制字段在可用空间内右对齐(这是数字的默认值)。 "
438438
439439#: ../../library/string.rst:348
440440msgid "``'='``"
441- msgstr ""
441+ msgstr "``'='`` "
442442
443443#: ../../library/string.rst:348
444444msgid ""
@@ -447,27 +447,28 @@ msgid ""
447447"alignment option is only valid for numeric types. It becomes the default "
448448"when '0' immediately precedes the field width."
449449msgstr ""
450+ "强制将填充放置在符号(如果有)之后但在数字之前。这用于以“+000000120”形式打印字段。此对齐选项仅对数字类型有效。当'0'紧接在字段宽度之前时,它成为默认值。"
450451
451452#: ../../library/string.rst:354
452453msgid "``'^'``"
453- msgstr ""
454+ msgstr "``'^'`` "
454455
455456#: ../../library/string.rst:354
456457msgid "Forces the field to be centered within the available space."
457- msgstr ""
458+ msgstr "强制字段在可用空间内居中。 "
458459
459460#: ../../library/string.rst:358
460461msgid ""
461462"Note that unless a minimum field width is defined, the field width will "
462463"always be the same size as the data to fill it, so that the alignment option"
463464" has no meaning in this case."
464- msgstr ""
465+ msgstr "请注意,除非定义了最小字段宽度,否则字段宽度将始终与填充它的数据大小相同,因此在这种情况下,对齐选项没有意义。 "
465466
466467#: ../../library/string.rst:362
467468msgid ""
468469"The *sign* option is only valid for number types, and can be one of the "
469470"following:"
470- msgstr ""
471+ msgstr "*sign* 选项仅对数字类型有效,可以是以下之一: "
471472
472473#: ../../library/string.rst:373
473474msgid "``'+'``"
@@ -477,7 +478,7 @@ msgstr "``'+'``"
477478msgid ""
478479"indicates that a sign should be used for both positive as well as negative "
479480"numbers."
480- msgstr ""
481+ msgstr "表示标志应该用于正数和负数。 "
481482
482483#: ../../library/string.rst:376
483484msgid "``'-'``"
@@ -487,17 +488,17 @@ msgstr "``'-'``"
487488msgid ""
488489"indicates that a sign should be used only for negative numbers (this is the "
489490"default behavior)."
490- msgstr ""
491+ msgstr "表示标志应仅用于负数(这是默认行为)。 "
491492
492493#: ../../library/string.rst:379
493494msgid "space"
494- msgstr ""
495+ msgstr "space "
495496
496497#: ../../library/string.rst:379
497498msgid ""
498499"indicates that a leading space should be used on positive numbers, and a "
499500"minus sign on negative numbers."
500- msgstr ""
501+ msgstr "表示应在正数上使用前导空格,在负数上使用减号。 "
501502
502503#: ../../library/string.rst:386
503504msgid ""
@@ -568,7 +569,7 @@ msgstr ""
568569
569570#: ../../library/string.rst:436
570571msgid "The available string presentation types are:"
571- msgstr ""
572+ msgstr "可用的字符串表示类型是: "
572573
573574#: ../../library/string.rst:439 ../../library/string.rst:450
574575#: ../../library/string.rst:482
@@ -582,7 +583,7 @@ msgstr "``'s'``"
582583#: ../../library/string.rst:441
583584msgid ""
584585"String format. This is the default type for strings and may be omitted."
585- msgstr ""
586+ msgstr "字符串格式。这是字符串的默认类型,可以省略。 "
586587
587588#: ../../library/string.rst:444 ../../library/string.rst:471
588589#: ../../library/string.rst:532
@@ -591,19 +592,19 @@ msgstr "None"
591592
592593#: ../../library/string.rst:444
593594msgid "The same as ``'s'``."
594- msgstr ""
595+ msgstr "和 ``'s'`` 一样。 "
595596
596597#: ../../library/string.rst:447
597598msgid "The available integer presentation types are:"
598- msgstr ""
599+ msgstr "可用的整数表示类型是: "
599600
600601#: ../../library/string.rst:452
601602msgid "``'b'``"
602603msgstr "``'b'``"
603604
604605#: ../../library/string.rst:452
605606msgid "Binary format. Outputs the number in base 2."
606- msgstr ""
607+ msgstr "二进制格式。输出基数2中的数字。 "
607608
608609#: ../../library/string.rst:454
609610msgid "``'c'``"
@@ -613,23 +614,23 @@ msgstr "``'c'``"
613614msgid ""
614615"Character. Converts the integer to the corresponding unicode character "
615616"before printing."
616- msgstr ""
617+ msgstr "字符。在打印之前将整数转换为相应的unicode字符。 "
617618
618619#: ../../library/string.rst:457
619620msgid "``'d'``"
620621msgstr "``'d'``"
621622
622623#: ../../library/string.rst:457
623624msgid "Decimal Integer. Outputs the number in base 10."
624- msgstr ""
625+ msgstr "十进制整数。输出基数为10的数字。 "
625626
626627#: ../../library/string.rst:459
627628msgid "``'o'``"
628629msgstr "``'o'``"
629630
630631#: ../../library/string.rst:459
631632msgid "Octal format. Outputs the number in base 8."
632- msgstr ""
633+ msgstr "八进制格式。输出基数为8的数字。 "
633634
634635#: ../../library/string.rst:461
635636msgid "``'x'``"
@@ -639,7 +640,7 @@ msgstr "``'x'``"
639640msgid ""
640641"Hex format. Outputs the number in base 16, using lower-case letters for the "
641642"digits above 9."
642- msgstr ""
643+ msgstr "十六进制格式输出基数为16的数字,使用小写字母表示9以上的数字。 "
643644
644645#: ../../library/string.rst:464
645646msgid "``'X'``"
@@ -649,7 +650,7 @@ msgstr "``'X'``"
649650msgid ""
650651"Hex format. Outputs the number in base 16, using upper-case letters for the "
651652"digits above 9."
652- msgstr ""
653+ msgstr "十六进制格式输出基数16中的数字,使用大写字母表示9以上的数字。 "
653654
654655#: ../../library/string.rst:467 ../../library/string.rst:525
655656msgid "``'n'``"
@@ -663,7 +664,7 @@ msgstr ""
663664
664665#: ../../library/string.rst:471
665666msgid "The same as ``'d'``."
666- msgstr ""
667+ msgstr "和 ``'d'`` 一样。 "
667668
668669#: ../../library/string.rst:474
669670msgid ""
0 commit comments