diff --git a/content/docs/error-decoder.md b/content/docs/error-decoder.md index 68191bfff..52f2a6e76 100644 --- a/content/docs/error-decoder.md +++ b/content/docs/error-decoder.md @@ -1,9 +1,11 @@ --- id: error-decoder -title: Error Decoder +title: Decodificador de Erros permalink: docs/error-decoder.html --- -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. +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. -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. \ No newline at end of file +Recomendamos fortemente a utilização local da build de desenvolvimento para depurar seu aplicativo, uma vez que ela monitora informações +adicionais de depuração e disponibiliza avisos úteis sobre potenciais problemas nos seus aplicativos. No entanto, caso se depare com uma exceção +na build de produção, essa página irá remontar o texto original do erro. \ No newline at end of file diff --git a/src/components/ErrorDecoder/ErrorDecoder.js b/src/components/ErrorDecoder/ErrorDecoder.js index d179a09be..94cf86670 100644 --- a/src/components/ErrorDecoder/ErrorDecoder.js +++ b/src/components/ErrorDecoder/ErrorDecoder.js @@ -69,8 +69,8 @@ function ErrorResult(props: {|code: ?string, msg: string|}) { if (!code) { return (

- When you encounter an error, you'll receive a link to this page for that - specific error and we'll show you the full error text. + Quando você encontrar um erro, você receberá um link para essa página naquele + erro específico e lhe mostraremos o texto completo do erro.

); } @@ -78,7 +78,7 @@ function ErrorResult(props: {|code: ?string, msg: string|}) { return (

- The full text of the error you just encountered is: + O texto completo do erro que você encontrou é:

{urlify(errorMsg)}