Skip to content

Commit 4e487c1

Browse files
author
GitHub Action's update-translation job
committed
Update translation from Transifex
1 parent 155ffb1 commit 4e487c1

File tree

16 files changed

+68
-69
lines changed

16 files changed

+68
-69
lines changed

c-api/allocation.po

Lines changed: 2 additions & 2 deletions
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-08-21 14:19+0000\n"
15+
"POT-Creation-Date: 2025-08-23 14:15+0000\n"
1616
"PO-Revision-Date: 2025-08-02 17:33+0000\n"
1717
"Last-Translator: Daniel Nylander <po@danielnylander.se>, 2025\n"
1818
"Language-Team: Swedish (https://app.transifex.com/python-doc/teams/5390/"
@@ -219,7 +219,7 @@ msgid ""
219219
"object."
220220
msgstr ""
221221
"Objekt som är synligt i Python som ``None``. Detta bör endast nås med hjälp "
222-
"av :c:macro:`Py_None`-makrot, som utvärderas till en pekare till detta "
222+
"av :c:macro:`Py_None`\\-makrot, som utvärderas till en pekare till detta "
223223
"objekt."
224224

225225
msgid ":ref:`moduleobjects`"

c-api/arg.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1083,17 +1083,17 @@ msgid ""
10831083
" return result;\n"
10841084
"}"
10851085
msgstr ""
1086-
"statiskt PyObject *\n"
1086+
"static PyObject *\n"
10871087
"weakref_ref(PyObject *self, PyObject *args)\n"
10881088
"{\n"
10891089
" PyObject *object;\n"
10901090
" PyObject *callback = NULL;\n"
1091-
" PyObject *resultat = NULL;\n"
1091+
" PyObject *result = NULL;\n"
10921092
"\n"
10931093
" if (PyArg_UnpackTuple(args, \"ref\", 1, 2, &object, &callback)) {\n"
1094-
" resultat = PyWeakref_NewRef(objekt, återuppringning);\n"
1094+
" result = PyWeakref_NewRef(object, callback);\n"
10951095
" }\n"
1096-
" return resultat;\n"
1096+
" return result;\n"
10971097
"}"
10981098

10991099
msgid ""

c-api/buffer.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -933,4 +933,4 @@ msgid "C-contiguous"
933933
msgstr "C-slutande"
934934

935935
msgid "Fortran contiguous"
936-
msgstr "Fortran sammanhängande"
936+
msgstr "Fortran contiguous"

c-api/exceptions.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -693,12 +693,12 @@ msgid ""
693693
"}"
694694
msgstr ""
695695
"{\n"
696-
" PyObject *typ, *värde, *traceback;\n"
697-
" PyErr_Fetch(&typ, &value, &traceback);\n"
696+
" PyObject *type, *value, *traceback;\n"
697+
" PyErr_Fetch(&type, &value, &traceback);\n"
698698
"\n"
699-
" /* ... kod som kan ge upphov till andra fel ... */\n"
699+
" /* ... code that might produce other errors ... */\n"
700700
"\n"
701-
" PyErr_Restore(typ, värde, återgång);\n"
701+
" PyErr_Restore(type, value, traceback);\n"
702702
"}"
703703

704704
msgid "Use :c:func:`PyErr_SetRaisedException` instead."

c-api/memoryview.po

Lines changed: 2 additions & 2 deletions
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-08-11 14:20+0000\n"
15+
"POT-Creation-Date: 2025-08-23 14:15+0000\n"
1616
"PO-Revision-Date: 2025-08-02 17:33+0000\n"
1717
"Last-Translator: Daniel Nylander <po@danielnylander.se>, 2025\n"
1818
"Language-Team: Swedish (https://app.transifex.com/python-doc/teams/5390/"
@@ -75,7 +75,7 @@ msgid ""
7575
"original memory. Otherwise, a copy is made and the memoryview points to a "
7676
"new bytes object."
7777
msgstr ""
78-
"Skapa ett memoryview-objekt till en :term:`sammanhängande` bit av minnet (i "
78+
"Skapa ett memoryview-objekt till en :term:`contiguous` bit av minnet (i "
7979
"antingen 'C'- eller 'F'-ortran *order*) från ett objekt som definierar "
8080
"buffertgränssnittet. Om minnet är sammanhängande pekar memoryview-objektet "
8181
"på originalminnet. Annars görs en kopia och memoryview pekar på ett nytt "

c-api/module.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ msgstr ""
255255
"Om ``m_size`` sätts till ``-1`` innebär det att modulen inte stöder "
256256
"undertolkare, eftersom den har ett globalt tillstånd. Negativa ``m_size`` är "
257257
"endast tillåtet när man använder :ref:`legacy single-phase initialization "
258-
"<single-phase-initialization>`` eller när man :ref:`creating modules "
258+
"<single-phase-initialization>` eller när man :ref:`creating modules "
259259
"dynamically <moduledef-dynamic>`."
260260

261261
msgid "See :PEP:`3121` for more details."
@@ -871,9 +871,9 @@ msgid ""
871871
"that case they should call this function directly."
872872
msgstr ""
873873
"Denna funktion anropas automatiskt när en modul skapas från ``PyModuleDef`` "
874-
"(t.ex. när :ref:`multi-phase-initialization``, ``PyModule_Create`` eller "
874+
"(t.ex. när :ref:`multi-phase-initialization`, ``PyModule_Create`` eller "
875875
"``PyModule_FromDefAndSpec`` används). Vissa modulförfattare kanske föredrar "
876-
"att definiera funktioner i flera :c:type:`PyMethodDef`-arrayer; i så fall "
876+
"att definiera funktioner i flera :c:type:`PyMethodDef`\\-arrayer; i så fall "
877877
"bör de anropa denna funktion direkt."
878878

879879
msgid ""

extending/extending.po

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -702,7 +702,7 @@ msgid ""
702702
"return Py_None;"
703703
msgstr ""
704704
"Py_INCREF(Py_None);\n"
705-
"returnera Py_None;"
705+
"return Py_None;"
706706

707707
msgid ""
708708
":c:data:`Py_None` is the C name for the special Python object ``None``. It "
@@ -1110,29 +1110,28 @@ msgid ""
11101110
" return result;\n"
11111111
"}"
11121112
msgstr ""
1113-
"statiskt PyObject *my_callback = NULL;\n"
1113+
"static PyObject *my_callback = NULL;\n"
11141114
"\n"
1115-
"statiskt PyObject *\n"
1115+
"static PyObject *\n"
11161116
"my_set_callback(PyObject *dummy, PyObject *args)\n"
11171117
"{\n"
1118-
" PyObject *resultat = NULL;\n"
1118+
" PyObject *result = NULL;\n"
11191119
" PyObject *temp;\n"
11201120
"\n"
11211121
" if (PyArg_ParseTuple(args, \"O:set_callback\", &temp)) {\n"
11221122
" if (!PyCallable_Check(temp)) {\n"
1123-
" PyErr_SetString(PyExc_TypeError, \"parametern måste vara "
1124-
"anropsbar\");\n"
1125-
" returnera NULL;\n"
1123+
" PyErr_SetString(PyExc_TypeError, \"parameter must be "
1124+
"callable\");\n"
1125+
" return NULL;\n"
11261126
" }\n"
1127-
" Py_XINCREF(temp); /* Lägg till en referens till den nya "
1128-
"återuppringningen */\n"
1129-
" Py_XDECREF(my_callback); /* Avyttra föregående anrop */\n"
1130-
" my_callback = temp; /* Kom ihåg det nya anropet */\n"
1131-
" /* Boilerplate för att returnera \"None\" */\n"
1127+
" Py_XINCREF(temp); /* Add a reference to new callback */\n"
1128+
" Py_XDECREF(my_callback); /* Dispose of previous callback */\n"
1129+
" my_callback = temp; /* Remember new callback */\n"
1130+
" /* Boilerplate to return \"None\" */\n"
11321131
" Py_INCREF(Py_None);\n"
1133-
" resultat = Py_None;\n"
1132+
" result = Py_None;\n"
11341133
" }\n"
1135-
" returnera resultat;\n"
1134+
" return result;\n"
11361135
"}"
11371136

11381137
msgid ""

extending/newtypes.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -421,16 +421,16 @@ msgid ""
421421
" Py_TYPE(self)->tp_free(self);\n"
422422
"}"
423423
msgstr ""
424-
"statiskt void\n"
424+
"static void\n"
425425
"my_dealloc(PyObject *obj)\n"
426426
"{\n"
427427
" MyObject *self = (MyObject *) obj;\n"
428-
" PyObject *cbresultat;\n"
428+
" PyObject *cbresult;\n"
429429
"\n"
430430
" if (self->my_callback != NULL) {\n"
431431
" PyObject *err_type, *err_value, *err_traceback;\n"
432432
"\n"
433-
" /* Detta sparar det aktuella undantagstillståndet */\n"
433+
" /* This saves the current exception state */\n"
434434
" PyErr_Fetch(&err_type, &err_value, &err_traceback);\n"
435435
"\n"
436436
" cbresult = PyObject_CallNoArgs(self->my_callback);\n"
@@ -441,7 +441,7 @@ msgstr ""
441441
" Py_DECREF(cbresult);\n"
442442
" }\n"
443443
"\n"
444-
" /* Detta återställer det sparade undantagstillståndet */\n"
444+
" /* This restores the saved exception state */\n"
445445
" PyErr_Restore(err_type, err_value, err_traceback);\n"
446446
"\n"
447447
" Py_DECREF(self->my_callback);\n"

faq/windows.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ msgid ""
435435
msgstr ""
436436
"Py_INCREF(Py_None);\n"
437437
"_resultobj = Py_None;\n"
438-
"returnera _resultobj;"
438+
"return _resultobj;"
439439

440440
msgid ""
441441
"Alas, Py_None is a macro that expands to a reference to a complex data "

glossary.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3196,7 +3196,7 @@ msgid "C-contiguous"
31963196
msgstr "C-slutande"
31973197

31983198
msgid "Fortran contiguous"
3199-
msgstr "Fortran sammanhängande"
3199+
msgstr "Fortran contiguous"
32003200

32013201
msgid "magic"
32023202
msgstr "magi"

0 commit comments

Comments
 (0)