Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita1ff48b

Browse files
Update translations
1 parent0b5c8bd commita1ff48b

File tree

3 files changed

+24
-9
lines changed

3 files changed

+24
-9
lines changed

‎library/typing.po

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4664,6 +4664,10 @@ msgid ""
46644664
"contain hyphens, or when key names must not be :ref:`mangled <private-name-"
46654665
"mangling>` like regular private names::"
46664666
msgstr""
4667+
"Esta sintaxe funcional permite definirmos chaves usando :ref:"
4668+
"`identificadores <identifiers>` inválidos, por exemplo, por serem palavras-"
4669+
"chave ou conterem hífens, ou quando os nomes das chaves não devem ser :ref:"
4670+
"`desconfigurados <private-name-mangling>` como nomes privados comuns::"
46674671

46684672
#:../../library/typing.rst:2288
46694673
msgid""
@@ -4679,14 +4683,25 @@ msgid ""
46794683
"Point2D = TypedDict('Point2D', {'in': int, 'x-y': int})\n"
46804684
"Definition = TypedDict('Definition', {'__schema': str}) # not mangled"
46814685
msgstr""
4686+
"# levanta SyntaxError\n"
4687+
"class Point2D(TypedDict):\n"
4688+
" in: int # 'in' é uma palavra reservada\n"
4689+
" x-y: int # nome com hífen\n"
4690+
"\n"
4691+
"class Definition(TypedDict):\n"
4692+
" __schema: str # desconfigurado para `_Definition__schema`\n"
4693+
"\n"
4694+
"# OK, sintaxe funcional\n"
4695+
"Point2D = TypedDict('Point2D', {'in': int, 'x-y': int})\n"
4696+
"Definition = TypedDict('Definition', {'__schema': str}) # não desconfigurado"
46824697

46834698
#:../../library/typing.rst:2300
46844699
msgid""
46854700
"By default, all keys must be present in a ``TypedDict``. It is possible to "
46864701
"mark individual keys as non-required using :data:`NotRequired`::"
46874702
msgstr""
46884703
"Por padrão, todas as chaves devem estar presentes em um ``TypedDict``. É "
4689-
"possível marcar chaves individuais como nãoobrigatórias usando :data:"
4704+
"possível marcar chaves individuais como não-obrigatórias usando :data:"
46904705
"`NotRequired`::"
46914706

46924707
#:../../library/typing.rst:2303
@@ -4748,7 +4763,7 @@ msgid ""
47484763
"``True`` as the value of the ``total`` argument. ``True`` is the default, "
47494764
"and makes all items defined in the class body required."
47504765
msgstr""
4751-
"Isso significa que um ``Point2D`` ``TypedDict`` pode ter qualquer uma de "
4766+
"Isso significa que um ``TypedDict`` ``Point2D`` pode ter qualquer uma de "
47524767
"suas chaves omitidas. Espera-se que um verificador de tipos apenas permita "
47534768
"os literais ``False`` ou ``True`` como valores do argumento ``total``. "
47544769
"``True`` é o padrão, e todos os itens definidos no corpo da classe tornam-se "
@@ -4760,7 +4775,7 @@ msgid ""
47604775
"using :data:`Required`::"
47614776
msgstr""
47624777
"As chaves individuais de um ``TypedDict`` com ``total=False`` podem ser "
4763-
"marcadasconforme necessário usando :data:`Required`::"
4778+
"marcadascomo obrigatórias usando :data:`Required`::"
47644779

47654780
#:../../library/typing.rst:2332
47664781
msgid""
@@ -5036,12 +5051,12 @@ msgid ""
50365051
"Added support for marking individual keys as :data:`Required` or :data:"
50375052
"`NotRequired`. See :pep:`655`."
50385053
msgstr""
5039-
"Adicionado suporte para marcar chaves individuais como :data:`Required` ou :"
5054+
"adicionado suporte para marcar chaves individuais como :data:`Required` ou :"
50405055
"data:`NotRequired`. Consulte :pep:`655`."
50415056

50425057
#:../../library/typing.rst:2471
50435058
msgid"Added support for generic ``TypedDict``\\ s."
5044-
msgstr"Adicionado suporte para ``TypedDict``\\ s genéricos."
5059+
msgstr"adicionado suporte para ``TypedDict``\\ s genéricos."
50455060

50465061
#:../../library/typing.rst:2475
50475062
msgid"Protocols"

‎potodo.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171

7272

7373

74-
#library (61.88% done)
74+
#library (61.89% done)
7575

7676
- 2to3.po 121 / 132 ( 91.0% translated).
7777
- array.po 77 / 84 ( 91.0% translated).
@@ -198,7 +198,7 @@
198198
- traceback.po 9 / 111 ( 8.0% translated).
199199
- tracemalloc.po 21 / 156 ( 13.0% translated).
200200
- types.po 98 / 99 ( 98.0% translated).
201-
- typing.po709 / 738 ( 96.0% translated).
201+
- typing.po711 / 738 ( 96.0% translated).
202202
- unicodedata.po 5 / 32 ( 15.0% translated).
203203
- unittest.mock-examples.po 22 / 182 ( 12.0% translated).
204204
- unittest.mock.po 103 / 440 ( 23.0% translated).
@@ -258,5 +258,5 @@
258258
- 3.7.po 252 / 568 ( 44.0% translated).
259259

260260

261-
#TOTAL (67.13% done)
261+
#TOTAL (67.14% done)
262262

‎stats.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"completion":"67.13%","translated":41619,"entries":61994,"updated_at":"2025-04-13T23:28:53+00:00Z"}
1+
{"completion":"67.14%","translated":41621,"entries":61994,"updated_at":"2025-04-14T23:27:51+00:00Z"}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp