-
-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathbz2.po
359 lines (320 loc) · 17.8 KB
/
bz2.po
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 1990-2021, Python Software Foundation
# This file is distributed under the same license as the Python package.
#
# Translators:
# 秘湯 <[email protected]>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Python 2.7\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-01-01 01:01+0900\n"
"PO-Revision-Date: 2018-09-30 05:35+0000\n"
"Last-Translator: tomo\n"
"Language-Team: Japanese (http://www.transifex.com/python-doc/python-27/"
"language/ja/)\n"
"Language: ja\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#: ../../library/bz2.rst:3
msgid ":mod:`bz2` --- Compression compatible with :program:`bzip2`"
msgstr ":mod:`bz2` --- :program:`bzip2` 互換の圧縮ライブラリ"
#: ../../library/bz2.rst:13
msgid ""
"This module provides a comprehensive interface for the bz2 compression "
"library. It implements a complete file interface, one-shot (de)compression "
"functions, and types for sequential (de)compression."
msgstr ""
"このモジュールでは bz2 圧縮ライブラリのためのわかりやすいインタフェースを提供"
"します。モジュールでは完全なファイルインタフェース、データを一括して圧縮/解凍"
"する関数、データを逐次的に圧縮/解凍するための型を実装しています。"
#: ../../library/bz2.rst:17
msgid "Here is a summary of the features offered by the bz2 module:"
msgstr "bz2 モジュールが提供している機能を以下にまとめます。"
#: ../../library/bz2.rst:19
msgid ""
":class:`BZ2File` class implements a complete file interface, including :meth:"
"`~BZ2File.readline`, :meth:`~BZ2File.readlines`, :meth:`~BZ2File."
"writelines`, :meth:`~BZ2File.seek`, etc;"
msgstr ""
":class:`BZ2File` クラスは、 :meth:`~BZ2File.readline`, :meth:`~BZ2File."
"readlines`, :meth:`~BZ2File.writelines`, :meth:`~BZ2File.seek` 等を含む、完全"
"なファイルインタフェースを実装します。"
#: ../../library/bz2.rst:23
msgid ""
":class:`BZ2File` class implements emulated :meth:`~BZ2File.seek` support;"
msgstr ""
":class:`BZ2File` クラスは :meth:`~BZ2File.seek` をエミュレーションでサポート"
"します。"
#: ../../library/bz2.rst:25
msgid ":class:`BZ2File` class implements universal newline support;"
msgstr ""
":class:`BZ2File` クラスは広範囲の改行文字バリエーション(universal newline) を"
"サポートします。"
#: ../../library/bz2.rst:27
msgid ""
":class:`BZ2File` class offers an optimized line iteration using the "
"readahead algorithm borrowed from file objects;"
msgstr ""
":class:`BZ2File` クラスは、ファイルオブジェクトの先読みアルゴリズムを元にして"
"実装されている、最適化された行単位のイテレーション機能を提供します。"
#: ../../library/bz2.rst:30
msgid ""
"Sequential (de)compression supported by :class:`BZ2Compressor` and :class:"
"`BZ2Decompressor` classes;"
msgstr ""
":class:`BZ2Compressor` および :class:`BZ2Decompressor` クラスでは逐次的圧縮"
"(解凍)をサポートしています。"
#: ../../library/bz2.rst:33
msgid ""
"One-shot (de)compression supported by :func:`compress` and :func:"
"`decompress` functions;"
msgstr ""
":func:`compress` および :func:`decompress` 関数は、一括圧縮/解凍機能を提供し"
"ています。"
#: ../../library/bz2.rst:36
msgid "Thread safety uses individual locking mechanism."
msgstr "個別のロックメカニズムによってスレッド安全性を持っています。"
#: ../../library/bz2.rst:39
msgid ""
"Handling of multi-stream bzip2 files is not supported. Modules such as "
"`bz2file <https://github.com/nvawda/bz2file>`_ let you overcome this."
msgstr ""
#: ../../library/bz2.rst:44
msgid "(De)compression of files"
msgstr "ファイルの圧縮/解凍"
#: ../../library/bz2.rst:46
msgid "Handling of compressed files is offered by the :class:`BZ2File` class."
msgstr ":class:`BZ2File` クラスは圧縮ファイルの操作機能を提供しています。"
#: ../../library/bz2.rst:54
msgid ""
"Open a bz2 file. Mode can be either ``'r'`` or ``'w'``, for reading "
"(default) or writing. When opened for writing, the file will be created if "
"it doesn't exist, and truncated otherwise. If *buffering* is given, ``0`` "
"means unbuffered, and larger numbers specify the buffer size; the default is "
"``0``. If *compresslevel* is given, it must be a number between ``1`` and "
"``9``; the default is ``9``. Add a ``'U'`` to mode to open the file for "
"input in :term:`universal newlines` mode. Any line ending in the input file "
"will be seen as a ``'\\n'`` in Python. Also, a file so opened gains the "
"attribute :attr:`newlines`; the value for this attribute is one of ``None`` "
"(no newline read yet), ``'\\r'``, ``'\\n'``, ``'\\r\\n'`` or a tuple "
"containing all the newline types seen. Universal newlines are available only "
"when reading. Instances support iteration in the same way as normal :class:"
"`file` instances."
msgstr ""
"bz2 ファイルを開きます。 *mode* は ``'r'`` (デフォルト)または ``'w'`` で、そ"
"れぞれ読み込みと書き込みに対応します。書き込み用に開いた場合、ファイルが存在"
"しないなら新しく作成し、そうでない場合ファイルを切り詰ます。 *buffering* パラ"
"メタを与えた場合、 ``0`` はバッファリングなしを表し、それよりも大きい値はバッ"
"ファサイズになります。デフォルトでは ``0`` です。圧縮レベル "
"(*compresslevel*) を与える場合、値は ``1`` から ``9`` までの整数値でなければ"
"なりません。デフォルトの値は ``9`` です。ファイルを読み込む際に :term:"
"`universal newlines` モードを使う場合は ``'U'`` を *mode* に追加します。この"
"モードで開かれた入力ファイルの行末はどれも、Pythonからは ``'\\n'`` として見え"
"ます。また、開かれているファイルオブジェクトは :attr:`newlines` 属性を持ち、 "
"``None`` (まだ改行文字を読み込んでいない時), ``'\\r'``, ``'\\n'``, "
"``'\\r\\n'`` またはそれまでに読み込んだ全ての改行文字バリエーションを含むタプ"
"ルになります。 :term:`universal newlines` が利用できるのは読み込みだけで"
"す。 :class:`BZ2File` が生成するインスタンスは通常のファイルインスタンスと同"
"様のイテレーション操作をサポートしています。"
#: ../../library/bz2.rst:68
msgid ":class:`BZ2File` supports the :keyword:`with` statement."
msgstr ":class:`BZ2File` は :keyword:`with` 構文をサポートしています。"
#: ../../library/bz2.rst:70
msgid "Support for the :keyword:`with` statement was added."
msgstr ":keyword:`with` 構文のサポートが追加されました。"
#: ../../library/bz2.rst:76
msgid ""
"This class does not support input files containing multiple streams (such as "
"those produced by the :program:`pbzip2` tool). When reading such an input "
"file, only the first stream will be accessible. If you require support for "
"multi-stream files, consider using the third-party :mod:`bz2file` module "
"(available from `PyPI <https://pypi.org/project/bz2file>`_). This module "
"provides a backport of Python 3.3's :class:`BZ2File` class, which does "
"support multi-stream files."
msgstr ""
#: ../../library/bz2.rst:88
msgid ""
"Close the file. Sets data attribute :attr:`closed` to true. A closed file "
"cannot be used for further I/O operations. :meth:`close` may be called more "
"than once without error."
msgstr ""
"ファイルを閉じます。オブジェクトのデータ属性 :attr:`closed` を真にします。閉"
"じたファイルはそれ以後入出力操作の対象にできません。 :meth:`close` 自体の呼び"
"出しはエラーを引き起こすことなく何度も実行できます。"
#: ../../library/bz2.rst:95
msgid ""
"Read at most *size* uncompressed bytes, returned as a string. If the *size* "
"argument is negative or omitted, read until EOF is reached."
msgstr ""
"最大で *size* バイトの解凍されたデータを読み出し、文字列として返します。 "
"*size* 引数を負の値にした場合や省略した場合、EOF まで読み出します。"
#: ../../library/bz2.rst:101
msgid ""
"Return the next line from the file, as a string, retaining newline. A non-"
"negative *size* argument limits the maximum number of bytes to return (an "
"incomplete line may be returned then). Return an empty string at EOF."
msgstr ""
"ファイルから次の 1 行を読み出し、改行文字も含めて文字列を返します。負でない "
"*size* 値は、返される文字列の最大バイト長を制限します (その場合不完全な行を返"
"すこともあります)。 EOF の時には空文字列を返します。"
#: ../../library/bz2.rst:108
msgid ""
"Return a list of lines read. The optional *size* argument, if given, is an "
"approximate bound on the total number of bytes in the lines returned."
msgstr ""
"ファイルから読み取った各行の文字列からなるリストを返します。オプション引数 "
"*size* を与えた場合、文字列リストの合計バイト数の大まかな上限の指定になりま"
"す。"
#: ../../library/bz2.rst:114
msgid ""
"For backward compatibility. :class:`BZ2File` objects now include the "
"performance optimizations previously implemented in the :mod:`xreadlines` "
"module."
msgstr ""
"前のバージョンとの互換性のために用意されています。 :class:`BZ2File` オブジェ"
"クトはかつて :mod:`xreadlines` モジュールで提供されていたパフォーマンス最適化"
"を含んでいます。"
#: ../../library/bz2.rst:118
msgid ""
"This exists only for compatibility with the method by this name on :class:"
"`file` objects, which is deprecated. Use ``for line in file`` instead."
msgstr ""
"このメソッドは :class:`file` オブジェクトの同名のメソッドとの互換性のために用"
"意されていますが、現在は推奨されないメソッドです。代りに ``for line in "
"file`` を使ってください。"
#: ../../library/bz2.rst:126
msgid ""
"Move to new file position. Argument *offset* is a byte count. Optional "
"argument *whence* defaults to ``os.SEEK_SET`` or ``0`` (offset from start of "
"file; offset should be ``>= 0``); other values are ``os.SEEK_CUR`` or ``1`` "
"(move relative to current position; offset can be positive or negative), and "
"``os.SEEK_END`` or ``2`` (move relative to end of file; offset is usually "
"negative, although many platforms allow seeking beyond the end of a file)."
msgstr ""
"ファイルの読み書き位置を移動します。引数 *offset* はバイト数で指定したオフ"
"セット値です。オプション引数 *whence* はデフォルトで ``os.SEEK_SET`` もしく"
"は ``0`` (ファイルの先頭からのオフセットで、offset ``>= 0`` になるはず) で"
"す。他にとり得る値は ``1`` (現在のファイル位置からの相対位置で、正負どちらの"
"値もとり得る)、および ``2`` (ファイルの終末端からの相対位置で、通常は負の値に"
"なるが、多くのプラットフォームではファイルの終末端を越えて seek できる) で"
"す。"
#: ../../library/bz2.rst:134
msgid ""
"Note that seeking of bz2 files is emulated, and depending on the parameters "
"the operation may be extremely slow."
msgstr ""
"bz2 ファイルの seek はエミュレーションであり、パラメタの設定によっては処理が"
"非常に低速になるかもしれないので注意してください。"
#: ../../library/bz2.rst:140
msgid "Return the current file position, an integer (may be a long integer)."
msgstr "現在のファイル位置を整数(long 整数になるかもしれません)で返します。"
#: ../../library/bz2.rst:145
msgid ""
"Write string *data* to file. Note that due to buffering, :meth:`close` may "
"be needed before the file on disk reflects the data written."
msgstr ""
"ファイルに文字列 *data* を書き込みます。バッファリングのため、ディスク上の"
"ファイルに書き込まれたデータを反映させるには :meth:`close` が必要になるかもし"
"れないので注意してください。"
#: ../../library/bz2.rst:151
msgid ""
"Write the sequence of strings to the file. Note that newlines are not added. "
"The sequence can be any iterable object producing strings. This is "
"equivalent to calling write() for each string."
msgstr ""
"複数の文字列からなるシーケンスをファイルに書き込みます。それぞれの文字列を書"
"き込む際に改行文字を追加することはありません。シーケンスはイテレーション処理"
"で文字列を取り出せる任意のオブジェクトにできます。この操作はそれぞれの文字列"
"を write() を呼んで書き込むのと同じ操作です。"
#: ../../library/bz2.rst:157
msgid "Sequential (de)compression"
msgstr "逐次的な圧縮/解凍"
#: ../../library/bz2.rst:159
msgid ""
"Sequential compression and decompression is done using the classes :class:"
"`BZ2Compressor` and :class:`BZ2Decompressor`."
msgstr ""
"逐次的な圧縮および解凍は :class:`BZ2Compressor` および :class:"
"`BZ2Decompressor` クラスを用いて行います。"
#: ../../library/bz2.rst:165
msgid ""
"Create a new compressor object. This object may be used to compress data "
"sequentially. If you want to compress data in one shot, use the :func:"
"`compress` function instead. The *compresslevel* parameter, if given, must "
"be a number between ``1`` and ``9``; the default is ``9``."
msgstr ""
"新しい圧縮オブジェクトを作成します。このオブジェクトはデータを逐次的に圧縮で"
"きます。一括してデータを圧縮したいのなら、代わりに :func:`compress` 関数を"
"使ってください。 *compresslevel* パラメタを与える場合、この値は ``1`` と "
"``9`` の間の整数でなければなりません。デフォルトの値は ``9`` です。"
#: ../../library/bz2.rst:173
msgid ""
"Provide more data to the compressor object. It will return chunks of "
"compressed data whenever possible. When you've finished providing data to "
"compress, call the :meth:`flush` method to finish the compression process, "
"and return what is left in internal buffers."
msgstr ""
"圧縮オブジェクトに追加のデータを入力します。圧縮データのチャンクを生成できた"
"場合にはチャンクを返します。圧縮データの入力を終えた後は圧縮処理を終えるため"
"に :meth:`flush` を呼んでください。内部バッファに残っている未処理のデータを返"
"します。"
#: ../../library/bz2.rst:181
msgid ""
"Finish the compression process and return what is left in internal buffers. "
"You must not use the compressor object after calling this method."
msgstr ""
"圧縮処理を終え、内部バッファに残されているデータを返します。このメソッドの呼"
"び出し以降は同じ圧縮オブジェクトを使ってはなりません。"
#: ../../library/bz2.rst:187
msgid ""
"Create a new decompressor object. This object may be used to decompress data "
"sequentially. If you want to decompress data in one shot, use the :func:"
"`decompress` function instead."
msgstr ""
"新しい解凍オブジェクトを生成します。このオブジェクトは逐次的にデータを解凍で"
"きます。一括してデータを解凍したいのなら、代わりに :func:`decompress` 関数を"
"使ってください。"
#: ../../library/bz2.rst:194
msgid ""
"Provide more data to the decompressor object. It will return chunks of "
"decompressed data whenever possible. If you try to decompress data after the "
"end of stream is found, :exc:`EOFError` will be raised. If any data was "
"found after the end of stream, it'll be ignored and saved in :attr:"
"`unused_data` attribute."
msgstr ""
"解凍オブジェクトに追加のデータを入力します。可能な限り、解凍データのチャンク"
"を生成できた場合にはチャンクを返します。ストリームの末端に到達した後に解凍処"
"理を行おうとした場合には、例外 :exc:`EOFError` を送出します。ストリームの終末"
"端の後ろに何らかのデータがあった場合、解凍処理はこのデータを無視し、オブジェ"
"クトの :attr:`unused_data` 属性に収めます。"
#: ../../library/bz2.rst:202
msgid "One-shot (de)compression"
msgstr "一括圧縮/解凍"
#: ../../library/bz2.rst:204
msgid ""
"One-shot compression and decompression is provided through the :func:"
"`compress` and :func:`decompress` functions."
msgstr ""
"一括での圧縮および解凍を行うための関数、 :func:`compress` および :func:"
"`decompress` が提供されています。"
#: ../../library/bz2.rst:210
msgid ""
"Compress *data* in one shot. If you want to compress data sequentially, use "
"an instance of :class:`BZ2Compressor` instead. The *compresslevel* "
"parameter, if given, must be a number between ``1`` and ``9``; the default "
"is ``9``."
msgstr ""
"*data* を一括して圧縮します。データを逐次的に圧縮したいなら、代わりに :class:"
"`BZ2Compressor` を使ってください。もし *compresslevel* パラメタを与えるなら、"
"この値は ``1`` から ``9`` の間の値をとらなくてはなりません。デフォルトの値は "
"``9`` です。"
#: ../../library/bz2.rst:217
msgid ""
"Decompress *data* in one shot. If you want to decompress data sequentially, "
"use an instance of :class:`BZ2Decompressor` instead."
msgstr ""
"*data* を一括して解凍します。データを逐次的に解凍したいなら、代わりに :class:"
"`BZ2Decompressor` を使ってください。"