🌐 AI搜索 & 代理 主页
Skip to content

Commit 8951804

Browse files
author
GitHub Action's update-translation job
committed
Update translation from Transifex
1 parent d417cf4 commit 8951804

File tree

20 files changed

+313
-59
lines changed

20 files changed

+313
-59
lines changed

c-api/allocation.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
7-
# Daniel Nylander <po@danielnylander.se>, 2025
87
# python-doc bot, 2025
8+
# Daniel Nylander <po@danielnylander.se>, 2025
99
#
1010
#, fuzzy
1111
msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.14\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2025-11-11 14:15+0000\n"
15+
"POT-Creation-Date: 2025-11-13 18:32+0000\n"
1616
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
17-
"Last-Translator: python-doc bot, 2025\n"
17+
"Last-Translator: Daniel Nylander <po@danielnylander.se>, 2025\n"
1818
"Language-Team: Swedish (https://app.transifex.com/python-doc/teams/5390/"
1919
"sv/)\n"
2020
"MIME-Version: 1.0\n"
@@ -188,7 +188,7 @@ msgid ":c:macro:`PyObject_NewVar`"
188188
msgstr ""
189189

190190
msgid ":c:func:`PyObject_Init`"
191-
msgstr ""
191+
msgstr ":c:func:`PyObject_Init`"
192192

193193
msgid ":c:func:`PyObject_InitVar`"
194194
msgstr ""

c-api/bytes.po

Lines changed: 44 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.14\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-10-25 14:12+0000\n"
14+
"POT-Creation-Date: 2025-11-13 18:32+0000\n"
1515
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1616
"Last-Translator: python-doc bot, 2025\n"
1717
"Language-Team: Swedish (https://app.transifex.com/python-doc/teams/5390/"
@@ -288,6 +288,49 @@ msgid ""
288288
"``NULL``, :exc:`MemoryError` is set, and ``-1`` is returned."
289289
msgstr ""
290290

291+
msgid ""
292+
"Get the string representation of *bytes*. This function is currently used to "
293+
"implement :meth:`!bytes.__repr__` in Python."
294+
msgstr ""
295+
296+
msgid ""
297+
"This function does not do type checking; it is undefined behavior to pass "
298+
"*bytes* as a non-bytes object or ``NULL``."
299+
msgstr ""
300+
301+
msgid ""
302+
"If *smartquotes* is true, the representation will use a double-quoted string "
303+
"instead of single-quoted string when single-quotes are present in *bytes*. "
304+
"For example, the byte string ``'Python'`` would be represented as "
305+
"``b\"'Python'\"`` when *smartquotes* is true, or ``b'\\'Python\\''`` when it "
306+
"is false."
307+
msgstr ""
308+
309+
msgid ""
310+
"On success, this function returns a :term:`strong reference` to a :class:"
311+
"`str` object containing the representation. On failure, this returns "
312+
"``NULL`` with an exception set."
313+
msgstr ""
314+
315+
msgid ""
316+
"Unescape a backslash-escaped string *s*. *s* must not be ``NULL``. *len* "
317+
"must be the size of *s*."
318+
msgstr ""
319+
320+
msgid ""
321+
"*errors* must be one of ``\"strict\"``, ``\"replace\"``, or ``\"ignore\"``. "
322+
"If *errors* is ``NULL``, then ``\"strict\"`` is used by default."
323+
msgstr ""
324+
325+
msgid ""
326+
"On success, this function returns a :term:`strong reference` to a Python :"
327+
"class:`bytes` object containing the unescaped string. On failure, this "
328+
"function returns ``NULL`` with an exception set."
329+
msgstr ""
330+
331+
msgid "*unicode* and *recode_encoding* are now unused."
332+
msgstr ""
333+
291334
msgid "object"
292335
msgstr ""
293336

c-api/code.po

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.14\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-10-27 14:15+0000\n"
14+
"POT-Creation-Date: 2025-11-13 18:32+0000\n"
1515
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1616
"Last-Translator: python-doc bot, 2025\n"
1717
"Language-Team: Swedish (https://app.transifex.com/python-doc/teams/5390/"
@@ -220,6 +220,17 @@ msgid ""
220220
"it before returning."
221221
msgstr ""
222222

223+
msgid "This is a :term:`soft deprecated` function that does nothing."
224+
msgstr ""
225+
226+
msgid ""
227+
"Prior to Python 3.10, this function would perform basic optimizations to a "
228+
"code object."
229+
msgstr ""
230+
231+
msgid "This function now does nothing."
232+
msgstr ""
233+
223234
msgid "Code Object Flags"
224235
msgstr ""
225236

c-api/dict.po

Lines changed: 40 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.14\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-11-07 14:15+0000\n"
14+
"POT-Creation-Date: 2025-11-13 18:32+0000\n"
1515
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1616
"Last-Translator: python-doc bot, 2025\n"
1717
"Language-Team: Swedish (https://app.transifex.com/python-doc/teams/5390/"
@@ -422,6 +422,45 @@ msgid ""
422422
"it before returning."
423423
msgstr ""
424424

425+
msgid "Dictionary View Objects"
426+
msgstr ""
427+
428+
msgid ""
429+
"Return true if *op* is a view of a set inside a dictionary. This is "
430+
"currently equivalent to :c:expr:`PyDictKeys_Check(op) || "
431+
"PyDictItems_Check(op)`. This function always succeeds."
432+
msgstr ""
433+
434+
msgid ""
435+
"Type object for a view of dictionary keys. In Python, this is the type of "
436+
"the object returned by :meth:`dict.keys`."
437+
msgstr ""
438+
439+
msgid ""
440+
"Return true if *op* is an instance of a dictionary keys view. This function "
441+
"always succeeds."
442+
msgstr ""
443+
444+
msgid ""
445+
"Type object for a view of dictionary values. In Python, this is the type of "
446+
"the object returned by :meth:`dict.values`."
447+
msgstr ""
448+
449+
msgid ""
450+
"Return true if *op* is an instance of a dictionary values view. This "
451+
"function always succeeds."
452+
msgstr ""
453+
454+
msgid ""
455+
"Type object for a view of dictionary items. In Python, this is the type of "
456+
"the object returned by :meth:`dict.items`."
457+
msgstr ""
458+
459+
msgid ""
460+
"Return true if *op* is an instance of a dictionary items view. This function "
461+
"always succeeds."
462+
msgstr ""
463+
425464
msgid "object"
426465
msgstr ""
427466

c-api/exceptions.po

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.14\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-11-11 14:15+0000\n"
14+
"POT-Creation-Date: 2025-11-13 18:32+0000\n"
1515
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1616
"Last-Translator: python-doc bot, 2025\n"
1717
"Language-Team: Swedish (https://app.transifex.com/python-doc/teams/5390/"
@@ -285,6 +285,11 @@ msgid ""
285285
"is a :exc:`SyntaxError`."
286286
msgstr ""
287287

288+
msgid ""
289+
"Similar to :c:func:`PyErr_SyntaxLocationObject`, but also sets the "
290+
"*end_lineno* and *end_col_offset* information for the current exception."
291+
msgstr ""
292+
288293
msgid ""
289294
"Like :c:func:`PyErr_SyntaxLocationObject`, but *filename* is a byte string "
290295
"decoded from the :term:`filesystem encoding and error handler`."

c-api/file.po

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.14\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-10-25 14:12+0000\n"
14+
"POT-Creation-Date: 2025-11-13 18:32+0000\n"
1515
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1616
"Last-Translator: python-doc bot, 2025\n"
1717
"Language-Team: Swedish (https://app.transifex.com/python-doc/teams/5390/"
@@ -113,6 +113,26 @@ msgid ""
113113
"arguments."
114114
msgstr ""
115115

116+
msgid ""
117+
"Open *path* with the mode ``'rb'``. *path* must be a Python :class:`str` "
118+
"object. The behavior of this function may be overridden by :c:func:"
119+
"`PyFile_SetOpenCodeHook` to allow for some preprocessing of the text."
120+
msgstr ""
121+
122+
msgid "This is analogous to :func:`io.open_code` in Python."
123+
msgstr ""
124+
125+
msgid ""
126+
"On success, this function returns a :term:`strong reference` to a Python "
127+
"file object. On failure, this function returns ``NULL`` with an exception "
128+
"set."
129+
msgstr ""
130+
131+
msgid ""
132+
"Similar to :c:func:`PyFile_OpenCodeObject`, but *path* is a UTF-8 encoded :c:"
133+
"expr:`const char*`."
134+
msgstr ""
135+
116136
msgid ""
117137
"Write object *obj* to file object *p*. The only supported flag for *flags* "
118138
"is :c:macro:`Py_PRINT_RAW`; if given, the :func:`str` of the object is "

c-api/float.po

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.14\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-11-11 14:15+0000\n"
14+
"POT-Creation-Date: 2025-11-13 18:32+0000\n"
1515
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1616
"Last-Translator: python-doc bot, 2025\n"
1717
"Language-Team: Swedish (https://app.transifex.com/python-doc/teams/5390/"
@@ -105,12 +105,27 @@ msgid ""
105105
"C11 standard ``<math.h>`` header."
106106
msgstr ""
107107

108+
msgid ""
109+
"The definition (accurate for a :c:expr:`double` type) of the :data:`math.e` "
110+
"constant."
111+
msgstr ""
112+
108113
msgid "High precision (long double) definition of :data:`~math.e` constant."
109114
msgstr ""
110115

116+
msgid ""
117+
"The definition (accurate for a :c:expr:`double` type) of the :data:`math.pi` "
118+
"constant."
119+
msgstr ""
120+
111121
msgid "High precision (long double) definition of :data:`~math.pi` constant."
112122
msgstr ""
113123

124+
msgid ""
125+
"The definition (accurate for a :c:expr:`double` type) of the :data:`math."
126+
"tau` constant."
127+
msgstr ""
128+
114129
msgid "Return :data:`math.nan` from a function."
115130
msgstr ""
116131

c-api/intro.po

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.14\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-11-09 14:13+0000\n"
14+
"POT-Creation-Date: 2025-11-13 18:32+0000\n"
1515
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1616
"Last-Translator: python-doc bot, 2025\n"
1717
"Language-Team: Swedish (https://app.transifex.com/python-doc/teams/5390/"
@@ -159,6 +159,11 @@ msgstr ""
159159
msgid "Return the absolute value of ``x``."
160160
msgstr ""
161161

162+
msgid ""
163+
"If the result cannot be represented (for example, if ``x`` has :c:macro:`!"
164+
"INT_MIN` value for :c:expr:`int` type), the behavior is undefined."
165+
msgstr ""
166+
162167
msgid ""
163168
"Ask the compiler to always inline a static inline function. The compiler can "
164169
"ignore it and decide to not inline the function."

c-api/type.po

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.14\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-11-11 14:15+0000\n"
14+
"POT-Creation-Date: 2025-11-13 18:32+0000\n"
1515
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1616
"Last-Translator: python-doc bot, 2025\n"
1717
"Language-Team: Swedish (https://app.transifex.com/python-doc/teams/5390/"
@@ -121,6 +121,21 @@ msgid ""
121121
"not returned to it by a previous call to :c:func:`PyType_AddWatcher`."
122122
msgstr ""
123123

124+
msgid ""
125+
"Mark *type* as not watched. This undoes a previous call to :c:func:"
126+
"`PyType_Watch`. *type* must not be ``NULL``."
127+
msgstr ""
128+
129+
msgid ""
130+
"An extension should never call this function with a *watcher_id* that was "
131+
"not returned to it by a previous call to :c:func:`PyType_AddWatcher`."
132+
msgstr ""
133+
134+
msgid ""
135+
"On success, this function returns ``0``. On failure, this function returns "
136+
"``-1`` with an exception set."
137+
msgstr ""
138+
124139
msgid "Type of a type-watcher callback function."
125140
msgstr ""
126141

@@ -332,6 +347,17 @@ msgid ""
332347
"assigned, or 0 if a new tag could not be assigned."
333348
msgstr ""
334349

350+
msgid ""
351+
"Return true if instances of *type* support creating weak references, false "
352+
"otherwise. This function always succeeds. *type* must not be ``NULL``."
353+
msgstr ""
354+
355+
msgid ":ref:`weakrefobjects`"
356+
msgstr ""
357+
358+
msgid ":py:mod:`weakref`"
359+
msgstr ""
360+
335361
msgid "Creating Heap-Allocated Types"
336362
msgstr ""
337363

c-api/veryhigh.po

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.14\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-11-11 14:15+0000\n"
14+
"POT-Creation-Date: 2025-11-13 18:32+0000\n"
1515
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1616
"Last-Translator: python-doc bot, 2025\n"
1717
"Language-Team: Swedish (https://app.transifex.com/python-doc/teams/5390/"
@@ -118,16 +118,11 @@ msgid ""
118118
"correctly."
119119
msgstr ""
120120

121-
msgid ""
122-
"This is a simplified interface to :c:func:`PyRun_InteractiveOneFlags` below, "
123-
"leaving *flags* set to ``NULL``."
124-
msgstr ""
125-
126121
msgid ""
127122
"Read and execute a single statement from a file associated with an "
128123
"interactive device according to the *flags* argument. The user will be "
129-
"prompted using ``sys.ps1`` and ``sys.ps2``. *filename* is decoded from the :"
130-
"term:`filesystem encoding and error handler`."
124+
"prompted using ``sys.ps1`` and ``sys.ps2``. *filename* must be a Python :"
125+
"class:`str` object."
131126
msgstr ""
132127

133128
msgid ""
@@ -138,6 +133,17 @@ msgid ""
138133
"specifically if needed.)"
139134
msgstr ""
140135

136+
msgid ""
137+
"This is a simplified interface to :c:func:`PyRun_InteractiveOneFlags` below, "
138+
"leaving *flags* set to ``NULL``."
139+
msgstr ""
140+
141+
msgid ""
142+
"Similar to :c:func:`PyRun_InteractiveOneObject`, but *filename* is a :c:expr:"
143+
"`const char*`, which is decoded from the :term:`filesystem encoding and "
144+
"error handler`."
145+
msgstr ""
146+
141147
msgid ""
142148
"This is a simplified interface to :c:func:`PyRun_InteractiveLoopFlags` "
143149
"below, leaving *flags* set to ``NULL``."

0 commit comments

Comments
 (0)