Skip to content

Commit 5a12e0f

Browse files
halian-vilelaeduardomoroni
authored andcommitted
Translate ErrorDecoder (reactjs#29)
1 parent 77dedaa commit 5a12e0f

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

content/docs/error-decoder.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
---
22
id: error-decoder
3-
title: Error Decoder
3+
title: Decodificador de Erros
44
permalink: docs/error-decoder.html
55
---
66

7-
In the minified production build of React, we avoid sending down full error messages in order to reduce the number of bytes sent over the wire.
7+
Para reduzir o número de bytes enviados pela rede, nós evitamos enviar mensagens de erro completas na build minificada para produção do React.
88

9-
We highly recommend using the development build locally when debugging your app since it tracks additional debug info and provides helpful warnings about potential problems in your apps, but if you encounter an exception while using the production build, this page will reassemble the original text of the error.
9+
Recomendamos fortemente a utilização local da build de desenvolvimento para depurar seu aplicativo, uma vez que ela monitora informações
10+
adicionais de depuração e disponibiliza avisos úteis sobre potenciais problemas nos seus aplicativos. No entanto, caso se depare com uma exceção
11+
na build de produção, essa página irá remontar o texto original do erro.

src/components/ErrorDecoder/ErrorDecoder.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,16 +69,16 @@ function ErrorResult(props: {|code: ?string, msg: string|}) {
6969
if (!code) {
7070
return (
7171
<p>
72-
When you encounter an error, you'll receive a link to this page for that
73-
specific error and we'll show you the full error text.
72+
Quando você encontrar um erro, você receberá um link para essa página naquele
73+
erro específico e lhe mostraremos o texto completo do erro.
7474
</p>
7575
);
7676
}
7777

7878
return (
7979
<div>
8080
<p>
81-
<b>The full text of the error you just encountered is:</b>
81+
<b>O texto completo do erro que você encontrou é:</b>
8282
</p>
8383
<code>
8484
<b>{urlify(errorMsg)}</b>

0 commit comments

Comments
 (0)