Skip to content

Commit cb01f71

Browse files
author
github-actions
committed
Update translations from Transifex
1 parent c4c4415 commit cb01f71

29 files changed

+2195
-2358
lines changed

c-api/conversion.po

Lines changed: 60 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.12\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2024-01-05 14:14+0000\n"
14+
"POT-Creation-Date: 2024-02-02 14:13+0000\n"
1515
"PO-Revision-Date: 2021-06-28 00:48+0000\n"
1616
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2023\n"
1717
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -126,6 +126,51 @@ msgstr ""
126126

127127
#: ../../c-api/conversion.rst:53
128128
msgid ""
129+
"Convert the initial part of the string in ``str`` to an :c:expr:`unsigned "
130+
"long` value according to the given ``base``, which must be between ``2`` and "
131+
"``36`` inclusive, or be the special value ``0``."
132+
msgstr ""
133+
134+
#: ../../c-api/conversion.rst:57
135+
msgid ""
136+
"Leading white space and case of characters are ignored. If ``base`` is zero "
137+
"it looks for a leading ``0b``, ``0o`` or ``0x`` to tell which base. If "
138+
"these are absent it defaults to ``10``. Base must be 0 or between 2 and 36 "
139+
"(inclusive). If ``ptr`` is non-``NULL`` it will contain a pointer to the "
140+
"end of the scan."
141+
msgstr ""
142+
143+
#: ../../c-api/conversion.rst:63
144+
msgid ""
145+
"If the converted value falls out of range of corresponding return type, "
146+
"range error occurs (:c:data:`errno` is set to :c:macro:`!ERANGE`) and :c:"
147+
"macro:`!ULONG_MAX` is returned. If no conversion can be performed, ``0`` is "
148+
"returned."
149+
msgstr ""
150+
151+
#: ../../c-api/conversion.rst:68
152+
msgid "See also the Unix man page :manpage:`strtoul(3)`."
153+
msgstr ""
154+
155+
#: ../../c-api/conversion.rst:75
156+
msgid ""
157+
"Convert the initial part of the string in ``str`` to an :c:expr:`long` value "
158+
"according to the given ``base``, which must be between ``2`` and ``36`` "
159+
"inclusive, or be the special value ``0``."
160+
msgstr ""
161+
162+
#: ../../c-api/conversion.rst:79
163+
msgid ""
164+
"Same as :c:func:`PyOS_strtoul`, but return a :c:expr:`long` value instead "
165+
"and :c:macro:`LONG_MAX` on overflows."
166+
msgstr ""
167+
168+
#: ../../c-api/conversion.rst:82
169+
msgid "See also the Unix man page :manpage:`strtol(3)`."
170+
msgstr ""
171+
172+
#: ../../c-api/conversion.rst:89
173+
msgid ""
129174
"Convert a string ``s`` to a :c:expr:`double`, raising a Python exception on "
130175
"failure. The set of accepted strings corresponds to the set of strings "
131176
"accepted by Python's :func:`float` constructor, except that ``s`` must not "
@@ -138,7 +183,7 @@ msgstr ""
138183
"deve ter espaços em branco à esquerda ou à direita. A conversão é "
139184
"independente da localidade atual."
140185

141-
#: ../../c-api/conversion.rst:59
186+
#: ../../c-api/conversion.rst:95
142187
msgid ""
143188
"If ``endptr`` is ``NULL``, convert the whole string. Raise :exc:"
144189
"`ValueError` and return ``-1.0`` if the string is not a valid representation "
@@ -148,7 +193,7 @@ msgstr ""
148193
"`ValueError` e retorna ``-1.0`` se a string não for uma representação válida "
149194
"de um número de ponto flutuante."
150195

151-
#: ../../c-api/conversion.rst:63
196+
#: ../../c-api/conversion.rst:99
152197
msgid ""
153198
"If endptr is not ``NULL``, convert as much of the string as possible and set "
154199
"``*endptr`` to point to the first unconverted character. If no initial "
@@ -162,7 +207,7 @@ msgstr ""
162207
"flutuante, define ``*endptr`` para apontar para o início da string, levanta "
163208
"ValueError e retorne ``-1.0``."
164209

165-
#: ../../c-api/conversion.rst:70
210+
#: ../../c-api/conversion.rst:106
166211
msgid ""
167212
"If ``s`` represents a value that is too large to store in a float (for "
168213
"example, ``\"1e500\"`` is such a string on many platforms) then if "
@@ -180,23 +225,23 @@ msgstr ""
180225
"Python; levantar essa exceção e retornar ``-1.0``. Em ambos os casos, define "
181226
"``*endptr`` para apontar para o primeiro caractere após o valor convertido."
182227

183-
#: ../../c-api/conversion.rst:78
228+
#: ../../c-api/conversion.rst:114
184229
msgid ""
185230
"If any other error occurs during the conversion (for example an out-of-"
186231
"memory error), set the appropriate Python exception and return ``-1.0``."
187232
msgstr ""
188233
"Se qualquer outro erro ocorrer durante a conversão (por exemplo, um erro de "
189234
"falta de memória), define a exceção Python apropriada e retorna ``-1.0``."
190235

191-
#: ../../c-api/conversion.rst:87
236+
#: ../../c-api/conversion.rst:123
192237
msgid ""
193238
"Convert a :c:expr:`double` *val* to a string using supplied *format_code*, "
194239
"*precision*, and *flags*."
195240
msgstr ""
196241
"Converte um :c:expr:`double` *val* para uma string usando *format_code*, "
197242
"*precision* e *flags* fornecidos."
198243

199-
#: ../../c-api/conversion.rst:90
244+
#: ../../c-api/conversion.rst:126
200245
msgid ""
201246
"*format_code* must be one of ``'e'``, ``'E'``, ``'f'``, ``'F'``, ``'g'``, "
202247
"``'G'`` or ``'r'``. For ``'r'``, the supplied *precision* must be 0 and is "
@@ -207,31 +252,31 @@ msgstr ""
207252
"0 e é ignorada. O código de formato ``'r'`` especifica o formato padrão de :"
208253
"func:`repr`."
209254

210-
#: ../../c-api/conversion.rst:95
255+
#: ../../c-api/conversion.rst:131
211256
msgid ""
212257
"*flags* can be zero or more of the values ``Py_DTSF_SIGN``, "
213258
"``Py_DTSF_ADD_DOT_0``, or ``Py_DTSF_ALT``, or-ed together:"
214259
msgstr ""
215260
"*flags* pode ser zero ou mais de valores ``Py_DTSF_SIGN``, "
216261
"``Py_DTSF_ADD_DOT_0`` ou ``Py_DTSF_ALT``, alternados por operador lógico OU:"
217262

218-
#: ../../c-api/conversion.rst:98
263+
#: ../../c-api/conversion.rst:134
219264
msgid ""
220265
"``Py_DTSF_SIGN`` means to always precede the returned string with a sign "
221266
"character, even if *val* is non-negative."
222267
msgstr ""
223268
"``Py_DTSF_SIGN`` significa sempre preceder a string retornada com um "
224269
"caractere de sinal, mesmo se *val* não for negativo."
225270

226-
#: ../../c-api/conversion.rst:101
271+
#: ../../c-api/conversion.rst:137
227272
msgid ""
228273
"``Py_DTSF_ADD_DOT_0`` means to ensure that the returned string will not look "
229274
"like an integer."
230275
msgstr ""
231276
"``Py_DTSF_ADD_DOT_0`` significa garantir que a string retornada não se "
232277
"pareça com um inteiro."
233278

234-
#: ../../c-api/conversion.rst:104
279+
#: ../../c-api/conversion.rst:140
235280
msgid ""
236281
"``Py_DTSF_ALT`` means to apply \"alternate\" formatting rules. See the "
237282
"documentation for the :c:func:`PyOS_snprintf` ``'#'`` specifier for details."
@@ -240,7 +285,7 @@ msgstr ""
240285
"Veja a documentação para o especificador ``'#'`` de :c:func:`PyOS_snprintf` "
241286
"para detalhes."
242287

243-
#: ../../c-api/conversion.rst:108
288+
#: ../../c-api/conversion.rst:144
244289
msgid ""
245290
"If *ptype* is non-``NULL``, then the value it points to will be set to one "
246291
"of ``Py_DTST_FINITE``, ``Py_DTST_INFINITE``, or ``Py_DTST_NAN``, signifying "
@@ -252,7 +297,7 @@ msgstr ""
252297
"``Py_DTST_NAN``, significando que *val* é um número finito, um número "
253298
"infinito ou não um número, respectivamente."
254299

255-
#: ../../c-api/conversion.rst:112
300+
#: ../../c-api/conversion.rst:148
256301
msgid ""
257302
"The return value is a pointer to *buffer* with the converted string or "
258303
"``NULL`` if the conversion failed. The caller is responsible for freeing the "
@@ -262,7 +307,7 @@ msgstr ""
262307
"``NULL`` se a conversão falhou. O chamador é responsável por liberar a "
263308
"string retornada chamando :c:func:`PyMem_Free`."
264309

265-
#: ../../c-api/conversion.rst:121
310+
#: ../../c-api/conversion.rst:157
266311
msgid ""
267312
"Case insensitive comparison of strings. The function works almost "
268313
"identically to :c:func:`!strcmp` except that it ignores the case."
@@ -271,7 +316,7 @@ msgstr ""
271316
"funciona quase de forma idêntica a :c:func:`!strcmp` exceto que ignora o "
272317
"caso."
273318

274-
#: ../../c-api/conversion.rst:127
319+
#: ../../c-api/conversion.rst:163
275320
msgid ""
276321
"Case insensitive comparison of strings. The function works almost "
277322
"identically to :c:func:`!strncmp` except that it ignores the case."

c-api/memoryview.po

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.12\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2024-01-05 14:14+0000\n"
15+
"POT-Creation-Date: 2024-02-02 15:40+0000\n"
1616
"PO-Revision-Date: 2021-06-28 00:49+0000\n"
1717
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2023\n"
1818
"Language-Team: Portuguese (Brazil) (https://app.transifex.com/python-doc/"
@@ -50,15 +50,23 @@ msgstr ""
5050
"memoryview será de leitura/gravação; caso contrário, poderá ser somente "
5151
"leitura ou leitura/gravação, a critério do exportador."
5252

53-
#: ../../c-api/memoryview.rst:25
53+
#: ../../c-api/memoryview.rst:26
54+
msgid "Flag to request a readonly buffer."
55+
msgstr ""
56+
57+
#: ../../c-api/memoryview.rst:31
58+
msgid "Flag to request a writable buffer."
59+
msgstr ""
60+
61+
#: ../../c-api/memoryview.rst:36
5462
msgid ""
5563
"Create a memoryview object using *mem* as the underlying buffer. *flags* can "
5664
"be one of :c:macro:`PyBUF_READ` or :c:macro:`PyBUF_WRITE`."
5765
msgstr ""
5866
"Cria um objeto memoryview usando *mem* como o buffer subjacente. *flags* "
5967
"pode ser um dos seguintes :c:macro:`PyBUF_READ` ou :c:macro:`PyBUF_WRITE`."
6068

61-
#: ../../c-api/memoryview.rst:32
69+
#: ../../c-api/memoryview.rst:43
6270
msgid ""
6371
"Create a memoryview object wrapping the given buffer structure *view*. For "
6472
"simple byte buffers, :c:func:`PyMemoryView_FromMemory` is the preferred "
@@ -68,7 +76,7 @@ msgstr ""
6876
"fornecida. Para buffers de bytes simples, :c:func:`PyMemoryView_FromMemory` "
6977
"é a função preferida."
7078

71-
#: ../../c-api/memoryview.rst:38
79+
#: ../../c-api/memoryview.rst:49
7280
msgid ""
7381
"Create a memoryview object to a :term:`contiguous` chunk of memory (in "
7482
"either 'C' or 'F'ortran *order*) from an object that defines the buffer "
@@ -82,7 +90,12 @@ msgstr ""
8290
"memoryview apontará para a memória original. Caso contrário, é feita uma "
8391
"cópia e a visualização da memória aponta para um novo objeto bytes."
8492

85-
#: ../../c-api/memoryview.rst:47
93+
#: ../../c-api/memoryview.rst:55
94+
msgid ""
95+
"*buffertype* can be one of :c:macro:`PyBUF_READ` or :c:macro:`PyBUF_WRITE`."
96+
msgstr ""
97+
98+
#: ../../c-api/memoryview.rst:60
8699
msgid ""
87100
"Return true if the object *obj* is a memoryview object. It is not currently "
88101
"allowed to create subclasses of :class:`memoryview`. This function always "
@@ -92,7 +105,7 @@ msgstr ""
92105
"permitido criar subclasses de :class:`memoryview`. Esta função sempre tem "
93106
"sucesso."
94107

95-
#: ../../c-api/memoryview.rst:54
108+
#: ../../c-api/memoryview.rst:67
96109
msgid ""
97110
"Return a pointer to the memoryview's private copy of the exporter's buffer. "
98111
"*mview* **must** be a memoryview instance; this macro doesn't check its "
@@ -102,7 +115,7 @@ msgstr ""
102115
"*mview* **deve** ser uma instância de memoryview; Se essa macro não "
103116
"verificar seu tipo, faça você mesmo ou corre o risco de travar."
104117

105-
#: ../../c-api/memoryview.rst:60
118+
#: ../../c-api/memoryview.rst:73
106119
msgid ""
107120
"Return either a pointer to the exporting object that the memoryview is based "
108121
"on or ``NULL`` if the memoryview has been created by one of the functions :c:"

0 commit comments

Comments
 (0)