Skip to content

Commit

Permalink
Merge pull request #149 from reactjs/translate-error-decoder
Browse files Browse the repository at this point in the history
Translate Error Decoder
  • Loading branch information
GasimGasimzada committed Dec 9, 2019
2 parents 7b44fb2 + d299735 commit 1d28f91
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions content/docs/error-decoder.md
@@ -1,9 +1,9 @@
---
id: error-decoder
title: Error Decoder
title: Xəta Dekoderi
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.
React-ın minimallaşdırılmış produksiya versiyasında göndərilən baytların sayını azaltmaq üçün xəta mesajlarının tam variantlarını göndərmirik.

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.
React-in development versiyasının əlavə debaq informasiyasını izlədiyindən və applikasiyada olan potensial problemlər üçün faydalı xəbərdarıqları göstərdiyindən biz applikasiyanı yazdıqda development versiyasını işlətməyi tövsiyyə edirik. Lakin, applikasiyanın produksiya versiyasında xəta ilə qarşılaşdıqda xətanın orijinal yazısını bu səhifədən oxuya bilərsiniz.
6 changes: 3 additions & 3 deletions src/components/ErrorDecoder/ErrorDecoder.js
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.
Xəta ilə qarşılaşdıqda gördüyünüz xəta üçün bu səhifəyə link veriləcək.
Bu səhifədə xətanın tam yazısını görəcəksiniz.
</p>
);
}

return (
<div>
<p>
<b>The full text of the error you just encountered is:</b>
<b>Qarşılaşdığınız xətanın tam yazısı:</b>
</p>
<code>
<b>{urlify(errorMsg)}</b>
Expand Down

0 comments on commit 1d28f91

Please sign in to comment.