Skip to content

Commit 25221cc

Browse files
[po] auto sync
1 parent 31de4c8 commit 25221cc

19 files changed

Lines changed: 1375 additions & 1285 deletions

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "0.00%", "updated_at": "2025-09-01T15:57:14Z"}
1+
{"translation": "0.00%", "updated_at": "2025-09-03T15:57:45Z"}

extending/extending.mo

0 Bytes
Binary file not shown.

extending/extending.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.13\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-08-27 15:16+0000\n"
14+
"POT-Creation-Date: 2025-09-03 15:14+0000\n"
1515
"PO-Revision-Date: 2025-07-18 19:21+0000\n"
1616
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n"
1717
"Language-Team: Russian (https://app.transifex.com/python-doc/teams/5390/ru/)\n"
@@ -683,7 +683,7 @@ msgstr ""
683683
#: ../../extending/extending.rst:428
684684
msgid ""
685685
"When embedding Python, the :c:func:`!PyInit_spam` function is not called "
686-
"automatically unless there's an entry in the :c:data:`PyImport_Inittab` "
686+
"automatically unless there's an entry in the :c:data:`!PyImport_Inittab` "
687687
"table. To add the module to the initialization table, use "
688688
":c:func:`PyImport_AppendInittab`, optionally followed by an import of the "
689689
"module::"

library/unicodedata.mo

0 Bytes
Binary file not shown.

library/unicodedata.po

Lines changed: 131 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.13\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2025-01-03 14:16+0000\n"
14+
"POT-Creation-Date: 2025-09-03 15:14+0000\n"
1515
"PO-Revision-Date: 2025-07-18 19:22+0000\n"
1616
"Last-Translator: Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n"
1717
"Language-Team: Russian (https://app.transifex.com/python-doc/teams/5390/ru/)\n"
@@ -41,87 +41,176 @@ msgid ""
4141
"functions:"
4242
msgstr ""
4343

44-
#: ../../library/unicodedata.rst:31
44+
#: ../../library/unicodedata.rst:30
45+
msgid ""
46+
"The :ref:`unicode-howto` for more information about Unicode and how to use "
47+
"this module."
48+
msgstr ""
49+
50+
#: ../../library/unicodedata.rst:36
4551
msgid ""
4652
"Look up character by name. If a character with the given name is found, "
4753
"return the corresponding character. If not found, :exc:`KeyError` is "
48-
"raised."
54+
"raised. For example::"
55+
msgstr ""
56+
57+
#: ../../library/unicodedata.rst:40
58+
msgid ""
59+
">>> unicodedata.lookup('LEFT CURLY BRACKET')\n"
60+
"'{'"
61+
msgstr ""
62+
63+
#: ../../library/unicodedata.rst:43
64+
msgid ""
65+
"The characters returned by this function are the same as those produced by "
66+
"``\\N`` escape sequence in string literals. For example::"
67+
msgstr ""
68+
69+
#: ../../library/unicodedata.rst:46
70+
msgid ""
71+
">>> unicodedata.lookup('MIDDLE DOT') == '\\N{MIDDLE DOT}'\n"
72+
"True"
4973
msgstr ""
5074

51-
#: ../../library/unicodedata.rst:34
75+
#: ../../library/unicodedata.rst:49
5276
msgid "Support for name aliases [#]_ and named sequences [#]_ has been added."
5377
msgstr ""
5478

55-
#: ../../library/unicodedata.rst:40
79+
#: ../../library/unicodedata.rst:55
5680
msgid ""
5781
"Returns the name assigned to the character *chr* as a string. If no name is "
5882
"defined, *default* is returned, or, if not given, :exc:`ValueError` is "
59-
"raised."
83+
"raised. For example::"
84+
msgstr ""
85+
86+
#: ../../library/unicodedata.rst:59
87+
msgid ""
88+
">>> unicodedata.name('½')\n"
89+
"'VULGAR FRACTION ONE HALF'\n"
90+
">>> unicodedata.name('\\uFFFF', 'fallback')\n"
91+
"'fallback'"
6092
msgstr ""
6193

62-
#: ../../library/unicodedata.rst:47
94+
#: ../../library/unicodedata.rst:67
6395
msgid ""
6496
"Returns the decimal value assigned to the character *chr* as integer. If no "
6597
"such value is defined, *default* is returned, or, if not given, "
66-
":exc:`ValueError` is raised."
98+
":exc:`ValueError` is raised. For example::"
99+
msgstr ""
100+
101+
#: ../../library/unicodedata.rst:71
102+
msgid ""
103+
">>> unicodedata.decimal('\\N{ARABIC-INDIC DIGIT NINE}')\n"
104+
"9\n"
105+
">>> unicodedata.decimal('\\N{SUPERSCRIPT NINE}', -1)\n"
106+
"-1"
67107
msgstr ""
68108

69-
#: ../../library/unicodedata.rst:54
109+
#: ../../library/unicodedata.rst:79
70110
msgid ""
71111
"Returns the digit value assigned to the character *chr* as integer. If no "
72112
"such value is defined, *default* is returned, or, if not given, "
73-
":exc:`ValueError` is raised."
113+
":exc:`ValueError` is raised::"
114+
msgstr ""
115+
116+
#: ../../library/unicodedata.rst:83
117+
msgid ""
118+
">>> unicodedata.digit('\\N{SUPERSCRIPT NINE}')\n"
119+
"9"
74120
msgstr ""
75121

76-
#: ../../library/unicodedata.rst:61
122+
#: ../../library/unicodedata.rst:89
77123
msgid ""
78124
"Returns the numeric value assigned to the character *chr* as float. If no "
79125
"such value is defined, *default* is returned, or, if not given, "
80-
":exc:`ValueError` is raised."
126+
":exc:`ValueError` is raised::"
127+
msgstr ""
128+
129+
#: ../../library/unicodedata.rst:93
130+
msgid ""
131+
">>> unicodedata.numeric('½')\n"
132+
"0.5"
133+
msgstr ""
134+
135+
#: ../../library/unicodedata.rst:99
136+
msgid ""
137+
"Returns the general category assigned to the character *chr* as string. "
138+
"General category names consist of two letters. See the `General Category "
139+
"Values section of the Unicode Character Database documentation "
140+
"<https://www.unicode.org/reports/tr44/tr44-30.html#General_Category_Values>`_"
141+
" for a list of category codes. For example::"
81142
msgstr ""
82143

83-
#: ../../library/unicodedata.rst:68
144+
#: ../../library/unicodedata.rst:105
84145
msgid ""
85-
"Returns the general category assigned to the character *chr* as string."
146+
">>> unicodedata.category('A') # 'L'etter, 'u'ppercase\n"
147+
"'Lu'"
86148
msgstr ""
87149

88-
#: ../../library/unicodedata.rst:74
150+
#: ../../library/unicodedata.rst:111
89151
msgid ""
90152
"Returns the bidirectional class assigned to the character *chr* as string. "
91-
"If no such value is defined, an empty string is returned."
153+
"If no such value is defined, an empty string is returned. See the "
154+
"`Bidirectional Class Values section of the Unicode Character Database "
155+
"<https://www.unicode.org/reports/tr44/tr44-30.html#Bidi_Class_Values>`_ "
156+
"documentation for a list of bidirectional codes. For example::"
92157
msgstr ""
93158

94-
#: ../../library/unicodedata.rst:80
159+
#: ../../library/unicodedata.rst:117
160+
msgid ""
161+
">>> unicodedata.bidirectional('\\N{ARABIC-INDIC DIGIT SEVEN}') # 'A'rabic, 'N'umber\n"
162+
"'AN'"
163+
msgstr ""
164+
165+
#: ../../library/unicodedata.rst:123
95166
msgid ""
96167
"Returns the canonical combining class assigned to the character *chr* as "
97-
"integer. Returns ``0`` if no combining class is defined."
168+
"integer. Returns ``0`` if no combining class is defined. See the `Canonical "
169+
"Combining Class Values section of the Unicode Character Database "
170+
"<www.unicode.org/reports/tr44/tr44-30.html#Canonical_Combining_Class_Values>`_"
171+
" for more information."
98172
msgstr ""
99173

100-
#: ../../library/unicodedata.rst:86
174+
#: ../../library/unicodedata.rst:132
101175
msgid ""
102-
"Returns the east asian width assigned to the character *chr* as string."
176+
"Returns the east asian width assigned to the character *chr* as string. For "
177+
"a list of widths and or more information, see the `Unicode Standard Annex "
178+
"#11 <https://www.unicode.org/reports/tr11/tr11-41.html>`_."
103179
msgstr ""
104180

105-
#: ../../library/unicodedata.rst:92
181+
#: ../../library/unicodedata.rst:139
106182
msgid ""
107183
"Returns the mirrored property assigned to the character *chr* as integer. "
108184
"Returns ``1`` if the character has been identified as a \"mirrored\" "
109-
"character in bidirectional text, ``0`` otherwise."
185+
"character in bidirectional text, ``0`` otherwise. For example::"
110186
msgstr ""
111187

112-
#: ../../library/unicodedata.rst:99
188+
#: ../../library/unicodedata.rst:143
189+
msgid ""
190+
">>> unicodedata.mirrored('>')\n"
191+
"1"
192+
msgstr ""
193+
194+
#: ../../library/unicodedata.rst:149
113195
msgid ""
114196
"Returns the character decomposition mapping assigned to the character *chr* "
115-
"as string. An empty string is returned in case no such mapping is defined."
197+
"as string. An empty string is returned in case no such mapping is defined. "
198+
"For example::"
199+
msgstr ""
200+
201+
#: ../../library/unicodedata.rst:153
202+
msgid ""
203+
">>> unicodedata.decomposition('Ã')\n"
204+
"'0041 0303'"
116205
msgstr ""
117206

118-
#: ../../library/unicodedata.rst:106
207+
#: ../../library/unicodedata.rst:159
119208
msgid ""
120209
"Return the normal form *form* for the Unicode string *unistr*. Valid values "
121210
"for *form* are 'NFC', 'NFKC', 'NFD', and 'NFKD'."
122211
msgstr ""
123212

124-
#: ../../library/unicodedata.rst:109
213+
#: ../../library/unicodedata.rst:162
125214
msgid ""
126215
"The Unicode standard defines various normalization forms of a Unicode "
127216
"string, based on the definition of canonical equivalence and compatibility "
@@ -131,7 +220,7 @@ msgid ""
131220
"(COMBINING CEDILLA)."
132221
msgstr ""
133222

134-
#: ../../library/unicodedata.rst:115
223+
#: ../../library/unicodedata.rst:168
135224
msgid ""
136225
"For each character, there are two normal forms: normal form C and normal "
137226
"form D. Normal form D (NFD) is also known as canonical decomposition, and "
@@ -140,65 +229,61 @@ msgid ""
140229
"characters again."
141230
msgstr ""
142231

143-
#: ../../library/unicodedata.rst:120
232+
#: ../../library/unicodedata.rst:173
144233
msgid ""
145234
"In addition to these two forms, there are two additional normal forms based "
146235
"on compatibility equivalence. In Unicode, certain characters are supported "
147236
"which normally would be unified with other characters. For example, U+2160 "
148237
"(ROMAN NUMERAL ONE) is really the same thing as U+0049 (LATIN CAPITAL LETTER"
149238
" I). However, it is supported in Unicode for compatibility with existing "
150-
"character sets (e.g. gb2312)."
239+
"character sets (for example, gb2312)."
151240
msgstr ""
152241

153-
#: ../../library/unicodedata.rst:127
242+
#: ../../library/unicodedata.rst:180
154243
msgid ""
155-
"The normal form KD (NFKD) will apply the compatibility decomposition, i.e. "
156-
"replace all compatibility characters with their equivalents. The normal form"
157-
" KC (NFKC) first applies the compatibility decomposition, followed by the "
158-
"canonical composition."
244+
"The normal form KD (NFKD) will apply the compatibility decomposition, that "
245+
"is, replace all compatibility characters with their equivalents. The normal "
246+
"form KC (NFKC) first applies the compatibility decomposition, followed by "
247+
"the canonical composition."
159248
msgstr ""
160249

161-
#: ../../library/unicodedata.rst:132
250+
#: ../../library/unicodedata.rst:185
162251
msgid ""
163252
"Even if two unicode strings are normalized and look the same to a human "
164253
"reader, if one has combining characters and the other doesn't, they may not "
165254
"compare equal."
166255
msgstr ""
167256

168-
#: ../../library/unicodedata.rst:138
257+
#: ../../library/unicodedata.rst:192
169258
msgid ""
170259
"Return whether the Unicode string *unistr* is in the normal form *form*. "
171260
"Valid values for *form* are 'NFC', 'NFKC', 'NFD', and 'NFKD'."
172261
msgstr ""
173262

174-
#: ../../library/unicodedata.rst:144
263+
#: ../../library/unicodedata.rst:198
175264
msgid "In addition, the module exposes the following constant:"
176265
msgstr ""
177266

178-
#: ../../library/unicodedata.rst:148
267+
#: ../../library/unicodedata.rst:202
179268
msgid "The version of the Unicode database used in this module."
180269
msgstr ""
181270

182-
#: ../../library/unicodedata.rst:153
271+
#: ../../library/unicodedata.rst:207
183272
msgid ""
184273
"This is an object that has the same methods as the entire module, but uses "
185274
"the Unicode database version 3.2 instead, for applications that require this"
186275
" specific version of the Unicode database (such as IDNA)."
187276
msgstr ""
188277

189-
#: ../../library/unicodedata.rst:157
190-
msgid "Examples:"
191-
msgstr ""
192-
193-
#: ../../library/unicodedata.rst:177
278+
#: ../../library/unicodedata.rst:213
194279
msgid "Footnotes"
195280
msgstr ""
196281

197-
#: ../../library/unicodedata.rst:178
282+
#: ../../library/unicodedata.rst:214
198283
msgid "https://www.unicode.org/Public/15.1.0/ucd/NameAliases.txt"
199284
msgstr ""
200285

201-
#: ../../library/unicodedata.rst:180
286+
#: ../../library/unicodedata.rst:216
202287
msgid "https://www.unicode.org/Public/15.1.0/ucd/NamedSequences.txt"
203288
msgstr ""
204289

library/xml.sax.handler.mo

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)