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

Commit 5792822

Browse files
author
GitHub Action's update-translation job
committed
Update translation from Transifex
1 parent 9b96f6c commit 5792822

File tree

15 files changed

+202
-25
lines changed

15 files changed

+202
-25
lines changed

.tx/config

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,15 @@ resource_name = c-api--coro
181181
replace_edited_strings = false
182182
keep_translations = false
183183

184+
[o:python-doc:p:python-newest:r:c-api--curses]
185+
file_filter = c-api/curses.po
186+
source_file = gettext/c-api/curses.pot
187+
type = PO
188+
minimum_perc = 0
189+
resource_name = c-api--curses
190+
replace_edited_strings = false
191+
keep_translations = false
192+
184193
[o:python-doc:p:python-newest:r:c-api--datetime]
185194
file_filter = c-api/datetime.po
186195
source_file = gettext/c-api/datetime.pot

c-api/buffer.po

Lines changed: 4 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-09 14:13+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/"
@@ -315,6 +315,9 @@ msgid ""
315315
"PyBUF_WRITABLE` can be used to request a simple writable buffer."
316316
msgstr ""
317317

318+
msgid "This is a :term:`soft deprecated` alias to :c:macro:`PyBUF_WRITABLE`."
319+
msgstr ""
320+
318321
msgid ""
319322
"Controls the :c:member:`~Py_buffer.format` field. If set, this field MUST be "
320323
"filled in correctly. Otherwise, this field MUST be ``NULL``."

c-api/capsule.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-10-25 14:12+0000\n"
14+
"POT-Creation-Date: 2025-11-09 14:13+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/"
@@ -38,6 +38,11 @@ msgid ""
3838
"loaded modules."
3939
msgstr ""
4040

41+
msgid ""
42+
"The type object corresponding to capsule objects. This is the same object "
43+
"as :class:`types.CapsuleType` in the Python layer."
44+
msgstr ""
45+
4146
msgid "The type of a destructor callback for a capsule. Defined as::"
4247
msgstr ""
4348

c-api/exceptions.po

Lines changed: 52 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-09 14:13+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/"
@@ -302,6 +302,22 @@ msgid ""
302302
"use."
303303
msgstr ""
304304

305+
msgid ""
306+
"Get the source line in *filename* at line *lineno*. *filename* should be a "
307+
"Python :class:`str` object."
308+
msgstr ""
309+
310+
msgid ""
311+
"On success, this function returns a Python string object with the found "
312+
"line. On failure, this function returns ``NULL`` without an exception set."
313+
msgstr ""
314+
315+
msgid ""
316+
"Similar to :c:func:`PyErr_ProgramTextObject`, but *filename* is a :c:expr:"
317+
"`const char *`, which is decoded with the :term:`filesystem encoding and "
318+
"error handler`, instead of a Python object reference."
319+
msgstr ""
320+
305321
msgid "Issuing warnings"
306322
msgstr ""
307323

@@ -362,6 +378,12 @@ msgid ""
362378
"encoded string."
363379
msgstr ""
364380

381+
msgid ""
382+
"Similar to :c:func:`PyErr_WarnExplicit`, but uses :c:func:"
383+
"`PyUnicode_FromFormat` to format the warning message. *format* is an ASCII-"
384+
"encoded string."
385+
msgstr ""
386+
365387
msgid ""
366388
"Function similar to :c:func:`PyErr_WarnFormat`, but *category* is :exc:"
367389
"`ResourceWarning` and it passes *source* to :class:`!warnings."
@@ -1197,6 +1219,35 @@ msgstr ""
11971219
msgid ":c:data:`PyExc_EncodingWarning`."
11981220
msgstr ""
11991221

1222+
msgid "Tracebacks"
1223+
msgstr ""
1224+
1225+
msgid ""
1226+
"Type object for traceback objects. This is available as :class:`types."
1227+
"TracebackType` in the Python layer."
1228+
msgstr ""
1229+
1230+
msgid ""
1231+
"Return true if *op* is a traceback object, false otherwise. This function "
1232+
"does not account for subtypes."
1233+
msgstr ""
1234+
1235+
msgid ""
1236+
"Replace the :attr:`~BaseException.__traceback__` attribute on the current "
1237+
"exception with a new traceback prepending *f* to the existing chain."
1238+
msgstr ""
1239+
1240+
msgid "Calling this function without an exception set is undefined behavior."
1241+
msgstr ""
1242+
1243+
msgid ""
1244+
"This function returns ``0`` on success, and returns ``-1`` with an exception "
1245+
"set on failure."
1246+
msgstr ""
1247+
1248+
msgid "Write the traceback *tb* into the file *f*."
1249+
msgstr ""
1250+
12001251
msgid "strerror (C function)"
12011252
msgstr ""
12021253

c-api/hash.po

Lines changed: 60 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.14\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2025-10-23 14:15+0000\n"
15+
"POT-Creation-Date: 2025-11-09 14:13+0000\n"
1616
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1717
"Last-Translator: Daniel Nylander <po@danielnylander.se>, 2025\n"
1818
"Language-Team: Swedish (https://app.transifex.com/python-doc/teams/5390/"
@@ -36,11 +36,55 @@ msgstr ""
3636
msgid "Hash value type: unsigned integer."
3737
msgstr ""
3838

39+
msgid ""
40+
"A numerical value indicating the algorithm for hashing of :class:`str`, :"
41+
"class:`bytes`, and :class:`memoryview`."
42+
msgstr ""
43+
44+
msgid "The algorithm name is exposed by :data:`sys.hash_info.algorithm`."
45+
msgstr ""
46+
47+
msgid ""
48+
"Numerical values to compare to :c:macro:`Py_HASH_ALGORITHM` to determine "
49+
"which algorithm is used for hashing. The hash algorithm can be configured "
50+
"via the configure :option:`--with-hash-algorithm` option."
51+
msgstr ""
52+
53+
msgid "Add :c:macro:`!Py_HASH_FNV` and :c:macro:`!Py_HASH_SIPHASH24`."
54+
msgstr ""
55+
56+
msgid "Add :c:macro:`!Py_HASH_SIPHASH13`."
57+
msgstr ""
58+
59+
msgid ""
60+
"Buffers of length in range ``[1, Py_HASH_CUTOFF)`` are hashed using DJBX33A "
61+
"instead of the algorithm described by :c:macro:`Py_HASH_ALGORITHM`."
62+
msgstr ""
63+
64+
msgid "A :c:macro:`!Py_HASH_CUTOFF` of 0 disables the optimization."
65+
msgstr ""
66+
67+
msgid ""
68+
":c:macro:`!Py_HASH_CUTOFF` must be non-negative and less or equal than 7."
69+
msgstr ""
70+
71+
msgid ""
72+
"32-bit platforms should use a cutoff smaller than 64-bit platforms because "
73+
"it is easier to create colliding strings. A cutoff of 7 on 64-bit platforms "
74+
"and 5 on 32-bit platforms should provide a decent safety margin."
75+
msgstr ""
76+
77+
msgid "This corresponds to the :data:`sys.hash_info.cutoff` constant."
78+
msgstr ""
79+
3980
msgid ""
4081
"The `Mersenne prime <https://en.wikipedia.org/wiki/Mersenne_prime>`_ ``P = "
4182
"2**n -1``, used for numeric hash scheme."
4283
msgstr ""
4384

85+
msgid "This corresponds to the :data:`sys.hash_info.modulus` constant."
86+
msgstr ""
87+
4488
msgid "The exponent ``n`` of ``P`` in :c:macro:`PyHASH_MODULUS`."
4589
msgstr ""
4690

@@ -50,9 +94,15 @@ msgstr ""
5094
msgid "The hash value returned for a positive infinity."
5195
msgstr ""
5296

97+
msgid "This corresponds to the :data:`sys.hash_info.inf` constant."
98+
msgstr ""
99+
53100
msgid "The multiplier used for the imaginary part of a complex number."
54101
msgstr ""
55102

103+
msgid "This corresponds to the :data:`sys.hash_info.imag` constant."
104+
msgstr ""
105+
56106
msgid "Hash function definition used by :c:func:`PyHash_GetFuncDef`."
57107
msgstr ""
58108

@@ -62,12 +112,21 @@ msgstr ""
62112
msgid "Hash function name (UTF-8 encoded string)."
63113
msgstr ""
64114

115+
msgid "This corresponds to the :data:`sys.hash_info.algorithm` constant."
116+
msgstr ""
117+
65118
msgid "Internal size of the hash value in bits."
66119
msgstr ""
67120

121+
msgid "This corresponds to the :data:`sys.hash_info.hash_bits` constant."
122+
msgstr ""
123+
68124
msgid "Size of seed input in bits."
69125
msgstr ""
70126

127+
msgid "This corresponds to the :data:`sys.hash_info.seed_bits` constant."
128+
msgstr ""
129+
71130
msgid "Get the hash function definition."
72131
msgstr ""
73132

c-api/intro.po

Lines changed: 34 additions & 2 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-10-25 14:12+0000\n"
14+
"POT-Creation-Date: 2025-11-09 14:13+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/"
@@ -269,7 +269,29 @@ msgid ""
269269
msgstr ""
270270

271271
msgid ""
272-
"Creates a variable with name ``name`` that can be used in docstrings. If "
272+
"Asserts a compile-time condition *cond*, as a statement. The build will fail "
273+
"if the condition is false or cannot be evaluated at compile time."
274+
msgstr ""
275+
276+
msgid "For example::"
277+
msgstr ""
278+
279+
msgid "Py_BUILD_ASSERT(sizeof(PyTime_t) == sizeof(int64_t));"
280+
msgstr ""
281+
282+
msgid ""
283+
"Asserts a compile-time condition *cond*, as an expression that evaluates to "
284+
"``0``. The build will fail if the condition is false or cannot be evaluated "
285+
"at compile time."
286+
msgstr ""
287+
288+
msgid ""
289+
"#define foo_to_char(foo) \\\n"
290+
" ((char *)(foo) + Py_BUILD_ASSERT_EXPR(offsetof(struct foo, string) == 0))"
291+
msgstr ""
292+
293+
msgid ""
294+
"Creates a variable with name *name* that can be used in docstrings. If "
273295
"Python is built without docstrings, the value will be empty."
274296
msgstr ""
275297

@@ -306,6 +328,16 @@ msgid ""
306328
"};"
307329
msgstr ""
308330

331+
msgid "Declares a static character array variable with the given name *name*."
332+
msgstr ""
333+
334+
msgid ""
335+
"PyDoc_VAR(python_doc) = PyDoc_STR(\"A genus of constricting snakes in the "
336+
"Pythonidae family native \"\n"
337+
" \"to the tropics and subtropics of the "
338+
"Eastern Hemisphere.\");"
339+
msgstr ""
340+
309341
msgid "Objects, Types and Reference Counts"
310342
msgstr ""
311343

library/codecs.po

Lines changed: 1 addition & 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-19 14:13+0000\n"
14+
"POT-Creation-Date: 2025-11-07 14:15+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/"

library/gc.po

Lines changed: 1 addition & 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-19 14:13+0000\n"
14+
"POT-Creation-Date: 2025-11-09 14:13+0000\n"
1515
"PO-Revision-Date: 2025-09-16 00:01+0000\n"
1616
"Last-Translator: python-doc bot, 2025\n"
1717
"Language-Team: Swedish (https://app.transifex.com/python-doc/teams/5390/"

library/json.po

Lines changed: 10 additions & 6 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-10-25 14:12+0000\n"
14+
"POT-Creation-Date: 2025-11-09 14:13+0000\n"
1515
"PO-Revision-Date: 2025-09-16 00:01+0000\n"
1616
"Last-Translator: python-doc bot, 2025\n"
1717
"Language-Team: Swedish (https://app.transifex.com/python-doc/teams/5390/"
@@ -227,8 +227,10 @@ msgstr ""
227227

228228
msgid ""
229229
"If ``True`` (the default), the output is guaranteed to have all incoming non-"
230-
"ASCII characters escaped. If ``False``, these characters will be outputted "
231-
"as-is."
230+
"ASCII and non-printable characters escaped. If ``False``, all characters "
231+
"will be outputted as-is, except for the characters that must be escaped: "
232+
"quotation mark, reverse solidus, and the control characters U+0000 through "
233+
"U+001F."
232234
msgstr ""
233235

234236
msgid ""
@@ -570,8 +572,10 @@ msgstr ""
570572

571573
msgid ""
572574
"If *ensure_ascii* is true (the default), the output is guaranteed to have "
573-
"all incoming non-ASCII characters escaped. If *ensure_ascii* is false, "
574-
"these characters will be output as-is."
575+
"all incoming non-ASCII and non-printable characters escaped. If "
576+
"*ensure_ascii* is false, all characters will be output as-is, except for the "
577+
"characters that must be escaped: quotation mark, reverse solidus, and the "
578+
"control characters U+0000 through U+001F."
575579
msgstr ""
576580

577581
msgid ""
@@ -723,7 +727,7 @@ msgstr ""
723727
msgid ""
724728
"As permitted, though not required, by the RFC, this module's serializer sets "
725729
"*ensure_ascii=True* by default, thus escaping the output so that the "
726-
"resulting strings only contain ASCII characters."
730+
"resulting strings only contain printable ASCII characters."
727731
msgstr ""
728732

729733
msgid ""

library/os.po

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.14\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2025-11-01 14:13+0000\n"
15+
"POT-Creation-Date: 2025-11-09 14:13+0000\n"
1616
"PO-Revision-Date: 2025-09-16 00:01+0000\n"
1717
"Last-Translator: Daniel Nylander <po@danielnylander.se>, 2025\n"
1818
"Language-Team: Swedish (https://app.transifex.com/python-doc/teams/5390/"
@@ -3167,6 +3167,11 @@ msgstr ""
31673167
msgid "Create a symbolic link pointing to *src* named *dst*."
31683168
msgstr ""
31693169

3170+
msgid ""
3171+
"The *src* parameter refers to the target of the link (the file or directory "
3172+
"being linked to), and *dst* is the name of the link being created."
3173+
msgstr ""
3174+
31703175
msgid ""
31713176
"On Windows, a symlink represents either a file or a directory, and does not "
31723177
"morph to the target dynamically. If the target is present, the type of the "

0 commit comments

Comments
 (0)