From 6b1e3a9a441fa8a31b48bc4aa7ec1a3a5a5c1d70 Mon Sep 17 00:00:00 2001 From: Atef Ben Ali Date: Sun, 21 Apr 2019 19:07:02 +0200 Subject: [PATCH 1/7] Update add-react-to-a-website.md --- content/docs/add-react-to-a-website.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/content/docs/add-react-to-a-website.md b/content/docs/add-react-to-a-website.md index a97b44d45..2a0d68321 100644 --- a/content/docs/add-react-to-a-website.md +++ b/content/docs/add-react-to-a-website.md @@ -8,9 +8,11 @@ prev: getting-started.html next: create-a-new-react-app.html --- -Use as little or as much React as you need. +استعمل React بالقلة أو الكثرة التي تريد. -React has been designed from the start for gradual adoption, and **you can use as little or as much React as you need**. Perhaps you only want to add some "sprinkles of interactivity" to an existing page. React components are a great way to do that. +تم تصميم React ابتداء للدمج التدريجي، ويمكنك **استعماله بالقلة أو الكثرة التي تريد**. +من الممكن أنك تريد إضاف. قليل من التفاعلية لصفحة موجودة. +React components هي وسيلة جيدة لفعل ذلك. The majority of websites aren't, and don't need to be, single-page apps. With **a few lines of code and no build tooling**, try React in a small part of your website. You can then either gradually expand its presence, or keep it contained to a few dynamic widgets. From 6c2ca0a4e098005d042097c338ccd201b9152f31 Mon Sep 17 00:00:00 2001 From: Atef Ben Ali Date: Sun, 21 Apr 2019 19:08:25 +0200 Subject: [PATCH 2/7] Update add-react-to-a-website.md --- content/docs/add-react-to-a-website.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/docs/add-react-to-a-website.md b/content/docs/add-react-to-a-website.md index 2a0d68321..ab2703dfc 100644 --- a/content/docs/add-react-to-a-website.md +++ b/content/docs/add-react-to-a-website.md @@ -12,7 +12,7 @@ next: create-a-new-react-app.html تم تصميم React ابتداء للدمج التدريجي، ويمكنك **استعماله بالقلة أو الكثرة التي تريد**. من الممكن أنك تريد إضاف. قليل من التفاعلية لصفحة موجودة. -React components هي وسيلة جيدة لفعل ذلك. +مكونات React هي وسيلة جيدة لفعل ذلك. The majority of websites aren't, and don't need to be, single-page apps. With **a few lines of code and no build tooling**, try React in a small part of your website. You can then either gradually expand its presence, or keep it contained to a few dynamic widgets. From a8556a1186068c251d906f30fa0e490508800714 Mon Sep 17 00:00:00 2001 From: Atef Ben Ali Date: Sun, 21 Apr 2019 19:13:11 +0200 Subject: [PATCH 3/7] Update add-react-to-a-website.md Review file translation --- content/docs/add-react-to-a-website.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/content/docs/add-react-to-a-website.md b/content/docs/add-react-to-a-website.md index ab2703dfc..beee61adb 100644 --- a/content/docs/add-react-to-a-website.md +++ b/content/docs/add-react-to-a-website.md @@ -8,9 +8,8 @@ prev: getting-started.html next: create-a-new-react-app.html --- -استعمل React بالقلة أو الكثرة التي تريد. - -تم تصميم React ابتداء للدمج التدريجي، ويمكنك **استعماله بالقلة أو الكثرة التي تريد**. +استعمل React بالقدر الذي تحتاج إليه قلةً أو كثرةً. +تم تصميم React ابتداء للدمج التدريجي، ويمكنك **استعماله بالقدر الذي تحتاجه قلةً وكثرةً**. من الممكن أنك تريد إضاف. قليل من التفاعلية لصفحة موجودة. مكونات React هي وسيلة جيدة لفعل ذلك. From b4aff9bb310d2bef026dabdf5cc1d0b1601c06ff Mon Sep 17 00:00:00 2001 From: Atef Ben Ali Date: Sun, 21 Apr 2019 19:16:07 +0200 Subject: [PATCH 4/7] Update add-react-to-a-website.md --- content/docs/add-react-to-a-website.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/docs/add-react-to-a-website.md b/content/docs/add-react-to-a-website.md index beee61adb..f011203d0 100644 --- a/content/docs/add-react-to-a-website.md +++ b/content/docs/add-react-to-a-website.md @@ -9,7 +9,7 @@ next: create-a-new-react-app.html --- استعمل React بالقدر الذي تحتاج إليه قلةً أو كثرةً. -تم تصميم React ابتداء للدمج التدريجي، ويمكنك **استعماله بالقدر الذي تحتاجه قلةً وكثرةً**. +تم تصميم React ابتداء للاعتماد التدريجي، ويمكنك **استعماله بالقدر الذي تحتاجه قلةً وكثرةً**. من الممكن أنك تريد إضاف. قليل من التفاعلية لصفحة موجودة. مكونات React هي وسيلة جيدة لفعل ذلك. From b1c9ed98e6e9f6ed96e96698745a3000984d53db Mon Sep 17 00:00:00 2001 From: Atef Ben Ali Date: Sun, 21 Apr 2019 19:18:10 +0200 Subject: [PATCH 5/7] Update add-react-to-a-website.md Translate fist section title --- content/docs/add-react-to-a-website.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/docs/add-react-to-a-website.md b/content/docs/add-react-to-a-website.md index f011203d0..7ce3db3f6 100644 --- a/content/docs/add-react-to-a-website.md +++ b/content/docs/add-react-to-a-website.md @@ -20,7 +20,7 @@ The majority of websites aren't, and don't need to be, single-page apps. With ** - [Add React in One Minute](#add-react-in-one-minute) - [Optional: Try React with JSX](#optional-try-react-with-jsx) (no bundler necessary!) -## Add React in One Minute {#add-react-in-one-minute} +## إضافة React في دقيقة واحدة {#add-react-in-one-minute} In this section, we will show how to add a React component to an existing HTML page. You can follow along with your own website, or create an empty HTML file to practice. From ae249bdbaf48eeae132fcc2fb440be421978b232 Mon Sep 17 00:00:00 2001 From: Atef Ben Ali Date: Sun, 21 Apr 2019 19:25:58 +0200 Subject: [PATCH 6/7] Translate first section content --- content/docs/add-react-to-a-website.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/content/docs/add-react-to-a-website.md b/content/docs/add-react-to-a-website.md index 7ce3db3f6..aa0790d1c 100644 --- a/content/docs/add-react-to-a-website.md +++ b/content/docs/add-react-to-a-website.md @@ -22,9 +22,10 @@ The majority of websites aren't, and don't need to be, single-page apps. With ** ## إضافة React في دقيقة واحدة {#add-react-in-one-minute} -In this section, we will show how to add a React component to an existing HTML page. You can follow along with your own website, or create an empty HTML file to practice. +في هذه الفقرة، سنقوم بعرض كيفية اضافة مكون React لصفحة HTML موجودة. +يمكنك المتابعة على موقعك الخاص، أو اضافة ملف HTML فارغ للتطبيق عليه. -There will be no complicated tools or install requirements -- **to complete this section, you only need an internet connection, and a minute of your time.** +ليس هناك معدّات صعبة أو لوازم تنصيب -- لاكمال هذه الفقرة، لن تحتاج إلا لاتصال بشبكة الأنترنت ولدقيقة من وقتك.** Optional: [Download the full example (2KB zipped)](https://gist.github.com/gaearon/6668a1f6986742109c00a581ce704605/archive/f6c882b6ae18bde42dcf6fdb751aae93495a2275.zip) From b708ab8ad965b0284e4b2d938e3d74d7f7716521 Mon Sep 17 00:00:00 2001 From: Atef Ben Ali Date: Sun, 21 Apr 2019 19:27:08 +0200 Subject: [PATCH 7/7] Style first section content --- content/docs/add-react-to-a-website.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/docs/add-react-to-a-website.md b/content/docs/add-react-to-a-website.md index aa0790d1c..412b4888b 100644 --- a/content/docs/add-react-to-a-website.md +++ b/content/docs/add-react-to-a-website.md @@ -25,7 +25,7 @@ The majority of websites aren't, and don't need to be, single-page apps. With ** في هذه الفقرة، سنقوم بعرض كيفية اضافة مكون React لصفحة HTML موجودة. يمكنك المتابعة على موقعك الخاص، أو اضافة ملف HTML فارغ للتطبيق عليه. -ليس هناك معدّات صعبة أو لوازم تنصيب -- لاكمال هذه الفقرة، لن تحتاج إلا لاتصال بشبكة الأنترنت ولدقيقة من وقتك.** +ليس هناك معدّات صعبة أو لوازم تنصيب -- **لاكمال هذه الفقرة، لن تحتاج إلا لاتصال بشبكة الأنترنت ولدقيقة من وقتك.** Optional: [Download the full example (2KB zipped)](https://gist.github.com/gaearon/6668a1f6986742109c00a581ce704605/archive/f6c882b6ae18bde42dcf6fdb751aae93495a2275.zip)