Skip to content

Add Hindi translation for UI strings on the About page #3526

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 11 additions & 8 deletions client/modules/About/pages/About.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,15 @@ const About = () => {
return (
<RootPage>
<Helmet>
<title> {t('About.TitleHelmet')} </title>
<title>{t('About.TitleHelmet')}</title>
</Helmet>

<Nav layout="dashboard" />

<AboutPageContent>
<Intro>
<h1>{t('About.Title')}</h1>

<IntroHeadline>
<LogoIcon
role="img"
Expand All @@ -76,10 +77,12 @@ const About = () => {
<p>{t('About.Headline')}</p>
</div>
</IntroHeadline>

<IntroDescription>
<p>{t('About.IntroDescription1')}</p>
<p>{t('About.IntroDescription2')}</p>
</IntroDescription>

<a
href="https://p5js.org/donate/"
target="_blank"
Expand All @@ -95,12 +98,12 @@ const About = () => {
))}

<Contact>
<h2>{t('Contact')}</h2>
<h2>{t('About.ContactTitle')}</h2>
<div>
<ContactTitle>{t('About.Email')}</ContactTitle>
<ContactTitle>{t('About.EmailLabel')}</ContactTitle>
<ContactHandles>
<a
href={t('About.EmailAddress')}
href={`mailto:${t('About.EmailAddress')}`}
target="_blank"
rel="noopener noreferrer"
>
Expand All @@ -109,7 +112,7 @@ const About = () => {
</ContactHandles>
</div>
<div>
<ContactTitle>{t('About.Socials')}</ContactTitle>
<ContactTitle>{t('About.SocialsLabel')}</ContactTitle>
<ContactHandles>
{ContactSectionLinks.map((item, index, array) => (
<React.Fragment key={item.href}>
Expand All @@ -135,16 +138,16 @@ const About = () => {
target="_blank"
rel="noreferrer"
>
{t('About.WebEditor')}: <span>v{packageData?.version}</span>
{t('About.WebEditorLabel')}: <span>v{packageData?.version}</span>
</a>
</p>
<p>
<a
href="https://github.com/processing/p5.js/releases"
target="_blank"
rel="noreferrer"
rel="noopener noreferrer"
>
p5.js: <span>v{p5version}</span>
{t('About.P5JSLabel')}: <span>v{p5version}</span>
</a>
</p>
</Footer>
Expand Down
Loading