Skip to content

Commit ef2cdae

Browse files
author
github-actions
committed
Merge 3.11 into 3.10
1 parent dc675e7 commit ef2cdae

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

library/stdtypes.po

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2583,16 +2583,20 @@ msgid ""
25832583
"If *sub* is empty, returns the number of empty strings between characters "
25842584
"which is the length of the string plus one."
25852585
msgstr ""
2586+
"*sub* が空の場合は、文字と文字の間にある空文字列の数、すなわち文字列の長さに1"
2587+
"を加えたものを返します。"
25862588

25872589
#: ../../library/stdtypes.rst:1588
25882590
msgid "Return the string encoded to :class:`bytes`."
2589-
msgstr ""
2591+
msgstr ":class:`bytes` にエンコードされた文字列を返します。"
25902592

25912593
#: ../../library/stdtypes.rst:1590 ../../library/stdtypes.rst:2723
25922594
msgid ""
25932595
"*encoding* defaults to ``'utf-8'``; see :ref:`standard-encodings` for "
25942596
"possible values."
25952597
msgstr ""
2598+
"*encoding* のデフォルト値は ``'utf-8'`` です; 指定可能な値については :ref:"
2599+
"`standard-encodings` を参照してください。"
25962600

25972601
#: ../../library/stdtypes.rst:1593
25982602
msgid ""
@@ -2602,13 +2606,21 @@ msgid ""
26022606
"``'backslashreplace'`` and any other name registered via :func:`codecs."
26032607
"register_error`. See :ref:`error-handlers` for details."
26042608
msgstr ""
2609+
"*errors* はエンコーディングエラーをどのように取り扱うかを制御します。 "
2610+
"``'strict'`` (デフォルト) では :exc:`UnicodeError` 例外が送出されます。そのほ"
2611+
"かに指定可能な値は ``'ignore'``, ``'replace'``, ``'xmlcharrefreplace'``, "
2612+
"``'backslashreplace'`` と、そして :func:`codecs.register_error` で登録された"
2613+
"名前です。詳しくは :ref:`error-handlers` を参照してください。"
26052614

26062615
#: ../../library/stdtypes.rst:1600
26072616
msgid ""
26082617
"For performance reasons, the value of *errors* is not checked for validity "
26092618
"unless an encoding error actually occurs, :ref:`devmode` is enabled or a :"
26102619
"ref:`debug build <debug-build>` is used."
26112620
msgstr ""
2621+
"パフォーマンス上の理由から、 *errors* の値の妥当性は、エンコーディングエラー"
2622+
"が実際に発生するか、 :ref:`devmode` が有効になっているか、もしくは :ref:`デ"
2623+
"バッグビルド <debug-build>` が使われていない限りチェックされません。"
26122624

26132625
#: ../../library/stdtypes.rst:1605 ../../library/stdtypes.rst:2742
26142626
msgid "Added support for keyword arguments."
@@ -2619,6 +2631,8 @@ msgid ""
26192631
"The value of the *errors* argument is now checked in :ref:`devmode` and in :"
26202632
"ref:`debug mode <debug-build>`."
26212633
msgstr ""
2634+
"*errors* 引数の値は :ref:`devmode` と :ref:`デバッグモード <debug-build>` で"
2635+
"チェックされるようになりました。"
26222636

26232637
#: ../../library/stdtypes.rst:1615
26242638
msgid ""

0 commit comments

Comments
 (0)