From d299735934e7fc1904e97dac1512cf5a4cff3b0a Mon Sep 17 00:00:00 2001 From: Gasim Gasimzada Date: Sun, 8 Dec 2019 14:22:07 +0400 Subject: [PATCH] Translate error decoder docs and component --- content/docs/error-decoder.md | 6 +++--- src/components/ErrorDecoder/ErrorDecoder.js | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/content/docs/error-decoder.md b/content/docs/error-decoder.md index 68191bfff..fd20456da 100644 --- a/content/docs/error-decoder.md +++ b/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. \ No newline at end of file +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. \ No newline at end of file diff --git a/src/components/ErrorDecoder/ErrorDecoder.js b/src/components/ErrorDecoder/ErrorDecoder.js index d179a09be..a852a64c0 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. + 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.

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

- The full text of the error you just encountered is: + Qarşılaşdığınız xətanın tam yazısı:

{urlify(errorMsg)}