diff --git a/src/components/CodeEditor/CodeEditor.js b/src/components/CodeEditor/CodeEditor.js index aeac3ccea..f11c5eb32 100644 --- a/src/components/CodeEditor/CodeEditor.js +++ b/src/components/CodeEditor/CodeEditor.js @@ -62,12 +62,11 @@ class CodeEditor extends Component { if (showBabelErrorMessage) { errorMessage = ( - Babel could not be loaded. + لم يتم تحميل Babel

- This can be caused by an ad blocker. If you're using one, consider - adding reactjs.org to the whitelist so the live code examples will - work. + يمكن أن يحدث هذا بسبب تطبيقات منع الإعلانات. إن كنت تستعمل أحدها، أضف reactjs.org + إلى قائمة المواقع المسموح لها حتى تتمكن من تشغيل أمثلة الشيفرة البرمجية.
); } else if (error != null) { @@ -77,7 +76,7 @@ class CodeEditor extends Component { return (
- Live JSX Editor + محرر JSX المباشر
@@ -176,7 +175,7 @@ class CodeEditor extends Component { cssProps={{ color: colors.white, }}> - Error + خطأ
-                Result
+                النتيجة
               
               
) : ( -

Loading code example...

+

جاري تحميل مثال الشيفرة البرمجية...

)}
); diff --git a/src/components/ErrorDecoder/ErrorDecoder.js b/src/components/ErrorDecoder/ErrorDecoder.js index d179a09be..1d07effa1 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. + عندما تُواجه خطأ ما، سيتمّ تحويلك إلى هذه الصفحة الخاصة بذلك الخطأ بالتحديد + وسنعرض لك نص رسالة الخطأ بالكامل.

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

- The full text of the error you just encountered is: + النص الكامل للخطأ الذي واجهته للتو هو:

{urlify(errorMsg)} diff --git a/src/components/LayoutHeader/Header.js b/src/components/LayoutHeader/Header.js index dd95e4192..a1864da1c 100644 --- a/src/components/LayoutHeader/Header.js +++ b/src/components/LayoutHeader/Header.js @@ -179,7 +179,7 @@ const Header = ({location}: {location: Location}) => ( }, }} to="/versions"> - اصدار {version} + إصدار {version} ( height="16" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"> - Search + بحث