-
-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathemail.mime.po
399 lines (361 loc) · 23.2 KB
/
email.mime.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
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2001-2018, Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Python 3.7\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-06-30 05:56+0900\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: 秘湯 <[email protected]>, 2017\n"
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: ja\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#: ../../library/email.mime.rst:2
msgid ":mod:`email.mime`: Creating email and MIME objects from scratch"
msgstr ":mod:`email.mime`: メールと MIME オブジェクトを一から作成"
#: ../../library/email.mime.rst:7
msgid "**Source code:** :source:`Lib/email/mime/`"
msgstr "**ソースコード:** :source:`Lib/email/mime/`"
#: ../../library/email.mime.rst:11
msgid ""
"This module is part of the legacy (``Compat32``) email API. Its "
"functionality is partially replaced by the :mod:`~email.contentmanager` in "
"the new API, but in certain applications these classes may still be useful, "
"even in non-legacy code."
msgstr ""
#: ../../library/email.mime.rst:16
msgid ""
"Ordinarily, you get a message object structure by passing a file or some "
"text to a parser, which parses the text and returns the root message object."
" However you can also build a complete message structure from scratch, or "
"even individual :class:`~email.message.Message` objects by hand. In fact, "
"you can also take an existing structure and add new "
":class:`~email.message.Message` objects, move them around, etc. This makes "
"a very convenient interface for slicing-and-dicing MIME messages."
msgstr ""
"ふつう、メッセージオブジェクト構造はファイルまたは何がしかのテキストをパーザに通すことで得られます。パーザは与えられたテキストを解析し、基底となる "
"root のメッセージオブジェクトを返します。しかし、完全なメッセージオブジェクト構造を何もないところから作成することもまた可能です。個別の "
":class:`~email.message.Message` "
"を手で作成することさえできます。実際には、すでに存在するメッセージオブジェクト構造をとってきて、そこに新たな "
":class:`~email.message.Message` オブジェクトを追加したり、あるものを別のところへ移動させたりできます。これは MIME "
"メッセージを切ったりおろしたりするために非常に便利なインターフェイスを提供します。"
#: ../../library/email.mime.rst:24
msgid ""
"You can create a new object structure by creating "
":class:`~email.message.Message` instances, adding attachments and all the "
"appropriate headers manually. For MIME messages though, the :mod:`email` "
"package provides some convenient subclasses to make things easier."
msgstr ""
"新しいメッセージオブジェクト構造は :class:`~email.message.Message` "
"インスタンスを作成することにより作れます。ここに添付ファイルやその他適切なものをすべて手で加えてやればよいのです。MIME メッセージの場合、 "
":mod:`email` パッケージはこれらを簡単におこなえるようにするためにいくつかの便利なサブクラスを提供しています。"
#: ../../library/email.mime.rst:29
msgid "Here are the classes:"
msgstr "以下がそのサブクラスです:"
#: ../../library/email.mime.rst:35
msgid "Module: :mod:`email.mime.base`"
msgstr "モジュール: :mod:`email.mime.base`"
#: ../../library/email.mime.rst:37
msgid ""
"This is the base class for all the MIME-specific subclasses of "
":class:`~email.message.Message`. Ordinarily you won't create instances "
"specifically of :class:`MIMEBase`, although you could. :class:`MIMEBase` is"
" provided primarily as a convenient base class for more specific MIME-aware "
"subclasses."
msgstr ""
"これはすべての :class:`~email.message.Message` の MIME 用サブクラスの基底となるクラスです。とくに "
":class:`MIMEBase` のインスタンスを直接作成することは (可能ではありますが) ふつうはしないでしょう。 "
":class:`MIMEBase` は単により特化された MIME 用サブクラスのための便宜的な基底クラスとして提供されています。"
#: ../../library/email.mime.rst:43
msgid ""
"*_maintype* is the :mailheader:`Content-Type` major type (e.g. "
":mimetype:`text` or :mimetype:`image`), and *_subtype* is the :mailheader"
":`Content-Type` minor type (e.g. :mimetype:`plain` or :mimetype:`gif`). "
"*_params* is a parameter key/value dictionary and is passed directly to "
":meth:`Message.add_header <email.message.Message.add_header>`."
msgstr ""
"*_maintype* は :mailheader:`Content-Type` の主形式 (maintype) であり "
"(:mimetype:`text` や :mimetype:`image` など)、 *_subtype* は :mailheader"
":`Content-Type` の副形式 (subtype) です (:mimetype:`plain` や :mimetype:`gif` など)。 "
"*_params* は各パラメータのキーと値を格納した辞書であり、これは直接 :meth:`Message.add_header "
"<email.message.Message.add_header>` に渡されます。"
#: ../../library/email.mime.rst:49
msgid ""
"If *policy* is specified, (defaults to the :class:`compat32 "
"<email.policy.Compat32>` policy) it will be passed to "
":class:`~email.message.Message`."
msgstr ""
#: ../../library/email.mime.rst:53
msgid ""
"The :class:`MIMEBase` class always adds a :mailheader:`Content-Type` header "
"(based on *_maintype*, *_subtype*, and *_params*), and a :mailheader:`MIME-"
"Version` header (always set to ``1.0``)."
msgstr ""
":class:`MIMEBase` クラスはつねに (*_maintype* 、 *_subtype* 、および *_params* にもとづいた) "
":mailheader:`Content-Type` ヘッダと、 :mailheader:`MIME-Version` ヘッダ (必ず ``1.0`` "
"に設定される) を追加します。"
#: ../../library/email.mime.rst:57 ../../library/email.mime.rst:104
#: ../../library/email.mime.rst:135 ../../library/email.mime.rst:169
#: ../../library/email.mime.rst:204 ../../library/email.mime.rst:224
#: ../../library/email.mime.rst:258
msgid "Added *policy* keyword-only parameter."
msgstr ""
#: ../../library/email.mime.rst:65
msgid "Module: :mod:`email.mime.nonmultipart`"
msgstr "モジュール: :mod:`email.mime.nonmultipart`"
#: ../../library/email.mime.rst:67
msgid ""
"A subclass of :class:`~email.mime.base.MIMEBase`, this is an intermediate "
"base class for MIME messages that are not :mimetype:`multipart`. The "
"primary purpose of this class is to prevent the use of the "
":meth:`~email.message.Message.attach` method, which only makes sense for "
":mimetype:`multipart` messages. If :meth:`~email.message.Message.attach` is"
" called, a :exc:`~email.errors.MultipartConversionError` exception is "
"raised."
msgstr ""
":class:`~email.mime.base.MIMEBase` のサブクラスで、これは :mimetype:`multipart` 形式でない "
"MIME メッセージのための中間的な基底クラスです。このクラスのおもな目的は、通常 :mimetype:`multipart` "
"形式のメッセージに対してのみ意味をなす :meth:`~email.message.Message.attach` メソッドの使用をふせぐことです。もし"
" :meth:`~email.message.Message.attach` メソッドが呼ばれた場合、これは "
":exc:`~email.errors.MultipartConversionError` 例外を発生します。"
#: ../../library/email.mime.rst:80
msgid "Module: :mod:`email.mime.multipart`"
msgstr "モジュール: :mod:`email.mime.multipart`"
#: ../../library/email.mime.rst:82
msgid ""
"A subclass of :class:`~email.mime.base.MIMEBase`, this is an intermediate "
"base class for MIME messages that are :mimetype:`multipart`. Optional "
"*_subtype* defaults to :mimetype:`mixed`, but can be used to specify the "
"subtype of the message. A :mailheader:`Content-Type` header of "
":mimetype:`multipart/_subtype` will be added to the message object. A "
":mailheader:`MIME-Version` header will also be added."
msgstr ""
":class:`~email.mime.base.MIMEBase` のサブクラスで、これは :mimetype:`multipart` 形式の "
"MIME メッセージのための中間的な基底クラスです。オプション引数 *_subtype* はデフォルトでは :mimetype:`mixed` "
"になっていますが、そのメッセージの副形式 (subtype) を指定するのに使うことができます。メッセージオブジェクトには "
":mimetype:`multipart/_subtype` という値をもつ :mailheader:`Content-Type` ヘッダとともに、 "
":mailheader:`MIME-Version` ヘッダが追加されるでしょう。"
#: ../../library/email.mime.rst:89
msgid ""
"Optional *boundary* is the multipart boundary string. When ``None`` (the "
"default), the boundary is calculated when needed (for example, when the "
"message is serialized)."
msgstr ""
"オプション引数 *boundary* は multipart の境界文字列です。これが ``None`` の場合 "
"(デフォルト)、境界は必要に応じて計算されます(例えばメッセージがシリアライズされるときなど)。"
#: ../../library/email.mime.rst:93
msgid ""
"*_subparts* is a sequence of initial subparts for the payload. It must be "
"possible to convert this sequence to a list. You can always attach new "
"subparts to the message by using the :meth:`Message.attach "
"<email.message.Message.attach>` method."
msgstr ""
"*_subparts* はそのペイロードの subpart "
"の初期値からなるシーケンスです。このシーケンスはリストに変換できるようになっている必要があります。新しい subpart はつねに "
":meth:`Message.attach <email.message.Message.attach>` "
"メソッドを使ってそのメッセージに追加できるようになっています。"
#: ../../library/email.mime.rst:98 ../../library/email.mime.rst:131
#: ../../library/email.mime.rst:165 ../../library/email.mime.rst:199
#: ../../library/email.mime.rst:222 ../../library/email.mime.rst:253
msgid ""
"Optional *policy* argument defaults to :class:`compat32 "
"<email.policy.Compat32>`."
msgstr ""
#: ../../library/email.mime.rst:100
msgid ""
"Additional parameters for the :mailheader:`Content-Type` header are taken "
"from the keyword arguments, or passed into the *_params* argument, which is "
"a keyword dictionary."
msgstr ""
":mailheader:`Content-Type` ヘッダに対する追加のパラメータはキーワード引数 *_params* "
"を介して取得あるいは設定されます。これはキーワード辞書になっています。"
#: ../../library/email.mime.rst:113
msgid "Module: :mod:`email.mime.application`"
msgstr "モジュール: :mod:`email.mime.application`"
#: ../../library/email.mime.rst:115
msgid ""
"A subclass of :class:`~email.mime.nonmultipart.MIMENonMultipart`, the "
":class:`MIMEApplication` class is used to represent MIME message objects of "
"major type :mimetype:`application`. *_data* is a string containing the raw "
"byte data. Optional *_subtype* specifies the MIME subtype and defaults to "
":mimetype:`octet-stream`."
msgstr ""
":class:`~email.mime.nonmultipart.MIMENonMultipart` のサブクラスである "
":class:`MIMEApplication` クラスは MIME メッセージオブジェクトのメジャータイプ "
":mimetype:`application` を表します。 *_data* は生のバイト列が入った文字列です。オプション引数 *_subtype* は"
" MIME のサブタイプを設定します。サブタイプのデフォルトは :mimetype:`octet-stream` です。"
#: ../../library/email.mime.rst:121
msgid ""
"Optional *_encoder* is a callable (i.e. function) which will perform the "
"actual encoding of the data for transport. This callable takes one "
"argument, which is the :class:`MIMEApplication` instance. It should use "
":meth:`~email.message.Message.get_payload` and "
":meth:`~email.message.Message.set_payload` to change the payload to encoded "
"form. It should also add any :mailheader:`Content-Transfer-Encoding` or "
"other headers to the message object as necessary. The default encoding is "
"base64. See the :mod:`email.encoders` module for a list of the built-in "
"encoders."
msgstr ""
"オプション引数の *_encoder* は呼び出し可能なオブジェクト (関数など) "
"で、データの転送に使う実際のエンコード処理を行います。この呼び出し可能なオブジェクトは引数を 1 つ取り、それは "
":class:`MIMEApplication` のインスタンスです。ペイロードをエンコードされた形式に変更するために "
":meth:`~email.message.Message.get_payload` と "
":meth:`~email.message.Message.set_payload` を使い、必要に応じて :mailheader:`Content-"
"Transfer-Encoding` やその他のヘッダをメッセージオブジェクトに追加するべきです。デフォルトのエンコードは base64 "
"です。組み込みのエンコーダの一覧は :mod:`email.encoders` モジュールを見てください。"
#: ../../library/email.mime.rst:133 ../../library/email.mime.rst:167
msgid "*_params* are passed straight through to the base class constructor."
msgstr "*_params* は基底クラスのコンストラクタにそのまま渡されます。"
#: ../../library/email.mime.rst:144
msgid "Module: :mod:`email.mime.audio`"
msgstr "モジュール: :mod:`email.mime.audio`"
#: ../../library/email.mime.rst:146
msgid ""
"A subclass of :class:`~email.mime.nonmultipart.MIMENonMultipart`, the "
":class:`MIMEAudio` class is used to create MIME message objects of major "
"type :mimetype:`audio`. *_audiodata* is a string containing the raw audio "
"data. If this data can be decoded by the standard Python module "
":mod:`sndhdr`, then the subtype will be automatically included in the "
":mailheader:`Content-Type` header. Otherwise you can explicitly specify the "
"audio subtype via the *_subtype* argument. If the minor type could not be "
"guessed and *_subtype* was not given, then :exc:`TypeError` is raised."
msgstr ""
":class:`MIMEAudio` クラスは :class:`~email.mime.nonmultipart.MIMENonMultipart` "
"のサブクラスで、主形式 (maintype) が :mimetype:`audio` の MIME オブジェクトを作成するのに使われます。 "
"*_audiodata* は実際の音声データを格納した文字列です。もしこのデータが標準の Python モジュール :mod:`sndhdr` "
"によって認識できるものであれば、 :mailheader:`Content-Type` ヘッダの副形式 (subtype) "
"は自動的に決定されます。そうでない場合はその画像の形式 (subtype) を *_subtype* "
"で明示的に指定する必要があります。副形式が自動的に決定できず、 *_subtype* の指定もない場合は、 :exc:`TypeError` "
"が発生します。"
#: ../../library/email.mime.rst:155
msgid ""
"Optional *_encoder* is a callable (i.e. function) which will perform the "
"actual encoding of the audio data for transport. This callable takes one "
"argument, which is the :class:`MIMEAudio` instance. It should use "
":meth:`~email.message.Message.get_payload` and "
":meth:`~email.message.Message.set_payload` to change the payload to encoded "
"form. It should also add any :mailheader:`Content-Transfer-Encoding` or "
"other headers to the message object as necessary. The default encoding is "
"base64. See the :mod:`email.encoders` module for a list of the built-in "
"encoders."
msgstr ""
"オプション引数の *_encoder* は呼び出し可能なオブジェクト (関数など) "
"で、オーディオデータの転送に使う実際のエンコード処理を行います。この呼び出し可能なオブジェクトは引数を 1 つ取り、それは "
":class:`MIMEAudio` のインスタンスです。ペイロードをエンコードされた形式に変更するために "
":meth:`~email.message.Message.get_payload` と "
":meth:`~email.message.Message.set_payload` を使い、必要に応じて :mailheader:`Content-"
"Transfer-Encoding` やその他のヘッダをメッセージオブジェクトに追加するべきです。デフォルトのエンコードは base64 "
"です。組み込みのエンコーダの一覧は :mod:`email.encoders` モジュールを見てください。"
#: ../../library/email.mime.rst:178
msgid "Module: :mod:`email.mime.image`"
msgstr "モジュール: :mod:`email.mime.image`"
#: ../../library/email.mime.rst:180
msgid ""
"A subclass of :class:`~email.mime.nonmultipart.MIMENonMultipart`, the "
":class:`MIMEImage` class is used to create MIME message objects of major "
"type :mimetype:`image`. *_imagedata* is a string containing the raw image "
"data. If this data can be decoded by the standard Python module "
":mod:`imghdr`, then the subtype will be automatically included in the "
":mailheader:`Content-Type` header. Otherwise you can explicitly specify the "
"image subtype via the *_subtype* argument. If the minor type could not be "
"guessed and *_subtype* was not given, then :exc:`TypeError` is raised."
msgstr ""
":class:`MIMEImage` クラスは :class:`~email.mime.nonmultipart.MIMENonMultipart` "
"のサブクラスで、主形式 (maintype) が :mimetype:`image` の MIME オブジェクトを作成するのに使われます。 "
"*_imagedata* は実際の画像データを格納した文字列です。もしこのデータが標準の Python モジュール :mod:`imghdr` "
"によって認識できるものであれば、 :mailheader:`Content-Type` ヘッダの副形式 (subtype) "
"は自動的に決定されます。そうでない場合はその画像の形式 (subtype) を *_subtype* "
"で明示的に指定する必要があります。副形式が自動的に決定できず、 *_subtype* の指定もない場合は、 :exc:`TypeError` "
"が発生します。"
#: ../../library/email.mime.rst:189
msgid ""
"Optional *_encoder* is a callable (i.e. function) which will perform the "
"actual encoding of the image data for transport. This callable takes one "
"argument, which is the :class:`MIMEImage` instance. It should use "
":meth:`~email.message.Message.get_payload` and "
":meth:`~email.message.Message.set_payload` to change the payload to encoded "
"form. It should also add any :mailheader:`Content-Transfer-Encoding` or "
"other headers to the message object as necessary. The default encoding is "
"base64. See the :mod:`email.encoders` module for a list of the built-in "
"encoders."
msgstr ""
"オプション引数の *_encoder* は呼び出し可能なオブジェクト (関数など) "
"で、画像データの転送に使う実際のエンコード処理を行います。この呼び出し可能なオブジェクトは引数を 1 つ取り、それは "
":class:`MIMEImage` のインスタンスです。ペイロードをエンコードされた形式に変更するために "
":meth:`~email.message.Message.get_payload` と "
":meth:`~email.message.Message.set_payload` を使い、必要に応じて :mailheader:`Content-"
"Transfer-Encoding` やその他のヘッダをメッセージオブジェクトに追加するべきです。デフォルトのエンコードは base64 "
"です。組み込みのエンコーダの一覧は :mod:`email.encoders` モジュールを見てください。"
#: ../../library/email.mime.rst:201
msgid ""
"*_params* are passed straight through to the "
":class:`~email.mime.base.MIMEBase` constructor."
msgstr "*_params* は :class:`~email.mime.base.MIMEBase` コンストラクタに直接渡されます。"
#: ../../library/email.mime.rst:211
msgid "Module: :mod:`email.mime.message`"
msgstr "モジュール: :mod:`email.mime.message`"
#: ../../library/email.mime.rst:213
msgid ""
"A subclass of :class:`~email.mime.nonmultipart.MIMENonMultipart`, the "
":class:`MIMEMessage` class is used to create MIME objects of main type "
":mimetype:`message`. *_msg* is used as the payload, and must be an instance "
"of class :class:`~email.message.Message` (or a subclass thereof), otherwise "
"a :exc:`TypeError` is raised."
msgstr ""
":class:`MIMEMessage` クラスは :class:`~email.mime.nonmultipart.MIMENonMultipart`"
" のサブクラスで、主形式 (maintype) が :mimetype:`message` の MIME "
"オブジェクトを作成するのに使われます。ペイロードとして使われるメッセージは *_msg* になります。これは "
":class:`~email.message.Message` クラス (あるいはそのサブクラス) "
"のインスタンスでなければいけません。そうでない場合、この関数は :exc:`TypeError` を発生します。"
#: ../../library/email.mime.rst:219
msgid ""
"Optional *_subtype* sets the subtype of the message; it defaults to "
":mimetype:`rfc822`."
msgstr ""
"オプション引数 *_subtype* はそのメッセージの副形式 (subtype) を設定します。デフォルトではこれは "
":mimetype:`rfc822` になっています。"
#: ../../library/email.mime.rst:231
msgid "Module: :mod:`email.mime.text`"
msgstr "モジュール: :mod:`email.mime.text`"
#: ../../library/email.mime.rst:233
msgid ""
"A subclass of :class:`~email.mime.nonmultipart.MIMENonMultipart`, the "
":class:`MIMEText` class is used to create MIME objects of major type "
":mimetype:`text`. *_text* is the string for the payload. *_subtype* is the "
"minor type and defaults to :mimetype:`plain`. *_charset* is the character "
"set of the text and is passed as an argument to the "
":class:`~email.mime.nonmultipart.MIMENonMultipart` constructor; it defaults "
"to ``us-ascii`` if the string contains only ``ascii`` code points, and "
"``utf-8`` otherwise. The *_charset* parameter accepts either a string or a "
":class:`~email.charset.Charset` instance."
msgstr ""
":class:`MIMEText` クラスは :class:`~email.mime.nonmultipart.MIMENonMultipart` "
"のサブクラスで、主形式 (maintype) が :mimetype:`text` の MIME "
"オブジェクトを作成するのに使われます。ペイロードの文字列は *_text* になります。 *_subtype* には副形式 (subtype) "
"を指定し、デフォルトは :mimetype:`plain` です。 *_charset* はテキストの文字セットで、 "
":class:`~email.mime.nonmultipart.MIMENonMultipart` "
"コンストラクタに引数として渡されます。この値は、文字列が ``ascii`` コードポイントのみを含む場合 ``us-ascii`` 、それ以外は "
"``utf-8`` がデフォルトになっています。 *_charset* パラメータは、文字列と "
":class:`~email.charset.Charset` インスタンスの両方を受け付けます。"
#: ../../library/email.mime.rst:243
msgid ""
"Unless the *_charset* argument is explicitly set to ``None``, the MIMEText "
"object created will have both a :mailheader:`Content-Type` header with a "
"``charset`` parameter, and a :mailheader:`Content-Transfer-Encoding` header."
" This means that a subsequent ``set_payload`` call will not result in an "
"encoded payload, even if a charset is passed in the ``set_payload`` command."
" You can \"reset\" this behavior by deleting the ``Content-Transfer-"
"Encoding`` header, after which a ``set_payload`` call will automatically "
"encode the new payload (and add a new :mailheader:`Content-Transfer-"
"Encoding` header)."
msgstr ""
#: ../../library/email.mime.rst:255
msgid "*_charset* also accepts :class:`~email.charset.Charset` instances."
msgstr "*_charset* は :class:`~email.charset.Charset` インスタンスも受け取ります。"