From 878cc227e923931a5e8d6a51fd053a405ddbcf47 Mon Sep 17 00:00:00 2001 From: tmtm8976 Date: Thu, 3 Aug 2023 01:25:12 +0300 Subject: [PATCH] translating HomeContent.js --- src/components/Layout/HomeContent.js | 231 ++++++++++++++------------- 1 file changed, 119 insertions(+), 112 deletions(-) diff --git a/src/components/Layout/HomeContent.js b/src/components/Layout/HomeContent.js index e1b1b440d..2ac1deed0 100644 --- a/src/components/Layout/HomeContent.js +++ b/src/components/Layout/HomeContent.js @@ -113,7 +113,7 @@ const recentPosts = blogSidebar.routes.slice(0, 4).map((entry) => ({ export function HomeContent() { return ( <> -
+

- React + ريأكت

- The library for web and native user interfaces + مكتبة واجهات المستخدم الويبية والمحلية

- Learn React + تعلم ريأكت - API Reference + (API)مرجع واجهات برمجة التطبيقات
-
Create user interfaces from components
+
إنشاء واجهات المستخدم من المكونات
- React lets you build user interfaces out of individual pieces - called components. Create your own React components like{' '} - Thumbnail, LikeButton, and{' '} - Video. Then combine them into entire screens, pages, - and apps. + يسمح ريأكت ببناء واجهات المستخدم من قطع فردية تسمى المكونات. يمكنك + إنشاء مكونات ريأكت الخاصة بك مثل: + VideoLikeButton,و{' '} + Thumbnail ثم قم بدمجها في شاشات كاملة وصفحات + وتطبيقات.
- +
+ +
- Whether you work on your own or with thousands of other - developers, using React feels the same. It is designed to let you - seamlessly combine components written by independent people, - teams, and organizations. + سواء كنت تعمل بمفردك أو مع آلاف المطورين الآخرين، فأن شعور استخدام + ريأكت متماثل. فهو مصمم ليتيح لك دمج المكونات التي تمت كتابتها + بواسطة أشخاص مستقلين، وفِرَق العمل، والمؤسسات بسهولة وبسلاسة.
-
Write components with code and markup
+
كتابة المكونات باستخدام الcode والmarkup
- React components are JavaScript functions. Want to show some - content conditionally? Use an if statement. - Displaying a list? Try array map(). Learning React is - learning programming. + مكونات ريأكت هي وظائف JavaScript. هل ترغب في عرض بعض المحتوى بشكل + مشروط؟ استخدم شرطًا عبارةif . تعرض قائمة؟ جرب استخدام + مصفوفة(array). map(). تعلُم ريأكت هو تعلُم البرمجة.
- +
+ +
- This markup syntax is called JSX. It is a JavaScript syntax - extension popularized by React. Putting JSX markup close to - related rendering logic makes React components easy to create, - maintain, and delete. + هذا الmarkup يُسمى JSX. إنها markup + JavaScript وقد اشتهر بفضل ريأكت. وضع بناء JSX بالقرب من منطق العرض + المرتبط حيث يسهل من إنشاء وصيانة وحذف مكونات ريأكت.
-
Add interactivity wherever you need it
+
أضف التفاعلية أينما تحتاجها.
- React components receive data and return what should appear on the - screen. You can pass them new data in response to an interaction, - like when the user types into an input. React will then update the - screen to match the new data. + تستلم مكونات ريأكت البيانات وترجع ما يجب أن يظهر على الشاشة. يمكنك + تمرير بيانات جديدة إليها استجابةً لتفاعل ما، مثل عندما يقوم + المستخدم بكتابة في حقل الإدخال. ستقوم ريأكت بعد ذلك بتحديث الشاشة + لتتطابق مع البيانات الجديدة.
- +
+ +
- You don’t have to build your whole page in React. Add React to - your existing HTML page, and render interactive React components - anywhere on it. + لا حاجة لبناء الصفحة بأكملها باستخدام ريأكت. يمكنك إضافة ريأكت إلى + صفحة HTML الحالية الخاصة بك وتقديم مكونات ريأكت التفاعلية في أي + مكان في الصفحة
- Add React to your page + أضف ريأكت إلى صفحتك.
@@ -226,33 +229,35 @@ export function HomeContent() {
- Go full-stack
- with a framework + انتقل إلى الاستخدام الشامل
+ مع إطار عمل .
- React is a library. It lets you put components together, but it - doesn’t prescribe how to do routing and data fetching. To build an - entire app with React, we recommend a full-stack React framework - like Next.js or{' '} + ريأكت هو مكتبة تسمح لك بتجميع المكونات معًا, ولكنها لا تحدد كيفية + التوجيه (Routing) وجلب البيانات. لبناء تطبيق كامل باستخدام ريأكت، + نوصي باستخدام إطار عمل ريأكت شامل مثل... (يرجى تحديد إطار العمل + المرغوب فيه). Next.js أو{' '} Remix.
- +
+ +
- React is also an architecture. Frameworks that implement it let - you fetch data in asynchronous components that run on the server - or even during the build. Read data from a file or a database, and - pass it down to your interactive components. + ريأكت هو أيضًا بنية معمارية. الإطارات البرمجية التي تنفذها تتيح لك + جلب البيانات في مكونات غير متزامنة تعمل على الخادم(server) أو حتى + أثناء عملية البناء. يمكنك قراءة البيانات من ملف أو قاعدة بيانات + وتمريرها إلى مكوناتك التفاعلية.
- Get started with a framework + ابدأ مع إطار العمل.
@@ -260,12 +265,12 @@ export function HomeContent() {
-
Use the best from every platform
+
استخدم الأفضل من كل منصة.
- People love web and native apps for different reasons. React - lets you build both web apps and native apps using the same - skills. It leans upon each platform’s unique strengths to let - your interfaces feel just right on every platform. + يحب الناس تطبيقات الويب والتطبيقات الأصلية لأسباب مختلفة. يسمح + لك ريأكت ببناء تطبيقات ويب وتطبيقات أصلية باستخدام نفس المهارات. + يعتمد على نقاط القوة الفريدة لكل منصة لتمكين واجهاتك من ان تبدو + صائبه على كل منصة.
@@ -279,15 +284,15 @@ export function HomeContent() {

- Stay true to the web + ابق صادقًا تجاه الويب.

- People expect web app pages to load fast. On the server, - React lets you start streaming HTML while you’re still - fetching data, progressively filling in the remaining - content before any JavaScript code loads. On the client, - React can use standard web APIs to keep your UI - responsive even in the middle of rendering. + يتوقع الناس أن تحمّل صفحات تطبيقات الويب بسرعة. على + الخادم(server)، يتيح لك ريأكت البدء في تدفق HTML بينما + تقوم بجلب البيانات، وتعبئة المحتوى المتبقي تدريجياً قبل + تحميل أي كود JavaScript. على العميل، يمكن لـ ريأكت + استخدام واجهات برمجة تطبيقات الويب القياسية لجعل واجهة + المستخدم الخاصة بك مستجيبة حتى في وسط التقديم.

@@ -365,21 +370,22 @@ export function HomeContent() {

- Go truly native + انطلق الي التطبيقات الأصيلة

- People expect native apps to look and feel like their - platform.{' '} + يتوقع الناس أن يكون للتطبيقات الأصلية نفس المظهر + والشعور لمنصتهم.{' '} React Native {' '} - and{' '} + و{' '} Expo{' '} - let you build apps in React for Android, iOS, and - more. They look and feel native because their UIs{' '} - are truly native. It’s not a web view—your - React components render real Android and iOS views - provided by the platform. + يتيح لك بناء تطبيقات في ريأكت لنظامي Android و iOS + وغيرهما. تبدو وكأنها تطبيقات Native بسبب واجهاتها التي + تشعرهم بالأصالة. ان تكون + حقاً أصليّة. ليست عرض ويب— مكونات ريأكت الخاصة بك تقوم + بعرض عروض Android و iOS الحقيقية المقدمة من قبل + النظام.

@@ -389,14 +395,14 @@ export function HomeContent() {
- With React, you can be a web and a native developer. Your - team can ship to many platforms without sacrificing the user - experience. Your organization can bridge the platform silos, and - form teams that own entire features end-to-end. + مع ريأكت, يمكنك ان تكون مطور ويب و تطبيقات أصلية. يمكن + لفريقك نقل المنتج على العديد من المنصات دون التضحية بتجربة + المستخدم. يمكن لمنظمتك تجاوز عوائق الانقسامات بين المنصات وتشكيل + فرق تمتلك المسؤولية الكاملة عن الخصائص من البداية حتى النهاية.
- Build for native platforms + أنشئ للمنصات الأصلية
@@ -407,23 +413,23 @@ export function HomeContent() {
-
Upgrade when the future is ready
+
التحديث عندما يكون المستقبل جاهزا
- React approaches changes with care. Every React commit is - tested on business-critical surfaces with over a billion - users. Over 100,000 React components at Meta help validate - every migration strategy. + تتعامل ريأكت مع التغييرات بحرص. يتم اختبار كل تعديل على ريأكت + على مستوى تجاري حرج مع وجود أكثر من مليار مستخدم. يساعد أكثر + من 100،000 مكون ريأكت في Meta على التحقق من كل استراتيجية + للترحيل..
- The React team is always researching how to improve React. - Some research takes years to pay off. React has a high bar - for taking a research idea into production. Only proven - approaches become a part of React. + تعمل فرق ريأكت دائمًا على البحث عن كيفية تطوير ريأكت. قد + تستغرق بعض البحوث سنوات حتى تؤتي ثمارها. يتم تحديد معايير + عالية في ريأكت لاستخدام فكرة البحث في الإنتاج. تصبح الطرق + المثبتة فقط جزءًا من ريأكت.
- Read more React news + قراءة المزيد من أخبار ريأكت
@@ -431,9 +437,11 @@ export function HomeContent() {

- Latest React News + احدث اخبار ريأكت

-
+
@@ -449,7 +457,7 @@ export function HomeContent() {
- Read more React news + قراءة المزيد من أخبار ريأكت
@@ -462,13 +470,13 @@ export function HomeContent() {
- Join a community
- of millions + انضم لمجتمع
+ من الملايين
- You’re not alone. Two million developers from all over the - world visit the React docs every month. React is something - that people and teams can agree on. + أنت لست وحدك. يزور ملفات تعريف ريأكت اثنان مليون مطور من جميع + أنحاء العالم كل شهر. يعتبر ريأكت شيئًا يمكن للأشخاص والفرق + الاتفاق عليه.
@@ -476,13 +484,12 @@ export function HomeContent() {
- This is why React is more than a library, an architecture, or - even an ecosystem. React is a community. It’s a place where - you can ask for help, find opportunities, and meet new - friends. You will meet both developers and designers, - beginners and experts, researchers and artists, teachers and - students. Our backgrounds may be very different, but React - lets us all create user interfaces together. + لهذا السبب، فإن ريأكت ليس مجرد مكتبة أو هيكلية أو حتى بيئة. + إنها مجتمع. إنها مكان يمكنك فيه طلب المساعدة والعثور على فرص + ولقاء أصدقاء جدد. ستلتقي بالمطورين والمصممين، والمبتدئين + والخبراء، والباحثين والفنانين، والمعلمين والطلاب. قد تختلف + خلفياتنا كثيرًا، ولكن ريأكت يتيح لنا جميعًا إنشاء واجهات + المستخدم معًا.
@@ -491,15 +498,15 @@ export function HomeContent() {
- Welcome to the
- React community + مرحباً بك
+ في مجتمع ريأكت
- Get Started + ابدأ الآن
@@ -915,8 +922,8 @@ function Example1() {