Skip to content
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

Translate Error Decoder #149

Merged
merged 1 commit into from Dec 9, 2019
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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