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

Commit43057e4

Browse files
Update translations
1 parentd29126a commit43057e4

File tree

4 files changed

+30
-7
lines changed

4 files changed

+30
-7
lines changed

‎extending/embedding.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# Translators:
77
# Marco Rougeth <marco@rougeth.com>, 2020
88
# Claudio Rogerio Carvalho Filho <excriptbrasil@gmail.com>, 2020
9-
# elielmartinsbr, 2024
9+
# elielmartinsbr <elielmartinsbr@gmail.com>, 2024
1010
#
1111
#,fuzzy
1212
msgid ""
@@ -15,7 +15,7 @@ msgstr ""
1515
"Report-Msgid-Bugs-To:\n"
1616
"POT-Creation-Date:2024-10-04 17:06+0000\n"
1717
"PO-Revision-Date:2020-05-30 11:53+0000\n"
18-
"Last-Translator:elielmartinsbr, 2024\n"
18+
"Last-Translator:elielmartinsbr <elielmartinsbr@gmail.com>, 2024\n"
1919
"Language-Team:Portuguese (Brazil) (https://app.transifex.com/python-doc/"
2020
"teams/5390/pt_BR/)\n"
2121
"MIME-Version:1.0\n"

‎library/optparse.po

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2937,6 +2937,11 @@ msgid ""
29372937
"method, which in turn prepends the program name and the string ``\"error:"
29382938
"\"`` and prints everything to stderr before terminating the process."
29392939
msgstr""
2940+
"Sua função de verificação de tipo deve levantar :exc:`OptionValueError` se "
2941+
"encontrar algum problema. :exc:`OptionValueError` recebe um único argumento "
2942+
"de string, que é passado como está para o método :meth:`error` do :class:"
2943+
"`OptionParser`, que por sua vez adiciona o nome do programa e a string "
2944+
"``\"error:\"`` e exibe tudo no stderr antes de encerrar o processo."
29402945

29412946
#:../../library/optparse.rst:1884
29422947
msgid""
@@ -2945,20 +2950,28 @@ msgid ""
29452950
"even sillier than it used to be, because :mod:`optparse` 1.3 added built-in "
29462951
"support for complex numbers, but never mind.)"
29472952
msgstr""
2953+
"Aqui está um exemplo bobo que demonstra a adição de um tipo de opção "
2954+
"``\"complex\"`` para analisar números complexos no estilo Python na linha de "
2955+
"comando. (Isso é ainda mais bobo do que costumava ser, porque :mod:"
2956+
"`optparse` 1.3 adicionou suporte embutido para números complexos, mas não "
2957+
"importa.)"
29482958

29492959
#:../../library/optparse.rst:1889
29502960
msgid"First, the necessary imports::"
2951-
msgstr""
2961+
msgstr"Primeiro, as importações necessárias::"
29522962

29532963
#:../../library/optparse.rst:1894
29542964
msgid""
29552965
"You need to define your type-checker first, since it's referred to later (in "
29562966
"the :attr:`~Option.TYPE_CHECKER` class attribute of your Option subclass)::"
29572967
msgstr""
2968+
"Você precisa definir seu verificador de tipo primeiro, pois ele será "
2969+
"referenciado mais tarde (no atributo de classe :attr:`~Option.TYPE_CHECKER` "
2970+
"da sua subclasse Option)::"
29582971

29592972
#:../../library/optparse.rst:1904
29602973
msgid"Finally, the Option subclass::"
2961-
msgstr""
2974+
msgstr"Finalmente, a subclasse de Option::"
29622975

29632976
#:../../library/optparse.rst:1911
29642977
msgid""
@@ -2967,20 +2980,30 @@ msgid ""
29672980
"`optparse`'s Option class. This being Python, nothing stops you from doing "
29682981
"that except good manners and common sense.)"
29692982
msgstr""
2983+
"(Se não fizéssemos uma :func:`copy` de :attr:`Option.TYPE_CHECKER`, "
2984+
"acabaríamos modificando o atributo :attr:`~Option.TYPE_CHECKER` da classe "
2985+
"Option de :mod:`optparse`. Sendo Python, nada impede você de fazer isso, "
2986+
"exceto boas maneiras e bom senso.)"
29702987

29712988
#:../../library/optparse.rst:1916
29722989
msgid""
29732990
"That's it! Now you can write a script that uses the new option type just "
29742991
"like any other :mod:`optparse`\\ -based script, except you have to instruct "
29752992
"your OptionParser to use MyOption instead of Option::"
29762993
msgstr""
2994+
"Pronto! Agora você pode escrever um script que usa o novo tipo de opção como "
2995+
"qualquer outro script baseado em :mod:`optparse`, exceto que você tem que "
2996+
"instruir seu OptionParser a usar MyOption em vez de Option::"
29772997

29782998
#:../../library/optparse.rst:1923
29792999
msgid""
29803000
"Alternately, you can build your own option list and pass it to OptionParser; "
29813001
"if you don't use :meth:`add_option` in the above way, you don't need to tell "
29823002
"OptionParser which option class to use::"
29833003
msgstr""
3004+
"Como alternativa, você pode criar sua própria lista de opções e passá-la "
3005+
"para o OptionParser; se você não usar :meth:`add_option` da maneira acima, "
3006+
"não precisa informar ao OptionParser qual classe de opção usar::"
29843007

29853008
#:../../library/optparse.rst:1934
29863009
msgid"Adding new actions"

‎potodo.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
- index.po 173 / 225 ( 76.0% translated).
7171

7272

73-
#library (44.58% done)
73+
#library (44.62% done)
7474

7575
- argparse.po 239 / 277 ( 86.0% translated).
7676
- array.po 82 / 83 ( 98.0% translated).
@@ -173,7 +173,7 @@
173173
- multiprocessing.po 69 / 514 ( 13.0% translated).
174174
- nntplib.po 6 / 84 ( 7.0% translated).
175175
- numbers.po 26 / 29 ( 89.0% translated).
176-
- optparse.po349 / 406 (85.0% translated).
176+
- optparse.po357 / 406 (87.0% translated).
177177
- os.po 761 / 768 ( 99.0% translated).
178178
- ossaudiodev.po 18 / 97 ( 18.0% translated).
179179
- othergui.po 10 / 13 ( 76.0% translated).

‎stats.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation":"59.87%","total":47814,"updated_at":"2024-11-11T00:39:40+00:00Z"}
1+
{"translation":"59.89%","total":47814,"updated_at":"2024-11-12T00:39:24+00:00Z"}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp