Skip to content

Commit b07269e

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

File tree

4 files changed

+23
-24
lines changed

4 files changed

+23
-24
lines changed

c-api/unicode.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,7 @@ msgid "``t``"
601601
msgstr "``t``"
602602

603603
msgid ":c:type:`ptrdiff_t`"
604-
msgstr ":c:typ:`ptrdiff_t`"
604+
msgstr ":c:type:`ptrdiff_t`"
605605

606606
msgid ""
607607
"The length modifier ``l`` for following conversions ``s`` or ``V`` specify "
@@ -1276,7 +1276,7 @@ msgstr ""
12761276
"*result* hänvisar till och returnera ``1``."
12771277

12781278
msgid "Decode a string from the :term:`filesystem encoding and error handler`."
1279-
msgstr "Avkodar en sträng från :term:`filsystemets kodning och felhantering`."
1279+
msgstr "Avkodar en sträng från :term:`filesystem encoding and error handler`."
12801280

12811281
msgid ""
12821282
"If you need to decode a string from the current locale encoding, use :c:func:"
@@ -1296,8 +1296,8 @@ msgid ""
12961296
"Decode a null-terminated string from the :term:`filesystem encoding and "
12971297
"error handler`."
12981298
msgstr ""
1299-
"Avkoda en nollavslutad sträng från :term:`filsystemets kodning och "
1300-
"felhantering`."
1299+
"Avkoda en nollavslutad sträng från :term:`filesystem encoding and error "
1300+
"handler`."
13011301

13021302
msgid ""
13031303
"If the string length is known, use :c:func:"

glossary.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1896,7 +1896,7 @@ msgstr ""
18961896
":func:`locale.getencoding` kan användas för att hämta locale-kodningen."
18971897

18981898
msgid "See also the :term:`filesystem encoding and error handler`."
1899-
msgstr "Se även :term:`filsystemets kodning och felhantering`."
1899+
msgstr "Se även :term:`filesystem encoding and error handler`."
19001900

19011901
msgid "magic method"
19021902
msgstr "magisk metod"

whatsnew/3.8.po

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3872,17 +3872,16 @@ msgid ""
38723872
" return foo;\n"
38733873
"}"
38743874
msgstr ""
3875-
"statisk foo_struct *\n"
3876-
"foo_new(PyObject *typ) {\n"
3875+
"static foo_struct *\n"
3876+
"foo_new(PyObject *type) {\n"
38773877
" foo_struct *foo = PyObject_GC_New(foo_struct, (PyTypeObject *) type);\n"
38783878
" if (foo == NULL)\n"
3879-
" returnera NULL;\n"
3879+
" return NULL;\n"
38803880
"#if PY_VERSION_HEX < 0x03080000\n"
3881-
" // Lösning för Python-problem 35810; inte längre nödvändigt i Python "
3882-
"3.8\n"
3883-
" PY_INCREF(typ)\n"
3881+
" // Workaround for Python issue 35810; no longer necessary in Python 3.8\n"
3882+
" PY_INCREF(type)\n"
38843883
"#endif\n"
3885-
" returnera foo;\n"
3884+
" return foo;\n"
38863885
"}"
38873886

38883887
msgid ""

whatsnew/3.9.po

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2216,13 +2216,13 @@ msgid ""
22162216
"tp_traverse` function, ensure that all custom ``tp_traverse`` functions of "
22172217
"heap-allocated types visit the object's type."
22182218
msgstr ""
2219-
"Instanser av :ref:`heap-allocated types <heap-types>`` (som de som skapats "
2220-
"med :c:func:`PyType_FromSpec` och liknande API:er) håller en referens till "
2221-
"sitt typobjekt sedan Python 3.8. Som anges i \"Changes in the C API\" i "
2222-
"Python 3.8, för de allra flesta fall, bör det inte finnas någon bieffekt men "
2223-
"för typer som har en anpassad :c:member:`~PyTypeObject.tp_traverse`-"
2224-
"funktion, se till att alla anpassade ``tp_traverse``-funktioner av heap-"
2225-
"allokerade typer besöker objektets typ."
2219+
"Instanser av :ref:`heap-allocated types <heap-types>` (såsom de som skapats "
2220+
"med :c:func:`PyType_FromSpec` och liknande API:er) innehåller en referens "
2221+
"till sitt typobjekt sedan Python 3.8. Som anges i Ӏndringar i C API i "
2222+
"Python 3.8 bör det i de allra flesta fall inte finnas några bieffekter, men "
2223+
"för typer som har en anpassad :c:member:`~PyTypeObject.tp_traverse`\\ -"
2224+
"funktion måste du se till att alla anpassade ``tp_traverse``\\ -funktioner "
2225+
"för heap-allokerade typer besöker objektets typ."
22262226

22272227
msgid ""
22282228
"int\n"
@@ -2238,9 +2238,9 @@ msgstr ""
22382238
"int\n"
22392239
"foo_traverse(PyObject *self, visitproc visit, void *arg)\n"
22402240
"{\n"
2241-
"// Resten av traverseringsfunktionen\n"
2241+
"// Rest of the traverse function\n"
22422242
"#if PY_VERSION_HEX >= 0x03090000\n"
2243-
" // Detta behövdes inte före Python 3.9 (Python issue 35810 och 40217)\n"
2243+
" // This was not needed before Python 3.9 (Python issue 35810 and 40217)\n"
22442244
" Py_VISIT(Py_TYPE(self));\n"
22452245
"#endif\n"
22462246
"}"
@@ -2276,9 +2276,9 @@ msgid ""
22762276
"#else"
22772277
msgstr ""
22782278
"#if PY_VERSION_HEX >= 0x03090000\n"
2279-
" // Detta behövdes inte före Python 3.9 (bpo-35810 och bpo-40217)\n"
2280-
" if (bas->tp_flags & Py_TPFLAGS_HEAPTYPE) {\n"
2281-
" // en heap-typs tp_traverse har redan besökt Py_TYPE(self)\n"
2279+
" // This was not needed before Python 3.9 (bpo-35810 and bpo-40217)\n"
2280+
" if (base->tp_flags & Py_TPFLAGS_HEAPTYPE) {\n"
2281+
" // a heap type's tp_traverse already visited Py_TYPE(self)\n"
22822282
" } else {\n"
22832283
" Py_VISIT(Py_TYPE(self));\n"
22842284
" }\n"

0 commit comments

Comments
 (0)