Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitffe19e4

Browse files
author
GitHub Action's update-translation job
committed
Update translation from Transifex
1 parentc3e76b9 commitffe19e4

File tree

12 files changed

+522
-375
lines changed

12 files changed

+522
-375
lines changed

‎deprecations/c-api-pending-removal-in-3.18.po‎

Lines changed: 8 additions & 5 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:2025-09-16 17:23+0000\n"
14+
"POT-Creation-Date:2025-09-19 14:16+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/"
@@ -25,7 +25,9 @@ msgstr ""
2525
msgid"Pending removal in Python 3.18"
2626
msgstr""
2727

28-
msgid"Deprecated private functions (:gh:`128863`):"
28+
msgid""
29+
"The following private functions are deprecated and planned for removal in "
30+
"Python 3.18:"
2931
msgstr""
3032

3133
msgid":c:func:`!_PyBytes_Join`: use :c:func:`PyBytes_Join`."
@@ -36,7 +38,7 @@ msgid ""
3638
"`PyDict_GetItemStringRef`."
3739
msgstr""
3840

39-
msgid":c:func:`!_PyDict_Pop()`: :c:func:`PyDict_Pop`."
41+
msgid":c:func:`!_PyDict_Pop()`:use:c:func:`PyDict_Pop`."
4042
msgstr""
4143

4244
msgid":c:func:`!_PyLong_Sign()`: use :c:func:`PyLong_GetSign`."
@@ -94,7 +96,7 @@ msgstr ""
9496
msgid""
9597
":c:func:`!_PyUnicodeWriter_WriteASCIIString`: replace "
9698
"``_PyUnicodeWriter_WriteASCIIString(&writer, str)`` with :c:func:"
97-
"`PyUnicodeWriter_WriteUTF8(writer, str) <PyUnicodeWriter_WriteUTF8>`."
99+
"`PyUnicodeWriter_WriteASCII(writer, str) <PyUnicodeWriter_WriteASCII>`."
98100
msgstr""
99101

100102
msgid""
@@ -117,5 +119,6 @@ msgstr ""
117119

118120
msgid""
119121
"The `pythoncapi-compat project <https://github.com/python/pythoncapi-compat/"
120-
">`__ can be used to get these new public functions on Python 3.13 and older."
122+
">`__ can be used to get these new public functions on Python 3.13 and older. "
123+
"(Contributed by Victor Stinner in :gh:`128863`.)"
121124
msgstr""

‎deprecations/index.po‎

Lines changed: 39 additions & 20 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:2025-09-17 14:21+0000\n"
14+
"POT-Creation-Date:2025-09-19 14:16+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/"
@@ -324,6 +324,36 @@ msgstr ""
324324
msgid"Pending removal in Python 3.17"
325325
msgstr""
326326

327+
msgid":mod:`collections.abc`:"
328+
msgstr""
329+
330+
msgid""
331+
":class:`collections.abc.ByteString` is scheduled for removal in Python 3.17."
332+
msgstr""
333+
334+
msgid""
335+
"Use ``isinstance(obj, collections.abc.Buffer)`` to test if ``obj`` "
336+
"implements the :ref:`buffer protocol <bufferobjects>` at runtime. For use in "
337+
"type annotations, either use :class:`~collections.abc.Buffer` or a union "
338+
"that explicitly specifies the types your code supports (e.g., ``bytes | "
339+
"bytearray | memoryview``)."
340+
msgstr""
341+
342+
msgid""
343+
":class:`!ByteString` was originally intended to be an abstract class that "
344+
"would serve as a supertype of both :class:`bytes` and :class:`bytearray`. "
345+
"However, since the ABC never had any methods, knowing that an object was an "
346+
"instance of :class:`!ByteString` never actually told you anything useful "
347+
"about the object. Other common buffer types such as :class:`memoryview` were "
348+
"also never understood as subtypes of :class:`!ByteString` (either at runtime "
349+
"or by static type checkers)."
350+
msgstr""
351+
352+
msgid""
353+
"See :pep:`PEP 688 <688#current-options>` for more details. (Contributed by "
354+
"Shantanu Jain in :gh:`91896`.)"
355+
msgstr""
356+
327357
msgid""
328358
"Before Python 3.14, old-style unions were implemented using the private "
329359
"class ``typing._UnionGenericAlias``. This class is no longer needed for the "
@@ -335,21 +365,7 @@ msgstr ""
335365

336366
msgid""
337367
":class:`typing.ByteString`, deprecated since Python 3.9, is scheduled for "
338-
"removal in Python 3.17. Prefer :class:`~collections.abc.Sequence` or :class:"
339-
"`~collections.abc.Buffer`. For use in type annotations, prefer a union, like "
340-
"``bytes | bytearray``, or :class:`collections.abc.Buffer`. (Contributed by "
341-
"Shantanu Jain in :gh:`91896`.)"
342-
msgstr""
343-
344-
msgid":mod:`collections.abc`:"
345-
msgstr""
346-
347-
msgid""
348-
":class:`collections.abc.ByteString` is scheduled for removal in Python 3.17. "
349-
"Prefer :class:`~collections.abc.Sequence` or :class:`~collections.abc."
350-
"Buffer`. For use in type annotations, prefer a union, like ``bytes | "
351-
"bytearray``, or :class:`collections.abc.Buffer`. (Contributed by Shantanu "
352-
"Jain in :gh:`91896`.)"
368+
"removal in Python 3.17."
353369
msgstr""
354370

355371
msgid"Pending removal in Python 3.19"
@@ -882,7 +898,9 @@ msgstr ""
882898
msgid"Pending removal in Python 3.18"
883899
msgstr""
884900

885-
msgid"Deprecated private functions (:gh:`128863`):"
901+
msgid""
902+
"The following private functions are deprecated and planned for removal in "
903+
"Python 3.18:"
886904
msgstr""
887905

888906
msgid":c:func:`!_PyBytes_Join`: use :c:func:`PyBytes_Join`."
@@ -893,7 +911,7 @@ msgid ""
893911
"`PyDict_GetItemStringRef`."
894912
msgstr""
895913

896-
msgid":c:func:`!_PyDict_Pop()`: :c:func:`PyDict_Pop`."
914+
msgid":c:func:`!_PyDict_Pop()`:use:c:func:`PyDict_Pop`."
897915
msgstr""
898916

899917
msgid":c:func:`!_PyLong_Sign()`: use :c:func:`PyLong_GetSign`."
@@ -951,7 +969,7 @@ msgstr ""
951969
msgid""
952970
":c:func:`!_PyUnicodeWriter_WriteASCIIString`: replace "
953971
"``_PyUnicodeWriter_WriteASCIIString(&writer, str)`` with :c:func:"
954-
"`PyUnicodeWriter_WriteUTF8(writer, str) <PyUnicodeWriter_WriteUTF8>`."
972+
"`PyUnicodeWriter_WriteASCII(writer, str) <PyUnicodeWriter_WriteASCII>`."
955973
msgstr""
956974

957975
msgid""
@@ -974,7 +992,8 @@ msgstr ""
974992

975993
msgid""
976994
"The `pythoncapi-compat project <https://github.com/python/pythoncapi-compat/"
977-
">`__ can be used to get these new public functions on Python 3.13 and older."
995+
">`__ can be used to get these new public functions on Python 3.13 and older. "
996+
"(Contributed by Victor Stinner in :gh:`128863`.)"
978997
msgstr""
979998

980999
msgid""

‎deprecations/pending-removal-in-3.17.po‎

Lines changed: 32 additions & 16 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:2025-09-17 14:21+0000\n"
14+
"POT-Creation-Date:2025-09-19 14:16+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/"
@@ -25,6 +25,36 @@ msgstr ""
2525
msgid"Pending removal in Python 3.17"
2626
msgstr""
2727

28+
msgid":mod:`collections.abc`:"
29+
msgstr""
30+
31+
msgid""
32+
":class:`collections.abc.ByteString` is scheduled for removal in Python 3.17."
33+
msgstr""
34+
35+
msgid""
36+
"Use ``isinstance(obj, collections.abc.Buffer)`` to test if ``obj`` "
37+
"implements the :ref:`buffer protocol <bufferobjects>` at runtime. For use in "
38+
"type annotations, either use :class:`~collections.abc.Buffer` or a union "
39+
"that explicitly specifies the types your code supports (e.g., ``bytes | "
40+
"bytearray | memoryview``)."
41+
msgstr""
42+
43+
msgid""
44+
":class:`!ByteString` was originally intended to be an abstract class that "
45+
"would serve as a supertype of both :class:`bytes` and :class:`bytearray`. "
46+
"However, since the ABC never had any methods, knowing that an object was an "
47+
"instance of :class:`!ByteString` never actually told you anything useful "
48+
"about the object. Other common buffer types such as :class:`memoryview` were "
49+
"also never understood as subtypes of :class:`!ByteString` (either at runtime "
50+
"or by static type checkers)."
51+
msgstr""
52+
53+
msgid""
54+
"See :pep:`PEP 688 <688#current-options>` for more details. (Contributed by "
55+
"Shantanu Jain in :gh:`91896`.)"
56+
msgstr""
57+
2858
msgid":mod:`typing`:"
2959
msgstr""
3060

@@ -39,19 +69,5 @@ msgstr ""
3969

4070
msgid""
4171
":class:`typing.ByteString`, deprecated since Python 3.9, is scheduled for "
42-
"removal in Python 3.17. Prefer :class:`~collections.abc.Sequence` or :class:"
43-
"`~collections.abc.Buffer`. For use in type annotations, prefer a union, like "
44-
"``bytes | bytearray``, or :class:`collections.abc.Buffer`. (Contributed by "
45-
"Shantanu Jain in :gh:`91896`.)"
46-
msgstr""
47-
48-
msgid":mod:`collections.abc`:"
49-
msgstr""
50-
51-
msgid""
52-
":class:`collections.abc.ByteString` is scheduled for removal in Python 3.17. "
53-
"Prefer :class:`~collections.abc.Sequence` or :class:`~collections.abc."
54-
"Buffer`. For use in type annotations, prefer a union, like ``bytes | "
55-
"bytearray``, or :class:`collections.abc.Buffer`. (Contributed by Shantanu "
56-
"Jain in :gh:`91896`.)"
72+
"removal in Python 3.17."
5773
msgstr""

‎library/argparse.po‎

Lines changed: 22 additions & 16 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:2025-09-16 17:23+0000\n"
14+
"POT-Creation-Date:2025-09-19 14:16+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/"
@@ -970,18 +970,18 @@ msgid ""
970970
msgstr""
971971

972972
msgid""
973-
"``'append'`` - Thisstores a list, andappends each argument value tothe "
974-
"list. It is useful to allowan option to be specified multiple times. If the "
975-
"default value isnon-empty, thedefault elements willbe present inthe "
976-
"parsed value for the option, withany values from the command line appended "
977-
"after those defaultvalues. Example usage::"
973+
"``'append'`` - This appends each argument value toa list. It is useful for "
974+
"allowingan option to be specified multiple times. If the default value is a "
975+
"non-empty list, theparsed value willstart withthe default list's elements "
976+
"andany values from the command linewill beappended after those default "
977+
"values. Example usage::"
978978
msgstr""
979979

980980
msgid""
981981
">>> parser = argparse.ArgumentParser()\n"
982-
">>> parser.add_argument('--foo', action='append')\n"
982+
">>> parser.add_argument('--foo', action='append', default=['0'])\n"
983983
">>> parser.parse_args('--foo 1 --foo 2'.split())\n"
984-
"Namespace(foo=['1', '2'])"
984+
"Namespace(foo=['0', '1', '2'])"
985985
msgstr""
986986

987987
msgid""
@@ -1229,8 +1229,8 @@ msgid ""
12291229
"(like ``-f`` or ``--foo``) and ``nargs='?'``. This creates an optional "
12301230
"argument that can be followed by zero or one command-line arguments. When "
12311231
"parsing the command line, if the option string is encountered with no "
1232-
"command-line argument following it, the valueof ``const`` will beassumed "
1233-
"to be ``None`` instead.See the nargs_ description for examples."
1232+
"command-line argument following it, the valuefrom ``const`` will beused. "
1233+
"See the nargs_ description for examples."
12341234
msgstr""
12351235

12361236
msgid""
@@ -1428,12 +1428,6 @@ msgid ""
14281428
"'paper', 'scissors')"
14291429
msgstr""
14301430

1431-
msgid""
1432-
"Note that inclusion in the *choices* sequence is checked after any type_ "
1433-
"conversions have been performed, so the type of the objects in the *choices* "
1434-
"sequence should match the type_ specified."
1435-
msgstr""
1436-
14371431
msgid""
14381432
"Any sequence can be passed as the *choices* value, so :class:`list` "
14391433
"objects, :class:`tuple` objects, and custom sequences are all supported."
@@ -1444,6 +1438,18 @@ msgid ""
14441438
"control its appearance in usage, help, and error messages."
14451439
msgstr""
14461440

1441+
msgid""
1442+
"Note that *choices* are checked after any type_ conversions have been "
1443+
"performed, so objects in *choices* should match the type_ specified. This "
1444+
"can make *choices* appear unfamiliar in usage, help, or error messages."
1445+
msgstr""
1446+
1447+
msgid""
1448+
"To keep *choices* user-friendly, consider a custom type wrapper that "
1449+
"converts and formats values, or omit type_ and handle conversion in your "
1450+
"application code."
1451+
msgstr""
1452+
14471453
msgid""
14481454
"Formatted choices override the default *metavar* which is normally derived "
14491455
"from *dest*. This is usually what you want because the user never sees the "

‎library/collections.abc.po‎

Lines changed: 22 additions & 5 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:2025-09-17 14:21+0000\n"
14+
"POT-Creation-Date:2025-09-19 14:16+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/"
@@ -474,11 +474,28 @@ msgid ""
474474
"arguments."
475475
msgstr""
476476

477+
msgid"The :class:`ByteString` ABC has been deprecated."
478+
msgstr""
479+
477480
msgid""
478-
"The :class:`ByteString` ABC has been deprecated. For use in type "
479-
"annotations, prefer a union, like ``bytes | bytearray``, or :class:"
480-
"`collections.abc.Buffer`. For use as an ABC, prefer :class:`Sequence` or :"
481-
"class:`collections.abc.Buffer`."
481+
"Use ``isinstance(obj, collections.abc.Buffer)`` to test if ``obj`` "
482+
"implements the :ref:`buffer protocol <bufferobjects>` at runtime. For use in "
483+
"type annotations, either use :class:`Buffer` or a union that explicitly "
484+
"specifies the types your code supports (e.g., ``bytes | bytearray | "
485+
"memoryview``)."
486+
msgstr""
487+
488+
msgid""
489+
":class:`!ByteString` was originally intended to be an abstract class that "
490+
"would serve as a supertype of both :class:`bytes` and :class:`bytearray`. "
491+
"However, since the ABC never had any methods, knowing that an object was an "
492+
"instance of :class:`!ByteString` never actually told you anything useful "
493+
"about the object. Other common buffer types such as :class:`memoryview` were "
494+
"also never understood as subtypes of :class:`!ByteString` (either at runtime "
495+
"or by static type checkers)."
496+
msgstr""
497+
498+
msgid"See :pep:`PEP 688 <688#current-options>` for more details."
482499
msgstr""
483500

484501
msgid"ABCs for read-only and mutable :ref:`sets <types-set>`."

‎library/getpass.po‎

Lines changed: 4 additions & 4 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:2025-09-16 17:23+0000\n"
14+
"POT-Creation-Date:2025-09-19 14:16+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/"
@@ -51,9 +51,9 @@ msgstr ""
5151
msgid""
5252
"The *echo_char* argument controls how user input is displayed while typing. "
5353
"If *echo_char* is ``None`` (default), input remains hidden. Otherwise, "
54-
"*echo_char* must be a printable ASCIIstring and each typed character is "
55-
"replaced by it. For example, ``echo_char='*'`` will display asterisks "
56-
"instead of the actual input."
54+
"*echo_char* must be asingleprintable ASCIIcharacter and each typed "
55+
"character isreplaced by it. For example, ``echo_char='*'`` will display "
56+
"asterisksinstead of the actual input."
5757
msgstr""
5858

5959
msgid""

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp