merge pot files.
This commit is contained in:
parent 3c33cb06b2
commit bb8b1ee988
29 changed files with 2895 additions and 2668 deletions
| | @ -8,7 +8,7 @@ msgid "" | |||
msgstr "" | ||||
"Project-Id-Version: Python 3.6\n" | ||||
"Report-Msgid-Bugs-To: \n" | ||||
"POT-Creation-Date: 2017-04-02 22:11+0200\n" | ||||
"POT-Creation-Date: 2018-02-08 09:58+0100\n" | ||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||||
"Language-Team: LANGUAGE <LL@li.org>\n" | ||||
| | @ -1123,7 +1123,7 @@ msgid ":const:`PyTrace_CALL`" | |||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/init.rst:1066 ../Doc/c-api/init.rst:1071 | ||||
msgid "Always *NULL*." | ||||
msgid "Always :c:data:`Py_None`." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/init.rst:1068 | ||||
| | @ -1194,7 +1194,7 @@ msgstr "" | |||
#: ../Doc/c-api/init.rst:1112 | ||||
msgid "" | ||||
"The value for the *what* parameter to :c:type:`Py_tracefunc` functions when " | ||||
"a call is returning without propagating an exception." | ||||
"a call is about to return." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/init.rst:1118 | ||||
| | @ -1221,166 +1221,169 @@ msgid "" | |||
"function as its first parameter, and may be any Python object, or *NULL*. " | ||||
"If the profile function needs to maintain state, using a different value for " | ||||
"*obj* for each thread provides a convenient and thread-safe place to store " | ||||
"it. The profile function is called for all monitored events except the line-" | ||||
"number events." | ||||
"it. The profile function is called for all monitored events except :const:" | ||||
"`PyTrace_LINE` and :const:`PyTrace_EXCEPTION`." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/init.rst:1146 | ||||
msgid "" | ||||
"Set the tracing function to *func*. This is similar to :c:func:" | ||||
"`PyEval_SetProfile`, except the tracing function does receive line-number " | ||||
"events." | ||||
"events and does not receive any event related to C function objects being " | ||||
"called. Any trace function registered using :c:func:`PyEval_SetTrace` will " | ||||
"not receive :const:`PyTrace_C_CALL`, :const:`PyTrace_C_EXCEPTION` or :const:" | ||||
"`PyTrace_C_RETURN` as a value for the *what* parameter." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/init.rst:1152 | ||||
#: ../Doc/c-api/init.rst:1156 | ||||
msgid "" | ||||
"Return a tuple of function call counts. There are constants defined for the " | ||||
"positions within the tuple:" | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/init.rst:1156 | ||||
#: ../Doc/c-api/init.rst:1160 | ||||
msgid "Name" | ||||
msgstr "Nom" | ||||
| ||||
#: ../Doc/c-api/init.rst:1156 | ||||
#: ../Doc/c-api/init.rst:1160 | ||||
msgid "Value" | ||||
msgstr "Valeur" | ||||
| ||||
#: ../Doc/c-api/init.rst:1158 | ||||
#: ../Doc/c-api/init.rst:1162 | ||||
msgid ":const:`PCALL_ALL`" | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/init.rst:1158 | ||||
#: ../Doc/c-api/init.rst:1162 | ||||
msgid "0" | ||||
msgstr "0" | ||||
| ||||
#: ../Doc/c-api/init.rst:1160 | ||||
#: ../Doc/c-api/init.rst:1164 | ||||
msgid ":const:`PCALL_FUNCTION`" | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/init.rst:1160 | ||||
#: ../Doc/c-api/init.rst:1164 | ||||
msgid "1" | ||||
msgstr "1" | ||||
| ||||
#: ../Doc/c-api/init.rst:1162 | ||||
#: ../Doc/c-api/init.rst:1166 | ||||
msgid ":const:`PCALL_FAST_FUNCTION`" | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/init.rst:1162 | ||||
#: ../Doc/c-api/init.rst:1166 | ||||
msgid "2" | ||||
msgstr "2" | ||||
| ||||
#: ../Doc/c-api/init.rst:1164 | ||||
#: ../Doc/c-api/init.rst:1168 | ||||
msgid ":const:`PCALL_FASTER_FUNCTION`" | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/init.rst:1164 | ||||
#: ../Doc/c-api/init.rst:1168 | ||||
msgid "3" | ||||
msgstr "3" | ||||
| ||||
#: ../Doc/c-api/init.rst:1166 | ||||
#: ../Doc/c-api/init.rst:1170 | ||||
msgid ":const:`PCALL_METHOD`" | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/init.rst:1166 | ||||
#: ../Doc/c-api/init.rst:1170 | ||||
msgid "4" | ||||
msgstr "4" | ||||
| ||||
#: ../Doc/c-api/init.rst:1168 | ||||
#: ../Doc/c-api/init.rst:1172 | ||||
msgid ":const:`PCALL_BOUND_METHOD`" | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/init.rst:1168 | ||||
#: ../Doc/c-api/init.rst:1172 | ||||
msgid "5" | ||||
msgstr "5" | ||||
| ||||
#: ../Doc/c-api/init.rst:1170 | ||||
#: ../Doc/c-api/init.rst:1174 | ||||
msgid ":const:`PCALL_CFUNCTION`" | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/init.rst:1170 | ||||
#: ../Doc/c-api/init.rst:1174 | ||||
msgid "6" | ||||
msgstr "6" | ||||
| ||||
#: ../Doc/c-api/init.rst:1172 | ||||
#: ../Doc/c-api/init.rst:1176 | ||||
msgid ":const:`PCALL_TYPE`" | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/init.rst:1172 | ||||
#: ../Doc/c-api/init.rst:1176 | ||||
msgid "7" | ||||
msgstr "7" | ||||
| ||||
#: ../Doc/c-api/init.rst:1174 | ||||
#: ../Doc/c-api/init.rst:1178 | ||||
msgid ":const:`PCALL_GENERATOR`" | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/init.rst:1174 | ||||
#: ../Doc/c-api/init.rst:1178 | ||||
msgid "8" | ||||
msgstr "8" | ||||
| ||||
#: ../Doc/c-api/init.rst:1176 | ||||
#: ../Doc/c-api/init.rst:1180 | ||||
msgid ":const:`PCALL_OTHER`" | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/init.rst:1176 | ||||
#: ../Doc/c-api/init.rst:1180 | ||||
msgid "9" | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/init.rst:1178 | ||||
#: ../Doc/c-api/init.rst:1182 | ||||
msgid ":const:`PCALL_POP`" | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/init.rst:1178 | ||||
#: ../Doc/c-api/init.rst:1182 | ||||
msgid "10" | ||||
msgstr "10" | ||||
| ||||
#: ../Doc/c-api/init.rst:1181 | ||||
#: ../Doc/c-api/init.rst:1185 | ||||
msgid "" | ||||
":const:`PCALL_FAST_FUNCTION` means no argument tuple needs to be created. :" | ||||
"const:`PCALL_FASTER_FUNCTION` means that the fast-path frame setup code is " | ||||
"used." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/init.rst:1184 | ||||
#: ../Doc/c-api/init.rst:1188 | ||||
msgid "" | ||||
"If there is a method call where the call can be optimized by changing the " | ||||
"argument tuple and calling the function directly, it gets recorded twice." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/init.rst:1188 | ||||
#: ../Doc/c-api/init.rst:1192 | ||||
msgid "" | ||||
"This function is only present if Python is compiled with :const:" | ||||
"`CALL_PROFILE` defined." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/init.rst:1194 | ||||
#: ../Doc/c-api/init.rst:1198 | ||||
msgid "Advanced Debugger Support" | ||||
msgstr "Support avancé du debugger" | ||||
| ||||
#: ../Doc/c-api/init.rst:1199 | ||||
#: ../Doc/c-api/init.rst:1203 | ||||
msgid "" | ||||
"These functions are only intended to be used by advanced debugging tools." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/init.rst:1204 | ||||
#: ../Doc/c-api/init.rst:1208 | ||||
msgid "" | ||||
"Return the interpreter state object at the head of the list of all such " | ||||
"objects." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/init.rst:1209 | ||||
#: ../Doc/c-api/init.rst:1213 | ||||
msgid "" | ||||
"Return the next interpreter state object after *interp* from the list of all " | ||||
"such objects." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/init.rst:1215 | ||||
#: ../Doc/c-api/init.rst:1219 | ||||
msgid "" | ||||
"Return the pointer to the first :c:type:`PyThreadState` object in the list " | ||||
"of threads associated with the interpreter *interp*." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/init.rst:1221 | ||||
#: ../Doc/c-api/init.rst:1225 | ||||
msgid "" | ||||
"Return the next thread state object after *tstate* from the list of all such " | ||||
"objects belonging to the same :c:type:`PyInterpreterState` object." | ||||
| | | |||
120 c-api/long.po
120
c-api/long.po | | @ -8,7 +8,7 @@ msgid "" | |||
msgstr "" | ||||
"Project-Id-Version: Python 3.6\n" | ||||
"Report-Msgid-Bugs-To: \n" | ||||
"POT-Creation-Date: 2017-05-27 19:40+0200\n" | ||||
"POT-Creation-Date: 2018-02-08 09:58+0100\n" | ||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||||
"Language-Team: LANGUAGE <LL@li.org>\n" | ||||
| | @ -26,34 +26,41 @@ msgid "" | |||
"All integers are implemented as \"long\" integer objects of arbitrary size." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/long.rst:15 | ||||
#: ../Doc/c-api/long.rst:13 | ||||
msgid "" | ||||
"On error, most ``PyLong_As*`` APIs return ``(return type)-1`` which cannot " | ||||
"be distinguished from a number. Use :c:func:`PyErr_Occurred` to " | ||||
"disambiguate." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/long.rst:18 | ||||
msgid "This subtype of :c:type:`PyObject` represents a Python integer object." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/long.rst:20 | ||||
#: ../Doc/c-api/long.rst:23 | ||||
msgid "" | ||||
"This instance of :c:type:`PyTypeObject` represents the Python integer type. " | ||||
"This is the same object as :class:`int` in the Python layer." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/long.rst:26 | ||||
#: ../Doc/c-api/long.rst:29 | ||||
msgid "" | ||||
"Return true if its argument is a :c:type:`PyLongObject` or a subtype of :c:" | ||||
"type:`PyLongObject`." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/long.rst:32 | ||||
#: ../Doc/c-api/long.rst:35 | ||||
msgid "" | ||||
"Return true if its argument is a :c:type:`PyLongObject`, but not a subtype " | ||||
"of :c:type:`PyLongObject`." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/long.rst:38 | ||||
#: ../Doc/c-api/long.rst:41 | ||||
msgid "" | ||||
"Return a new :c:type:`PyLongObject` object from *v*, or *NULL* on failure." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/long.rst:40 | ||||
#: ../Doc/c-api/long.rst:43 | ||||
msgid "" | ||||
"The current implementation keeps an array of integer objects for all " | ||||
"integers between ``-5`` and ``256``, when you create an int in that range " | ||||
| | @ -62,43 +69,43 @@ msgid "" | |||
"in this case is undefined. :-)" | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/long.rst:49 | ||||
#: ../Doc/c-api/long.rst:52 | ||||
msgid "" | ||||
"Return a new :c:type:`PyLongObject` object from a C :c:type:`unsigned long`, " | ||||
"or *NULL* on failure." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/long.rst:55 | ||||
#: ../Doc/c-api/long.rst:58 | ||||
msgid "" | ||||
"Return a new :c:type:`PyLongObject` object from a C :c:type:`Py_ssize_t`, or " | ||||
"*NULL* on failure." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/long.rst:61 | ||||
#: ../Doc/c-api/long.rst:64 | ||||
msgid "" | ||||
"Return a new :c:type:`PyLongObject` object from a C :c:type:`size_t`, or " | ||||
"*NULL* on failure." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/long.rst:67 | ||||
#: ../Doc/c-api/long.rst:70 | ||||
msgid "" | ||||
"Return a new :c:type:`PyLongObject` object from a C :c:type:`long long`, or " | ||||
"*NULL* on failure." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/long.rst:73 | ||||
#: ../Doc/c-api/long.rst:76 | ||||
msgid "" | ||||
"Return a new :c:type:`PyLongObject` object from a C :c:type:`unsigned long " | ||||
"long`, or *NULL* on failure." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/long.rst:79 | ||||
#: ../Doc/c-api/long.rst:82 | ||||
msgid "" | ||||
"Return a new :c:type:`PyLongObject` object from the integer part of *v*, or " | ||||
"*NULL* on failure." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/long.rst:85 | ||||
#: ../Doc/c-api/long.rst:88 | ||||
msgid "" | ||||
"Return a new :c:type:`PyLongObject` based on the string value in *str*, " | ||||
"which is interpreted according to the radix in *base*. If *pend* is non-" | ||||
| | @ -111,7 +118,7 @@ msgid "" | |||
"are no digits, :exc:`ValueError` will be raised." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/long.rst:98 | ||||
#: ../Doc/c-api/long.rst:101 | ||||
msgid "" | ||||
"Convert a sequence of Unicode digits to a Python integer value. The Unicode " | ||||
"string is first encoded to a byte string using :c:func:" | ||||
| | @ -119,19 +126,19 @@ msgid "" | |||
"`PyLong_FromString`." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/long.rst:104 | ||||
#: ../Doc/c-api/long.rst:107 | ||||
msgid "" | ||||
"Deprecated since version 3.3, will be removed in version 4.0: Part of the " | ||||
"old-style Py_UNICODE API; please migrate to using PyLong_FromUnicodeObject()." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/long.rst:104 | ||||
#: ../Doc/c-api/long.rst:107 | ||||
msgid "" | ||||
"Part of the old-style :c:type:`Py_UNICODE` API; please migrate to using :c:" | ||||
"func:`PyLong_FromUnicodeObject`." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/long.rst:109 | ||||
#: ../Doc/c-api/long.rst:112 | ||||
msgid "" | ||||
"Convert a sequence of Unicode digits in the string *u* to a Python integer " | ||||
"value. The Unicode string is first encoded to a byte string using :c:func:" | ||||
| | @ -139,26 +146,33 @@ msgid "" | |||
"`PyLong_FromString`." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/long.rst:119 | ||||
#: ../Doc/c-api/long.rst:122 | ||||
msgid "" | ||||
"Create a Python integer from the pointer *p*. The pointer value can be " | ||||
"retrieved from the resulting value using :c:func:`PyLong_AsVoidPtr`." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/long.rst:130 ../Doc/c-api/long.rst:140 | ||||
#: ../Doc/c-api/long.rst:133 ../Doc/c-api/long.rst:145 | ||||
msgid "" | ||||
"Return a C :c:type:`long` representation of *obj*. If *obj* is not an " | ||||
"instance of :c:type:`PyLongObject`, first call its :meth:`__int__` method " | ||||
"(if present) to convert it to a :c:type:`PyLongObject`." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/long.rst:134 ../Doc/c-api/long.rst:159 | ||||
#: ../Doc/c-api/long.rst:137 ../Doc/c-api/long.rst:166 | ||||
msgid "" | ||||
"Raise :exc:`OverflowError` if the value of *obj* is out of range for a :c:" | ||||
"type:`long`." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/long.rst:144 | ||||
#: ../Doc/c-api/long.rst:140 ../Doc/c-api/long.rst:154 | ||||
#: ../Doc/c-api/long.rst:169 ../Doc/c-api/long.rst:183 | ||||
#: ../Doc/c-api/long.rst:200 ../Doc/c-api/long.rst:262 | ||||
#: ../Doc/c-api/long.rst:274 | ||||
msgid "Returns -1 on error. Use :c:func:`PyErr_Occurred` to disambiguate." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/long.rst:149 | ||||
msgid "" | ||||
"If the value of *obj* is greater than :const:`LONG_MAX` or less than :const:" | ||||
"`LONG_MIN`, set *\\*overflow* to ``1`` or ``-1``, respectively, and return " | ||||
| | @ -166,14 +180,14 @@ msgid "" | |||
"occurs set *\\*overflow* to ``0`` and return ``-1`` as usual." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/long.rst:155 ../Doc/c-api/long.rst:165 | ||||
#: ../Doc/c-api/long.rst:162 ../Doc/c-api/long.rst:174 | ||||
msgid "" | ||||
"Return a C :c:type:`long long` representation of *obj*. If *obj* is not an " | ||||
"instance of :c:type:`PyLongObject`, first call its :meth:`__int__` method " | ||||
"(if present) to convert it to a :c:type:`PyLongObject`." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/long.rst:169 | ||||
#: ../Doc/c-api/long.rst:178 | ||||
msgid "" | ||||
"If the value of *obj* is greater than :const:`PY_LLONG_MAX` or less than :" | ||||
"const:`PY_LLONG_MIN`, set *\\*overflow* to ``1`` or ``-1``, respectively, " | ||||
| | @ -181,101 +195,127 @@ msgid "" | |||
"exception occurs set *\\*overflow* to ``0`` and return ``-1`` as usual." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/long.rst:183 | ||||
#: ../Doc/c-api/long.rst:194 | ||||
msgid "" | ||||
"Return a C :c:type:`Py_ssize_t` representation of *pylong*. *pylong* must " | ||||
"be an instance of :c:type:`PyLongObject`." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/long.rst:186 | ||||
#: ../Doc/c-api/long.rst:197 | ||||
msgid "" | ||||
"Raise :exc:`OverflowError` if the value of *pylong* is out of range for a :c:" | ||||
"type:`Py_ssize_t`." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/long.rst:196 | ||||
#: ../Doc/c-api/long.rst:209 | ||||
msgid "" | ||||
"Return a C :c:type:`unsigned long` representation of *pylong*. *pylong* " | ||||
"must be an instance of :c:type:`PyLongObject`." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/long.rst:199 | ||||
#: ../Doc/c-api/long.rst:212 | ||||
msgid "" | ||||
"Raise :exc:`OverflowError` if the value of *pylong* is out of range for a :c:" | ||||
"type:`unsigned long`." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/long.rst:205 | ||||
#: ../Doc/c-api/long.rst:215 | ||||
msgid "" | ||||
"Returns ``(unsigned long)-1`` on error. Use :c:func:`PyErr_Occurred` to " | ||||
"disambiguate." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/long.rst:225 | ||||
msgid "" | ||||
"Return a C :c:type:`size_t` representation of *pylong*. *pylong* must be an " | ||||
"instance of :c:type:`PyLongObject`." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/long.rst:208 | ||||
#: ../Doc/c-api/long.rst:228 | ||||
msgid "" | ||||
"Raise :exc:`OverflowError` if the value of *pylong* is out of range for a :c:" | ||||
"type:`size_t`." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/long.rst:217 | ||||
#: ../Doc/c-api/long.rst:231 | ||||
msgid "" | ||||
"Returns ``(size_t)-1`` on error. Use :c:func:`PyErr_Occurred` to " | ||||
"disambiguate." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/long.rst:240 | ||||
msgid "" | ||||
"Return a C :c:type:`unsigned long long` representation of *pylong*. " | ||||
"*pylong* must be an instance of :c:type:`PyLongObject`." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/long.rst:220 | ||||
#: ../Doc/c-api/long.rst:243 | ||||
msgid "" | ||||
"Raise :exc:`OverflowError` if the value of *pylong* is out of range for an :" | ||||
"c:type:`unsigned long long`." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/long.rst:223 | ||||
#: ../Doc/c-api/long.rst:246 | ||||
msgid "" | ||||
"Returns ``(unsigned long long)-1`` on error. Use :c:func:`PyErr_Occurred` to " | ||||
"disambiguate." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/long.rst:249 | ||||
msgid "" | ||||
"A negative *pylong* now raises :exc:`OverflowError`, not :exc:`TypeError`." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/long.rst:229 | ||||
#: ../Doc/c-api/long.rst:255 | ||||
msgid "" | ||||
"Return a C :c:type:`unsigned long` representation of *obj*. If *obj* is not " | ||||
"an instance of :c:type:`PyLongObject`, first call its :meth:`__int__` method " | ||||
"(if present) to convert it to a :c:type:`PyLongObject`." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/long.rst:233 | ||||
#: ../Doc/c-api/long.rst:259 | ||||
msgid "" | ||||
"If the value of *obj* is out of range for an :c:type:`unsigned long`, return " | ||||
"the reduction of that value modulo ``ULONG_MAX + 1``." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/long.rst:239 | ||||
#: ../Doc/c-api/long.rst:267 | ||||
msgid "" | ||||
"Return a C :c:type:`unsigned long long` representation of *obj*. If *obj* " | ||||
"is not an instance of :c:type:`PyLongObject`, first call its :meth:`__int__` " | ||||
"method (if present) to convert it to a :c:type:`PyLongObject`." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/long.rst:243 | ||||
#: ../Doc/c-api/long.rst:271 | ||||
msgid "" | ||||
"If the value of *obj* is out of range for an :c:type:`unsigned long long`, " | ||||
"return the reduction of that value modulo ``PY_ULLONG_MAX + 1``." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/long.rst:249 | ||||
#: ../Doc/c-api/long.rst:279 | ||||
msgid "" | ||||
"Return a C :c:type:`double` representation of *pylong*. *pylong* must be an " | ||||
"instance of :c:type:`PyLongObject`." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/long.rst:252 | ||||
#: ../Doc/c-api/long.rst:282 | ||||
msgid "" | ||||
"Raise :exc:`OverflowError` if the value of *pylong* is out of range for a :c:" | ||||
"type:`double`." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/long.rst:258 | ||||
#: ../Doc/c-api/long.rst:285 | ||||
msgid "Returns -1.0 on error. Use :c:func:`PyErr_Occurred` to disambiguate." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/long.rst:290 | ||||
msgid "" | ||||
"Convert a Python integer *pylong* to a C :c:type:`void` pointer. If *pylong* " | ||||
"cannot be converted, an :exc:`OverflowError` will be raised. This is only " | ||||
"assured to produce a usable :c:type:`void` pointer for values created with :" | ||||
"c:func:`PyLong_FromVoidPtr`." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/long.rst:295 | ||||
msgid "Returns NULL on error. Use :c:func:`PyErr_Occurred` to disambiguate." | ||||
msgstr "" | ||||
| | | |||
96 c-api/sys.po
96
c-api/sys.po | | @ -8,7 +8,7 @@ msgid "" | |||
msgstr "" | ||||
"Project-Id-Version: Python 3.6\n" | ||||
"Report-Msgid-Bugs-To: \n" | ||||
"POT-Creation-Date: 2017-04-02 22:11+0200\n" | ||||
"POT-Creation-Date: 2018-02-08 09:58+0100\n" | ||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||||
"Language-Team: LANGUAGE <LL@li.org>\n" | ||||
| | @ -83,74 +83,104 @@ msgid "" | |||
"handler instead of decoding them." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/sys.rst:69 | ||||
#: ../Doc/c-api/sys.rst:69 ../Doc/c-api/sys.rst:106 | ||||
msgid "Encoding, highest priority to lowest priority:" | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/sys.rst:71 ../Doc/c-api/sys.rst:108 | ||||
msgid "``UTF-8`` on macOS and Android;" | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/sys.rst:72 | ||||
msgid "" | ||||
"``ASCII`` if the ``LC_CTYPE`` locale is ``\"C\"``, ``nl_langinfo(CODESET)`` " | ||||
"returns the ``ASCII`` encoding (or an alias), and :c:func:`mbstowcs` and :c:" | ||||
"func:`wcstombs` functions use the ``ISO-8859-1`` encoding." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/sys.rst:76 | ||||
msgid "the current locale encoding (``LC_CTYPE`` locale)." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/sys.rst:78 | ||||
msgid "" | ||||
"Return a pointer to a newly allocated wide character string, use :c:func:" | ||||
"`PyMem_RawFree` to free the memory. If size is not ``NULL``, write the " | ||||
"number of wide characters excluding the null character into ``*size``" | ||||
"number of wide characters excluding the null character into ``*size``." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/sys.rst:73 | ||||
#: ../Doc/c-api/sys.rst:82 | ||||
msgid "" | ||||
"Return ``NULL`` on decoding error or memory allocation error. If *size* is " | ||||
"not ``NULL``, ``*size`` is set to ``(size_t)-1`` on memory error or set to " | ||||
"``(size_t)-2`` on decoding error." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/sys.rst:77 | ||||
#: ../Doc/c-api/sys.rst:86 | ||||
msgid "" | ||||
"Decoding errors should never happen, unless there is a bug in the C library." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/sys.rst:80 | ||||
#: ../Doc/c-api/sys.rst:89 | ||||
msgid "" | ||||
"Use the :c:func:`Py_EncodeLocale` function to encode the character string " | ||||
"back to a byte string." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/sys.rst:85 | ||||
#: ../Doc/c-api/sys.rst:94 | ||||
msgid "" | ||||
"The :c:func:`PyUnicode_DecodeFSDefaultAndSize` and :c:func:" | ||||
"`PyUnicode_DecodeLocaleAndSize` functions." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/sys.rst:93 | ||||
#: ../Doc/c-api/sys.rst:102 | ||||
msgid "" | ||||
"Encode a wide character string to the locale encoding with the :ref:" | ||||
"`surrogateescape error handler <surrogateescape>`: surrogate characters in " | ||||
"the range U+DC80..U+DCFF are converted to bytes 0x80..0xFF." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/sys.rst:97 | ||||
#: ../Doc/c-api/sys.rst:109 | ||||
msgid "" | ||||
"``ASCII`` if the ``LC_CTYPE`` locale is ``\"C\"``, ``nl_langinfo(CODESET)`` " | ||||
"returns the ``ASCII`` encoding (or an alias), and :c:func:`mbstowcs` and :c:" | ||||
"func:`wcstombs` functions uses the ``ISO-8859-1`` encoding." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/sys.rst:113 | ||||
msgid "the current locale encoding." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/sys.rst:115 | ||||
msgid "" | ||||
"Return a pointer to a newly allocated byte string, use :c:func:`PyMem_Free` " | ||||
"to free the memory. Return ``NULL`` on encoding error or memory allocation " | ||||
"error" | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/sys.rst:101 | ||||
#: ../Doc/c-api/sys.rst:119 | ||||
msgid "" | ||||
"If error_pos is not ``NULL``, ``*error_pos`` is set to the index of the " | ||||
"invalid character on encoding error, or set to ``(size_t)-1`` otherwise." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/sys.rst:104 | ||||
#: ../Doc/c-api/sys.rst:122 | ||||
msgid "" | ||||
"Use the :c:func:`Py_DecodeLocale` function to decode the bytes string back " | ||||
"to a wide character string." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/sys.rst:109 | ||||
#: ../Doc/c-api/sys.rst:127 | ||||
msgid "" | ||||
"The :c:func:`PyUnicode_EncodeFSDefault` and :c:func:`PyUnicode_EncodeLocale` " | ||||
"functions." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/sys.rst:118 | ||||
#: ../Doc/c-api/sys.rst:136 | ||||
msgid "System Functions" | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/sys.rst:120 | ||||
#: ../Doc/c-api/sys.rst:138 | ||||
msgid "" | ||||
"These are utility functions that make functionality from the :mod:`sys` " | ||||
"module accessible to C code. They all work with the current interpreter " | ||||
| | @ -158,45 +188,45 @@ msgid "" | |||
"state structure." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/sys.rst:126 | ||||
#: ../Doc/c-api/sys.rst:144 | ||||
msgid "" | ||||
"Return the object *name* from the :mod:`sys` module or *NULL* if it does not " | ||||
"exist, without setting an exception." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/sys.rst:131 | ||||
#: ../Doc/c-api/sys.rst:149 | ||||
msgid "" | ||||
"Set *name* in the :mod:`sys` module to *v* unless *v* is *NULL*, in which " | ||||
"case *name* is deleted from the sys module. Returns ``0`` on success, ``-1`` " | ||||
"on error." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/sys.rst:137 | ||||
#: ../Doc/c-api/sys.rst:155 | ||||
msgid "Reset :data:`sys.warnoptions` to an empty list." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/sys.rst:141 | ||||
#: ../Doc/c-api/sys.rst:159 | ||||
msgid "Append *s* to :data:`sys.warnoptions`." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/sys.rst:145 | ||||
#: ../Doc/c-api/sys.rst:163 | ||||
msgid "Append *unicode* to :data:`sys.warnoptions`." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/sys.rst:149 | ||||
#: ../Doc/c-api/sys.rst:167 | ||||
msgid "" | ||||
"Set :data:`sys.path` to a list object of paths found in *path* which should " | ||||
"be a list of paths separated with the platform's search path delimiter (``:" | ||||
"`` on Unix, ``;`` on Windows)." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/sys.rst:155 | ||||
#: ../Doc/c-api/sys.rst:173 | ||||
msgid "" | ||||
"Write the output string described by *format* to :data:`sys.stdout`. No " | ||||
"exceptions are raised, even if truncation occurs (see below)." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/sys.rst:158 | ||||
#: ../Doc/c-api/sys.rst:176 | ||||
msgid "" | ||||
"*format* should limit the total size of the formatted output string to 1000 " | ||||
"bytes or less -- after 1000 bytes, the output string is truncated. In " | ||||
| | @ -207,48 +237,48 @@ msgid "" | |||
"of digits for very large numbers." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/sys.rst:166 | ||||
#: ../Doc/c-api/sys.rst:184 | ||||
msgid "" | ||||
"If a problem occurs, or :data:`sys.stdout` is unset, the formatted message " | ||||
"is written to the real (C level) *stdout*." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/sys.rst:171 | ||||
#: ../Doc/c-api/sys.rst:189 | ||||
msgid "" | ||||
"As :c:func:`PySys_WriteStdout`, but write to :data:`sys.stderr` or *stderr* " | ||||
"instead." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/sys.rst:176 | ||||
#: ../Doc/c-api/sys.rst:194 | ||||
msgid "" | ||||
"Function similar to PySys_WriteStdout() but format the message using :c:func:" | ||||
"`PyUnicode_FromFormatV` and don't truncate the message to an arbitrary " | ||||
"length." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/sys.rst:184 | ||||
#: ../Doc/c-api/sys.rst:202 | ||||
msgid "" | ||||
"As :c:func:`PySys_FormatStdout`, but write to :data:`sys.stderr` or *stderr* " | ||||
"instead." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/sys.rst:191 | ||||
#: ../Doc/c-api/sys.rst:209 | ||||
msgid "" | ||||
"Parse *s* as a set of :option:`-X` options and add them to the current " | ||||
"options mapping as returned by :c:func:`PySys_GetXOptions`." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/sys.rst:198 | ||||
#: ../Doc/c-api/sys.rst:216 | ||||
msgid "" | ||||
"Return the current dictionary of :option:`-X` options, similarly to :data:" | ||||
"`sys._xoptions`. On error, *NULL* is returned and an exception is set." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/sys.rst:208 | ||||
#: ../Doc/c-api/sys.rst:226 | ||||
msgid "Process Control" | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/sys.rst:215 | ||||
#: ../Doc/c-api/sys.rst:233 | ||||
msgid "" | ||||
"Print a fatal error message and kill the process. No cleanup is performed. " | ||||
"This function should only be invoked when a condition is detected that would " | ||||
| | @ -258,18 +288,18 @@ msgid "" | |||
"file:`core` file." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/sys.rst:229 | ||||
#: ../Doc/c-api/sys.rst:247 | ||||
msgid "" | ||||
"Exit the current process. This calls :c:func:`Py_FinalizeEx` and then calls " | ||||
"the standard C library function ``exit(status)``. If :c:func:" | ||||
"`Py_FinalizeEx` indicates an error, the exit status is set to 120." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/sys.rst:233 | ||||
#: ../Doc/c-api/sys.rst:251 | ||||
msgid "Errors from finalization no longer ignored." | ||||
msgstr "" | ||||
| ||||
#: ../Doc/c-api/sys.rst:243 | ||||
#: ../Doc/c-api/sys.rst:261 | ||||
msgid "" | ||||
"Register a cleanup function to be called by :c:func:`Py_FinalizeEx`. The " | ||||
"cleanup function will be called with no arguments and should return no " | ||||
| | | |||
354 c-api/unicode.po
354
c-api/unicode.po File diff suppressed because it is too large Load diff
Loading…
Add table
Add a link
Reference in a new issue