Skip to content

Commit 1019c8e

Browse files
author
GitHub Action's update-translation job
committed
Update translation from Transifex
1 parent f4fc8e0 commit 1019c8e

29 files changed

+138
-139
lines changed

c-api/conversion.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: 2026-03-03 14:40+0000\n"
14+
"POT-Creation-Date: 2026-03-23 14:50+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/"

howto/enum.po

Lines changed: 4 additions & 94 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: 2026-03-23 14:50+0000\n"
14+
"POT-Creation-Date: 2026-03-25 14:54+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/"
@@ -1254,102 +1254,12 @@ msgstr ""
12541254
msgid "Finer Points"
12551255
msgstr ""
12561256

1257-
msgid "Supported ``__dunder__`` names"
1257+
msgid "Supported ``__dunder__`` and ``_sunder_`` names"
12581258
msgstr ""
12591259

12601260
msgid ""
1261-
":attr:`~enum.EnumType.__members__` is a read-only ordered mapping of "
1262-
"``member_name``:``member`` items. It is only available on the class."
1263-
msgstr ""
1264-
1265-
msgid ""
1266-
":meth:`~object.__new__`, if specified, must create and return the enum "
1267-
"members; it is also a very good idea to set the member's :attr:`~Enum."
1268-
"_value_` appropriately. Once all the members are created it is no longer "
1269-
"used."
1270-
msgstr ""
1271-
1272-
msgid "Supported ``_sunder_`` names"
1273-
msgstr ""
1274-
1275-
msgid ":attr:`~Enum._name_` -- name of the member"
1276-
msgstr ""
1277-
1278-
msgid ":attr:`~Enum._value_` -- value of the member; can be set in ``__new__``"
1279-
msgstr ""
1280-
1281-
msgid ""
1282-
":meth:`~Enum._missing_` -- a lookup function used when a value is not found; "
1283-
"may be overridden"
1284-
msgstr ""
1285-
1286-
msgid ""
1287-
":attr:`~Enum._ignore_` -- a list of names, either as a :class:`list` or a :"
1288-
"class:`str`, that will not be transformed into members, and will be removed "
1289-
"from the final class"
1290-
msgstr ""
1291-
1292-
msgid ""
1293-
":meth:`~Enum._generate_next_value_` -- used to get an appropriate value for "
1294-
"an enum member; may be overridden"
1295-
msgstr ""
1296-
1297-
msgid ""
1298-
":meth:`~Enum._add_alias_` -- adds a new name as an alias to an existing "
1299-
"member."
1300-
msgstr ""
1301-
1302-
msgid ""
1303-
":meth:`~Enum._add_value_alias_` -- adds a new value as an alias to an "
1304-
"existing member. See `MultiValueEnum`_ for an example."
1305-
msgstr ""
1306-
1307-
msgid ""
1308-
"For standard :class:`Enum` classes the next value chosen is the highest "
1309-
"value seen incremented by one."
1310-
msgstr ""
1311-
1312-
msgid ""
1313-
"For :class:`Flag` classes the next value chosen will be the next highest "
1314-
"power-of-two."
1315-
msgstr ""
1316-
1317-
msgid ""
1318-
"Prior versions would use the last seen value instead of the highest value."
1319-
msgstr ""
1320-
1321-
msgid "``_missing_``, ``_order_``, ``_generate_next_value_``"
1322-
msgstr ""
1323-
1324-
msgid "``_ignore_``"
1325-
msgstr ""
1326-
1327-
msgid "``_add_alias_``, ``_add_value_alias_``"
1328-
msgstr ""
1329-
1330-
msgid ""
1331-
"To help keep Python 2 / Python 3 code in sync an :attr:`~Enum._order_` "
1332-
"attribute can be provided. It will be checked against the actual order of "
1333-
"the enumeration and raise an error if the two do not match::"
1334-
msgstr ""
1335-
1336-
msgid ""
1337-
">>> class Color(Enum):\n"
1338-
"... _order_ = 'RED GREEN BLUE'\n"
1339-
"... RED = 1\n"
1340-
"... BLUE = 3\n"
1341-
"... GREEN = 2\n"
1342-
"...\n"
1343-
"Traceback (most recent call last):\n"
1344-
"...\n"
1345-
"TypeError: member order does not match _order_:\n"
1346-
" ['RED', 'BLUE', 'GREEN']\n"
1347-
" ['RED', 'GREEN', 'BLUE']"
1348-
msgstr ""
1349-
1350-
msgid ""
1351-
"In Python 2 code the :attr:`~Enum._order_` attribute is necessary as "
1352-
"definition order is lost before it can be recorded."
1261+
"The supported ``__dunder__`` and ``_sunder_`` names can be found in the :ref:"
1262+
"`Enum API documentation <enum-dunder-sunder>`."
13531263
msgstr ""
13541264

13551265
msgid "_Private__names"

howto/remote_debugging.po

Lines changed: 1 addition & 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: 2026-03-03 14:40+0000\n"
15+
"POT-Creation-Date: 2026-03-23 14:50+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/"

library/ast.po

Lines changed: 9 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: 2026-03-19 14:42+0000\n"
14+
"POT-Creation-Date: 2026-03-25 14:54+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/"
@@ -335,6 +335,14 @@ msgid ""
335335
"represented as tuples."
336336
msgstr ""
337337

338+
msgid ""
339+
"AST node constructors were changed to provide sensible defaults for omitted "
340+
"fields: optional fields now default to ``None``, list fields default to an "
341+
"empty list, and fields of type :class:`!ast.expr_context` default to :class:"
342+
"`Load() <ast.Load>`. Previously, omitted attributes would not exist on "
343+
"constructed nodes (accessing them raised :exc:`AttributeError`)."
344+
msgstr ""
345+
338346
msgid ""
339347
"The :meth:`~object.__repr__` output of :class:`~ast.AST` nodes includes the "
340348
"values of the node fields."

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: 2026-03-03 14:40+0000\n"
14+
"POT-Creation-Date: 2026-03-23 14:50+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/contextlib.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: 2026-03-03 14:40+0000\n"
14+
"POT-Creation-Date: 2026-03-23 14:50+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/email.encoders.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: 2026-03-03 14:40+0000\n"
14+
"POT-Creation-Date: 2026-03-23 14:50+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/email.policy.po

Lines changed: 1 addition & 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: 2026-03-03 14:40+0000\n"
15+
"POT-Creation-Date: 2026-03-23 14:50+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/"

library/enum.po

Lines changed: 50 additions & 14 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: 2026-03-23 14:50+0000\n"
14+
"POT-Creation-Date: 2026-03-25 14:54+0000\n"
1515
"PO-Revision-Date: 2025-09-16 00:01+0000\n"
1616
"Last-Translator: python-doc bot, 2026\n"
1717
"Language-Team: Swedish (https://app.transifex.com/python-doc/teams/5390/"
@@ -454,6 +454,31 @@ msgid ""
454454
"during class creation)."
455455
msgstr ""
456456

457+
msgid ""
458+
"The :attr:`~Enum._order_` attribute can be provided to help keep Python 2 / "
459+
"Python 3 code in sync. It will be checked against the actual order of the "
460+
"enumeration and raise an error if the two do not match::"
461+
msgstr ""
462+
463+
msgid ""
464+
">>> class Color(Enum):\n"
465+
"... _order_ = 'RED GREEN BLUE'\n"
466+
"... RED = 1\n"
467+
"... BLUE = 3\n"
468+
"... GREEN = 2\n"
469+
"...\n"
470+
"Traceback (most recent call last):\n"
471+
"...\n"
472+
"TypeError: member order does not match _order_:\n"
473+
" ['RED', 'BLUE', 'GREEN']\n"
474+
" ['RED', 'GREEN', 'BLUE']"
475+
msgstr ""
476+
477+
msgid ""
478+
"In Python 2 code the :attr:`~Enum._order_` attribute is necessary as "
479+
"definition order is lost before it can be recorded."
480+
msgstr ""
481+
457482
msgid ""
458483
"``_ignore_`` is only used during creation and is removed from the "
459484
"enumeration once creation is complete."
@@ -513,7 +538,20 @@ msgstr ""
513538

514539
msgid ""
515540
"A *staticmethod* that is used to determine the next value returned by :class:"
516-
"`auto`::"
541+
"`auto`."
542+
msgstr ""
543+
544+
msgid ""
545+
"For standard :class:`Enum` classes the next value chosen is the highest "
546+
"value seen incremented by one."
547+
msgstr ""
548+
549+
msgid ""
550+
"For :class:`Flag` classes the next value chosen will be the next highest "
551+
"power-of-two."
552+
msgstr ""
553+
554+
msgid "This method may be overridden, e.g.::"
517555
msgstr ""
518556

519557
msgid ""
@@ -529,6 +567,10 @@ msgid ""
529567
"9"
530568
msgstr ""
531569

570+
msgid ""
571+
"Prior versions would use the last seen value instead of the highest value."
572+
msgstr ""
573+
532574
msgid ""
533575
"By default, does nothing. If multiple values are given in the member "
534576
"assignment, those values become separate arguments to ``__init__``; e.g."
@@ -677,6 +719,9 @@ msgid ""
677719
"member."
678720
msgstr ""
679721

722+
msgid "See :ref:`multi-value-enum` for an example."
723+
msgstr ""
724+
680725
msgid ""
681726
"*IntEnum* is the same as :class:`Enum`, but its members are also integers "
682727
"and can be used anywhere that an integer can be used. If any integer "
@@ -1055,8 +1100,9 @@ msgstr ""
10551100

10561101
msgid ""
10571102
":meth:`~Enum.__new__`, if specified, must create and return the enum "
1058-
"members; it is also a very good idea to set the member's :attr:`!_value_` "
1059-
"appropriately. Once all the members are created it is no longer used."
1103+
"members; it is also a very good idea to set the member's :attr:`~Enum."
1104+
"_value_` appropriately. Once all the members are created it is no longer "
1105+
"used."
10601106
msgstr ""
10611107

10621108
msgid "Supported ``_sunder_`` names"
@@ -1089,16 +1135,6 @@ msgid ""
10891135
"an enum member; may be overridden"
10901136
msgstr ""
10911137

1092-
msgid ""
1093-
"For standard :class:`Enum` classes the next value chosen is the highest "
1094-
"value seen incremented by one."
1095-
msgstr ""
1096-
1097-
msgid ""
1098-
"For :class:`Flag` classes the next value chosen will be the next highest "
1099-
"power-of-two."
1100-
msgstr ""
1101-
11021138
msgid ""
11031139
":meth:`~Enum._add_alias_` -- adds a new name as an alias to an existing "
11041140
"member."

library/exceptions.po

Lines changed: 7 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: 2026-03-11 14:42+0000\n"
14+
"POT-Creation-Date: 2026-03-25 14:54+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/"
@@ -943,6 +943,12 @@ msgid ""
943943
"`TypeError` if any contained exception is not an :exc:`Exception` subclass."
944944
msgstr ""
945945

946+
msgid ""
947+
"The ``excs`` parameter may be any sequence, but lists and tuples are "
948+
"specifically processed more efficiently here. For optimal performance, pass "
949+
"a tuple as ``excs``."
950+
msgstr ""
951+
946952
msgid "The ``msg`` argument to the constructor. This is a read-only attribute."
947953
msgstr ""
948954

0 commit comments

Comments
 (0)