88msgstr ""
99"Project-Id-Version : Python 3.15\n "
1010"Report-Msgid-Bugs-To : \n "
11- "POT-Creation-Date : 2026-05-08 18:34 +0000\n "
11+ "POT-Creation-Date : 2026-05-13 16:14 +0000\n "
1212"PO-Revision-Date : 2025-09-16 00:00+0000\n "
1313"Language-Team : Tamil (https://app.transifex.com/python-doc/teams/5390/ta/)\n "
1414"MIME-Version : 1.0\n "
@@ -27,8 +27,9 @@ msgid ""
2727"This module provides functions for encoding binary data to printable ASCII "
2828"characters and decoding such encodings back to binary data. This includes "
2929"the :ref:`encodings specified in <base64-rfc-4648>` :rfc:`4648` (Base64, "
30- "Base32 and Base16) and the non-standard :ref:`Base85 encodings <base64-"
31- "base-85>`."
30+ "Base32 and Base16), the :ref:`Base85 encoding <base64-base-85>` specified in "
31+ "`PDF 2.0 <https://pdfa.org/resource/iso-32000-2/>`_, and non-standard "
32+ "variants of Base85 used elsewhere."
3233msgstr ""
3334
3435msgid ""
@@ -290,31 +291,42 @@ msgid "Base85 Encodings"
290291msgstr ""
291292
292293msgid ""
293- "Base85 encoding is not formally specified but rather a de facto standard, "
294- "thus different systems perform the encoding differently."
294+ "Base85 encoding is a family of algorithms which represent four bytes using "
295+ "five ASCII characters. Originally implemented in the Unix ``btoa(1)`` "
296+ "utility, a version of it was later adopted by Adobe in the PostScript "
297+ "language and is standardized in PDF 2.0 (ISO 32000-2). This version, in both "
298+ "its ``btoa`` and PDF variants, is implemented by :func:`a85encode`."
295299msgstr ""
296300
297301msgid ""
298- "The :func:`a85encode` and :func:`b85encode` functions in this module are two "
299- "implementations of the de facto standard. You should call the function with "
300- "the Base85 implementation used by the software you intend to work with ."
302+ "A separate version, using a different output character set, was defined as "
303+ "an April Fool's joke in :rfc:`1924` but is now used by Git and other "
304+ "software. This version is implemented by :func:`b85encode` ."
301305msgstr ""
302306
303307msgid ""
304- "The two functions present in this module differ in how they handle the "
305- "following:"
308+ "Finally, a third version, using yet another output character set designed "
309+ "for safe inclusion in programming language strings, is defined by ZeroMQ and "
310+ "implemented here by :func:`z85encode`."
306311msgstr ""
307312
308- msgid "Whether to include enclosing ``<~`` and ``~>`` markers"
313+ msgid ""
314+ "The functions present in this module differ in how they handle the following:"
315+ msgstr ""
316+
317+ msgid "Whether to include and expect enclosing ``<~`` and ``~>`` markers."
309318msgstr ""
310319
311- msgid "Whether to include newline characters "
320+ msgid "Whether to fold the input into multiple lines. "
312321msgstr ""
313322
314- msgid "The set of ASCII characters used for encoding"
323+ msgid "The set of ASCII characters used for encoding. "
315324msgstr ""
316325
317- msgid "Handling of null bytes"
326+ msgid "Compact encodings of sequences of spaces and null bytes."
327+ msgstr ""
328+
329+ msgid "The encoding of zero-padding bytes applied to the input."
318330msgstr ""
319331
320332msgid ""
@@ -329,18 +341,21 @@ msgstr ""
329341msgid ""
330342"*foldspaces* is an optional flag that uses the special short sequence 'y' "
331343"instead of 4 consecutive spaces (ASCII 0x20) as supported by 'btoa'. This "
332- "feature is not supported by the \" standard\" Ascii85 encoding."
344+ "feature is not supported by the standard encoding used in PDF ."
333345msgstr ""
334346
335347msgid ""
336- "If *pad* is true, the input is padded with ``b'\\ 0'`` so its length is a "
337- "multiple of 4 bytes before encoding. Note that the ``btoa`` implementation "
338- "always pads."
348+ "*pad* controls whether zero-padding applied to the end of the input is fully "
349+ "retained in the output encoding, as done by ``btoa``, producing an exact "
350+ "multiple of 5 bytes of output. This is not part of the standard encoding "
351+ "used in PDF, as it does not preserve the length of the data."
339352msgstr ""
340353
341354msgid ""
342355"*adobe* controls whether the encoded byte sequence is framed with ``<~`` and "
343- "``~>``, which is used by the Adobe implementation."
356+ "``~>``, as in a PostScript base-85 string literal. Note that while "
357+ "ASCII85Decode streams in PDF documents *must* be terminated with ``~>``, "
358+ "they *must not* use a leading ``<~``."
344359msgstr ""
345360
346361msgid ""
@@ -351,12 +366,13 @@ msgstr ""
351366msgid ""
352367"*foldspaces* is a flag that specifies whether the 'y' short sequence should "
353368"be accepted as shorthand for 4 consecutive spaces (ASCII 0x20). This feature "
354- "is not supported by the \" standard\" Ascii85 encoding."
369+ "is not supported by the standard Ascii85 encoding used in PDF and PostScript ."
355370msgstr ""
356371
357372msgid ""
358- "*adobe* controls whether the input sequence is in Adobe Ascii85 format (i.e. "
359- "is framed with <~ and ~>)."
373+ "*adobe* controls whether the ``<~`` and ``~>`` markers are present. While "
374+ "the leading ``<~`` is not required, the input must end with ``~>``, or a :"
375+ "exc:`ValueError` is raised."
360376msgstr ""
361377
362378msgid ""
@@ -381,14 +397,15 @@ msgid ""
381397msgstr ""
382398
383399msgid ""
384- "If *pad* is true, the input is padded with ``b'\\ 0'`` so its length is a "
385- "multiple of 4 bytes before encoding."
400+ "The input is padded with ``b'\\ 0'`` so its length is a multiple of 4 bytes "
401+ "before encoding. If *pad* is true, all the resulting characters are "
402+ "retained in the output, which will always be a multiple of 5 bytes, and thus "
403+ "the length of the data may not be preserved on decoding."
386404msgstr ""
387405
388406msgid ""
389407"Decode the base85-encoded :term:`bytes-like object` or ASCII string *b* and "
390- "return the decoded :class:`bytes`. Padding is implicitly removed, if "
391- "necessary."
408+ "return the decoded :class:`bytes`."
392409msgstr ""
393410
394411msgid ""
@@ -403,17 +420,22 @@ msgstr ""
403420
404421msgid ""
405422"Encode the :term:`bytes-like object` *s* using Z85 (as used in ZeroMQ) and "
406- "return the encoded :class:`bytes`. See `Z85 specification <https://rfc."
407- "zeromq.org/spec/32/>`_ for more information."
423+ "return the encoded :class:`bytes`."
424+ msgstr ""
425+
426+ msgid ""
427+ "The input is padded with ``b'\\ 0'`` so its length is a multiple of 4 bytes "
428+ "before encoding. If *pad* is true, all the resulting characters are "
429+ "retained in the output, which will always be a multiple of 5 bytes, as "
430+ "required by the ZeroMQ standard."
408431msgstr ""
409432
410433msgid "The *pad* parameter was added."
411434msgstr ""
412435
413436msgid ""
414437"Decode the Z85-encoded :term:`bytes-like object` or ASCII string *s* and "
415- "return the decoded :class:`bytes`. See `Z85 specification <https://rfc."
416- "zeromq.org/spec/32/>`_ for more information."
438+ "return the decoded :class:`bytes`."
417439msgstr ""
418440
419441msgid "Legacy Interface"
@@ -477,6 +499,25 @@ msgid ""
477499"of the base64 encoding."
478500msgstr ""
479501
502+ msgid ""
503+ "`ISO 32000-2 Portable document format - Part 2: PDF 2.0 <https://pdfa.org/"
504+ "resource/iso-32000-2/>`_"
505+ msgstr ""
506+
507+ msgid ""
508+ "Section 7.4.3, \" ASCII85Decode Filter,\" provides the definition of the "
509+ "Ascii85 encoding used in PDF and PostScript, including the output character "
510+ "set and the details of data length preservation using zero-padding and "
511+ "partial output groups."
512+ msgstr ""
513+
514+ msgid "`ZeroMQ RFC 32/Z85 <https://rfc.zeromq.org/spec/32/>`_"
515+ msgstr ""
516+
517+ msgid ""
518+ "The \" Formal Specification\" section provides the character set used in Z85."
519+ msgstr ""
520+
480521msgid "base64"
481522msgstr ""
482523
0 commit comments