@@ -877,15 +877,15 @@ msgstr ""
877877msgid ""
878878"Return a :class:`date` corresponding to a *date_string* given in the format "
879879"``YYYY-MM-DD``::"
880- msgstr "``YYYY-MM-DD`` という形式で与えられた *date_string* に対応する :class:`date` を返します ::"
880+ msgstr "``YYYY-MM-DD`` という書式で与えられた *date_string* に対応する :class:`date` を返します ::"
881881
882882#: /home/travis/build/python/cpython-doc-catalog/Doc/library/datetime.rst:526
883883msgid ""
884884"This is the inverse of :meth:`date.isoformat`. It only supports the format "
885885"``YYYY-MM-DD``."
886886msgstr ""
887887"この関数は :meth:`date.isoformat` の逆関数です。\n"
888- "``YYYY-MM-DD`` という形式のみをサポートしています 。"
888+ "``YYYY-MM-DD`` という書式のみをサポートしています 。"
889889
890890#: /home/travis/build/python/cpython-doc-catalog/Doc/library/datetime.rst:534
891891msgid ""
@@ -1103,7 +1103,7 @@ msgstr ""
11031103#: /home/travis/build/python/cpython-doc-catalog/Doc/library/datetime.rst:693
11041104msgid ""
11051105"Return a string representing the date in ISO 8601 format, ``YYYY-MM-DD``::"
1106- msgstr "日付を ISO 8601 形式の ``YYYY-MM-DD`` で表した文字列を返します::"
1106+ msgstr "日付を ISO 8601 書式の ``YYYY-MM-DD`` で表した文字列を返します::"
11071107
11081108#: /home/travis/build/python/cpython-doc-catalog/Doc/library/datetime.rst:699
11091109msgid "This is the inverse of :meth:`date.fromisoformat`."
@@ -1138,8 +1138,9 @@ msgid ""
11381138"values. For a complete list of formatting directives, see :ref:`strftime-"
11391139"strptime-behavior`."
11401140msgstr ""
1141- "明示的な書式文字列で制御された、日付を表現する文字列を返します。 時間、分、秒を表す書式化コードは値 0 "
1142- "になります。完全な書式化ディレクティブのリストについては :ref:`strftime-strptime-behavior` を参照してください。"
1141+ "明示的な書式文字列で制御された、日付を表現する文字列を返します。\n"
1142+ "時間、分、秒を表す書式コードは値 0 になります。\n"
1143+ "完全な書式化ディレクティブのリストについては :ref:`strftime-strptime-behavior` を参照してください。"
11431144
11441145#: /home/travis/build/python/cpython-doc-catalog/Doc/library/datetime.rst:733
11451146msgid ""
@@ -1467,12 +1468,12 @@ msgid ""
14671468"Return a :class:`.datetime` corresponding to a *date_string* in one of the "
14681469"formats emitted by :meth:`date.isoformat` and :meth:`datetime.isoformat`."
14691470msgstr ""
1470- ":meth:`date.isoformat` および :meth:`datetime.isoformat` の出力形式で 、 *date_string* "
1471+ ":meth:`date.isoformat` および :meth:`datetime.isoformat` の出力書式で 、 *date_string* "
14711472"に対応する :class:`datetime` を返します。"
14721473
14731474#: /home/travis/build/python/cpython-doc-catalog/Doc/library/datetime.rst:986
14741475msgid "Specifically, this function supports strings in the format:"
1475- msgstr "具体的には、この関数は次の形式の文字列をサポートしています :"
1476+ msgstr "具体的には、この関数は次の書式の文字列をサポートしています :"
14761477
14771478#: /home/travis/build/python/cpython-doc-catalog/Doc/library/datetime.rst:992
14781479msgid "where ``*`` can match any single character."
@@ -1526,9 +1527,9 @@ msgid ""
15261527"For a complete list of formatting directives, see :ref:`strftime-strptime-"
15271528"behavior`."
15281529msgstr ""
1529- "date_stringとformatが :func:`time.strptime` で構文解析できない場合や、この関数が時刻タプルを返してこない場合には "
1530- " :exc:`ValueError` を送出します。完全な書式化ディレクティブのリストについては :ref:`strftime-strptime- "
1531- "behavior` を参照してください。"
1530+ "date_string と format が :func:`time.strptime` "
1531+ "で構文解析できない場合や、この関数が時刻タプルを返してこない場合には :exc:`ValueError` "
1532+ "を送出します。完全な書式化ディレクティブのリストについては :ref:`strftime-strptime- behavior` を参照してください。"
15321533
15331534#: /home/travis/build/python/cpython-doc-catalog/Doc/library/datetime.rst:1049
15341535msgid ""
@@ -2024,7 +2025,7 @@ msgstr ""
20242025
20252026#: /home/travis/build/python/cpython-doc-catalog/Doc/library/datetime.rst:1408
20262027msgid "Return a string representing the date and time in ISO 8601 format:"
2027- msgstr "日時を ISO 8601 形式で表した文字列で返します ::"
2028+ msgstr "日時を ISO 8601 書式で表した文字列で返します ::"
20282029
20292030#: /home/travis/build/python/cpython-doc-catalog/Doc/library/datetime.rst:1410
20302031msgid "``YYYY-MM-DDTHH:MM:SS.ffffff``, if :attr:`microsecond` is not 0"
@@ -2173,7 +2174,7 @@ msgid ""
21732174msgstr ""
21742175":meth:`datetime.strftime` と等価です。\n"
21752176"これにより、 :ref:`フォーマット済み文字列リテラル <f-strings>` の中や :meth:`str.format` を使っているときに :class:`.datetime` オブジェクトの書式文字列を指定できます。\n"
2176- "書式化コードの完全なリストについては :ref:`strftime-strptime-behavior` を参照してください。"
2177+ "書式化ディレクティブの完全なリストについては :ref:`strftime-strptime-behavior` を参照してください。"
21772178
21782179#: /home/travis/build/python/cpython-doc-catalog/Doc/library/datetime.rst:1515
21792180msgid "Examples of Usage: :class:`.datetime`"
@@ -2315,8 +2316,8 @@ msgid ""
23152316"formats emitted by :meth:`time.isoformat`. Specifically, this function "
23162317"supports strings in the format:"
23172318msgstr ""
2318- ":meth:`time.isoformat` の出力形式のうちの1つの形式で 、 *time_string* に対応する :class:`time` を返します。\n"
2319- "具体的には、この関数は次の形式の文字列をサポートしています :"
2319+ ":meth:`time.isoformat` の出力書式のうちの1つの形式で 、 *time_string* に対応する :class:`time` を返します。\n"
2320+ "具体的には、この関数は次の書式の文字列をサポートしています :"
23202321
23212322#: /home/travis/build/python/cpython-doc-catalog/Doc/library/datetime.rst:1764
23222323msgid ""
@@ -2339,7 +2340,7 @@ msgstr ""
23392340
23402341#: /home/travis/build/python/cpython-doc-catalog/Doc/library/datetime.rst:1796
23412342msgid "Return a string representing the time in ISO 8601 format, one of:"
2342- msgstr "時刻を ISO 8601 形式で表した次の文字列のうち1つを返します ::"
2343+ msgstr "時刻を ISO 8601 書式で表した次の文字列のうち1つを返します ::"
23432344
23442345#: /home/travis/build/python/cpython-doc-catalog/Doc/library/datetime.rst:1798
23452346msgid "``HH:MM:SS.ffffff``, if :attr:`microsecond` is not 0"
@@ -2391,7 +2392,7 @@ msgid ""
23912392msgstr ""
23922393":meth:`time.strftime` と等価です。\n"
23932394"これにより、 :ref:`フォーマット済み文字列リテラル <f-strings>` の中や :meth:`str.format` を使っているときに :class:`.time` オブジェクトの書式文字列を指定できます。\n"
2394- "書式化コードの完全なリストについては :ref:`strftime-strptime-behavior` を参照してください。"
2395+ "書式化ディレクティブの完全なリストについては :ref:`strftime-strptime-behavior` を参照してください。"
23952396
23962397#: /home/travis/build/python/cpython-doc-catalog/Doc/library/datetime.rst:1861
23972398msgid ""
@@ -2888,7 +2889,7 @@ msgid ""
28882889msgstr ""
28892890"*name* が構築時に与えられなかった場合、 ``tzname(dt)`` によって返される name は以下の様に ``offset`` の値から生成されます。\n"
28902891"*offset* が ``timedelta(0)`` であった場合、 name は \" UTC\" になります。\n"
2891- "それ以外の場合、 'UTC±HH:MM' という形式の文字列になり 、± は ``offset`` を、HH と MM はそれぞれ二桁の ``offset.hours`` と ``offset.minutes`` を表現します。"
2892+ "それ以外の場合、 'UTC±HH:MM' という書式の文字列になり 、± は ``offset`` を、HH と MM はそれぞれ二桁の ``offset.hours`` と ``offset.minutes`` を表現します。"
28922893
28932894#: /home/travis/build/python/cpython-doc-catalog/Doc/library/datetime.rst:2243
28942895msgid ""
@@ -2956,12 +2957,12 @@ msgstr "使用法"
29562957
29572958#: /home/travis/build/python/cpython-doc-catalog/Doc/library/datetime.rst:2286
29582959msgid "Convert object to a string according to a given format"
2959- msgstr "オブジェクトを与えられた形式に従って文字列に変換する "
2960+ msgstr "オブジェクトを与えられた書式に従って文字列に変換する "
29602961
29612962#: /home/travis/build/python/cpython-doc-catalog/Doc/library/datetime.rst:2286
29622963msgid ""
29632964"Parse a string into a :class:`.datetime` object given a corresponding format"
2964- msgstr "指定された対応する形式で文字列を構文解析して :class:`.datetime` オブジェクトにする"
2965+ msgstr "指定された対応する書式で文字列を構文解析して :class:`.datetime` オブジェクトにする"
29652966
29662967#: /home/travis/build/python/cpython-doc-catalog/Doc/library/datetime.rst:2288
29672968msgid "Type of method"
@@ -3007,7 +3008,7 @@ msgstr ":meth:`strftime` と :meth:`strptime` の形式コード"
30073008msgid ""
30083009"The following is a list of all the format codes that the 1989 C standard "
30093010"requires, and these work on all platforms with a standard C implementation."
3010- msgstr "以下のリストは 1989 C 標準が要求する全ての書式化コードで 、標準 C 実装があれば全ての環境で動作します。"
3011+ msgstr "以下のリストは 1989 C 標準が要求する全ての書式コードで 、標準 C 実装があれば全ての環境で動作します。"
30113012
30123013#: /home/travis/build/python/cpython-doc-catalog/Doc/library/datetime.rst:2303
30133014#: /home/travis/build/python/cpython-doc-catalog/Doc/library/datetime.rst:2406
@@ -3458,8 +3459,8 @@ msgid ""
34583459"supported on your platform, consult the :manpage:`strftime(3)` "
34593460"documentation."
34603461msgstr ""
3461- "Python はプラットフォームの C ライブラリの :func:`strftime` 関数を呼び出していて、プラットフォームごとにその実装が異なるのはよくあることなので、サポートされるフォーマット記号全体はプラットフォームごとに様々です 。\n"
3462- "プラットフォームでサポートされているフォーマット記号全体を見るには 、 :manpage:`strftime(3)` のドキュメントを参照してください。"
3462+ "Python はプラットフォームの C ライブラリの :func:`strftime` 関数を呼び出していて、プラットフォームごとにその実装が異なるのはよくあることなので、サポートされる書式コード全体はプラットフォームごとに様々です 。\n"
3463+ "手元のプラットフォームでサポートされているフォーマット記号全体を見るには 、 :manpage:`strftime(3)` のドキュメントを参照してください。"
34633464
34643465#: /home/travis/build/python/cpython-doc-catalog/Doc/library/datetime.rst:2433
34653466msgid "``%G``, ``%u`` and ``%V`` were added."
@@ -3485,6 +3486,8 @@ msgid ""
34853486"``1900-01-01T00:00:00.000``: any components not specified in the format "
34863487"string will be pulled from the default value. [#]_"
34873488msgstr ""
3489+ ":meth:`datetime.strptime` クラスメソッドでは、デフォルト値は ``1900-01-01T00:00:00.000`` "
3490+ "です。書式文字列で指定されなかった部分はデフォルト値から引っ張ってきます。 [#]_"
34883491
34893492#: /home/travis/build/python/cpython-doc-catalog/Doc/library/datetime.rst:2447
34903493msgid "Using ``datetime.strptime(date_string, format)`` is equivalent to::"
@@ -3526,6 +3529,8 @@ msgid ""
35263529"intact in the output, while on others ``strftime`` may raise "
35273530":exc:`UnicodeError` or return an empty string instead."
35283531msgstr ""
3532+ "同じ理由で、現在のロケールの文字集合で表現できない Unicode コードポイントを含む書式文字列の対処もプラットフォーム依存です。\n"
3533+ "あるプラットフォームではそういったコードポイントはそのまま出力に出される一方、他のプラットフォームでは ``strftime`` が :exc:`UnicodeError` を送出したり、その代わりに空文字列を返したりするかもしれません。"
35293534
35303535#: /home/travis/build/python/cpython-doc-catalog/Doc/library/datetime.rst:2472
35313536msgid ""
@@ -3537,7 +3542,7 @@ msgid ""
35373542"any one of ``eucJP``, ``SJIS``, or ``utf-8``; use :meth:`locale.getlocale` "
35383543"to determine the current locale's encoding)."
35393544msgstr ""
3540- "フォーマットは現在のロケールに依存するので 、出力値について何か仮定するときは注意すべきです。フィールドの順序は様々で (例えば、\" 月/日/年\" と "
3545+ "書式は現在のロケールに依存するので 、出力値について何か仮定するときは注意すべきです。フィールドの順序は様々で (例えば、\" 月/日/年\" と "
35413546"\" 日/月/年\" ) 、出力はロケールのデフォルトエンコーディングでエンコードされた Unicode 文字列を含むかもしれません "
35423547"(例えば、現在のロケールが ``ja_JP`` だった場合、デフォルトエンコーディングは ``eucJP`` 、 ``SJIS`` 、 "
35433548"``utf-8`` のいずれかになりえます。 :meth:`locale.getlocale` を使って現在のロケールのエンコーディングを確認します) "
@@ -3589,7 +3594,7 @@ msgstr ""
35893594msgid ""
35903595"For a naive object, the ``%z`` and ``%Z`` format codes are replaced by empty"
35913596" strings."
3592- msgstr "naive オブジェクトでは、書式化コード ``%z`` および ``%Z`` は空文字列に置き換えられます。"
3597+ msgstr "naive オブジェクトでは、書式コード ``%z`` および ``%Z`` は空文字列に置き換えられます。"
35933598
35943599#: /home/travis/build/python/cpython-doc-catalog/Doc/library/datetime.rst:2511
35953600msgid "For an aware object:"
@@ -3622,13 +3627,17 @@ msgid ""
36223627"If :meth:`tzname` returns ``None``, ``%Z`` is replaced by an empty string. "
36233628"Otherwise ``%Z`` is replaced by the returned value, which must be a string."
36243629msgstr ""
3630+ ":meth:`tzname` が ``None`` を返した場合、 ``%Z`` は空文字列に置き換 わります。そうでない場合、 ``%Z`` "
3631+ "は返された値に置き換わりますが、 これは文字列でなければなりません。"
36253632
36263633#: /home/travis/build/python/cpython-doc-catalog/Doc/library/datetime.rst:2540
36273634msgid ""
36283635"When the ``%z`` directive is provided to the :meth:`strptime` method, an "
36293636"aware :class:`.datetime` object will be produced. The ``tzinfo`` of the "
36303637"result will be set to a :class:`timezone` instance."
36313638msgstr ""
3639+ "``%z`` 指定子が :meth:`strptime` メソッドに与えられた場合、 aware な :class:`.datetime` "
3640+ "オブジェクトが作成されます。返り値の ``tzinfo`` は :class:`timezone` インスタンスになっています。"
36323641
36333642#: /home/travis/build/python/cpython-doc-catalog/Doc/library/datetime.rst:2546
36343643msgid ""
@@ -3646,8 +3655,8 @@ msgid ""
36463655":meth:`strptime` format string. Also note that ``%G`` and ``%Y`` are not "
36473656"interchangeable."
36483657msgstr ""
3649- "``%U`` と ``%W`` と同様です。 ``%V`` は曜日と ISO year (``%G``)が :meth:`strptime` "
3650- "書式内で指定された場合に計算でのみ使われます。 ``%G`` と ``%Y`` は互いに完全な互換性を持たないことにも注意してください。"
3658+ "``%U`` および ``%W`` と同様に、 ``%V`` は曜日と ISO 年 (``%G``) が :meth:`strptime` の書式文字列の中で指定された場合に計算でのみ使われます。\n "
3659+ "``%G`` と ``%Y`` は互いに完全な互換性を持たないことにも注意してください。"
36513660
36523661#: /home/travis/build/python/cpython-doc-catalog/Doc/library/datetime.rst:2557
36533662msgid ""
0 commit comments