Skip to content

Commit c9d6c4d

Browse files
author
github-actions
committed
Update translations from Transifex
1 parent af786c9 commit c9d6c4d

File tree

4 files changed

+207
-14
lines changed

4 files changed

+207
-14
lines changed

library/functions.po

+71-4
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,16 @@
1818
# Nozomu Kaneko <[email protected]>, 2023
1919
# tomo, 2023
2020
# Masato HASHIMOTO <[email protected]>, 2023
21+
# righteous righteous, 2023
2122
#
2223
#, fuzzy
2324
msgid ""
2425
msgstr ""
2526
"Project-Id-Version: Python 3.12\n"
2627
"Report-Msgid-Bugs-To: \n"
27-
"POT-Creation-Date: 2023-09-29 14:12+0000\n"
28+
"POT-Creation-Date: 2023-10-06 14:14+0000\n"
2829
"PO-Revision-Date: 2021-06-28 01:06+0000\n"
29-
"Last-Translator: Masato HASHIMOTO <[email protected]>, 2023\n"
30+
"Last-Translator: righteous righteous, 2023\n"
3031
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
3132
"ja/)\n"
3233
"MIME-Version: 1.0\n"
@@ -496,6 +497,11 @@ msgid ""
496497
"object, it has to define an :meth:`~object.__index__` method that returns an "
497498
"integer. Some examples:"
498499
msgstr ""
500+
"整数を先頭に \"0b\" が付いた 2 進文字列に変換します。\n"
501+
"結果は Python の式としても使える形式になります。\n"
502+
"*x* が Python の :class:`int` オブジェクトでない場合、整数を返す :meth:"
503+
"`~object.__index__` メソッドが定義されていなければなりません。\n"
504+
"いくつかの例を示します:"
499505

500506
#: ../../library/functions.rst:133
501507
msgid ""
@@ -519,6 +525,13 @@ msgid ""
519525
"It cannot be subclassed further. Its only instances are ``False`` and "
520526
"``True`` (see :ref:`typebool`)."
521527
msgstr ""
528+
"真偽値、すなわち ``True`` か ``False`` のいずれかを返します。 *x* は標準の :"
529+
"ref:`真偽値判定手続き <truth>` を用いて変換されます。 *x* が偽かまたは省略さ"
530+
"れた場合、この関数は ``False`` を返します。それ以外の場合は ``True`` を返しま"
531+
"す。 :class:`bool` クラスは :class:`int` クラスの派生クラスです (:ref:"
532+
"`typesnumeric` を参照してください)。このクラスからさらに派生することはできま"
533+
"せん。このクラスのインスタンスは ``False`` と ``True`` の身です (:ref:"
534+
"`typebool` を参照してください)。"
522535

523536
#: ../../library/functions.rst:154 ../../library/functions.rst:707
524537
#: ../../library/functions.rst:931
@@ -554,12 +567,17 @@ msgid ""
554567
"envvar:`PYTHONBREAKPOINT` environment variable. See :func:`sys."
555568
"breakpointhook` for usage details."
556569
msgstr ""
570+
"デフォルトでは、環境変数 :envvar:`PYTHONBREAKPOINT` をセットすることで :func:"
571+
"`breakpoint` の動作を変えることができます。\n"
572+
"使い方の詳細は :func:`sys.breakpointhook` を参照してください。"
557573

558574
#: ../../library/functions.rst:175
559575
msgid ""
560576
"Note that this is not guaranteed if :func:`sys.breakpointhook` has been "
561577
"replaced."
562578
msgstr ""
579+
"ただし、 :func:`sys.breakpointhook` が別の関数で置き換えられている場合、上記"
580+
"の環境変数によって必ずしも動作を変えることができないことに注意してください。"
563581

564582
#: ../../library/functions.rst:178
565583
msgid ""
@@ -964,6 +982,11 @@ msgid ""
964982
"falls back to :meth:`~object.__float__`. If :meth:`!__float__` is not "
965983
"defined then it falls back to :meth:`~object.__index__`."
966984
msgstr ""
985+
"一般的な Python オブジェクト ``x`` に対して、 ``complex(x)`` は ``x."
986+
"__complex__()`` に処理を委譲します。 :meth:`~object.__complex__` が定義されて"
987+
"いない場合は :meth:`~object.__float__` にフォールバックします。 :meth:"
988+
"`~object.__float__` も定義されていない場合は :meth:`~object.__index__` に"
989+
"フォールバックします。"
967990

968991
#: ../../library/functions.rst:392
969992
msgid ""
@@ -989,6 +1012,8 @@ msgid ""
9891012
"Falls back to :meth:`~object.__index__` if :meth:`~object.__complex__` and :"
9901013
"meth:`~object.__float__` are not defined."
9911014
msgstr ""
1015+
":meth:`~object.__complex__` と :meth:`~object.__float__` が定義されていない場"
1016+
"合、 :meth:`~object.__index__` へフォールバックします。"
9921017

9931018
#: ../../library/functions.rst:409
9941019
msgid ""
@@ -1425,6 +1450,9 @@ msgid ""
14251450
"__float__()``. If :meth:`~object.__float__` is not defined then it falls "
14261451
"back to :meth:`~object.__index__`."
14271452
msgstr ""
1453+
"一般の Python オブジェクト ``x`` に対して、``float(x)`` は ``x.__float__()`` "
1454+
"に委譲します。 :meth:`~object.__float__()` が定義されていない場合、:meth:"
1455+
"`~object.__index__` へフォールバックします。"
14281456

14291457
#: ../../library/functions.rst:687
14301458
msgid "If no argument is given, ``0.0`` is returned."
@@ -1443,6 +1471,8 @@ msgid ""
14431471
"Falls back to :meth:`~object.__index__` if :meth:`~object.__float__` is not "
14441472
"defined."
14451473
msgstr ""
1474+
":meth:`~object.__float__` が定義されていない場合、 :meth:`~object.__index__` "
1475+
"へフォールバックします。"
14461476

14471477
#: ../../library/functions.rst:720
14481478
msgid ""
@@ -1575,6 +1605,9 @@ msgid ""
15751605
"truncates the return value based on the bit width of the host machine. See :"
15761606
"meth:`__hash__ <object.__hash__>` for details."
15771607
msgstr ""
1608+
"独自の :meth:`__hash__` メソッドを実装したオブジェクトを使う場合、:func:"
1609+
"`hash` が実行するマシンのビット幅に合わせて戻り値を切り捨てることに注意してく"
1610+
"ださい。詳しくは :meth:`__hash__ <object.__hash__>` を参照してください。"
15781611

15791612
#: ../../library/functions.rst:802
15801613
msgid ""
@@ -1624,6 +1657,10 @@ msgid ""
16241657
"\"0x\". If *x* is not a Python :class:`int` object, it has to define an :"
16251658
"meth:`~object.__index__` method that returns an integer. Some examples:"
16261659
msgstr ""
1660+
"整数を先頭に \"0x\" が付いた小文字の 16 進文字列に変換します。\n"
1661+
"*x* が Python の :class:`int` オブジェクトでない場合、整数を返す :meth:"
1662+
"`~object.__index__` メソッドが定義されていなければなりません。\n"
1663+
"いくつかの例を示します:"
16271664

16281665
#: ../../library/functions.rst:832
16291666
msgid ""
@@ -1733,6 +1770,15 @@ msgid ""
17331770
"__trunc__`, it returns ``x.__trunc__()``. For floating point numbers, this "
17341771
"truncates towards zero."
17351772
msgstr ""
1773+
"数値または文字列 *x* から作成された整数オブジェクトを返します。引数が与えられ"
1774+
"ない場合には ``0`` を返します。\n"
1775+
"*x* に :meth:`~object.__int__` が定義されている場合は、 ``int(x)`` は ``x."
1776+
"__int__()`` を返します。\n"
1777+
"*x* に :meth:`~object.__index__` が定義されている場合は、 ``x.__index__()`` "
1778+
"を返します。\n"
1779+
"*x* に :meth:`~object.__trunc__` が定義されている場合は、 ``x.__trunc__()`` "
1780+
"を返します。\n"
1781+
"浮動小数点数については、これは 0 に近い側へ切り捨てます。"
17361782

17371783
#: ../../library/functions.rst:902
17381784
msgid ""
@@ -1796,10 +1842,12 @@ msgid ""
17961842
"Falls back to :meth:`~object.__index__` if :meth:`~object.__int__` is not "
17971843
"defined."
17981844
msgstr ""
1845+
":meth:`~object.__int__` が定義されていない場合、 :meth:`~object.__index__` へ"
1846+
"フォールバックします。"
17991847

18001848
#: ../../library/functions.rst:937
18011849
msgid "The delegation to :meth:`~object.__trunc__` is deprecated."
1802-
msgstr ""
1850+
msgstr ":meth:`~object.__trunc__` への処理の委譲は非推奨になりました。"
18031851

18041852
#: ../../library/functions.rst:940
18051853
msgid ""
@@ -2089,6 +2137,11 @@ msgid ""
20892137
"object, it has to define an :meth:`~object.__index__` method that returns an "
20902138
"integer. For example:"
20912139
msgstr ""
2140+
"整数を先頭に \"0o\" が付いた 8 進文字列に変換します。\n"
2141+
"結果は Python の式としても使える形式になります。\n"
2142+
"*x* が Python の :class:`int` オブジェクトでない場合、整数を返す :meth:"
2143+
"`~object.__index__` メソッドが定義されていなければなりません。\n"
2144+
"例えば、次のようになります:"
20922145

20932146
#: ../../library/functions.rst:1149
20942147
msgid ""
@@ -2280,6 +2333,10 @@ msgid ""
22802333
"size\" and falling back on :const:`io.DEFAULT_BUFFER_SIZE`. On many "
22812334
"systems, the buffer will typically be 4096 or 8192 bytes long."
22822335
msgstr ""
2336+
"バイナリファイルは固定サイズのチャンクでバッファリングされます。バッファサイ"
2337+
"ズは、下層のデバイスの「ブロックサイズ」を決定するヒューリスティックを用いて"
2338+
"選択され、それが不可能な場合は代わりに :const:`io.DEFAULT_BUFFER_SIZE` が使わ"
2339+
"れます。多くのシステムでは、バッファサイズは通常 4096 か 8192 バイト長です。"
22832340

22842341
#: ../../library/functions.rst:1237
22852342
msgid ""
@@ -2364,6 +2421,9 @@ msgid ""
23642421
"not supported by the encoding are replaced with the appropriate XML "
23652422
"character reference :samp:`&#{nnn};`."
23662423
msgstr ""
2424+
"``'xmlcharrefreplace'`` はファイルへの書き込み時のみサポートされます。そのエ"
2425+
"ンコーディングでサポートされない文字は、:samp:`&#{nnn};` 形式の適切な XML 文"
2426+
"字参照で置換されます。"
23672427

23682428
#: ../../library/functions.rst:1276
23692429
msgid ""
@@ -2694,6 +2754,8 @@ msgid ""
26942754
"Output buffering is usually determined by *file*. However, if *flush* is "
26952755
"true, the stream is forcibly flushed."
26962756
msgstr ""
2757+
"出力がバッファ化されるかどうかは通常 *file* で決まりますが、*flush* キーワー"
2758+
"ド引数が真ならストリームは強制的にフラッシュされます。"
26972759

26982760
#: ../../library/functions.rst:1458
26992761
msgid "Added the *flush* keyword argument."
@@ -2956,6 +3018,9 @@ msgid ""
29563018
"Slice objects are now :term:`hashable` (provided :attr:`~slice.start`, :attr:"
29573019
"`~slice.stop`, and :attr:`~slice.step` are hashable)."
29583020
msgstr ""
3021+
"スライスオブジェクトが :term:`hashable` (ハッシュ可能) となりました (ただし、"
3022+
"属性 :attr:`~slice.start` 、 :attr:`~slice.stop` 、 :attr:`~slice.step` がす"
3023+
"べてハッシュ可能である場合に限ります)。"
29593024

29603025
#: ../../library/functions.rst:1652
29613026
msgid "Return a new sorted list from the items in *iterable*."
@@ -3150,6 +3215,8 @@ msgid ""
31503215
"Summation of floats switched to an algorithm that gives higher accuracy on "
31513216
"most builds."
31523217
msgstr ""
3218+
"浮動小数点数の総和を計算するとき、ほとんどの環境でより高精度な結果が得られる"
3219+
"アルゴリズムを使用するようになりました。"
31533220

31543221
#: ../../library/functions.rst:1761
31553222
msgid ""
@@ -3739,7 +3806,7 @@ msgstr "ファイル"
37393806

37403807
#: ../../library/functions.rst:1189
37413808
msgid "modes"
3742-
msgstr ""
3809+
msgstr "modes"
37433810

37443811
#: ../../library/functions.rst:1282
37453812
msgid "universal newlines"

library/pathlib.po

+29-2
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,16 @@
1010
# Arihiro TAKASE, 2023
1111
# Masato HASHIMOTO <[email protected]>, 2023
1212
# Takanori Suzuki <[email protected]>, 2023
13+
# righteous righteous, 2023
1314
#
1415
#, fuzzy
1516
msgid ""
1617
msgstr ""
1718
"Project-Id-Version: Python 3.12\n"
1819
"Report-Msgid-Bugs-To: \n"
19-
"POT-Creation-Date: 2023-09-15 14:13+0000\n"
20+
"POT-Creation-Date: 2023-10-06 14:14+0000\n"
2021
"PO-Revision-Date: 2021-06-28 01:11+0000\n"
21-
"Last-Translator: Takanori Suzuki <[email protected]>, 2023\n"
22+
"Last-Translator: righteous righteous, 2023\n"
2223
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
2324
"ja/)\n"
2425
"MIME-Version: 1.0\n"
@@ -157,6 +158,11 @@ msgid ""
157158
"the :meth:`~os.PathLike.__fspath__` method returns a string, such as another "
158159
"path object::"
159160
msgstr ""
161+
"*pathsegments* の各要素は、パスの構成要素を表す文字列か、パスオブジェクトなど"
162+
"の、 :class:`os.PathLike` インターフェースを実装するオブジェクトである必要が"
163+
"あります。\n"
164+
":class:`os.PathLike` インターフェースでは、 :meth:`~os.PathLike.__fspath__` "
165+
"メソッドが文字列を返します::"
160166

161167
#: ../../library/pathlib.rst:118
162168
msgid "When *pathsegments* is empty, the current directory is assumed::"
@@ -167,19 +173,28 @@ msgid ""
167173
"If a segment is an absolute path, all previous segments are ignored (like :"
168174
"func:`os.path.join`)::"
169175
msgstr ""
176+
"あるパス構成要素が絶対パスである場合、それより前の要素はすべて無視されます (:"
177+
"func:`os.path.join` と同様)::"
170178

171179
#: ../../library/pathlib.rst:131
172180
msgid ""
173181
"On Windows, the drive is not reset when a rooted relative path segment (e."
174182
"g., ``r'\\foo'``) is encountered::"
175183
msgstr ""
184+
"Windowsの場合、ルート相対パス (例えば ``r'\\foo'``) があってもドライブ名はそ"
185+
"のまま変わりません::"
176186

177187
#: ../../library/pathlib.rst:137
178188
msgid ""
179189
"Spurious slashes and single dots are collapsed, but double dots (``'..'``) "
180190
"and leading double slashes (``'//'``) are not, since this would change the "
181191
"meaning of a path for various reasons (e.g. symbolic links, UNC paths)::"
182192
msgstr ""
193+
"単一スラッシュと等価な複数スラッシュやシングルドットは簡略化されますが、ダブ"
194+
"ルドット (``'..'``) や先頭に位置するダブルスラッシュ (``'//'``) は簡略化され"
195+
"ません。\n"
196+
"これは、様々な理由でパスの意味が簡略化した場合と異なってしまうからです (例: "
197+
"シンボリックリンク、UNCパス)::"
183198

184199
#: ../../library/pathlib.rst:150
185200
msgid ""
@@ -265,6 +280,11 @@ msgid ""
265280
"the drive is not reset when the argument is a rooted relative path (e.g., "
266281
"``r'\\foo'``)::"
267282
msgstr ""
283+
"スラッシュ演算子を使って、 :func:`os.path.join` のように子パスを作成すること"
284+
"ができます。\n"
285+
"スラッシュの右側が絶対パスである場合、左側のパスは無視されます。\n"
286+
"Windows環境で、右側のパスがルート相対パス (例: ``r'\\foo'``) である場合、ドラ"
287+
"イブ名はリセットされません::"
268288

269289
#: ../../library/pathlib.rst:235
270290
msgid ""
@@ -348,13 +368,18 @@ msgid ""
348368
"If the path starts with more than two successive slashes, :class:`~pathlib."
349369
"PurePosixPath` collapses them::"
350370
msgstr ""
371+
":class:`~pathlib.PurePosixPath` でパスの先頭が3つ以上の連続したスラッシュで"
372+
"ある場合、 余分なスラッシュは除去されます::"
351373

352374
#: ../../library/pathlib.rst:339
353375
msgid ""
354376
"This behavior conforms to *The Open Group Base Specifications Issue 6*, "
355377
"paragraph `4.11 Pathname Resolution <https://pubs.opengroup.org/"
356378
"onlinepubs/009695399/basedefs/xbd_chap04.html#tag_04_11>`_:"
357379
msgstr ""
380+
"この挙動は、以下に示す、 *The Open Group Base Specifications Issue 6* の "
381+
"`4.11 Pathname Resolution <https://pubs.opengroup.org/onlinepubs/009695399/"
382+
"basedefs/xbd_chap04.html#tag_04_11>`_ に沿ったものです:"
358383

359384
#: ../../library/pathlib.rst:343
360385
msgid ""
@@ -378,6 +403,8 @@ msgid ""
378403
"The parents sequence now supports :term:`slices <slice>` and negative index "
379404
"values."
380405
msgstr ""
406+
"parents シーケンスが、:term:`スライス <slice>` と負のインデックスをサポートす"
407+
"るようになりました。"
381408

382409
#: ../../library/pathlib.rst:379
383410
msgid "The logical parent of the path::"

0 commit comments

Comments
 (0)