Skip to content

Translate ErrorDecoder to pt-BR #29

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions content/docs/error-decoder.md
Original file line number Diff line number Diff line change
@@ -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.
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.
6 changes: 3 additions & 3 deletions src/components/ErrorDecoder/ErrorDecoder.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,16 +69,16 @@ function ErrorResult(props: {|code: ?string, msg: string|}) {
if (!code) {
return (
<p>
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.
</p>
);
}

return (
<div>
<p>
<b>The full text of the error you just encountered is:</b>
<b>O texto completo do erro que você encontrou é:</b>
</p>
<code>
<b>{urlify(errorMsg)}</b>
Expand Down