Skip to content

Commit 084d9e1

Browse files
author
GitHub Action's update-translation job
committed
Update translation from Transifex
1 parent 792ae26 commit 084d9e1

File tree

6 files changed

+179
-74
lines changed

6 files changed

+179
-74
lines changed

README.en.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ f'''![build](https://github.com/python/python-docs-pl/workflows/.github/workflow
1515
![{translators} Translators](https://img.shields.io/badge/Translators-{translators}-0.svg)''')
1616
]]] -->
1717
![build](https://github.com/python/python-docs-pl/workflows/.github/workflows/update-lint-and-build.yml/badge.svg)
18-
![80.54% Language Switcher](https://img.shields.io/badge/language_switcher-80.54%25-0.svg)
19-
![Total Translation of Documentation](https://img.shields.io/badge/Total-4.14%25-0.svg)
18+
![80.97% Language Switcher](https://img.shields.io/badge/language_switcher-80.97%25-0.svg)
19+
![Total Translation of Documentation](https://img.shields.io/badge/Total-4.16%25-0.svg)
2020
![24 Translators](https://img.shields.io/badge/Translators-24-0.svg)
2121
<!-- [[[end]]] -->
2222

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ f'''![build](https://github.com/python/python-docs-pl/workflows/.github/workflow
1515
![{translators} tłumaczy](https://img.shields.io/badge/tłumaczy-{translators}-0.svg)''')
1616
]]] -->
1717
![build](https://github.com/python/python-docs-pl/workflows/.github/workflows/update-lint-and-build.yml/badge.svg)
18-
![80.54% przełącznika języków](https://img.shields.io/badge/przełącznik_języków-80.54%25-0.svg)
19-
![postęp tłumaczenia całości dokumentacji](https://img.shields.io/badge/całość-4.14%25-0.svg)
18+
![80.97% przełącznika języków](https://img.shields.io/badge/przełącznik_języków-80.97%25-0.svg)
19+
![postęp tłumaczenia całości dokumentacji](https://img.shields.io/badge/całość-4.16%25-0.svg)
2020
![24 tłumaczy](https://img.shields.io/badge/tłumaczy-24-0.svg)
2121
<!-- [[[end]]] -->
2222

library/fcntl.po

Lines changed: 95 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2001-2023, Python Software Foundation
2+
# Copyright (C) 2001-2024, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
7-
# Transifex Bot <>, 2023
7+
# Stan U, 2024
88
#
99
#, fuzzy
1010
msgid ""
1111
msgstr ""
12-
"Project-Id-Version: Python 3.11\n"
12+
"Project-Id-Version: Python 3.13\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2023-05-19 14:13+0000\n"
14+
"POT-Creation-Date: 2024-11-22 14:17+0000\n"
1515
"PO-Revision-Date: 2021-06-28 01:06+0000\n"
16-
"Last-Translator: Transifex Bot <>, 2023\n"
16+
"Last-Translator: Stan U, 2024\n"
1717
"Language-Team: Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n"
1818
"MIME-Version: 1.0\n"
1919
"Content-Type: text/plain; charset=UTF-8\n"
@@ -23,23 +23,17 @@ msgstr ""
2323
"(n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && "
2424
"n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n"
2525

26-
msgid ":mod:`fcntl` --- The ``fcntl`` and ``ioctl`` system calls"
26+
msgid ":mod:`!fcntl` --- The ``fcntl`` and ``ioctl`` system calls"
2727
msgstr ""
2828

2929
msgid ""
30-
"This module performs file control and I/O control on file descriptors. It is "
31-
"an interface to the :c:func:`fcntl` and :c:func:`ioctl` Unix routines. For "
32-
"a complete description of these calls, see :manpage:`fcntl(2)` and :manpage:"
33-
"`ioctl(2)` Unix manual pages."
30+
"This module performs file and I/O control on file descriptors. It is an "
31+
"interface to the :c:func:`fcntl` and :c:func:`ioctl` Unix routines. See the :"
32+
"manpage:`fcntl(2)` and :manpage:`ioctl(2)` Unix manual pages for full "
33+
"details."
3434
msgstr ""
3535

36-
msgid ":ref:`Availability <availability>`: not Emscripten, not WASI."
37-
msgstr ""
38-
39-
msgid ""
40-
"This module does not work or is not available on WebAssembly platforms "
41-
"``wasm32-emscripten`` and ``wasm32-wasi``. See :ref:`wasm-availability` for "
42-
"more information."
36+
msgid "Availability"
4337
msgstr ""
4438

4539
msgid ""
@@ -56,30 +50,58 @@ msgid ""
5650
msgstr ""
5751

5852
msgid ""
59-
"The fcntl module now contains ``F_ADD_SEALS``, ``F_GET_SEALS``, and "
53+
"The :mod:`!fcntl` module now contains ``F_ADD_SEALS``, ``F_GET_SEALS``, and "
6054
"``F_SEAL_*`` constants for sealing of :func:`os.memfd_create` file "
6155
"descriptors."
6256
msgstr ""
6357

6458
msgid ""
65-
"On macOS, the fcntl module exposes the ``F_GETPATH`` constant, which obtains "
66-
"the path of a file from a file descriptor. On Linux(>=3.15), the fcntl "
67-
"module exposes the ``F_OFD_GETLK``, ``F_OFD_SETLK`` and ``F_OFD_SETLKW`` "
68-
"constants, which are used when working with open file description locks."
59+
"On macOS, the :mod:`!fcntl` module exposes the ``F_GETPATH`` constant, which "
60+
"obtains the path of a file from a file descriptor. On Linux(>=3.15), the :"
61+
"mod:`!fcntl` module exposes the ``F_OFD_GETLK``, ``F_OFD_SETLK`` and "
62+
"``F_OFD_SETLKW`` constants, which are used when working with open file "
63+
"description locks."
6964
msgstr ""
7065

7166
msgid ""
72-
"On Linux >= 2.6.11, the fcntl module exposes the ``F_GETPIPE_SZ`` and "
73-
"``F_SETPIPE_SZ`` constants, which allow to check and modify a pipe's size "
74-
"respectively."
67+
"On Linux >= 2.6.11, the :mod:`!fcntl` module exposes the ``F_GETPIPE_SZ`` "
68+
"and ``F_SETPIPE_SZ`` constants, which allow to check and modify a pipe's "
69+
"size respectively."
7570
msgstr ""
7671

7772
msgid ""
78-
"On FreeBSD, the fcntl module exposes the ``F_DUP2FD`` and "
73+
"On FreeBSD, the :mod:`!fcntl` module exposes the ``F_DUP2FD`` and "
7974
"``F_DUP2FD_CLOEXEC`` constants, which allow to duplicate a file descriptor, "
8075
"the latter setting ``FD_CLOEXEC`` flag in addition."
8176
msgstr ""
8277

78+
msgid ""
79+
"On Linux >= 4.5, the :mod:`fcntl` module exposes the ``FICLONE`` and "
80+
"``FICLONERANGE`` constants, which allow to share some data of one file with "
81+
"another file by reflinking on some filesystems (e.g., btrfs, OCFS2, and "
82+
"XFS). This behavior is commonly referred to as \"copy-on-write\"."
83+
msgstr ""
84+
85+
msgid ""
86+
"On Linux >= 2.6.32, the :mod:`!fcntl` module exposes the ``F_GETOWN_EX``, "
87+
"``F_SETOWN_EX``, ``F_OWNER_TID``, ``F_OWNER_PID``, ``F_OWNER_PGRP`` "
88+
"constants, which allow to direct I/O availability signals to a specific "
89+
"thread, process, or process group. On Linux >= 4.13, the :mod:`!fcntl` "
90+
"module exposes the ``F_GET_RW_HINT``, ``F_SET_RW_HINT``, "
91+
"``F_GET_FILE_RW_HINT``, ``F_SET_FILE_RW_HINT``, and ``RWH_WRITE_LIFE_*`` "
92+
"constants, which allow to inform the kernel about the relative expected "
93+
"lifetime of writes on a given inode or via a particular open file "
94+
"description. On Linux >= 5.1 and NetBSD, the :mod:`!fcntl` module exposes "
95+
"the ``F_SEAL_FUTURE_WRITE`` constant for use with ``F_ADD_SEALS`` and "
96+
"``F_GET_SEALS`` operations. On FreeBSD, the :mod:`!fcntl` module exposes the "
97+
"``F_READAHEAD``, ``F_ISUNIONSTACK``, and ``F_KINFO`` constants. On macOS and "
98+
"FreeBSD, the :mod:`!fcntl` module exposes the ``F_RDAHEAD`` constant. On "
99+
"NetBSD and AIX, the :mod:`!fcntl` module exposes the ``F_CLOSEM`` constant. "
100+
"On NetBSD, the :mod:`!fcntl` module exposes the ``F_MAXFD`` constant. On "
101+
"macOS and NetBSD, the :mod:`!fcntl` module exposes the ``F_GETNOSIGPIPE`` "
102+
"and ``F_SETNOSIGPIPE`` constant."
103+
msgstr ""
104+
83105
msgid "The module defines the following functions:"
84106
msgstr ""
85107

@@ -101,7 +123,7 @@ msgid ""
101123
"result in a segmentation violation or a more subtle data corruption."
102124
msgstr ""
103125

104-
msgid "If the :c:func:`fcntl` fails, an :exc:`OSError` is raised."
126+
msgid "If the :c:func:`fcntl` call fails, an :exc:`OSError` is raised."
105127
msgstr ""
106128

107129
msgid ""
@@ -154,12 +176,26 @@ msgid ""
154176
"copied back into the supplied buffer."
155177
msgstr ""
156178

157-
msgid "If the :c:func:`ioctl` fails, an :exc:`OSError` exception is raised."
179+
msgid ""
180+
"If the :c:func:`ioctl` call fails, an :exc:`OSError` exception is raised."
158181
msgstr ""
159182

160183
msgid "An example::"
161184
msgstr ""
162185

186+
msgid ""
187+
">>> import array, fcntl, struct, termios, os\n"
188+
">>> os.getpgrp()\n"
189+
"13341\n"
190+
">>> struct.unpack('h', fcntl.ioctl(0, termios.TIOCGPGRP, \" \"))[0]\n"
191+
"13341\n"
192+
">>> buf = array.array('h', [0])\n"
193+
">>> fcntl.ioctl(0, termios.TIOCGPGRP, buf, 1)\n"
194+
"0\n"
195+
">>> buf\n"
196+
"array('h', [13341])"
197+
msgstr ""
198+
163199
msgid ""
164200
"Raises an :ref:`auditing event <auditing>` ``fcntl.ioctl`` with arguments "
165201
"``fd``, ``request``, ``arg``."
@@ -172,7 +208,8 @@ msgid ""
172208
"function is emulated using :c:func:`fcntl`.)"
173209
msgstr ""
174210

175-
msgid "If the :c:func:`flock` fails, an :exc:`OSError` exception is raised."
211+
msgid ""
212+
"If the :c:func:`flock` call fails, an :exc:`OSError` exception is raised."
176213
msgstr ""
177214

178215
msgid ""
@@ -187,24 +224,27 @@ msgid ""
187224
"*cmd* is one of the following values:"
188225
msgstr ""
189226

190-
msgid ":const:`LOCK_UN` -- unlock"
227+
msgid "Release an existing lock."
191228
msgstr ""
192229

193-
msgid ":const:`LOCK_SH` -- acquire a shared lock"
230+
msgid "Acquire a shared lock."
194231
msgstr ""
195232

196-
msgid ":const:`LOCK_EX` -- acquire an exclusive lock"
233+
msgid "Acquire an exclusive lock."
234+
msgstr ""
235+
236+
msgid ""
237+
"Bitwise OR with any of the other three ``LOCK_*`` constants to make the "
238+
"request non-blocking."
197239
msgstr ""
198240

199241
msgid ""
200-
"When *cmd* is :const:`LOCK_SH` or :const:`LOCK_EX`, it can also be bitwise "
201-
"ORed with :const:`LOCK_NB` to avoid blocking on lock acquisition. If :const:"
202-
"`LOCK_NB` is used and the lock cannot be acquired, an :exc:`OSError` will be "
203-
"raised and the exception will have an *errno* attribute set to :const:"
204-
"`EACCES` or :const:`EAGAIN` (depending on the operating system; for "
205-
"portability, check for both values). On at least some systems, :const:"
206-
"`LOCK_EX` can only be used if the file descriptor refers to a file opened "
207-
"for writing."
242+
"If :const:`!LOCK_NB` is used and the lock cannot be acquired, an :exc:"
243+
"`OSError` will be raised and the exception will have an *errno* attribute "
244+
"set to :const:`~errno.EACCES` or :const:`~errno.EAGAIN` (depending on the "
245+
"operating system; for portability, check for both values). On at least some "
246+
"systems, :const:`!LOCK_EX` can only be used if the file descriptor refers to "
247+
"a file opened for writing."
208248
msgstr ""
209249

210250
msgid ""
@@ -213,14 +253,13 @@ msgid ""
213253
"IOBase.seek`, specifically:"
214254
msgstr ""
215255

216-
msgid ":const:`0` -- relative to the start of the file (:data:`os.SEEK_SET`)"
256+
msgid "``0`` -- relative to the start of the file (:const:`os.SEEK_SET`)"
217257
msgstr ""
218258

219-
msgid ""
220-
":const:`1` -- relative to the current buffer position (:data:`os.SEEK_CUR`)"
259+
msgid "``1`` -- relative to the current buffer position (:const:`os.SEEK_CUR`)"
221260
msgstr ""
222261

223-
msgid ":const:`2` -- relative to the end of the file (:data:`os.SEEK_END`)"
262+
msgid "``2`` -- relative to the end of the file (:const:`os.SEEK_END`)"
224263
msgstr ""
225264

226265
msgid ""
@@ -237,6 +276,16 @@ msgstr ""
237276
msgid "Examples (all on a SVR4 compliant system)::"
238277
msgstr ""
239278

279+
msgid ""
280+
"import struct, fcntl, os\n"
281+
"\n"
282+
"f = open(...)\n"
283+
"rv = fcntl.fcntl(f, fcntl.F_SETFL, os.O_NDELAY)\n"
284+
"\n"
285+
"lockdata = struct.pack('hhllhh', fcntl.F_WRLCK, 0, 0, 0, 0, 0)\n"
286+
"rv = fcntl.fcntl(f, fcntl.F_SETLKW, lockdata)"
287+
msgstr ""
288+
240289
msgid ""
241290
"Note that in the first example the return value variable *rv* will hold an "
242291
"integer value; in the second example it will hold a :class:`bytes` object. "
@@ -248,7 +297,7 @@ msgid "Module :mod:`os`"
248297
msgstr ""
249298

250299
msgid ""
251-
"If the locking flags :data:`~os.O_SHLOCK` and :data:`~os.O_EXLOCK` are "
300+
"If the locking flags :const:`~os.O_SHLOCK` and :const:`~os.O_EXLOCK` are "
252301
"present in the :mod:`os` module (on BSD only), the :func:`os.open` function "
253302
"provides an alternative to the :func:`lockf` and :func:`flock` functions."
254303
msgstr ""
@@ -260,4 +309,4 @@ msgid "file control"
260309
msgstr ""
261310

262311
msgid "I/O control"
263-
msgstr ""
312+
msgstr "Kontrola I/O"

0 commit comments

Comments
 (0)