|
| 1 | +# SOME DESCRIPTIVE TITLE. |
| 2 | +# Copyright (C) 2001-2018, Python Software Foundation |
| 3 | +# This file is distributed under the same license as the Python package. |
| 4 | +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. |
| 5 | +# |
| 6 | +# Translators: |
| 7 | +# tomo🐧, 2018 |
| 8 | +# |
| 9 | +#, fuzzy |
| 10 | +msgid "" |
| 11 | +msgstr "" |
| 12 | +"Project-Id-Version: Python 3.6\n" |
| 13 | +"Report-Msgid-Bugs-To: \n" |
| 14 | +"POT-Creation-Date: 2018-11-22 14:58+0900\n" |
| 15 | +"PO-Revision-Date: 2018-11-22 06:10+0000\n" |
| 16 | +"Last-Translator: tomo🐧, 2018\n" |
| 17 | +"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n" |
| 18 | +"MIME-Version: 1.0\n" |
| 19 | +"Content-Type: text/plain; charset=UTF-8\n" |
| 20 | +"Content-Transfer-Encoding: 8bit\n" |
| 21 | +"
8000
Language: ja\n" |
| 22 | +"Plural-Forms: nplurals=1; plural=0;\n" |
| 23 | + |
| 24 | +#: ../../library/email.utils.rst:2 |
| 25 | +msgid ":mod:`email.utils`: Miscellaneous utilities" |
| 26 | +msgstr ":mod:`email.utils`: 多方面のユーティリティ" |
| 27 | + |
| 28 | +#: ../../library/email.utils.rst:7 |
| 29 | +msgid "**Source code:** :source:`Lib/email/utils.py`" |
| 30 | +msgstr "**ソースコード:** :source:`Lib/email/utils.py`" |
| 31 | + |
| 32 | +#: ../../library/email.utils.rst:11 |
| 33 | +msgid "" |
| 34 | +"There are a couple of useful utilities provided in the :mod:`email.utils` " |
| 35 | +"module:" |
| 36 | +msgstr "" |
| 37 | + |
| 38 | +#: ../../library/email.utils.rst:16 |
| 39 | +msgid "" |
| 40 | +"Return local time as an aware datetime object. If called without arguments," |
| 41 | +" return current time. Otherwise *dt* argument should be a " |
| 42 | +":class:`~datetime.datetime` instance, and it is converted to the local time " |
| 43 | +"zone according to the system time zone database. If *dt* is naive (that is," |
| 44 | +" ``dt.tzinfo`` is ``None``), it is assumed to be in local time. In this " |
| 45 | +"case, a positive or zero value for *isdst* causes ``localtime`` to presume " |
| 46 | +"initially that summer time (for example, Daylight Saving Time) is or is not " |
| 47 | +"(respectively) in effect for the specified time. A negative value for " |
| 48 | +"*isdst* causes the ``localtime`` to attempt to divine whether summer time is" |
| 49 | +" in effect for the specified time." |
| 50 | +msgstr "" |
| 51 | + |
| 52 | +#: ../../library/email.utils.rst:32 |
| 53 | +msgid "" |
| 54 | +"Returns a string suitable for an :rfc:`2822`\\ -compliant :mailheader" |
| 55 | +":`Message-ID` header. Optional *idstring* if given, is a string used to " |
| 56 | +"strengthen the uniqueness of the message id. Optional *domain* if given " |
| 57 | +"provides the portion of the msgid after the '@'. The default is the local " |
| 58 | +"hostname. It is not normally necessary to override this default, but may be" |
| 59 | +" useful certain cases, such as a constructing distributed system that uses a" |
| 60 | +" consistent domain name across multiple hosts." |
| 61 | +msgstr "" |
| 62 | + |
| 63 | +#: ../../library/email.utils.rst:40 |
| 64 | +msgid "Added the *domain* keyword." |
| 65 | +msgstr "*domain* キーワードが追加されました。" |
67E6
| 66 | + |
| 67 | +#: ../../library/email.utils.rst:44 |
| 68 | +msgid "" |
| 69 | +"The remaining functions are part of the legacy (``Compat32``) email API. " |
| 70 | +"There is no need to directly use these with the new API, since the parsing " |
| 71 | +"and formatting they provide is done automatically by the header parsing " |
| 72 | +"machinery of the new API." |
| 73 | +msgstr "" |
| 74 | + |
| 75 | +#: ../../library/email.utils.rst:52 |
| 76 | +msgid "" |
| 77 | +"Return a new string with backslashes in *str* replaced by two backslashes, " |
| 78 | +"and double quotes replaced by backslash-double quote." |
| 79 | +msgstr "" |
| 80 | +"文字列 *str* 内のバックスラッシュをバックスラッシュ2つに置換した新しい文字列を返します。また、ダブルクォートはバックスラッシュ + " |
| 81 | +"ダブルクォートに置換されます。" |
| 82 | + |
| 83 | +#: ../../library/email.utils.rst:58 |
| 84 | +msgid "" |
| 85 | +"Return a new string which is an *unquoted* version of *str*. If *str* ends " |
| 86 | +"and begins with double quotes, they are stripped off. Likewise if *str* " |
| 87 | +"ends and begins with angle brackets, they are stripped off." |
| 88 | +msgstr "" |
| 89 | +"文字列 *str* の *クォートを外した* 新しい文字列を返します。*str* の先頭と末尾がダブルクォートだった場合、それらは取り除かれます。同様に" |
| 90 | +" *str* の先頭と末尾が角ブラケット (<、>) だった場合もそれらは取り除かれます。" |
| 91 | + |
| 92 | +#: ../../library/email.utils.rst:65 |
| 93 | +msgid "" |
| 94 | +"Parse address -- which should be the value of some address-containing field " |
| 95 | +"such as :mailheader:`To` or :mailheader:`Cc` -- into its constituent " |
| 96 | +"*realname* and *email address* parts. Returns a tuple of that information, " |
| 97 | +"unless the parse fails, in which case a 2-tuple of ``('', '')`` is returned." |
| 98 | +msgstr "" |
| 99 | +":mailheader:`To` や :mailheader:`Cc` のようなフィールドを持つアドレスをパースして、構成要素の *実名* と " |
| 100 | +"*電子メールアドレス* を取り出します。 パースに成功した場合、これらの情報持つタプルを返します。失敗した場合は 2 要素のタプル ``('', " |
| 101 | +"'')`` を返します。" |
| 102 | + |
| 103 | +#: ../../library/email.utils.rst:73 |
| 104 | +msgid "" |
| 105 | +"The inverse of :meth:`parseaddr`, this takes a 2-tuple of the form " |
| 106 | +"``(realname, email_address)`` and returns the string value suitable for a " |
| 107 | +":mailheader:`To` or :mailheader:`Cc` header. If the first element of *pair*" |
| 108 | +" is false, then the second element is returned unmodified." |
| 109 | +msgstr "" |
| 110 | +":meth:`parseaddr` の逆で、2 要素のタプル ``(realname, email_address)`` を取って " |
| 111 | +":mailheader:`To` や :mailheader:`Cc` ヘッダに適した文字列を返します。タプル *pair* " |
| 112 | +"の第1要素が偽である場合、第2要素の値をそのまま返します。" |
| 113 | + |
| 114 | +#: ../../library/email.utils.rst:78 |
| 115 | +msgid "" |
| 116 | +"Optional *charset* is the character set that will be used in the :rfc:`2047`" |
| 117 | +" encoding of the ``realname`` if the ``realname`` contains non-ASCII " |
| 118 | +"characters. Can be an instance of :class:`str` or a " |
| 119 | +":class:`~email.charset.Charset`. Defaults to ``utf-8``." |
| 120 | +msgstr "" |
| 121 | +"任意の *charset* は、 ``realname`` が非 ASCII 文字を含んでいる場合にその :rfc:`2047` " |
| 122 | +"エンコーディングに使われる文字集合です。:class:`str` か :class:`~email.charset.Charset` " |
| 123 | +"のインスタンスで、デフォルトは ``utf-8`` です。" |
| 124 | + |
| 125 | +#: ../../library/email.utils.rst:83 |
| 126 | +msgid "Added the *charset* option." |
| 127 | +msgstr "*charset* オプションが追加されました。" |
| 128 | + |
| 129 | +#: ../../library/email.utils.rst:89 |
| 130 | +msgid "" |
| 131 | +"This method returns a list of 2-tuples of the form returned by " |
| 132 | +"``parseaddr()``. *fieldvalues* is a sequence of header field values as might" |
| 133 | +" be returned by :meth:`Message.get_all <email.message.Message.get_all>`. " |
| 134 | +"Here's a simple example that gets all the recipients of a message::" |
| 135 | +msgstr "" |
| 136 | +"このメソッドは ``parseaddr()`` が返す形式の 2 要素タプルのリストを返します。\n" |
| 137 | +"*fieldvalues* は :meth:`Message.get_all <email.message.Message.get_all>` が返すような一連のヘッダフィールドです。\n" |
| 138 | +"以下はメッセージの全ての受信者を得る簡単な例です::" |
| 139 | + |
| 140 | +#: ../../library/email.utils.rst:105 |
| 141 | +msgid "" |
| 142 | +"Attempts to parse a date according to the rules in :rfc:`2822`. however, " |
| 143 | +"some mailers don't follow that format as specified, so :func:`parsedate` " |
| 144 | +"tries to guess correctly in such cases. *date* is a string containing an " |
| 145 | +":rfc:`2822` date, such as ``\"Mon, 20 Nov 1995 19:12:08 -0500\"``. If it " |
| 146 | +"succeeds in parsing the date, :func:`parsedate` returns a 9-tuple that can " |
| 147 | +"be passed directly to :func:`time.mktime`; otherwise ``None`` will be " |
| 148 | +"returned. Note that indexes 6, 7, and 8 of the result tuple are not usable." |
| 149 | +msgstr "" |
| 150 | +":rfc:`2822` の規則に基づいて日付の解析を試みます。\n" |
| 151 | +"しかしながらメイラーによっては指定された形式に従っていないものがあるので、その場合 :func:`parsedate` は正しく推測しようとします。\n" |
| 152 | +"*date* は ``\"Mon, 20 Nov 1995 19:12:08 -0500\"`` のような :rfc:`2822` 形式の日付を含む文字列です。\n" |
| 153 | +"日付の解析に成功した場合、 :func:`parsedate` は関数 :func:`time.mkti
10000
me` に直接渡せる形式の 9 要素からなるタプルを返します。\n" |
| 154 | +"失敗した場合は ``None`` を返します。\n" |
| 155 | +"返されるタプルの 6、7、8番目の添字は使用不可なので注意してください。" |
| 156 | + |
| 157 | +#: ../../library/email.utils.rst:116 |
| 158 | +msgid "" |
| 159 | +"Performs the same function as :func:`parsedate`, but returns either ``None``" |
| 160 | +" or a 10-tuple; the first 9 elements make up a tuple that can be passed " |
| 161 | +"directly to :func:`time.mktime`, and the tenth is the offset of the date's " |
| 162 | +"timezone from UTC (which is the official term for Greenwich Mean Time) [#]_." |
| 163 | +" If the input string has no timezone, the last element of the tuple " |
| 164 | +"returned is ``None``. Note that indexes 6, 7, and 8 of the result tuple are" |
| 165 | +" not usable." |
| 166 | +msgstr "" |
| 167 | +":func:`parsedate` と同様に機能しますが、 ``None`` か 10 要素のタプルを返します。\n" |
| 168 | +"最初の 9 要素は :func:`time.mktime` に直接渡すことの出来るタプルを成し、10 番目はその日付のタイムゾーンの UTC (グリニッジ標準時の公式用語) からの差です [#]_ 。\n" |
| 169 | +"入力文字列にタイムゾーンがない場合、返されるタプルの最後の要素は ``None`` です。\n" |
| 170 | +"返されるタプルの 6、7、8番目の添字は使用不可なので注意してください。" |
| 171 | + |
| 172 | +#: ../../library/email.utils.rst:126 |
| 173 | +msgid "" |
| 174 | +"The inverse of :func:`format_datetime`. Performs the same function as " |
| 175 | +":func:`parsedate`, but on success returns a :mod:`~datetime.datetime`. If " |
| 176 | +"the input date has a timezone of ``-0000``, the ``datetime`` will be a naive" |
| 177 | +" ``datetime``, and if the date is conforming to the RFCs it will represent a" |
| 178 | +" time in UTC but with no indication of the actual source timezone of the " |
| 179 | +"message the date comes from. If the input date has any other valid timezone" |
| 180 | +" offset, the ``datetime`` will be an aware ``datetime`` with the " |
| 181 | +"corresponding a :class:`~datetime.timezone` :class:`~datetime.tzinfo`." |
| 182 | +msgstr "" |
| 183 | +":func:`format_datetime` の逆です。\n" |
| 184 | +":func:`parsedate` と同様に機能しますが、成功時に :mod:`~datetime.datetime` を返します。\n" |
| 185 | +"入力文字列がタイムゾーン ``-0000`` を持つ場合、``datetime`` はナイーブな ``datetime`` です。\n" |
| 186 | +"日付が RFC に従っている場合、``datetime`` は UTC での時間を表しますが、日付の元になったメッセージの実際のタイムゾーンについての情報を持ちません。\n" |
| 187 | +"入力データにその他の有効なタイムゾーンの差がある場合、\n" |
| 188 | +"``datetime`` は対応する :class:`~datetime.timezone` :class:`~datetime.tzinfo` のあるそつのない ``datetime`` です。" |
| 189 | + |
| 190 | +#: ../../library/email.utils.rst:140 |
| 191 | +msgid "" |
| 192 | +"Turn a 10-tuple as returned by :func:`parsedate_tz` into a UTC timestamp " |
| 193 | +"(seconds since the Epoch). If the timezone item in the tuple is ``None``, " |
| 194 | +"assume local time." |
| 195 | +msgstr "" |
| 196 | +":func:`parsedate_tz` が返す 10 要素のタプルを UTC のタイムスタンプ (エポックからの秒数) " |
| 197 | +"に変換します。与えられた時間帯が ``None`` である場合、時間帯として現地時間 (localtime) が仮定されます。" |
| 198 | + |
| 199 | +#: ../../library/email.utils.rst:147 |
| 200 | +msgid "Returns a date string as per :rfc:`2822`, e.g.::" |
| 201 | +msgstr "日付を :rfc:`2822` 形式の文字列で返します。例::" |
| 202 | + |
| 203 | +#: ../../library/email.utils.rst:151 |
| 204 | +msgid "" |
| 205 | +"Optional *timeval* if given is a floating point time value as accepted by " |
| 206 | +":func:`time.gmtime` and :func:`time.localtime`, otherwise the current time " |
| 207 | +"is used." |
| 208 | +msgstr "" |
| 209 | +"与えられた場合、オプションの *timeval* は :func:`time.gmtime` や :func:`time.localtime` に渡すことの出来る浮動小数の時刻です。\n" |
| 210 | +"それ以外の場合、現在時刻が使われます。" |
| 211 | + |
| 212 | +#: ../../library/email.utils.rst:155 |
| 213 | +msgid "" |
| 214 | +"Optional *localtime* is a flag that when ``True``, interprets *timeval*, and" |
| 215 | +" returns a date relative to the local timezone instead of UTC, properly " |
| 216 | +"taking daylight savings time into account. The default is ``False`` meaning " |
| 217 | +"UTC is used." |
| 218 | +msgstr "" |
| 219 | +"オプション引数 *localtime* はフラグです。``True`` の場合、この関数は *timeval* を解析して UTC " |
| 220 | +"の代わりに現地のタイムゾーンに対する日付を返します。おそらく夏時間も考慮するでしょう。デフォルトは ``False`` で、UTC が使われます。" |
| 221 | + |
| 222 | +#: ../../library/email.utils.rst:160 |
| 223 | +msgid "" |
| 224 | +"Optional *usegmt* is a flag that when ``True``, outputs a date string with " |
| 225 | +"the timezone as an ascii string ``GMT``, rather than a numeric ``-0000``. " |
| 226 | +"This is needed for some protocols (such as HTTP). This only applies when " |
| 227 | +"*localtime* is ``False``. The default is ``False``." |
| 228 | +msgstr "" |
| 229 | +"オプション引数 *usegmt* はフラグです。``True`` の場合、この関数はタイムゾーンを数値の ``-0000`` ではなく ascii " |
| 230 | +"文字列 ``GMT`` として日付を出力します。これはプロトコルによっては (例えば HTTP) 必要です。これは *localtime* が " |
| 231 | +"``False`` のときのみ適用されます。デフォルトは ``False`` です。" |
| 232 | + |
| 233 | +#: ../../library/email.utils.rst:168 |
| 234 | +msgid "" |
| 235 | +"Like ``formatdate``, but the input is a :mod:`datetime` instance. If it is " |
| 236 | +"a naive datetime, it is assumed to be \"UTC with no information about the " |
| 237 | +"source timezone\", and the conventional ``-0000`` is used for the timezone. " |
| 238 | +"If it is an aware ``datetime``, then the numeric timezone offset is used. If" |
| 239 | +" it is an aware timezone with offset zero, then *usegmt* may be set to " |
| 240 | +"``True``, in which case the string ``GMT`` is used instead of the numeric " |
| 241 | +"timezone offset. This provides a way to generate standards conformant HTTP " |
| 242 | +"date headers." |
| 243 | +msgstr "" |
| 244 | + |
| 245 | +#: ../../library/email.utils.rst:182 |
| 246 | +msgid "Decode the string *s* according to :rfc:`2231`." |
| 247 | +msgstr ":rfc:`2231` に従って文字列 *s* をデコードします。" |
| 248 | + |
| 249 | +#: ../../library/email.utils.rst:187 |
| 250 | +msgid "" |
| 251 | +"Encode the string *s* according to :rfc:`2231`. Optional *charset* and " |
| 252 | +"*language*, if given is the character set name and language name to use. If" |
| 253 | +" neither is given, *s* is returned as-is. If *charset* is given but " |
| 254 | +"*language* is not, the string is encoded using the empty string for " |
| 255 | +"*language*." |
| 256 | +msgstr "" |
| 257 | +":rfc:`2231` に従って *s* をエンコードします。オプション引数 *charset* および *language* " |
| 258 | +"が与えられた場合、これらは文字セット名と言語名として使われます。もしこれらのどちらも与えられていない場合、 *s* はそのまま返されます。 " |
| 259 | +"*charset* は与えられているが *language* が与えられていない場合、文字列 *s* は *language* " |
| 260 | +"の空文字列を使ってエンコードされます。" |
| 261 | + |
| 262 | +#: ../../library/email.utils.rst:195 |
| 263 | +msgid "" |
| 264 | +"When a header parameter is encoded in :rfc:`2231` format, " |
| 265 | +":meth:`Message.get_param <email.message.Message.get_param>` may return a " |
| 266 | +"3-tuple containing the character set, language, and value. " |
| 267 | +":func:`collapse_rfc2231_value` turns this into a unicode string. Optional " |
| 268 | +"*errors* is passed to the *errors* argument of :class:`str`'s " |
| 269 | +":func:`~str.encode` method; it defaults to ``'replace'``. Optional " |
| 270 | +"*fallback_charset* specifies the character set to use if the one in the " |
| 271 | +":rfc:`2231` header is not known by Python; it defaults to ``'us-ascii'``." |
| 272 | +msgstr "" |
| 273 | +"ヘッダのパラメータが :rfc:`2231` 形式でエンコードされている場合、 :meth:`Message.get_param " |
| 274 | +"<email.message.Message.get_param>` は 3 " |
| 275 | +"要素からなるタプルを返すことがあります。ここには、そのパラメータの文字セット、言語、および値の順に格納されています。 " |
| 276 | +":func:`collapse_rfc2231_value` はこのパラメータをひとつの Unicode 文字列にまとめます。オプション引数 " |
| 277 | +"*errors* は :class:`str` の :func:`~str.encode` メソッドの引数 *errors* " |
| 278 | +"に渡されます。このデフォルト値は ``'replace'`` となっています。オプション引数 *fallback_charset* は、もし " |
| 279 | +":rfc:`2231` ヘッダの使用している文字セットが Python " |
| 280 | +"の知っているものではなかった場合の非常用文字セットとして使われます。デフォルトでは、この値は ``'us-ascii'`` です。" |
| 281 | + |
| 282 | +#: ../../library/email.utils.rst:204 |
| 283 | +msgid "" |
| 284 | +"For convenience, if the *value* passed to :func:`collapse_rfc2231_value` is " |
285 | +"not a tuple, it should be a string and it is returned unquoted." |
| 286 | +msgstr "" |
| 287 | +"便宜上、 :func:`collapse_rfc2231_value` に渡された引数 *value* " |
| 288 | +"がタプルでない場合には、これは文字列でなければなりません。その場合にはクォートを除いた文字列を返します。" |
| 289 | + |
| 290 | +#: ../../library/email.utils.rst:210 |
| 291 | +msgid "" |
| 292 | +"Decode parameters list according to :rfc:`2231`. *params* is a sequence of " |
| 293 | +"2-tuples containing elements of the form ``(content-type, string-value)``." |
| 294 | +msgstr "" |
| 295 | +":rfc:`2231` に従って引数のリストをデコードします。 *params* は ``(content-type, string-value)`` " |
| 296 | +"のような形式の 2 要素タプルです。" |
| 297 | + |
| 298 | +#: ../../library/email.utils.rst:215 |
| 299 | +msgid "Footnotes" |
| 300 | +msgstr "脚注" |
| 301 | + |
| 302 | +#: ../../library/email.utils.rst:216 |
| 303 | +msgid "" |
| 304 | +"Note that the sign of the timezone offset is the opposite of the sign of the" |
| 305 | +" ``time.timezone`` variable for the same timezone; the latter variable " |
| 306 | +"follows the POSIX standard while this module follows :rfc:`2822`." |
| 307 | +msgstr "" |
| 308 | +"注意: この時間帯のオフセット値は ``time.timezone`` の値と符号が逆です。これは ``time.timezone`` が POSIX " |
| 309 | +"標準に準拠しているのに対して、こちらは :rfc:`2822` に準拠しているからです。" |
0 commit comments