Skip to content

Commit 6b90b02

Browse files
author
github-actions
committed
Merge 3.11 into 3.8
1 parent 95012dd commit 6b90b02

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

library/exceptions.po

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -647,23 +647,27 @@ msgstr ""
647647

648648
#: ../../library/exceptions.rst:404
649649
msgid "The name of the file the syntax error occurred in."
650-
msgstr ""
650+
msgstr "構文エラーが発生したファイルの名前。"
651651

652652
#: ../../library/exceptions.rst:408
653653
msgid ""
654654
"Which line number in the file the error occurred in. This is 1-indexed: the "
655655
"first line in the file has a ``lineno`` of 1."
656656
msgstr ""
657+
"ファイルのエラーが発生した行番号。1から数えはじめるため、ファイルの最初の行"
658+
"の ``lineno`` は1です。"
657659

658660
#: ../../library/exceptions.rst:413
659661
msgid ""
660662
"The column in the line where the error occurred. This is 1-indexed: the "
661663
"first character in the line has an ``offset`` of 1."
662664
msgstr ""
665+
"行のエラーが発生した列番号。1から数えはじめるため、行の最初の文字の "
666+
"``offset`` は1です。"
663667

664668
#: ../../library/exceptions.rst:418
665669
msgid "The source code text involved in the error."
666-
msgstr ""
670+
msgstr "エラーを含むソースコードのテキスト。"
667671

668672
#: ../../library/exceptions.rst:423
669673
msgid ""

library/string.po

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,11 @@ msgid ""
314314
"less sophisticated and, in particular, does not support arbitrary "
315315
"expressions."
316316
msgstr ""
317+
":meth:`str.format` メソッドと :class:`Formatter` クラスは、文字列の書式指定に"
318+
"同じ文法を共有します (ただし、 :class:`Formatter` サブクラスでは、独自の書式"
319+
"指定文法を定義することが可能です)。\n"
320+
"この文法は :ref:`フォーマット済み文字列リテラル <f-strings>` の文法と関係して"
321+
"はいますが、少し洗練されておらず、特に任意の式がサポートされていません。"
317322

318323
#: ../../library/string.rst:201
319324
msgid ""
@@ -681,6 +686,9 @@ msgid ""
681686
"including any prefixes, separators, and other formatting characters. If not "
682687
"specified, then the field width will be determined by the content."
683688
msgstr ""
689+
"*width* は10進数の整数で、接頭辞、セパレータ、他のフォーマット文字を含んだ最"
690+
"小の合計フィールド幅を定義します。指定されない場合、フィールド幅はその内容に"
691+
"より決定されます。"
684692

685693
#: ../../library/string.rst:422
686694
msgid ""

0 commit comments

Comments
 (0)