Skip to content

Commit 4e10e65

Browse files
pomerge from 3.9 branch into 2.7
1 parent 9a45156 commit 4e10e65

3 files changed

Lines changed: 38 additions & 7 deletions

File tree

library/datetime.po

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1201,6 +1201,9 @@ msgid ""
12011201
"tzname(self)``, raises an exception if the latter doesn't return ``None`` or "
12021202
"a string object,"
12031203
msgstr ""
1204+
"Se :attr:`.tzinfo` for ``None``, retorna ``None``, caso contrário retorna "
1205+
"``self.tzinfo.tzname(self)``, levanta uma exceção se o segundo não retornar "
1206+
"``None`` ou um objeto string."
12041207

12051208
#: ../../library/datetime.rst:966
12061209
msgid ""

library/fnmatch.po

Lines changed: 33 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ msgstr ""
2020

2121
#: ../../library/fnmatch.rst:2
2222
msgid ":mod:`fnmatch` --- Unix filename pattern matching"
23-
msgstr ""
23+
msgstr ":mod:`fnmatch` --- Correspondência de padrões de nome de arquivo Unix"
2424

2525
#: ../../library/fnmatch.rst:12
2626
msgid "**Source code:** :source:`Lib/fnmatch.py`"
@@ -32,10 +32,13 @@ msgid ""
3232
"the same as regular expressions (which are documented in the :mod:`re` "
3333
"module). The special characters used in shell-style wildcards are:"
3434
msgstr ""
35+
"Este módulo fornece suporte para curingas no estilo shell do Unix, que *não* "
36+
"são iguais às expressões regulares (documentadas no módulo :mod:`re`). Os "
37+
"caracteres especiais usados nos curingas no estilo de shell são:"
3538

3639
#: ../../library/fnmatch.rst:21
3740
msgid "Pattern"
38-
msgstr ""
41+
msgstr "Padrão"
3942

4043
#: ../../library/fnmatch.rst:21
4144
msgid "Meaning"
@@ -47,37 +50,39 @@ msgstr "``*``"
4750

4851
#: ../../library/fnmatch.rst:23
4952
msgid "matches everything"
50-
msgstr ""
53+
msgstr "corresponde a tudo"
5154

5255
#: ../../library/fnmatch.rst:25
5356
msgid "``?``"
5457
msgstr "``?``"
5558

5659
#: ../../library/fnmatch.rst:25
5760
msgid "matches any single character"
58-
msgstr ""
61+
msgstr "Corresponde a qualquer caractere único"
5962

6063
#: ../../library/fnmatch.rst:27
6164
msgid "``[seq]``"
6265
msgstr "``[seq]``"
6366

6467
#: ../../library/fnmatch.rst:27
6568
msgid "matches any character in *seq*"
66-
msgstr ""
69+
msgstr "corresponde a qualquer caractere em *seq*"
6770

6871
#: ../../library/fnmatch.rst:29
6972
msgid "``[!seq]``"
7073
msgstr "``[!seq]``"
7174

7275
#: ../../library/fnmatch.rst:29
7376
msgid "matches any character not in *seq*"
74-
msgstr ""
77+
msgstr "corresponde a qualquer caractere ausente em *seq*"
7578

7679
#: ../../library/fnmatch.rst:32
7780
msgid ""
7881
"For a literal match, wrap the meta-characters in brackets. For example, "
7982
"``'[?]'`` matches the character ``'?'``."
8083
msgstr ""
84+
"Para uma correspondência literal, coloque os metacaracteres entre colchetes. "
85+
"Por exemplo, ``'[?]'`` corresponde ao caractere ``'?'``."
8186

8287
#: ../../library/fnmatch.rst:37
8388
msgid ""
@@ -87,6 +92,12 @@ msgid ""
8792
"with a period are not special for this module, and are matched by the ``*`` "
8893
"and ``?`` patterns."
8994
msgstr ""
95+
"Note que o separador de nome de arquivo (``'/'`` no Unix) *não* é especial "
96+
"para este módulo. Veja o módulo :mod:`glob` para expansão do nome do caminho "
97+
"(:mod:`glob` usa :func:`.filter` para corresponder aos segmentos do nome do "
98+
"caminho). Da mesma forma, os nomes de arquivos que começam com um ponto "
99+
"final não são especiais para este módulo e são correspondidos pelos padrões "
100+
"``*`` e ``?``."
90101

91102
#: ../../library/fnmatch.rst:46
92103
msgid ""
@@ -96,40 +107,55 @@ msgid ""
96107
"sensitive comparison, regardless of whether that's standard for the "
97108
"operating system."
98109
msgstr ""
110+
"Testa se a string *filename* corresponde à string *pattern*, retornando :"
111+
"const:`True` ou :const:`False`. Ambos os parâmetros são normalizados em "
112+
"maiúsculas e minúsculas usando :func:`os.path.normcase`. :func:`fnmatchcase` "
113+
"pode ser usado para realizar uma comparação com distinção entre maiúsculas e "
114+
"minúsculas, independentemente de ser padrão para o sistema operacional."
99115

100116
#: ../../library/fnmatch.rst:52
101117
msgid ""
102118
"This example will print all file names in the current directory with the "
103119
"extension ``.txt``::"
104120
msgstr ""
121+
"Este exemplo vai exibir todos os nomes de arquivos no diretório atual com a "
122+
"extensão ``.txt``::"
105123

106124
#: ../../library/fnmatch.rst:65
107125
msgid ""
108126
"Test whether *filename* matches *pattern*, returning :const:`True` or :const:"
109127
"`False`; the comparison is case-sensitive and does not apply :func:`os.path."
110128
"normcase`."
111129
msgstr ""
130+
"Testa se *filename* corresponde ao *pattern*, retornando :const:`True` ou :"
131+
"const:`False`; a comparação diferencia maiúsculas de minúsculas e não se "
132+
"aplica :func:`os.path.normcase`."
112133

113134
#: ../../library/fnmatch.rst:72
114135
msgid ""
115136
"Return the subset of the list of *names* that match *pattern*. It is the "
116137
"same as ``[n for n in names if fnmatch(n, pattern)]``, but implemented more "
117138
"efficiently."
118139
msgstr ""
140+
"Retorna o subconjunto da lista de *names* que correspondem *pattern*. É o "
141+
"mesmo que ``[n for n in names if fnmatch(n, pattern)]``, mas implementado "
142+
"com mais eficiência."
119143

120144
#: ../../library/fnmatch.rst:80
121145
msgid ""
122146
"Return the shell-style *pattern* converted to a regular expression for using "
123147
"with :func:`re.match`."
124148
msgstr ""
149+
"Retorna o *pattern* no estilo shell convertido em uma expressão regular para "
150+
"usar com :func:`re.match`."
125151

126152
#: ../../library/fnmatch.rst:83
127153
msgid "Example:"
128154
msgstr "Exemplo"
129155

130156
#: ../../library/fnmatch.rst:97
131157
msgid "Module :mod:`glob`"
132-
msgstr ""
158+
msgstr "Módulo :mod:`glob`"
133159

134160
#: ../../library/fnmatch.rst:98
135161
msgid "Unix shell-style path expansion."

library/glob.po

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ msgid ""
4444
"For a literal match, wrap the meta-characters in brackets. For example, "
4545
"``'[?]'`` matches the character ``'?'``."
4646
msgstr ""
47+
"Para uma correspondência literal, coloque os metacaracteres entre colchetes. "
48+
"Por exemplo, ``'[?]'`` corresponde ao caractere ``'?'``."
4749

4850
#: ../../library/glob.rst:30
4951
msgid ""

0 commit comments

Comments
 (0)