Skip to content

Commit f2e52ae

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

File tree

2 files changed

+93
-1
lines changed

2 files changed

+93
-1
lines changed

library/uuid.po

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -580,6 +580,64 @@ msgid ""
580580
">>> uuid.uuid8(0x12345678, 0x9abcdef0, 0x11223344)\n"
581581
"UUID('00001234-5678-8ef0-8000-000011223344')"
582582
msgstr ""
583+
">>> import uuid\n"
584+
"\n"
585+
">>> # make a UUID based on the host ID and current time\n"
586+
">>> uuid.uuid1()\n"
587+
"UUID('a8098c1a-f86e-11da-bd1a-00112444be1e')\n"
588+
"\n"
589+
">>> # make a UUID using an MD5 hash of a namespace UUID and a name\n"
590+
">>> uuid.uuid3(uuid.NAMESPACE_DNS, 'python.org')\n"
591+
"UUID('6fa459ea-ee8a-3ca4-894e-db77e160355e')\n"
592+
"\n"
593+
">>> # make a random UUID\n"
594+
">>> uuid.uuid4()\n"
595+
"UUID('16fd2706-8baf-433b-82eb-8c7fada847da')\n"
596+
"\n"
597+
">>> # make a UUID using a SHA-1 hash of a namespace UUID and a name\n"
598+
">>> uuid.uuid5(uuid.NAMESPACE_DNS, 'python.org')\n"
599+
"UUID('886313e1-3b8a-5372-9b90-0c9aee199e5d')\n"
600+
"\n"
601+
">>> # make a UUID from a string of hex digits (braces and hyphens ignored)\n"
602+
">>> x = uuid.UUID('{00010203-0405-0607-0809-0a0b0c0d0e0f}')\n"
603+
"\n"
604+
">>> # convert a UUID to a string of hex digits in standard form\n"
605+
">>> str(x)\n"
606+
"'00010203-0405-0607-0809-0a0b0c0d0e0f'\n"
607+
"\n"
608+
">>> # get the raw 16 bytes of the UUID\n"
609+
">>> x.bytes\n"
610+
"b'\\x00\\x01\\x02\\x03\\x04\\x05\\x06\\x07\\x08\\t\\n\\x0b\\x0c\\r\\x0e\\x0f'\n"
611+
"\n"
612+
">>> # make a UUID from a 16-byte string\n"
613+
">>> uuid.UUID(bytes=x.bytes)\n"
614+
"UUID('00010203-0405-0607-0809-0a0b0c0d0e0f')\n"
615+
"\n"
616+
">>> # get the Nil UUID\n"
617+
">>> uuid.NIL\n"
618+
"UUID('00000000-0000-0000-0000-000000000000')\n"
619+
"\n"
620+
">>> # get the Max UUID\n"
621+
">>> uuid.MAX\n"
622+
"UUID('ffffffff-ffff-ffff-ffff-ffffffffffff')\n"
623+
"\n"
624+
">>> # same as UUIDv1 but with fields reordered to improve DB locality\n"
625+
">>> uuid.uuid6()\n"
626+
"UUID('1f0799c0-98b9-62db-92c6-a0d365b91053')\n"
627+
"\n"
628+
">>> # get UUIDv7 creation (local) time as a timestamp in milliseconds\n"
629+
">>> u = uuid.uuid7()\n"
630+
">>> u.time\n"
631+
"1743936859822\n"
632+
"\n"
633+
">>> # get UUIDv7 creation (local) time as a datetime object\n"
634+
">>> import datetime as dt\n"
635+
">>> dt.datetime.fromtimestamp(u.time / 1000)\n"
636+
"datetime.datetime(...)\n"
637+
"\n"
638+
">>> # make a UUID with custom blocks\n"
639+
">>> uuid.uuid8(0x12345678, 0x9abcdef0, 0x11223344)\n"
640+
"UUID('00001234-5678-8ef0-8000-000011223344')"
583641

584642
msgid "Command-Line Example"
585643
msgstr "Exempel på kommandoraden"

whatsnew/3.14.po

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ msgid ""
6262
"language, with a mix of changes to the language, the implementation and the "
6363
"standard library."
6464
msgstr ""
65+
"Python 3.14 kommer att vara den senaste stabila utgåvan av "
66+
"programmeringsspråket Python, med en blandning av ändringar i språket, "
67+
"implementeringen och standardbiblioteket."
6568

6669
msgid ""
6770
"The biggest changes to the implementation include template strings (:pep:"
@@ -1175,6 +1178,9 @@ msgid ""
11751178
"the error message prints the received number of values in more cases than "
11761179
"before. (Contributed by Tushar Sadhwani in :gh:`122239`.)"
11771180
msgstr ""
1181+
"När en uppackningsuppgift misslyckas på grund av felaktigt antal variabler, "
1182+
"visar felmeddelandet det mottagna antalet värden i fler fall än tidigare. "
1183+
"(Bidrag från Tushar Sadhwani i :gh:`122239`.)"
11781184

11791185
msgid ""
11801186
">>> x, y, z = 1, 2, 3, 4\n"
@@ -1399,6 +1405,9 @@ msgid ""
13991405
"func:`PyInitConfig_AddModule` which can be used to add a built-in extension "
14001406
"module; a feature previously referred to as the “inittab”."
14011407
msgstr ""
1408+
"Slutför :pep:`587` :ref:`PyConfig C API <pyconfig_api>` genom att lägga "
1409+
"till :c:func:`PyInitConfig_AddModule` som kan användas för att lägga till en "
1410+
"inbyggd tilläggsmodul; en funktion som tidigare kallades ”inittab”."
14021411

14031412
msgid ""
14041413
"Add :c:func:`PyConfig_Get` and :c:func:`PyConfig_Set` functions to get and "
@@ -1966,6 +1975,14 @@ msgid ""
19661975
"multiple threads or asynchronous tasks. The flag defaults to true for the "
19671976
"free-threaded build and false for the GIL-enabled build."
19681977
msgstr ""
1978+
"Kontextbehandlaren :class:`warnings.catch_warnings` kommer nu valfritt att "
1979+
"använda en kontextvariabel för varningsfilter. Detta aktiveras genom att "
1980+
"ställa in flaggan :data:`~sys.flags.context_aware_warnings`, antingen med "
1981+
"kommandoradsalternativet ``-X`` eller en miljövariabel. Detta ger "
1982+
"förutsägbar kontroll över varningar när :class:`~warnings.catch_warnings` "
1983+
"används i kombination med flera trådar eller asynkrona uppgifter. Flaggan är "
1984+
"som standard inställd på true för den trådfria versionen och false för den "
1985+
"GIL-aktiverade versionen."
19691986

19701987
msgid "(Contributed by Neil Schemenauer and Kumar Aditya in :gh:`130010`.)"
19711988
msgstr "(Bidrag från Neil Schemenauer och Kumar Aditya i :gh:`130010`.)"
@@ -2156,6 +2173,9 @@ msgid ""
21562173
"string. Now it is always the opposite of ``\\b``. (Contributed by Serhiy "
21572174
"Storchaka in :gh:`124130`.)"
21582175
msgstr ""
2176+
"``\\B`` i :mod:`regular expression <re>` matchar nu den tomma "
2177+
"inmatningssträngen. Nu är det alltid motsatsen till ``\\b``. (Bidrag från "
2178+
"Serhiy Storchaka i :gh:`124130`.)"
21592179

21602180
msgid ""
21612181
"iOS and macOS apps can now be configured to redirect ``stdout`` and "
@@ -2281,6 +2301,10 @@ msgid ""
22812301
"`break` or :keyword:`continue` statement appears where it exits a :keyword:"
22822302
"`finally` block. This change is specified in :pep:`765`."
22832303
msgstr ""
2304+
"Kompilatorn avger ett :exc:`SyntaxWarning` när ett :keyword:`return`, :"
2305+
"keyword:`break` eller :keyword:`continue`\\-uttryck förekommer där det "
2306+
"avslutar ett :keyword:`finally`\\-block. Denna ändring specificeras i :pep:"
2307+
"`765`."
22842308

22852309
msgid "New modules"
22862310
msgstr "Nya moduler"
@@ -2377,6 +2401,9 @@ msgid ""
23772401
"Add new ``--feature-version``, ``--optimize``, ``--show-empty`` options to "
23782402
"the command-line interface. (Contributed by Semyon Moroz in :gh:`133367`.)"
23792403
msgstr ""
2404+
"Lägg till nya alternativ ``--feature-version``, ``--optimize``, ``--show-"
2405+
"empty`` till kommandoradsgränssnittet. (Bidrag från Semyon Moroz i :gh:"
2406+
"`133367`.)"
23802407

23812408
msgid "asyncio"
23822409
msgstr "asyncio"
@@ -3976,6 +4003,10 @@ msgid ""
39764003
"`~unittest.TestCase.assertNotEndsWith` check whether the Unicode or byte "
39774004
"string starts or ends with particular strings."
39784005
msgstr ""
4006+
":meth:`~unittest.TestCase.assertStartsWith`, :meth:`~unittest.TestCase."
4007+
"assertNotStartsWith`, :meth:`~unittest.TestCase.assertEndsWith` och :meth:"
4008+
"`~unittest.TestCase.assertNotEndsWith` kontrollerar om Unicode- eller byte-"
4009+
"strängen börjar eller slutar med vissa strängar."
39794010

39804011
msgid "(Contributed by Serhiy Storchaka in :gh:`71339`.)"
39814012
msgstr "(Bidrag från Serhiy Storchaka i :gh:`71339`.)"
@@ -4105,7 +4136,7 @@ msgstr ""
41054136
"de webbläsare som stöds på macOS."
41064137

41074138
msgid "zipfile"
4108-
msgstr ""
4139+
msgstr "zipfile"
41094140

41104141
msgid ""
41114142
"Added :func:`ZipInfo._for_archive <zipfile.ZipInfo._for_archive>` to resolve "
@@ -4123,6 +4154,9 @@ msgid ""
41234154
"distributions can set centrally and have build tools consume this in order "
41244155
"to produce reproducible output. (Contributed by Jiahao Li in :gh:`91279`.)"
41254156
msgstr ""
4157+
":meth:`zipfile.ZipFile.writestr` respekterar nu ``SOURCE_DATE_EPOCH`` som "
4158+
"distributioner kan ställa in centralt och som byggverktyg kan använda för "
4159+
"att producera reproducerbara resultat. (Bidrag från Jiahao Li i :gh:`91279`.)"
41264160

41274161
msgid "Optimizations"
41284162
msgstr "Optimeringar"

0 commit comments

Comments
 (0)