FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Update translation from Transifex · python/python-docs-id@96c744d · GitHub

Repository navigation

Commit 96c744d

Browse files
GitHub Action's update-translation job
committed
Update translation from Transifex
1 parent 62be463 commit 96c744d

48 files changed

Lines changed: 1244 additions & 312 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎builtins/functions.po‎

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.15\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2026-10-05 21:29+0000\n"
15+
"POT-Creation-Date: 2026-10-11 18:31+0000\n"
1616
"PO-Revision-Date: 2026-09-13 17:09+0000\n"
1717
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2026\n"
1818
"Language-Team: Indonesian (https://app.transifex.com/python-doc/teams/5390/"
@@ -675,8 +675,13 @@ msgid ""
675675
msgstr ""
676676

677677
msgid ""
678-
"This function raises :exc:`SyntaxError` or :exc:`ValueError` if the compiled "
679-
"source is invalid."
678+
"This function raises :exc:`SyntaxError` if the compiled source is invalid, "
679+
"including a *source* containing a null character or that cannot be decoded; :"
680+
"exc:`ValueError` if *mode* or *flags* is invalid, or if a string *source* "
681+
"contains surrogate characters; :exc:`MemoryError` or :exc:`RecursionError` "
682+
"if *source* is too complex to parse or compile, for example an expression "
683+
"with many thousands of nested operators; and :exc:`OverflowError` if "
684+
"*source* is too large."
680685
msgstr ""
681686

682687
msgid ""
@@ -735,6 +740,11 @@ msgstr ""
735740
"mengaktifkan dukungan untuk ``await``, ``async for``, dan ``async with`` "
736741
"tingkat atas."
737742

743+
msgid ""
744+
":exc:`SyntaxError` is raised instead of :exc:`ValueError` when null bytes "
745+
"are encountered in *source*."
746+
msgstr ""
747+
738748
msgid "Added the *module* parameter."
739749
msgstr ""
740750

‎c-api/bytes.po‎

Lines changed: 125 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version: Python 3.15\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2026-10-05 21:29+0000\n"
15+
"POT-Creation-Date: 2026-10-11 18:31+0000\n"
1616
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1717
"Last-Translator: python-doc bot, 2025\n"
1818
"Language-Team: Indonesian (https://app.transifex.com/python-doc/teams/5390/"
@@ -537,6 +537,130 @@ msgid ""
537537
"return (char*)PyBytesWriter_GetData(writer) + pos;"
538538
msgstr ""
539539

540+
msgid "Example creating the string ``b'abc'``"
541+
msgstr ""
542+
543+
msgid ""
544+
"Example creating the bytes string ``b\"abc\"``, with a fixed size of 3 "
545+
"bytes::"
546+
msgstr ""
547+
548+
msgid ""
549+
"PyObject* create_abc(void)\n"
550+
"{\n"
551+
" PyBytesWriter *writer = PyBytesWriter_Create(3);\n"
552+
" if (writer == NULL) {\n"
553+
" return NULL;\n"
554+
" }\n"
555+
"\n"
556+
" char *str = PyBytesWriter_GetData(writer);\n"
557+
" memcpy(str, \"abc\", 3);\n"
558+
" return PyBytesWriter_Finish(writer);\n"
559+
"}"
560+
msgstr ""
561+
562+
msgid "Variant using a pointer to compute the final size::"
563+
msgstr ""
564+
565+
msgid ""
566+
"PyObject* create_abc_ptr(void)\n"
567+
"{\n"
568+
" PyBytesWriter *writer = PyBytesWriter_Create(3);\n"
569+
" if (writer == NULL) {\n"
570+
" return NULL;\n"
571+
" }\n"
572+
"\n"
573+
" char *str = PyBytesWriter_GetData(writer);\n"
574+
" memcpy(str, \"abc\", 3);\n"
575+
" str += 1;\n"
576+
" return PyBytesWriter_FinishWithPointer(writer, str);\n"
577+
"}"
578+
msgstr ""
579+
580+
msgid "Update ``PyBytes_FromStringAndSize()`` code"
581+
msgstr ""
582+
583+
msgid ""
584+
"Example of code using the soft deprecated ``PyBytes_FromStringAndSize(NULL, "
585+
"size)`` API::"
586+
msgstr ""
587+
588+
msgid ""
589+
"int copy_bytes(char *dest, const char *src, Py_ssize_t num_bytes)\n"
590+
"{\n"
591+
" ...\n"
592+
"}\n"
593+
"\n"
594+
"PyObject* create_string(const char *start, Py_ssize_t num_bytes)\n"
595+
"{\n"
596+
" PyObject *result = PyBytes_FromStringAndSize(NULL, num_bytes);\n"
597+
" if (result == NULL) {\n"
598+
" return NULL;\n"
599+
" }\n"
600+
" if (copy_bytes(PyBytes_AS_STRING(result), start, num_bytes) < 0) {\n"
601+
" Py_CLEAR(result);\n"
602+
" }\n"
603+
" return result;\n"
604+
"}"
605+
msgstr ""
606+
607+
msgid "It can now be updated to::"
608+
msgstr ""
609+
610+
msgid ""
611+
"PyObject* create_string(const char *start, Py_ssize_t num_bytes)\n"
612+
"{\n"
613+
" PyBytesWriter *writer = PyBytesWriter_Create(num_bytes);\n"
614+
" if (writer == NULL) {\n"
615+
" return NULL;\n"
616+
" }\n"
617+
" if (copy_bytes(PyBytesWriter_GetData(writer), start, num_bytes) < 0) {\n"
618+
" PyBytesWriter_Discard(writer);\n"
619+
" return NULL;\n"
620+
" }\n"
621+
" return PyBytesWriter_Finish(writer);\n"
622+
"}"
623+
msgstr ""
624+
625+
msgid "Update ``_PyBytes_Resize()`` code"
626+
msgstr ""
627+
628+
msgid "Example of code using the soft deprecated ``_PyBytes_Resize()`` API::"
629+
msgstr ""
630+
631+
msgid ""
632+
"void create_string(Py_ssize_t size)\n"
633+
"{\n"
634+
" PyObject *bytes = PyBytes_FromStringAndSize(NULL, size);\n"
635+
" if (bytes == NULL) {\n"
636+
" return NULL;\n"
637+
" }\n"
638+
" char *str = PyBytes_AS_STRING(bytes);\n"
639+
"\n"
640+
" // ... write data into str ...\n"
641+
"\n"
642+
" if (_PyBytes_Resize(&bytes, (str - PyBytes_AS_STRING(bytes)))) {\n"
643+
" return NULL;\n"
644+
" }\n"
645+
" return bytes;\n"
646+
"}"
647+
msgstr ""
648+
649+
msgid ""
650+
"void create_string(Py_ssize_t size)\n"
651+
"{\n"
652+
" PyBytesWriter *writer = PyBytesWriter_Create(size);\n"
653+
" if (writer == NULL) {\n"
654+
" return NULL;\n"
655+
" }\n"
656+
" char *str = PyBytesWriter_GetData(writer);\n"
657+
"\n"
658+
" // ... write data into str ...\n"
659+
"\n"
660+
" return PyBytesWriter_FinishWithPointer(writer, str);\n"
661+
"}"
662+
msgstr ""
663+
540664
msgid "object"
541665
msgstr "objek"
542666

‎c-api/memory.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.15\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2026-09-21 18:58+0000\n"
15+
"POT-Creation-Date: 2026-10-11 18:31+0000\n"
1616
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1717
"Last-Translator: Hengky Kurniawan, 2025\n"
1818
"Language-Team: Indonesian (https://app.transifex.com/python-doc/teams/5390/"

‎c-api/type.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.15\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2026-09-20 14:29+0000\n"
14+
"POT-Creation-Date: 2026-10-09 19:08+0000\n"
1515
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1616
"Last-Translator: python-doc bot, 2025\n"
1717
"Language-Team: Indonesian (https://app.transifex.com/python-doc/teams/5390/"

‎c-api/veryhigh.po‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.15\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2026-09-20 14:29+0000\n"
11+
"POT-Creation-Date: 2026-10-09 19:08+0000\n"
1212
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1313
"Language-Team: Indonesian (https://app.transifex.com/python-doc/teams/5390/"
1414
"id/)\n"

‎faq/general.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.15\n"
1414
"Report-Msgid-Bugs-To: \n"
15-
"POT-Creation-Date: 2026-09-20 14:29+0000\n"
15+
"POT-Creation-Date: 2026-10-09 19:08+0000\n"
1616
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1717
"Last-Translator: Hengky Kurniawan, 2025\n"
1818
"Language-Team: Indonesian (https://app.transifex.com/python-doc/teams/5390/"

‎howto/instrumentation.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.15\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2026-09-21 18:58+0000\n"
14+
"POT-Creation-Date: 2026-10-11 18:31+0000\n"
1515
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1616
"Last-Translator: python-doc bot, 2026\n"
1717
"Language-Team: Indonesian (https://app.transifex.com/python-doc/teams/5390/"

‎howto/ipaddress.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.15\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2026-09-21 18:58+0000\n"
14+
"POT-Creation-Date: 2026-10-11 18:31+0000\n"
1515
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1616
"Last-Translator: python-doc bot, 2025\n"
1717
"Language-Team: Indonesian (https://app.transifex.com/python-doc/teams/5390/"

‎howto/logging.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.15\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2026-09-21 18:58+0000\n"
14+
"POT-Creation-Date: 2026-10-11 18:31+0000\n"
1515
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1616
"Last-Translator: python-doc bot, 2025\n"
1717
"Language-Team: Indonesian (https://app.transifex.com/python-doc/teams/5390/"

‎howto/regex.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.15\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2026-09-21 18:58+0000\n"
14+
"POT-Creation-Date: 2026-10-11 18:31+0000\n"
1515
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1616
"Last-Translator: python-doc bot, 2026\n"
1717
"Language-Team: Indonesian (https://app.transifex.com/python-doc/teams/5390/"

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL