Skip to content

Commit 7217a0b

Browse files
author
github-actions
committed
Update translations from Transifex
1 parent c36002c commit 7217a0b

File tree

1 file changed

+21
-3
lines changed

1 file changed

+21
-3
lines changed

library/functions.po

+21-3
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ msgid ""
1919
msgstr ""
2020
"Project-Id-Version: Python 3.11\n"
2121
"Report-Msgid-Bugs-To: \n"
22-
"POT-Creation-Date: 2023-01-06 14:14+0000\n"
22+
"POT-Creation-Date: 2023-01-13 14:15+0000\n"
2323
"PO-Revision-Date: 2021-06-28 01:06+0000\n"
2424
"Last-Translator: Takeshi Nakazato, 2023\n"
2525
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/"
@@ -2139,6 +2139,11 @@ msgid ""
21392139
"given, it is closed when the returned I/O object is closed unless *closefd* "
21402140
"is set to ``False``.)"
21412141
msgstr ""
2142+
"*file* は :term:`path-like object` で、開くファイルのパス名 (絶対パスまたは現"
2143+
"在の作業ディレクトリからの相対パス) あるいはラップするファイルの整数のファイ"
2144+
"ルデスクリプタを与えます。 (ファイルデスクリプタが与えられた場合、 *closefd* "
2145+
"が ``False`` に設定されていないかぎり、この関数が返す I/O オブジェクトがク"
2146+
"ローズされるときにファイルデスクリプタもクローズされます。)"
21422147

21432148
#: ../../library/functions.rst:1168
21442149
msgid ""
@@ -2153,6 +2158,16 @@ msgid ""
21532158
"reading and writing raw bytes use binary mode and leave *encoding* "
21542159
"unspecified.) The available modes are:"
21552160
msgstr ""
2161+
"*mode* はファイルが開かれる際のモードを指定するオプションの文字列です。デフォ"
2162+
"ルトは ``'r'`` で、読み込み用にテキストモードで開くという意味です。その他によ"
2163+
"く使われるモードは、書き込み用の ``'w'`` (ファイルが既に存在する場合は上書き"
2164+
"します)、排他的な生成をあらわす ``'x'`` 、そして追記用の ``'a'`` (*いくつかの"
2165+
"* Unix システムで、 *すべての* 書き込みは現在のシーク位置にかかわらずファイル"
2166+
"の末尾に追記する、という意味です) です。テキストモードで *encoding* が指定さ"
2167+
"れない場合に使われるエンコーディングは、プラットフォーム依存です: 現在のロ"
2168+
"ケールエンコーディングを取得するために :func:`locale.getencoding()` が呼ばれ"
2169+
"ます。 (生のバイトデータを読み書きする際にはバイナリモードを使います。このと"
2170+
"きは *encoding* は未指定のままとします。) 指定可能なモードは以下の通りです:"
21562171

21572172
#: ../../library/functions.rst:1185
21582173
msgid "Character"
@@ -2192,7 +2207,7 @@ msgstr "``'a'``"
21922207

21932208
#: ../../library/functions.rst:1190
21942209
msgid "open for writing, appending to the end of file if it exists"
2195-
msgstr ""
2210+
msgstr "書き込み用に開き、ファイルが存在する場合には末尾に追記する"
21962211

21972212
#: ../../library/functions.rst:1191
21982213
msgid "``'b'``"
@@ -2216,14 +2231,17 @@ msgstr "``'+'``"
22162231

22172232
#: ../../library/functions.rst:1193
22182233
msgid "open for updating (reading and writing)"
2219-
msgstr ""
2234+
msgstr "更新用に開く (読み込み・書き込み用)"
22202235

22212236
#: ../../library/functions.rst:1196
22222237
msgid ""
22232238
"The default mode is ``'r'`` (open for reading text, a synonym of ``'rt'``). "
22242239
"Modes ``'w+'`` and ``'w+b'`` open and truncate the file. Modes ``'r+'`` and "
22252240
"``'r+b'`` open the file with no truncation."
22262241
msgstr ""
2242+
"デフォルトのモードは ``'r'`` (テキストの読み込み用に開く、 ``'rt'`` と同義) "
2243+
"です。 ``'w+'`` と ``'w+b'`` はファイルを開いて上書きします。 ``'r+'`` と "
2244+
"``'r+b'`` はファイルを上書きせずに開きます。"
22272245

22282246
#: ../../library/functions.rst:1200
22292247
msgid ""

0 commit comments

Comments
 (0)