Skip to content
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.

home page translation #7

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
14 changes: 7 additions & 7 deletions src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class Home extends Component {
return (
<Layout location={location}>
<TitleAndMetaTags
title="React &ndash; A JavaScript library for building user interfaces"
title="ری ایکٹ &ndash; یے جاوا اسکرپٹ کی لا ئبریری ھے جو یوزر انٹرفیسس بنانے میں کا م آ تی ھے"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do not translate the words that represent products i.e. React, JavaScript etc. Read the universal style guide and see examples from other translation projects such as React docs in Arabic.

canonicalUrl={createCanonicalUrl('/')}
/>
<div dir="rtl" css={{width: '100%'}}>
Expand Down Expand Up @@ -111,7 +111,7 @@ class Home extends Component {
fontSize: 60,
},
}}>
React
ری ایکٹ
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do not translate the words that represent products i.e. React, JavaScript etc. Read the universal style guide and see examples from other translation projects such as React docs in Arabic.

</h1>
<p
css={{
Expand All @@ -133,7 +133,7 @@ class Home extends Component {
fontSize: 30,
},
}}>
A JavaScript library for building user interfaces
یے جا و ا اسکرپٹ کی لا ئبریری ھے جو یوزر انٹرفیسس بنانے میں کا م آ تی ھے
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here

</p>
<Flex
valign="center"
Expand All @@ -151,12 +151,12 @@ class Home extends Component {
<ButtonLink
to="/docs/getting-started.html"
type="primary">
Get Started
شروع کریں
</ButtonLink>
</CtaItem>
<CtaItem>
<ButtonLink to="/tutorial/tutorial.html" type="secondary">
Take the Tutorial
سبق لے لو
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it is better as

سبق حاصل کریں

</ButtonLink>
</CtaItem>
</Flex>
Expand Down Expand Up @@ -294,12 +294,12 @@ class Home extends Component {
}}>
<CtaItem>
<ButtonLink to="/docs/getting-started.html" type="primary">
Get Started
شروع کریں
</ButtonLink>
</CtaItem>
<CtaItem>
<ButtonLink to="/tutorial/tutorial.html" type="secondary">
Take the Tutorial
سبق لے لو
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it is better as

سبق حاصل کریں

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok I will make changes and will create a new issue

</ButtonLink>
</CtaItem>
</Flex>
Expand Down