Skip to content

Commit dc918f6

Browse files
author
github-actions
committed
Merge 3.11 into 3.9
1 parent 4186989 commit dc918f6

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

library/exceptions.po

+10-2
Original file line numberDiff line numberDiff line change
@@ -652,26 +652,32 @@ msgid ""
652652
"The :func:`str` of the exception instance returns only the error message. "
653653
"Details is a tuple whose members are also available as separate attributes."
654654
msgstr ""
655+
"例外インスタンスの :func:`str` はエラーメッセージのみを返します。詳細はタプル"
656+
"で、個々の属性としても利用できます。"
655657

656658
#: ../../library/exceptions.rst:406
657659
msgid "The name of the file the syntax error occurred in."
658-
msgstr ""
660+
msgstr "構文エラーが発生したファイルの名前。"
659661

660662
#: ../../library/exceptions.rst:410
661663
msgid ""
662664
"Which line number in the file the error occurred in. This is 1-indexed: the "
663665
"first line in the file has a ``lineno`` of 1."
664666
msgstr ""
667+
"ファイルのエラーが発生した行番号。1から数えはじめるため、ファイルの最初の行"
668+
"の ``lineno`` は1です。"
665669

666670
#: ../../library/exceptions.rst:415
667671
msgid ""
668672
"The column in the line where the error occurred. This is 1-indexed: the "
669673
"first character in the line has an ``offset`` of 1."
670674
msgstr ""
675+
"行のエラーが発生した列番号。1から数えはじめるため、行の最初の文字の "
676+
"``offset`` は1です。"
671677

672678
#: ../../library/exceptions.rst:420
673679
msgid "The source code text involved in the error."
674-
msgstr ""
680+
msgstr "エラーを含むソースコードのテキスト。"
675681

676682
#: ../../library/exceptions.rst:422
677683
msgid ""
@@ -1138,6 +1144,8 @@ msgid ""
11381144
"Ignored by the default warning filters. Enabling the :ref:`Python "
11391145
"Development Mode <devmode>` shows this warning."
11401146
msgstr ""
1147+
"デフォルトの警告フィルターで無効化されています。:ref:`Python Development "
1148+
"Mode <devmode>` を有効にするとこの警告が表示されます。"
11411149

11421150
#: ../../library/exceptions.rst:737
11431151
msgid "Base class for warnings about dubious syntax."

library/string.po

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

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

701709
#: ../../library/string.rst:422
702710
msgid ""

0 commit comments

Comments
 (0)