Skip to content

Commit 24c0de6

Browse files
Update reviewed translations from Transifex
1 parent c8073af commit 24c0de6

13 files changed

Lines changed: 315 additions & 172 deletions

File tree

‎c-api/import.po‎

Lines changed: 3 additions & 3 deletions
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-08-17 14:20+0000\n"
14+
"POT-Creation-Date: 2026-08-27 23:26+0000\n"
1515
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1616
"Last-Translator: Bhuvansh Kataria, 2026\n"
1717
"Language-Team: Panjabi (Punjabi) (https://app.transifex.com/python-doc/"
@@ -157,7 +157,7 @@ msgid ""
157157
"See :class:`~importlib.machinery.ModuleSpec` for alternatives."
158158
msgstr ""
159159

160-
msgid "``__cached__`` is no longer set."
160+
msgid "The ``__cached__`` attribute is no longer set."
161161
msgstr ""
162162

163163
msgid ""
@@ -179,7 +179,7 @@ msgid ""
179179
"ModuleSpec` for alternatives."
180180
msgstr ""
181181

182-
msgid "``__cached__`` no longer set."
182+
msgid "The ``__cached__`` attribute no longer set."
183183
msgstr ""
184184

185185
msgid ""

‎library/asyncio-task.po‎

Lines changed: 8 additions & 6 deletions
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-08-09 14:27+0000\n"
14+
"POT-Creation-Date: 2026-08-27 23:26+0000\n"
1515
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
1616
"Last-Translator: Bhuvansh Kataria, 2026\n"
1717
"Language-Team: Panjabi (Punjabi) (https://app.transifex.com/python-doc/"
@@ -973,13 +973,10 @@ msgid ""
973973
"for. If *timeout* is ``None``, block until the future completes."
974974
msgstr ""
975975

976-
msgid ""
977-
"If a timeout occurs, it cancels the task and raises :exc:`TimeoutError`."
976+
msgid "If a timeout occurs, it cancels *aw* and raises :exc:`TimeoutError`."
978977
msgstr ""
979978

980-
msgid ""
981-
"To avoid the task :meth:`cancellation <Task.cancel>`, wrap it in :func:"
982-
"`shield`."
979+
msgid "To prevent *aw* from being cancelled, wrap it in :func:`shield`."
983980
msgstr ""
984981

985982
msgid ""
@@ -1019,6 +1016,11 @@ msgstr ""
10191016
msgid "Raises :exc:`TimeoutError` instead of :exc:`asyncio.TimeoutError`."
10201017
msgstr ""
10211018

1019+
msgid ""
1020+
"Implemented using :func:`asyncio.timeout`, a coroutine passed as *aw* is no "
1021+
"longer wrapped in a :class:`Task` when *timeout* is positive."
1022+
msgstr ""
1023+
10221024
msgid "Waiting primitives"
10231025
msgstr ""
10241026

‎library/csv.po‎

Lines changed: 5 additions & 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-08-25 14:37+0000\n"
14+
"POT-Creation-Date: 2026-08-27 23:26+0000\n"
1515
"PO-Revision-Date: 2025-09-16 00:01+0000\n"
1616
"Last-Translator: Bhuvansh Kataria, 2026\n"
1717
"Language-Team: Panjabi (Punjabi) (https://app.transifex.com/python-doc/"
@@ -505,6 +505,10 @@ msgid ""
505505
"character. It defaults to :const:`None`, which disables escaping."
506506
msgstr ""
507507

508+
msgid ""
509+
"Previously the *escapechar* itself was not escaped, which lost it on reading."
510+
msgstr ""
511+
508512
msgid "An empty *escapechar* is not allowed."
509513
msgstr ""
510514

‎library/curses.po‎

Lines changed: 83 additions & 29 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-08-25 14:37+0000\n"
15+
"POT-Creation-Date: 2026-08-27 23:26+0000\n"
1616
"PO-Revision-Date: 2025-09-16 00:01+0000\n"
1717
"Last-Translator: Sukhmanpreet kaur, 2026\n"
1818
"Language-Team: Panjabi (Punjabi) (https://app.transifex.com/python-doc/"
@@ -58,14 +58,25 @@ msgstr ""
5858

5959
msgid ""
6060
"Whenever the documentation mentions a *character* it can be specified as an "
61-
"integer, a one-character Unicode string or a one-byte byte string."
61+
"integer, a one-character Unicode string or a one-byte byte string. An "
62+
"integer is the code of a single encoded byte, optionally combined with "
63+
"attributes and a color pair, as returned by :meth:`window.inch`."
6264
msgstr ""
6365

6466
msgid ""
6567
"Whenever the documentation mentions a *character string* it can be specified "
6668
"as a Unicode string or a byte string."
6769
msgstr ""
6870

71+
msgid ""
72+
"Whether curses may be used from several threads depends on the underlying "
73+
"library and how it was built. In many implementations, including the default "
74+
"build of ncurses, the screen state is shared and not thread-safe; since the "
75+
"blocking and refresh methods (such as :meth:`~window.getch` and :meth:"
76+
"`~window.refresh`) release the :term:`GIL`, unsynchronized use from several "
77+
"threads can then crash the interpreter. Serialize the calls."
78+
msgstr ""
79+
6980
msgid "Module :mod:`curses.ascii`"
7081
msgstr ""
7182

@@ -503,8 +514,8 @@ msgstr ""
503514

504515
msgid ""
505516
"Equivalent to ``tputs(str, 1, putchar)``; emit the value of a specified "
506-
"terminfo capability for the current terminal. Note that the output of :func:"
507-
"`putp` always goes to standard output."
517+
"terminfo capability, a bytes object, for the current terminal. Note that the "
518+
"output of :func:`putp` always goes to standard output."
508519
msgstr ""
509520

510521
msgid ":func:`setupterm` (or :func:`initscr`) must be called first."
@@ -648,8 +659,8 @@ msgstr ""
648659

649660
msgid ""
650661
"Instantiate the bytes object *str* with the supplied parameters, where *str* "
651-
"should be a parameterized string obtained from the terminfo database. For "
652-
"example, ``tparm(tigetstr(\"cup\"), 5, 3)`` could result in "
662+
"should be a parameterized byte string obtained from the terminfo database. "
663+
"For example, ``tparm(tigetstr(\"cup\"), 5, 3)`` could result in "
653664
"``b'\\033[6;4H'``, the exact result depending on terminal type. Up to nine "
654665
"integer parameters may be supplied."
655666
msgstr ""
@@ -670,14 +681,19 @@ msgstr ""
670681

671682
msgid ""
672683
"Return a bytes object which is a printable representation of the character "
673-
"*ch*. Control characters are represented as a caret followed by the "
674-
"character, for example as ``b'^C'``. Printing characters are left as they "
675-
"are."
684+
"*ch*; any attributes and color pair are ignored. Control characters are "
685+
"represented as a caret followed by the character, for example as ``b'^C'``. "
686+
"Printing characters are left as they are."
676687
msgstr ""
677688

678689
msgid "Push *ch* so the next :meth:`~window.getch` will return it."
679690
msgstr ""
680691

692+
msgid ""
693+
"*ch* may be an integer (a key code or the code of an encoded byte), a byte, "
694+
"or a string of length 1 which encodes to a single byte."
695+
msgstr ""
696+
681697
msgid "Only one *ch* can be pushed before :meth:`!getch` is called."
682698
msgstr ""
683699

@@ -689,6 +705,11 @@ msgstr ""
689705
msgid "Push *ch* so the next :meth:`~window.get_wch` will return it."
690706
msgstr ""
691707

708+
msgid ""
709+
"*ch* may be an integer (a character code, not a key code) or a string of "
710+
"length 1."
711+
msgstr ""
712+
692713
msgid "Only one *ch* can be pushed before :meth:`!get_wch` is called."
693714
msgstr ""
694715

@@ -983,23 +1004,54 @@ msgid ""
9831004
msgstr ""
9841005

9851006
msgid ""
986-
"Get a character. Note that the integer returned does *not* have to be in "
987-
"ASCII range: function keys, keypad keys and so on are represented by numbers "
988-
"higher than 255. In no-delay mode, return ``-1`` if there is no input, "
989-
"otherwise wait until a key is pressed."
1007+
"Read a key press, after moving the cursor to *y*, *x* if specified, and "
1008+
"return it as an integer. The window is refreshed first if it is not a pad "
1009+
"and was modified since the last refresh. Wait until a key is pressed, or "
1010+
"return ``-1`` if the read is non-blocking or times out (see :meth:`nodelay` "
1011+
"and :meth:`timeout`)."
1012+
msgstr ""
1013+
1014+
msgid ""
1015+
"An ordinary key is returned as the code of a single byte of its encoding in "
1016+
"the current locale, so a character encoded with several bytes takes several "
1017+
"calls. For example, in a UTF-8 locale ``'é'`` is read as ``195``, then "
1018+
"``169``. Use :meth:`get_wch` to read it as a single character."
1019+
msgstr ""
1020+
1021+
msgid ""
1022+
"In keypad mode (see :meth:`keypad`) function keys and other special keys are "
1023+
"returned as one of the :ref:`KEY_* constants <curses-key-constants>`, which "
1024+
"cannot be mistaken for an ordinary key. Otherwise, or if their escape "
1025+
"sequence does not arrive in time (see :meth:`notimeout` and :func:"
1026+
"`set_escdelay`), their bytes are returned one at a time."
1027+
msgstr ""
1028+
1029+
msgid ""
1030+
"In echo mode (see :func:`echo`) the key is added to the window as by :meth:"
1031+
"`addch`; special keys are not echoed."
1032+
msgstr ""
1033+
1034+
msgid ""
1035+
"Read a key press, after moving the cursor to *y*, *x* if specified, and "
1036+
"return it as a one-character :class:`str`. The window is refreshed first if "
1037+
"it is not a pad and was modified since the last refresh. Wait until a key is "
1038+
"pressed, or raise :exc:`error` if the read is non-blocking or times out "
1039+
"(see :meth:`nodelay` and :meth:`timeout`)."
9901040
msgstr ""
9911041

9921042
msgid ""
993-
"Get a wide character. Return a character for most keys, or an integer for "
994-
"function keys, keypad keys, and other special keys. In no-delay mode, raise "
995-
"an exception if there is no input."
1043+
"In keypad mode (see :meth:`keypad`) function keys and other special keys are "
1044+
"returned as one of the :ref:`KEY_* constants <curses-key-constants>`, an "
1045+
"integer. Otherwise, or if their escape sequence does not arrive in time "
1046+
"(see :meth:`notimeout` and :func:`set_escdelay`), their characters are "
1047+
"returned one at a time."
9961048
msgstr ""
9971049

9981050
msgid ""
999-
"Get a character, returning a string instead of an integer, as :meth:`getch` "
1000-
"does. Function keys, keypad keys and other special keys return a multibyte "
1001-
"string containing the key name. In no-delay mode, raise an exception if "
1002-
"there is no input."
1051+
"Read a key press as :meth:`getch` does, but return it as a :class:`str`: an "
1052+
"ordinary key as a one-character string, the byte decoded as Latin-1, and a "
1053+
"special key as its name, such as ``'KEY_UP'`` (see :func:`keyname`). Raise :"
1054+
"exc:`error` instead of returning ``-1`` if there is no input."
10031055
msgstr ""
10041056

10051057
msgid "Return a tuple ``(y, x)`` of the height and width of the window."
@@ -1012,8 +1064,10 @@ msgid ""
10121064
msgstr ""
10131065

10141066
msgid ""
1015-
"Read a bytes object from the user, with primitive line editing capacity. At "
1016-
"most *n* characters are read; *n* defaults to and cannot exceed 2047."
1067+
"Read a line of input from the user, with primitive line editing capacity, "
1068+
"after moving the cursor to *y*, *x* if specified. Return it as a bytes "
1069+
"object, in the encoding of the current locale and without the terminating "
1070+
"newline. At most *n* bytes are read; *n* defaults to and cannot exceed 2047."
10171071
msgstr ""
10181072

10191073
msgid "The maximum value for *n* was increased from 1023 to 2047."
@@ -1098,12 +1152,10 @@ msgid ""
10981152
msgstr ""
10991153

11001154
msgid ""
1101-
"Return a bytes object of characters, extracted from the window starting at "
1102-
"the current cursor position, or at *y*, *x* if specified, and stopping at "
1103-
"the end of the line. Attributes and color information are stripped from the "
1104-
"characters. If *n* is specified, :meth:`instr` returns a string at most *n* "
1105-
"characters long (exclusive of the trailing NUL). The maximum value for *n* "
1106-
"is 2047."
1155+
"Read the text of the window from the current cursor position, or from *y*, "
1156+
"*x* if specified, to the end of the line, and return it as a bytes object, "
1157+
"in the encoding of the current locale. Attributes and color pairs are "
1158+
"stripped. At most *n* bytes are read; *n* defaults to and cannot exceed 2047."
11071159
msgstr ""
11081160

11091161
msgid ""
@@ -1120,7 +1172,9 @@ msgstr ""
11201172
msgid ""
11211173
"If *flag* is ``True``, escape sequences generated by some keys (keypad, "
11221174
"function keys) will be interpreted by :mod:`!curses`. If *flag* is "
1123-
"``False``, escape sequences will be left as is in the input stream."
1175+
"``False``, escape sequences will be left as is in the input stream. Keypad "
1176+
"mode is disabled by default, but :func:`wrapper` enables it for the main "
1177+
"window."
11241178
msgstr ""
11251179

11261180
msgid ""

‎library/os.path.po‎

Lines changed: 19 additions & 2 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-08-25 14:37+0000\n"
15+
"POT-Creation-Date: 2026-08-27 23:26+0000\n"
1616
"PO-Revision-Date: 2025-09-16 00:01+0000\n"
1717
"Last-Translator: Sukhmanpreet kaur, 2026\n"
1818
"Language-Team: Panjabi (Punjabi) (https://app.transifex.com/python-doc/"
@@ -83,6 +83,21 @@ msgid ""
8383
"path))``."
8484
msgstr ""
8585

86+
msgid ""
87+
"On Windows the path is normalized by the operating system, therefore the "
88+
"result can differ from ``normpath(join(os.getcwd(), path))``. A drive-"
89+
"relative path is resolved against the current directory of the specified "
90+
"drive, and the drive letter is capitalized. Trailing dots and spaces are "
91+
"stripped. For example::"
92+
msgstr ""
93+
94+
msgid ""
95+
">>> os.path.abspath('c:spam')\n"
96+
"'C:\\\\Temp\\\\spam'\n"
97+
">>> os.path.abspath('c:/temp/spam. . .')\n"
98+
"'c:\\\\temp\\\\spam'"
99+
msgstr ""
100+
86101
msgid ":func:`os.path.join` and :func:`os.path.normpath`."
87102
msgstr ""
88103

@@ -399,7 +414,9 @@ msgid ""
399414
"symbolic links encountered in the path (if they are supported by the "
400415
"operating system). On Windows, this function will also resolve MS-DOS (also "
401416
"called 8.3) style names such as ``C:\\\\PROGRA~1`` to ``C:\\\\Program "
402-
"Files``."
417+
"Files``. The returned path uses the case reported by the operating system, "
418+
"which can differ from the case of *path*, in particular the drive letter is "
419+
"capitalized."
403420
msgstr ""
404421

405422
msgid ""

‎library/runpy.po‎

Lines changed: 2 additions & 2 deletions
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-08-19 14:25+0000\n"
14+
"POT-Creation-Date: 2026-08-27 23:26+0000\n"
1515
"PO-Revision-Date: 2025-09-16 00:01+0000\n"
1616
"Last-Translator: Bhuvansh Kataria, 2026\n"
1717
"Language-Team: Panjabi (Punjabi) (https://app.transifex.com/python-doc/"
@@ -137,7 +137,7 @@ msgid ""
137137
"deprecated. See :class:`~importlib.machinery.ModuleSpec` for alternatives."
138138
msgstr ""
139139

140-
msgid "``__cached__`` is no longer set."
140+
msgid "The global variable ``__cached__`` is no longer set."
141141
msgstr ""
142142

143143
msgid ""

‎library/site.po‎

Lines changed: 10 additions & 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-08-19 14:25+0000\n"
14+
"POT-Creation-Date: 2026-08-27 23:26+0000\n"
1515
"PO-Revision-Date: 2025-09-16 00:01+0000\n"
1616
"Last-Translator: Bhuvansh Kataria, 2026\n"
1717
"Language-Team: Panjabi (Punjabi) (https://app.transifex.com/python-doc/"
@@ -498,6 +498,15 @@ msgstr ""
498498
msgid "Return a list containing all global site-packages directories."
499499
msgstr ""
500500

501+
msgid ""
502+
"For each directory present in *prefixes* (or :data:`PREFIXES` if *prefixes* "
503+
"is ``None``), this function will find its site-packages subdirectory "
504+
"depending on the system environment, and will return a list of full paths."
505+
msgstr ""
506+
507+
msgid "Added the optional *prefixes* parameter."
508+
msgstr ""
509+
501510
msgid ""
502511
"Return the path of the user base directory, :data:`USER_BASE`. If it is not "
503512
"initialized yet, this function will also set it, respecting :envvar:"

0 commit comments

Comments
 (0)