From c47e337180ac42dfdb83281e445d090b5ecddaaf Mon Sep 17 00:00:00 2001 From: Zaid Dar <63739210+validity-check@users.noreply.github.com> Date: Sun, 24 Oct 2021 21:07:17 +0100 Subject: [PATCH 01/13] Translated top hero section --- src/pages/index.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pages/index.js b/src/pages/index.js index 3579d8fcb..c7671d6f8 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -50,7 +50,7 @@ class Home extends Component { return (
- A JavaScript library for building user interfaces + یے JavaScript کی لا ئبریری ھے جو یوزر انٹرفیسس بنانے میں کا م آ تی ھے

- Get Started + شروع کرنے کے - Take the Tutorial + سبق حاصل کریں From a3fcbb81b5b2cf2019e29d2cede5ad13617766cb Mon Sep 17 00:00:00 2001 From: Zaid Dar <63739210+validity-check@users.noreply.github.com> Date: Sun, 24 Oct 2021 21:16:19 +0100 Subject: [PATCH 02/13] Change to more understandable way of reading. --- src/pages/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/index.js b/src/pages/index.js index c7671d6f8..299c32358 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -159,7 +159,7 @@ class Home extends Component { - شروع کرنے کے + شروع کریں From 0dfbc6faa5deb5cdcf337acddbf4d72d6f7191d5 Mon Sep 17 00:00:00 2001 From: Zaid Dar <63739210+validity-check@users.noreply.github.com> Date: Sun, 24 Oct 2021 21:17:25 +0100 Subject: [PATCH 03/13] Translate bottom buttons --- src/pages/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/index.js b/src/pages/index.js index 299c32358..37b4a6217 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -302,12 +302,12 @@ class Home extends Component { }}> - Get Started + شروع کریں - Take the Tutorial + سبق حاصل کریں From d928741fd86797ce82e813947825e660780dbc3f Mon Sep 17 00:00:00 2001 From: Zaid Dar <63739210+validity-check@users.noreply.github.com> Date: Sun, 24 Oct 2021 21:32:39 +0100 Subject: [PATCH 04/13] Translate CodeExample component --- src/components/CodeExample/CodeExample.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/CodeExample/CodeExample.js b/src/components/CodeExample/CodeExample.js index 980e09eff..c25f3a853 100644 --- a/src/components/CodeExample/CodeExample.js +++ b/src/components/CodeExample/CodeExample.js @@ -74,7 +74,7 @@ class CodeExample extends Component { {loaded ? ( ) : ( -

Loading code example...

+

لوڈنگ کوڈ کی مثال...

)}
); From d852a089c971a35f6166bb49bfd55bee524a74cb Mon Sep 17 00:00:00 2001 From: Zaid Dar <63739210+validity-check@users.noreply.github.com> Date: Sun, 24 Oct 2021 21:36:59 +0100 Subject: [PATCH 05/13] Translate Code Editor component --- src/components/CodeEditor/CodeEditor.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/components/CodeEditor/CodeEditor.js b/src/components/CodeEditor/CodeEditor.js index 3083128d2..f7f6e70d0 100644 --- a/src/components/CodeEditor/CodeEditor.js +++ b/src/components/CodeEditor/CodeEditor.js @@ -62,12 +62,10 @@ 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) { From d270d157cda70f4daffe236b5c4f2da9eedcfedc Mon Sep 17 00:00:00 2001 From: Zaid Dar <63739210+validity-check@users.noreply.github.com> Date: Sun, 24 Oct 2021 21:50:41 +0100 Subject: [PATCH 06/13] Translate Footer component Sub-footer components to be translated next --- src/components/LayoutFooter/Footer.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/LayoutFooter/Footer.js b/src/components/LayoutFooter/Footer.js index 783b147b5..917f1ceb4 100644 --- a/src/components/LayoutFooter/Footer.js +++ b/src/components/LayoutFooter/Footer.js @@ -88,7 +88,7 @@ const Footer = ({layoutHasSidebar = false}: {layoutHasSidebar: boolean}) => ( {navFooter.community.title} - Code of Conduct + ضابطہ اخلاق {sectionListCommunity.map(section => ( ( {navFooter.more.title} - Privacy + رازداری - Terms + شرائط @@ -147,7 +147,7 @@ const Footer = ({layoutHasSidebar = false}: {layoutHasSidebar: boolean}) => ( color: colors.subtleOnDark, paddingTop: 15, }}> - {`Copyright © ${new Date().getFullYear()} Facebook Inc.`} + {`حق اشاعت © ${new Date().getFullYear()} Facebook Inc.`}

From b95b1981f79f1816851bd64e80aebed34ced038f Mon Sep 17 00:00:00 2001 From: Zaid Dar <63739210+validity-check@users.noreply.github.com> Date: Sun, 24 Oct 2021 22:10:57 +0100 Subject: [PATCH 07/13] Revert "Translate Footer component" This reverts commit d270d157cda70f4daffe236b5c4f2da9eedcfedc. --- src/components/LayoutFooter/Footer.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/LayoutFooter/Footer.js b/src/components/LayoutFooter/Footer.js index 917f1ceb4..783b147b5 100644 --- a/src/components/LayoutFooter/Footer.js +++ b/src/components/LayoutFooter/Footer.js @@ -88,7 +88,7 @@ const Footer = ({layoutHasSidebar = false}: {layoutHasSidebar: boolean}) => ( {navFooter.community.title} - ضابطہ اخلاق + Code of Conduct {sectionListCommunity.map(section => ( ( {navFooter.more.title} - رازداری + Privacy - شرائط + Terms @@ -147,7 +147,7 @@ const Footer = ({layoutHasSidebar = false}: {layoutHasSidebar: boolean}) => ( color: colors.subtleOnDark, paddingTop: 15, }}> - {`حق اشاعت © ${new Date().getFullYear()} Facebook Inc.`} + {`Copyright © ${new Date().getFullYear()} Facebook Inc.`}

From 33adc164f4f84ff694906e0cec210e9bc3742760 Mon Sep 17 00:00:00 2001 From: Zaid Dar <63739210+validity-check@users.noreply.github.com> Date: Sun, 24 Oct 2021 22:12:07 +0100 Subject: [PATCH 08/13] Align translation with Arabic version In the Arabic version, "Privacy" and "Terms" aren't translated. --- src/components/LayoutFooter/Footer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/LayoutFooter/Footer.js b/src/components/LayoutFooter/Footer.js index 783b147b5..3a601dfeb 100644 --- a/src/components/LayoutFooter/Footer.js +++ b/src/components/LayoutFooter/Footer.js @@ -88,7 +88,7 @@ const Footer = ({layoutHasSidebar = false}: {layoutHasSidebar: boolean}) => ( {navFooter.community.title} - Code of Conduct + ضابطہ اخلاق {sectionListCommunity.map(section => ( Date: Sun, 24 Oct 2021 22:19:51 +0100 Subject: [PATCH 09/13] Translate ErrorDecoder component MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit If you want me to use a word like خرابی instead of غلطی, ask and I will be happy to fix --- src/components/ErrorDecoder/ErrorDecoder.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/ErrorDecoder/ErrorDecoder.js b/src/components/ErrorDecoder/ErrorDecoder.js index f9d2a7380..cbefb6da2 100644 --- a/src/components/ErrorDecoder/ErrorDecoder.js +++ b/src/components/ErrorDecoder/ErrorDecoder.js @@ -69,8 +69,7 @@ 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 +77,7 @@ function ErrorResult(props: {|code: ?string, msg: string|}) { return (

- The full text of the error you just encountered is: + آپ نے جس غلطی کا سامنا کیا اس کا مکمل متن یہ ہے:

{urlify(errorMsg)} From 088b418a681a6a804787bc20b89e87e8a1079b26 Mon Sep 17 00:00:00 2001 From: Zaid Dar <63739210+validity-check@users.noreply.github.com> Date: Sun, 24 Oct 2021 22:28:13 +0100 Subject: [PATCH 10/13] Translate Header --- src/components/LayoutHeader/Header.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/LayoutHeader/Header.js b/src/components/LayoutHeader/Header.js index 1e83d3f93..4f3da4e5e 100644 --- a/src/components/LayoutHeader/Header.js +++ b/src/components/LayoutHeader/Header.js @@ -231,7 +231,7 @@ const Header = ({location}: {location: Location}) => ( display: 'none', }, }}> - Languages + زبانیں Date: Sun, 24 Oct 2021 22:28:35 +0100 Subject: [PATCH 11/13] Translate DocSearch --- src/components/LayoutHeader/DocSearch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/LayoutHeader/DocSearch.js b/src/components/LayoutHeader/DocSearch.js index a86c0af8c..02c6f5892 100644 --- a/src/components/LayoutHeader/DocSearch.js +++ b/src/components/LayoutHeader/DocSearch.js @@ -98,7 +98,7 @@ class DocSearch extends Component<{}, State> { }} id="algolia-doc-search" type="search" - placeholder="Search" + placeholder="تلاش" aria-label="Search docs" /> From 4cecf12aae9b6d847a0297f032304dca51b7e002 Mon Sep 17 00:00:00 2001 From: Zaid Dar <63739210+validity-check@users.noreply.github.com> Date: Sun, 24 Oct 2021 22:29:16 +0100 Subject: [PATCH 12/13] Translate SearchSvg --- src/components/LayoutHeader/SearchSvg.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/LayoutHeader/SearchSvg.js b/src/components/LayoutHeader/SearchSvg.js index 6d407a1ae..0bc23780a 100644 --- a/src/components/LayoutHeader/SearchSvg.js +++ b/src/components/LayoutHeader/SearchSvg.js @@ -12,7 +12,7 @@ const SearchSvg = () => ( height="16" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"> - Search + تلاش Date: Sun, 24 Oct 2021 22:32:17 +0100 Subject: [PATCH 13/13] Translate MardownPage --- src/components/MarkdownPage/MarkdownPage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/MarkdownPage/MarkdownPage.js b/src/components/MarkdownPage/MarkdownPage.js index e297284c5..47f890867 100644 --- a/src/components/MarkdownPage/MarkdownPage.js +++ b/src/components/MarkdownPage/MarkdownPage.js @@ -133,7 +133,7 @@ const MarkdownPage = ({ - Edit this page + اس صفحے میں ترمیم کریں.
)}