Skip to content

Commit 4343418

Browse files
authored
Merge pull request #2691 from umangutkarsh/fix/#2609-about-translation-fixes
Fix/#2609 'About' translation fixes
2 parents d13060e + 1447b5d commit 4343418

File tree

3 files changed

+19
-9
lines changed

3 files changed

+19
-9
lines changed

client/modules/IDE/components/About.jsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function About(props) {
2828
/>
2929
<div className="about__content-column">
3030
<p className="about__version-info">
31-
Web Editor: <span>v{packageData?.version}</span>
31+
{t('About.WebEditor')}: <span>v{packageData?.version}</span>
3232
</p>
3333
<p className="about__version-info">
3434
p5.js: <span>v{p5version}</span>
@@ -44,7 +44,7 @@ function About(props) {
4444
aria-hidden="true"
4545
focusable="false"
4646
/>
47-
Home
47+
{t('About.Home')}
4848
</a>
4949
</p>
5050
<p className="about__content-column-list">
@@ -86,7 +86,7 @@ function About(props) {
8686
aria-hidden="true"
8787
focusable="false"
8888
/>
89-
Twitter
89+
{t('About.Twitter')}
9090
</a>
9191
</p>
9292
<p className="about__content-column-list">
@@ -100,7 +100,7 @@ function About(props) {
100100
aria-hidden="true"
101101
focusable="false"
102102
/>
103-
Instagram
103+
{t('About.Instagram')}
104104
</a>
105105
</p>
106106
</div>
@@ -159,7 +159,7 @@ function About(props) {
159159
aria-hidden="true"
160160
focusable="false"
161161
/>
162-
Discord
162+
{t('About.Discord')}
163163
</a>
164164
</p>
165165
<p className="about__content-column-list">

translations/locales/en-US/translations.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,14 @@
9797
"Libraries": "Libraries",
9898
"Forum": "Forum",
9999
"Examples": "Examples",
100+
"Home": "Home",
101+
"Twitter": "Twitter",
102+
"Instagram": "Instagram",
103+
"Discord": "Discord",
100104
"PrivacyPolicy": "Privacy Policy",
101105
"TermsOfUse": "Terms of Use",
102-
"CodeOfConduct": "Code of Conduct"
106+
"CodeOfConduct": "Code of Conduct",
107+
"WebEditor": "Web Editor"
103108
},
104109
"Toast": {
105110
"OpenedNewSketch": "Opened new sketch.",

translations/locales/hi/translations.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,14 @@
9797
"Libraries": "लाइब्रेरीज़",
9898
"Forum": "समूह",
9999
"Examples": "उदाहरण",
100-
"PrivacyPolicy": "गोपनीयता नीति",
101-
"TermsOfUse": "उपयोग की शर्तें",
102-
"CodeOfConduct": "आचार संहिता"
100+
"Home": "होम",
101+
"Twitter": "ट्विटर",
102+
"Instagram": "इंस्टाग्राम",
103+
"Discord": "डिस्कॉर्ड",
104+
"PrivacyPolicy": "प्राइवेसी पालिसी",
105+
"TermsOfUse": "टर्म्स ऑफ़ यूज़",
106+
"CodeOfConduct": "कोड ऑफ़ कंडक्ट",
107+
"WebEditor": "वेब एडिटर"
103108
},
104109
"Toast": {
105110
"OpenedNewSketch": "नया स्केच खोला",

0 commit comments

Comments
 (0)