Skip to content

Commit 3393dd4

Browse files
committed
Update translation from Transifex
1 parent c0cdf83 commit 3393dd4

Some content is hidden

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

42 files changed

+7482
-322
lines changed

0.po

Lines changed: 614 additions & 139 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Polskie tłumaczenie dokumentacji Pythona
22
========================================
33
![build](https://github.com/python/python-docs-pl/workflows/.github/workflows/update-and-build.yml/badge.svg)
4-
![23.17% przełącznika języków](https://img.shields.io/badge/przełącznik_języków-23.17%25-0.svg)
4+
![23.25% przełącznika języków](https://img.shields.io/badge/przełącznik_języków-23.25%25-0.svg)
55
![postęp tłumaczenia całości dokumentacji](https://img.shields.io/badge/dynamic/json.svg?label=całość&query=$.pl&url=http://gce.zhsj.me/python/newest)
66
![4 tłumaczy](https://img.shields.io/badge/tłumaczy-4-0.svg)
77

c-api/dict.po

Lines changed: 198 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,198 @@
1+
# SOME DESCRIPTIVE TITLE.
2+
# Copyright (C) 2001-2020, Python Software Foundation
3+
# This file is distributed under the same license as the Python package.
4+
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5+
#
6+
# Translators:
7+
# m_aciek <maciej.olko@gmail.com>, 2020
8+
#
9+
#, fuzzy
10+
msgid ""
11+
msgstr ""
12+
"Project-Id-Version: Python 3.8\n"
13+
"Report-Msgid-Bugs-To: \n"
14+
"POT-Creation-Date: 2020-10-03 15:16+0000\n"
15+
"PO-Revision-Date: 2020-05-30 11:48+0000\n"
16+
"Last-Translator: m_aciek <maciej.olko@gmail.com>, 2020\n"
17+
"Language-Team: Polish (https://www.transifex.com/python-doc/teams/5390/pl/)\n"
18+
"MIME-Version: 1.0\n"
19+
"Content-Type: text/plain; charset=UTF-8\n"
20+
"Content-Transfer-Encoding: 8bit\n"
21+
"Language: pl\n"
22+
"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n"
23+
"%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n"
24+
"%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n"
25+
26+
msgid "Dictionary Objects"
27+
msgstr ""
28+
29+
msgid ""
30+
"This subtype of :c:type:`PyObject` represents a Python dictionary object."
31+
msgstr ""
32+
33+
msgid ""
34+
"This instance of :c:type:`PyTypeObject` represents the Python dictionary "
35+
"type. This is the same object as :class:`dict` in the Python layer."
36+
msgstr ""
37+
38+
msgid ""
39+
"Return true if *p* is a dict object or an instance of a subtype of the dict "
40+
"type."
41+
msgstr ""
42+
43+
msgid ""
44+
"Return true if *p* is a dict object, but not an instance of a subtype of the "
45+
"dict type."
46+
msgstr ""
47+
48+
msgid "Return a new empty dictionary, or ``NULL`` on failure."
49+
msgstr ""
50+
51+
msgid ""
52+
"Return a :class:`types.MappingProxyType` object for a mapping which enforces "
53+
"read-only behavior. This is normally used to create a view to prevent "
54+
"modification of the dictionary for non-dynamic class types."
55+
msgstr ""
56+
57+
msgid "Empty an existing dictionary of all key-value pairs."
58+
msgstr ""
59+
60+
msgid ""
61+
"Determine if dictionary *p* contains *key*. If an item in *p* is matches "
62+
"*key*, return ``1``, otherwise return ``0``. On error, return ``-1``. This "
63+
"is equivalent to the Python expression ``key in p``."
64+
msgstr ""
65+
66+
msgid "Return a new dictionary that contains the same key-value pairs as *p*."
67+
msgstr ""
68+
69+
msgid ""
70+
"Insert *val* into the dictionary *p* with a key of *key*. *key* must be :"
71+
"term:`hashable`; if it isn't, :exc:`TypeError` will be raised. Return ``0`` "
72+
"on success or ``-1`` on failure. This function *does not* steal a reference "
73+
"to *val*."
74+
msgstr ""
75+
76+
msgid ""
77+
"Insert *val* into the dictionary *p* using *key* as a key. *key* should be "
78+
"a :c:type:`const char*`. The key object is created using "
79+
"``PyUnicode_FromString(key)``. Return ``0`` on success or ``-1`` on "
80+
"failure. This function *does not* steal a reference to *val*."
81+
msgstr ""
82+
83+
msgid ""
84+
"Remove the entry in dictionary *p* with key *key*. *key* must be hashable; "
85+
"if it isn't, :exc:`TypeError` is raised. If *key* is not in the dictionary, :"
86+
"exc:`KeyError` is raised. Return ``0`` on success or ``-1`` on failure."
87+
msgstr ""
88+
89+
msgid ""
90+
"Remove the entry in dictionary *p* which has a key specified by the string "
91+
"*key*. If *key* is not in the dictionary, :exc:`KeyError` is raised. Return "
92+
"``0`` on success or ``-1`` on failure."
93+
msgstr ""
94+
95+
msgid ""
96+
"Return the object from dictionary *p* which has a key *key*. Return "
97+
"``NULL`` if the key *key* is not present, but *without* setting an exception."
98+
msgstr ""
99+
100+
msgid ""
101+
"Note that exceptions which occur while calling :meth:`__hash__` and :meth:"
102+
"`__eq__` methods will get suppressed. To get error reporting use :c:func:"
103+
"`PyDict_GetItemWithError()` instead."
104+
msgstr ""
105+
106+
msgid ""
107+
"Variant of :c:func:`PyDict_GetItem` that does not suppress exceptions. "
108+
"Return ``NULL`` **with** an exception set if an exception occurred. Return "
109+
"``NULL`` **without** an exception set if the key wasn't present."
110+
msgstr ""
111+
112+
msgid ""
113+
"This is the same as :c:func:`PyDict_GetItem`, but *key* is specified as a :c:"
114+
"type:`const char*`, rather than a :c:type:`PyObject*`."
115+
msgstr ""
116+
117+
msgid ""
118+
"Note that exceptions which occur while calling :meth:`__hash__` and :meth:"
119+
"`__eq__` methods and creating a temporary string object will get suppressed. "
120+
"To get error reporting use :c:func:`PyDict_GetItemWithError()` instead."
121+
msgstr ""
122+
123+
msgid ""
124+
"This is the same as the Python-level :meth:`dict.setdefault`. If present, "
125+
"it returns the value corresponding to *key* from the dictionary *p*. If the "
126+
"key is not in the dict, it is inserted with value *defaultobj* and "
127+
"*defaultobj* is returned. This function evaluates the hash function of "
128+
"*key* only once, instead of evaluating it independently for the lookup and "
129+
"the insertion."
130+
msgstr ""
131+
132+
msgid ""
133+
"Return a :c:type:`PyListObject` containing all the items from the dictionary."
134+
msgstr ""
135+
136+
msgid ""
137+
"Return a :c:type:`PyListObject` containing all the keys from the dictionary."
138+
msgstr ""
139+
140+
msgid ""
141+
"Return a :c:type:`PyListObject` containing all the values from the "
142+
"dictionary *p*."
143+
msgstr ""
144+
145+
msgid ""
146+
"Return the number of items in the dictionary. This is equivalent to "
147+
"``len(p)`` on a dictionary."
148+
msgstr ""
149+
150+
msgid ""
151+
"Iterate over all key-value pairs in the dictionary *p*. The :c:type:"
152+
"`Py_ssize_t` referred to by *ppos* must be initialized to ``0`` prior to the "
153+
"first call to this function to start the iteration; the function returns "
154+
"true for each pair in the dictionary, and false once all pairs have been "
155+
"reported. The parameters *pkey* and *pvalue* should either point to :c:type:"
156+
"`PyObject*` variables that will be filled in with each key and value, "
157+
"respectively, or may be ``NULL``. Any references returned through them are "
158+
"borrowed. *ppos* should not be altered during iteration. Its value "
159+
"represents offsets within the internal dictionary structure, and since the "
160+
"structure is sparse, the offsets are not consecutive."
161+
msgstr ""
162+
163+
msgid "For example::"
164+
msgstr "Dla przykładu::"
165+
166+
msgid ""
167+
"The dictionary *p* should not be mutated during iteration. It is safe to "
168+
"modify the values of the keys as you iterate over the dictionary, but only "
169+
"so long as the set of keys does not change. For example::"
170+
msgstr ""
171+
172+
msgid ""
173+
"Iterate over mapping object *b* adding key-value pairs to dictionary *a*. "
174+
"*b* may be a dictionary, or any object supporting :c:func:`PyMapping_Keys` "
175+
"and :c:func:`PyObject_GetItem`. If *override* is true, existing pairs in *a* "
176+
"will be replaced if a matching key is found in *b*, otherwise pairs will "
177+
"only be added if there is not a matching key in *a*. Return ``0`` on success "
178+
"or ``-1`` if an exception was raised."
179+
msgstr ""
180+
181+
msgid ""
182+
"This is the same as ``PyDict_Merge(a, b, 1)`` in C, and is similar to ``a."
183+
"update(b)`` in Python except that :c:func:`PyDict_Update` doesn't fall back "
184+
"to the iterating over a sequence of key value pairs if the second argument "
185+
"has no \"keys\" attribute. Return ``0`` on success or ``-1`` if an "
186+
"exception was raised."
187+
msgstr ""
188+
189+
msgid ""
190+
"Update or merge into dictionary *a*, from the key-value pairs in *seq2*. "
191+
"*seq2* must be an iterable object producing iterable objects of length 2, "
192+
"viewed as key-value pairs. In case of duplicate keys, the last wins if "
193+
"*override* is true, else the first wins. Return ``0`` on success or ``-1`` "
194+
"if an exception was raised. Equivalent Python (except for the return value)::"
195+
msgstr ""
196+
197+
msgid "Clear the free list. Return the total number of freed items."
198+
msgstr ""

0 commit comments

Comments
 (0)