Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 473b2bd

Browse files
committed
Moved email.util to email.utils
1 parent 03ab206 commit 473b2bd

File tree

1 file changed

+38
-36
lines changed

1 file changed

+38
-36
lines changed

library/email.util.po renamed to library/email.utils.po

Lines changed: 38 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,36 @@
1+
# SOME DESCRIPTIVE TITLE.
12
# Copyright (C) 2001-2018, Python Software Foundation
2-
# For licence information, see README file.
3+
# This file is distributed under the same license as the Python package.
4+
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
35
#
6+
#, fuzzy
47
msgid ""
58
msgstr ""
6-
"Project-Id-Version: Python 3.6\n"
9+
"Project-Id-Version: Python 3.7\n"
710
"Report-Msgid-Bugs-To: \n"
8-
"POT-Creation-Date: 2017-04-02 22:11+0200\n"
11+
"POT-Creation-Date: 2018-11-29 16:06+0100\n"
912
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1013
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
11-
"Language-Team: FRENCH <[email protected]>\n"
12-
"Language: fr\n"
14+
"Language-Team: LANGUAGE <[email protected]>\n"
1315
"MIME-Version: 1.0\n"
1416
"Content-Type: text/plain; charset=UTF-8\n"
1517
"Content-Transfer-Encoding: 8bit\n"
1618

17-
#: ../Doc/library/email.util.rst:2
19+
#: ../Doc/library/email.utils.rst:2
1820
msgid ":mod:`email.utils`: Miscellaneous utilities"
1921
msgstr ""
2022

21-
#: ../Doc/library/email.util.rst:7
23+
#: ../Doc/library/email.utils.rst:7
2224
msgid "**Source code:** :source:`Lib/email/utils.py`"
2325
msgstr ""
2426

25-
#: ../Doc/library/email.util.rst:11
27+
#: ../Doc/library/email.utils.rst:11
2628
msgid ""
2729
"There are a couple of useful utilities provided in the :mod:`email.utils` "
2830
"module:"
2931
msgstr ""
3032

31-
#: ../Doc/library/email.util.rst:16
33+
#: ../Doc/library/email.utils.rst:16
3234
msgid ""
3335
"Return local time as an aware datetime object. If called without arguments, "
3436
"return current time. Otherwise *dt* argument should be a :class:`~datetime."
@@ -42,7 +44,7 @@ msgid ""
4244
"specified time."
4345
msgstr ""
4446

45-
#: ../Doc/library/email.util.rst:32
47+
#: ../Doc/library/email.utils.rst:32
4648
msgid ""
4749
"Returns a string suitable for an :rfc:`2822`\\ -compliant :mailheader:"
4850
"`Message-ID` header. Optional *idstring* if given, is a string used to "
@@ -53,68 +55,68 @@ msgid ""
5355
"consistent domain name across multiple hosts."
5456
msgstr ""
5557

56-
#: ../Doc/library/email.util.rst:40
58+
#: ../Doc/library/email.utils.rst:40
5759
msgid "Added the *domain* keyword."
5860
msgstr ""
5961

60-
#: ../Doc/library/email.util.rst:44
62+
#: ../Doc/library/email.utils.rst:44
6163
msgid ""
6264
"The remaining functions are part of the legacy (``Compat32``) email API. "
6365
"There is no need to directly use these with the new API, since the parsing "
6466
"and formatting they provide is done automatically by the header parsing "
6567
"machinery of the new API."
6668
msgstr ""
6769

68-
#: ../Doc/library/email.util.rst:52
70+
#: ../Doc/library/email.utils.rst:52
6971
msgid ""
7072
"Return a new string with backslashes in *str* replaced by two backslashes, "
7173
"and double quotes replaced by backslash-double quote."
7274
msgstr ""
7375

74-
#: ../Doc/library/email.util.rst:58
76+
#: ../Doc/library/email.utils.rst:58
7577
msgid ""
7678
"Return a new string which is an *unquoted* version of *str*. If *str* ends "
7779
"and begins with double quotes, they are stripped off. Likewise if *str* "
7880
"ends and begins with angle brackets, they are stripped off."
7981
msgstr ""
8082

81-
#: ../Doc/library/email.util.rst:65
83+
#: ../Doc/library/email.utils.rst:65
8284
msgid ""
8385
"Parse address -- which should be the value of some address-containing field "
8486
"such as :mailheader:`To` or :mailheader:`Cc` -- into its constituent "
8587
"*realname* and *email address* parts. Returns a tuple of that information, "
8688
"unless the parse fails, in which case a 2-tuple of ``('', '')`` is returned."
8789
msgstr ""
8890

89-
#: ../Doc/library/email.util.rst:73
91+
#: ../Doc/library/email.utils.rst:73
9092
msgid ""
9193
"The inverse of :meth:`parseaddr`, this takes a 2-tuple of the form "
9294
"``(realname, email_address)`` and returns the string value suitable for a :"
9395
"mailheader:`To` or :mailheader:`Cc` header. If the first element of *pair* "
9496
"is false, then the second element is returned unmodified."
9597
msgstr ""
9698

97-
#: ../Doc/library/email.util.rst:78
99+
#: ../Doc/library/email.utils.rst:78
98100
msgid ""
99101
"Optional *charset* is the character set that will be used in the :rfc:`2047` "
100102
"encoding of the ``realname`` if the ``realname`` contains non-ASCII "
101103
"characters. Can be an instance of :class:`str` or a :class:`~email.charset."
102104
"Charset`. Defaults to ``utf-8``."
103105
msgstr ""
104106

105-
#: ../Doc/library/email.util.rst:83
107+
#: ../Doc/library/email.utils.rst:83
106108
msgid "Added the *charset* option."
107109
msgstr ""
108110

109-
#: ../Doc/library/email.util.rst:89
111+
#: ../Doc/library/email.utils.rst:89
110112
msgid ""
111113
"This method returns a list of 2-tuples of the form returned by "
112114
"``parseaddr()``. *fieldvalues* is a sequence of header field values as might "
113115
"be returned by :meth:`Message.get_all <email.message.Message.get_all>`. "
114116
"Here's a simple example that gets all the recipients of a message::"
115117
msgstr ""
116118

117-
#: ../Doc/library/email.util.rst:105
119+
#: ../Doc/library/email.utils.rst:105
118120
msgid ""
119121
"Attempts to parse a date according to the rules in :rfc:`2822`. however, "
120122
"some mailers don't follow that format as specified, so :func:`parsedate` "
@@ -125,7 +127,7 @@ msgid ""
125127
"returned. Note that indexes 6, 7, and 8 of the result tuple are not usable."
126128
msgstr ""
127129

128-
#: ../Doc/library/email.util.rst:116
130+
#: ../Doc/library/email.utils.rst:116
129131
msgid ""
130132
"Performs the same function as :func:`parsedate`, but returns either ``None`` "
131133
"or a 10-tuple; the first 9 elements make up a tuple that can be passed "
@@ -136,7 +138,7 @@ msgid ""
136138
"not usable."
137139
msgstr ""
138140

139-
#: ../Doc/library/email.util.rst:126
141+
#: ../Doc/library/email.utils.rst:126
140142
msgid ""
141143
"The inverse of :func:`format_datetime`. Performs the same function as :func:"
142144
"`parsedate`, but on success returns a :mod:`~datetime.datetime`. If the "
@@ -148,41 +150,41 @@ msgid ""
148150
"corresponding a :class:`~datetime.timezone` :class:`~datetime.tzinfo`."
149151
msgstr ""
150152

151-
#: ../Doc/library/email.util.rst:140
153+
#: ../Doc/library/email.utils.rst:140
152154
msgid ""
153155
"Turn a 10-tuple as returned by :func:`parsedate_tz` into a UTC timestamp "
154156
"(seconds since the Epoch). If the timezone item in the tuple is ``None``, "
155157
"assume local time."
156158
msgstr ""
157159

158-
#: ../Doc/library/email.util.rst:147
160+
#: ../Doc/library/email.utils.rst:147
159161
msgid "Returns a date string as per :rfc:`2822`, e.g.::"
160162
msgstr ""
161163

162-
#: ../Doc/library/email.util.rst:151
164+
#: ../Doc/library/email.utils.rst:151
163165
msgid ""
164166
"Optional *timeval* if given is a floating point time value as accepted by :"
165167
"func:`time.gmtime` and :func:`time.localtime`, otherwise the current time is "
166168
"used."
167169
msgstr ""
168170

169-
#: ../Doc/library/email.util.rst:155
171+
#: ../Doc/library/email.utils.rst:155
170172
msgid ""
171173
"Optional *localtime* is a flag that when ``True``, interprets *timeval*, and "
172174
"returns a date relative to the local timezone instead of UTC, properly "
173175
"taking daylight savings time into account. The default is ``False`` meaning "
174176
"UTC is used."
175177
msgstr ""
176178

177-
#: ../Doc/library/email.util.rst:160
179+
#: ../Doc/library/email.utils.rst:160
178180
msgid ""
179181
"Optional *usegmt* is a flag that when ``True``, outputs a date string with "
180182
"the timezone as an ascii string ``GMT``, rather than a numeric ``-0000``. "
181183
"This is needed for some protocols (such as HTTP). This only applies when "
182184
"*localtime* is ``False``. The default is ``False``."
183185
msgstr ""
184186

185-
#: ../Doc/library/email.util.rst:168
187+
#: ../Doc/library/email.utils.rst:168
186188
msgid ""
187189
"Like ``formatdate``, but the input is a :mod:`datetime` instance. If it is "
188190
"a naive datetime, it is assumed to be \"UTC with no information about the "
@@ -194,11 +196,11 @@ msgid ""
194196
"date headers."
195197
msgstr ""
196198

197-
#: ../Doc/library/email.util.rst:182
199+
#: ../Doc/library/email.utils.rst:182
198200
msgid "Decode the string *s* according to :rfc:`2231`."
199201
msgstr ""
200202

201-
#: ../Doc/library/email.util.rst:187
203+
#: ../Doc/library/email.utils.rst:187
202204
msgid ""
203205
"Encode the string *s* according to :rfc:`2231`. Optional *charset* and "
204206
"*language*, if given is the character set name and language name to use. If "
@@ -207,7 +209,7 @@ msgid ""
207209
"*language*."
208210
msgstr ""
209211

210-
#: ../Doc/library/email.util.rst:195
212+
#: ../Doc/library/email.utils.rst:195
211213
msgid ""
212214
"When a header parameter is encoded in :rfc:`2231` format, :meth:`Message."
213215
"get_param <email.message.Message.get_param>` may return a 3-tuple containing "
@@ -219,23 +221,23 @@ msgid ""
219221
"defaults to ``'us-ascii'``."
220222
msgstr ""
221223

222-
#: ../Doc/library/email.util.rst:204
224+
#: ../Doc/library/email.utils.rst:204
223225
msgid ""
224226
"For convenience, if the *value* passed to :func:`collapse_rfc2231_value` is "
225227
"not a tuple, it should be a string and it is returned unquoted."
226228
msgstr ""
227229

228-
#: ../Doc/library/email.util.rst:210
230+
#: ../Doc/library/email.utils.rst:210
229231
msgid ""
230232
"Decode parameters list according to :rfc:`2231`. *params* is a sequence of "
231233
"2-tuples containing elements of the form ``(content-type, string-value)``."
232234
msgstr ""
233235

234-
#: ../Doc/library/email.util.rst:215
236+
#: ../Doc/library/email.utils.rst:215
235237
msgid "Footnotes"
236-
msgstr "Notes"
238+
msgstr ""
237239

238-
#: ../Doc/library/email.util.rst:216
240+
#: ../Doc/library/email.utils.rst:216
239241
msgid ""
240242
"Note that the sign of the timezone offset is the opposite of the sign of the "
241243
"``time.timezone`` variable for the same timezone; the latter variable "

0 commit comments

Comments
 (0)