Skip to content

Commit 7cef222

Browse files
author
GitHub Action's update-translation job
committed
Update translation from Transifex
1 parent 4ff90a7 commit 7cef222

8 files changed

Lines changed: 219 additions & 222 deletions

File tree

c-api/arg.po

Lines changed: 5 additions & 5 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-09 14:17+0000\n"
15+
"POT-Creation-Date: 2025-08-17 14:16+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/"
@@ -1326,11 +1326,11 @@ msgid ""
13261326
"automatically. You can convert another type (for example, a pointer or a "
13271327
"float) to a suitable ``int`` value using ``(x) ? 1 : 0`` or ``!!x``."
13281328
msgstr ""
1329-
"Tänk på att detta format kräver ett ``int``-argument. Till skillnad från de "
1330-
"flesta andra sammanhang i C, tvingas inte variadiska argument automatiskt "
1329+
"Observera att detta format kräver ett ``int`` argument. Till skillnad från "
1330+
"de flesta andra sammanhang i C omvandlas variabla argument inte automatiskt "
13311331
"till en lämplig typ. Du kan konvertera en annan typ (till exempel en pekare "
1332-
"eller en float) till ett lämpligt ``int``-värde med hjälp av ``(x) ? 1 : 0`` "
1333-
"eller ``!!x``."
1332+
"eller ett flyttal) till ett lämpligt ``int`` värde med hjälp av ``(x) ? 1 : "
1333+
"0`` eller ``!!x``."
13341334

13351335
msgid "``c`` (:class:`bytes` of length 1) [char]"
13361336
msgstr "``c`` (:class:`bytes` av längd 1) [char]"

c-api/init_config.po

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,16 @@
55
#
66
# Translators:
77
# python-doc bot, 2025
8+
# Daniel Nylander <po@danielnylander.se>, 2025
89
#
910
#, fuzzy
1011
msgid ""
1112
msgstr ""
1213
"Project-Id-Version: Python 3.14\n"
1314
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-08-07 20:38+0000\n"
15+
"POT-Creation-Date: 2025-08-17 14:16+0000\n"
1516
"PO-Revision-Date: 2025-08-02 17:33+0000\n"
16-
"Last-Translator: python-doc bot, 2025\n"
17+
"Last-Translator: Daniel Nylander <po@danielnylander.se>, 2025\n"
1718
"Language-Team: Swedish (https://app.transifex.com/python-doc/teams/5390/"
1819
"sv/)\n"
1920
"MIME-Version: 1.0\n"
@@ -2994,56 +2995,56 @@ msgid ""
29942995
" return status;\n"
29952996
"}"
29962997
msgstr ""
2997-
"PyStatus init_python(const char *programnamn)\n"
2998+
"PyStatus init_python(const char *program_name)\n"
29982999
"{\n"
29993000
" PyStatus status;\n"
30003001
"\n"
30013002
" PyConfig config;\n"
30023003
" PyConfig_InitPythonConfig(&config);\n"
30033004
"\n"
3004-
" /* Ställ in programnamnet innan du läser konfigurationen\n"
3005-
" (avkoda byte-strängen från den lokala kodningen).\n"
3005+
" /* Set the program name before reading the configuration\n"
3006+
" (decode byte string from the locale encoding).\n"
30063007
"\n"
3007-
" Förinitialiserar Python implicit. */\n"
3008+
" Implicitly preinitialize Python. */\n"
30083009
" status = PyConfig_SetBytesString(&config, &config.program_name,\n"
3009-
" program_namn);\n"
3010+
" program_name);\n"
30103011
" if (PyStatus_Exception(status)) {\n"
30113012
" goto done;\n"
30123013
" }\n"
30133014
"\n"
3014-
" /* Läs all konfiguration på en gång */\n"
3015+
" /* Read all configuration at once */\n"
30153016
" status = PyConfig_Read(&config);\n"
30163017
" if (PyStatus_Exception(status)) {\n"
30173018
" goto done;\n"
30183019
" }\n"
30193020
"\n"
3020-
" /* Ange sys.path uttryckligen */\n"
3021-
" /* Om du vill ändra standarduppsättningen av sökvägar, avsluta\n"
3022-
" initialiseringen först och använd sedan PySys_GetObject(\"path\") */\n"
3021+
" /* Specify sys.path explicitly */\n"
3022+
" /* If you want to modify the default set of paths, finish\n"
3023+
" initialization first and then use PySys_GetObject(\"path\") */\n"
30233024
" config.module_search_paths_set = 1;\n"
30243025
" status = PyWideStringList_Append(&config.module_search_paths,\n"
30253026
" L\"/path/to/stdlib\");\n"
30263027
" if (PyStatus_Exception(status)) {\n"
30273028
" goto done;\n"
30283029
" }\n"
30293030
" status = PyWideStringList_Append(&config.module_search_paths,\n"
3030-
" L\"/väg/till/mera/moduler\");\n"
3031+
" L\"/path/to/more/modules\");\n"
30313032
" if (PyStatus_Exception(status)) {\n"
30323033
" goto done;\n"
30333034
" }\n"
30343035
"\n"
3035-
" /* Åsidosätt den körbara filen som beräknas av PyConfig_Read() */\n"
3036-
" status = PyConfig_SetString(&config, &config.körbar,\n"
3037-
" L\"/stig/till/mitt_körbara\");\n"
3036+
" /* Override executable computed by PyConfig_Read() */\n"
3037+
" status = PyConfig_SetString(&config, &config.executable,\n"
3038+
" L\"/path/to/my_executable\");\n"
30383039
" if (PyStatus_Exception(status)) {\n"
30393040
" goto done;\n"
30403041
" }\n"
30413042
"\n"
30423043
" status = Py_InitializeFromConfig(&config);\n"
30433044
"\n"
3044-
"gjort:\n"
3045+
"done:\n"
30453046
" PyConfig_Clear(&config);\n"
3046-
" returnera status;\n"
3047+
" return status;\n"
30473048
"}"
30483049

30493050
msgid "Isolated Configuration"

faq/programming.po

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1447,30 +1447,30 @@ msgid ""
14471447
"# | |_________________ range on y axis\n"
14481448
"# |____________________________ range on x axis"
14491449
msgstr ""
1450-
"från functools import reduce\n"
1450+
"from functools import reduce\n"
14511451
"\n"
1452-
"# Primtal < 1000\n"
1452+
"# Primes < 1000\n"
14531453
"print(list(filter(None,map(lambda y:y*reduce(lambda x,y:x*y!=0,\n"
14541454
"map(lambda x,y=y:y%x,range(2,int(pow(y,0.5)+1))),1),range(2,1000)))))\n"
14551455
"\n"
1456-
"# De första 10 Fibonacci-numren\n"
1456+
"# First 10 Fibonacci numbers\n"
14571457
"print(list(map(lambda x,f=lambda x,f:(f(x-1,f)+f(x-2,f)) if x>1 else 1:\n"
1458-
"f(x,f), intervall(10))))\n"
1458+
"f(x,f), range(10))))\n"
14591459
"\n"
1460-
"# Mandelbrotuppsättningen\n"
1460+
"# Mandelbrot set\n"
14611461
"print((lambda Ru,Ro,Iu,Io,IM,Sx,Sy:reduce(lambda x,y:x+'\\n'+y,map(lambda "
14621462
"y,\n"
14631463
"Iu=Iu,Io=Io,Ru=Ru,Ro=Ro,Sy=Sy,L=lambda yc,Iu=Iu,Io=Io,Ru=Ru,Ro=Ro,i=IM,\n"
14641464
"Sx=Sx,Sy=Sy:reduce(lambda x,y:x+y,map(lambda x,xc=Ru,yc=yc,Ru=Ru,Ro=Ro,\n"
1465-
"i=i,Sx=Sx,F=lambda xc,yc,x,y,k,f=lambda xc,yc,x,y,k,f:(k<=0)eller (x*x+y*y\n"
1466-
">=4.0) eller 1+f(xc,yc,x*x-y*y+xc,2.0*x*y+yc,k-1,f):f(xc,yc,x,y,k,f):chr(\n"
1465+
"i=i,Sx=Sx,F=lambda xc,yc,x,y,k,f=lambda xc,yc,x,y,k,f:(k<=0)or (x*x+y*y\n"
1466+
">=4.0) or 1+f(xc,yc,x*x-y*y+xc,2.0*x*y+yc,k-1,f):f(xc,yc,x,y,k,f):chr(\n"
14671467
"64+F(Ru+x*(Ro-Ru)/Sx,yc,0,0,i)),range(Sx))):L(Iu+y*(Io-Iu)/Sy),range(Sy\n"
14681468
"))))(-2.1, 0.7, -1.2, 1.2, 30, 80, 24))\n"
1469-
"# \\___ ___/ \\___ ___/ | | |__ rader på skärmen\n"
1470-
"# V V | |______ kolumner på skärmen\n"
1471-
"# | | |__________ maximalt antal \"iterationer\"\n"
1472-
"# | |_________________ intervall på y-axeln\n"
1473-
"# |____________________________ intervall på x-axeln"
1469+
"# \\___ ___/ \\___ ___/ | | |__ lines on screen\n"
1470+
"# V V | |______ columns on screen\n"
1471+
"# | | |__________ maximum of \"iterations\"\n"
1472+
"# | |_________________ range on y axis\n"
1473+
"# |____________________________ range on x axis"
14741474

14751475
msgid "Don't try this at home, kids!"
14761476
msgstr "Prova inte det här hemma, barn!"
@@ -2904,12 +2904,12 @@ msgid ""
29042904
"\n"
29052905
"Mapping.register(P)"
29062906
msgstr ""
2907-
"från collections.abc import Mapping\n"
2907+
"from collections.abc import Mapping\n"
29082908
"\n"
2909-
"klass P:\n"
2909+
"class P:\n"
29102910
" pass\n"
29112911
"\n"
2912-
"klass C(P):\n"
2912+
"class C(P):\n"
29132913
" pass\n"
29142914
"\n"
29152915
"Mapping.register(P)"
@@ -4106,7 +4106,7 @@ msgid ""
41064106
"from bar import bar_var\n"
41074107
"foo_var = 1"
41084108
msgstr ""
4109-
"från bar import bar_var\n"
4109+
"from bar import bar_var\n"
41104110
"foo_var = 1"
41114111

41124112
msgid ":file:`bar.py`::"
@@ -4116,7 +4116,7 @@ msgid ""
41164116
"from foo import foo_var\n"
41174117
"bar_var = 2"
41184118
msgstr ""
4119-
"från foo import foo_var\n"
4119+
"from foo import foo_var\n"
41204120
"bar_var = 2"
41214121

41224122
msgid "The problem is that the interpreter will perform the following steps:"

glossary.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2695,7 +2695,7 @@ msgstr ""
26952695
"index`, :meth:`~object.__contains__` och :meth:`~object.__reversed__`. Typer "
26962696
"som implementerar detta utökade gränssnitt kan registreras explicit med :"
26972697
"func:`~abc.ABCMeta.register`. För mer dokumentation om sekvensmetoder i "
2698-
"allmänhet, se :ref:``Common Sequence Operations <typesseq-common>``."
2698+
"allmänhet, se :ref:`Common Sequence Operations <typesseq-common>`."
26992699

27002700
msgid "set comprehension"
27012701
msgstr "inställd förståelse"

library/collections.abc.po

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -738,27 +738,27 @@ msgid ""
738738
"automatically"
739739
msgstr ""
740740
"class ListBasedSet(collections.abc.Set):\n"
741-
" ''' Alternativ set-implementering som prioriterar utrymme framför "
742-
"hastighet\n"
743-
" och som inte kräver att set-elementen ska vara hashbara. '''\n"
741+
" ''' Alternate set implementation favoring space over speed\n"
742+
" and not requiring the set elements to be hashable. '''\n"
744743
" def __init__(self, iterable):\n"
745744
" self.elements = lst = []\n"
746-
" för värde i iterable:\n"
747-
" om värdet inte finns i lst:\n"
748-
" lst.append(värde)\n"
745+
" for value in iterable:\n"
746+
" if value not in lst:\n"
747+
" lst.append(value)\n"
749748
"\n"
750749
" def __iter__(self):\n"
751750
" return iter(self.elements)\n"
752751
"\n"
753-
" def __contains__(self, värde):\n"
754-
" return värde i self.elements\n"
752+
" def __contains__(self, value):\n"
753+
" return value in self.elements\n"
755754
"\n"
756755
" def __len__(self):\n"
757756
" return len(self.elements)\n"
758757
"\n"
759758
"s1 = ListBasedSet('abcdef')\n"
760759
"s2 = ListBasedSet('defghi')\n"
761-
"overlap = s1 & s2 # Metoden __and__() stöds automatiskt"
760+
"overlap = s1 & s2 # The __and__() method is supported "
761+
"automatically"
762762

763763
msgid "Notes on using :class:`Set` and :class:`MutableSet` as a mixin:"
764764
msgstr ""

library/stdtypes.po

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1908,8 +1908,8 @@ msgid ""
19081908
"easier to correctly implement these operations on custom sequence types."
19091909
msgstr ""
19101910
"Operationerna i följande tabell är definierade för mutabla sekvenstyper. "
1911-
"Klassen :`collections.abc.MutableSequence` ABC tillhandahålls för att göra "
1912-
"det enklare att korrekt implementera dessa operationer på anpassade "
1911+
"Klassen :class:`collections.abc.MutableSequence` ABC tillhandahålls för att "
1912+
"göra det enklare att korrekt implementera dessa operationer på anpassade "
19131913
"sekvenstyper."
19141914

19151915
msgid ""
@@ -8479,28 +8479,28 @@ msgid ":class:`collections.ChainMap`"
84798479
msgstr ":class:`samlingar.ChainMap`"
84808480

84818481
msgid ":class:`collections.abc.Awaitable`"
8482-
msgstr ":class:`samlingar.abc.Awaitable`"
8482+
msgstr ":class:`collections.abc.Awaitable`"
84838483

84848484
msgid ":class:`collections.abc.Coroutine`"
8485-
msgstr ":class:`samlingar.abc.Coroutine`"
8485+
msgstr ":class:`collections.abc.Coroutine`"
84868486

84878487
msgid ":class:`collections.abc.AsyncIterable`"
8488-
msgstr ":class:`samlingar.abc.AsyncIterable`"
8488+
msgstr ":class:`collections.abc.AsyncIterable`"
84898489

84908490
msgid ":class:`collections.abc.AsyncIterator`"
8491-
msgstr ":class:`samlingar.abc.AsyncIterator`"
8491+
msgstr ":class:`collections.abc.AsyncIterator`"
84928492

84938493
msgid ":class:`collections.abc.AsyncGenerator`"
84948494
msgstr ":class:`collections.abc.AsyncGenerator`"
84958495

84968496
msgid ":class:`collections.abc.Iterable`"
8497-
msgstr ":class:`samlingar.abc.Iterable`"
8497+
msgstr ":class:`collections.abc.Iterable`"
84988498

84998499
msgid ":class:`collections.abc.Iterator`"
8500-
msgstr ":class:`samlingar.abc.Iterator`"
8500+
msgstr ":class:`collections.abc.Iterator`"
85018501

85028502
msgid ":class:`collections.abc.Generator`"
8503-
msgstr ":class:`samlingar.abc.Generator`"
8503+
msgstr ":class:`collections.abc.Generator`"
85048504

85058505
msgid ":class:`collections.abc.Reversible`"
85068506
msgstr ":class:`collections.abc.Reversible`"
@@ -8512,7 +8512,7 @@ msgid ":class:`collections.abc.Collection`"
85128512
msgstr ":class:`collections.abc.Collection`"
85138513

85148514
msgid ":class:`collections.abc.Callable`"
8515-
msgstr ":class:`samlingar.abc.Callable`"
8515+
msgstr ":class:`collections.abc.Callable`"
85168516

85178517
msgid ":class:`collections.abc.Set`"
85188518
msgstr ":class:`collections.abc.Set`"
@@ -8524,25 +8524,25 @@ msgid ":class:`collections.abc.Mapping`"
85248524
msgstr ":class:`collections.abc.Mapping`"
85258525

85268526
msgid ":class:`collections.abc.MutableMapping`"
8527-
msgstr ":class:`samlingar.abc.MutableMapping`"
8527+
msgstr ":class:`collections.abc.MutableMapping`"
85288528

85298529
msgid ":class:`collections.abc.Sequence`"
85308530
msgstr ":class:`collections.abc.Sequence`"
85318531

85328532
msgid ":class:`collections.abc.MutableSequence`"
8533-
msgstr ":class:`samlingar.abc.MutableSequence`"
8533+
msgstr ":class:`collections.abc.MutableSequence`"
85348534

85358535
msgid ":class:`collections.abc.MappingView`"
8536-
msgstr ":class:`samlingar.abc.MappingView`"
8536+
msgstr ":class:`collections.abc.MappingView`"
85378537

85388538
msgid ":class:`collections.abc.KeysView`"
8539-
msgstr ":class:`samlingar.abc.KeysView`"
8539+
msgstr ":class:`collections.abc.KeysView`"
85408540

85418541
msgid ":class:`collections.abc.ItemsView`"
85428542
msgstr ":class:`collections.abc.ItemsView`"
85438543

85448544
msgid ":class:`collections.abc.ValuesView`"
8545-
msgstr ":class:`kollektioner.abc.ValuesView`"
8545+
msgstr ":class:`collections.abc.ValuesView`"
85468546

85478547
msgid ":class:`contextlib.AbstractContextManager`"
85488548
msgstr ":class:`contextlib.AbstractContextManager`"

0 commit comments

Comments
 (0)