Skip to content

Commit e9e3dd2

Browse files
committed
chore: add missing Hindi translations for homepage & UI elements
1 parent 343e2cc commit e9e3dd2

File tree

4 files changed

+12
-5
lines changed

4 files changed

+12
-5
lines changed

src/content/homepage/hi.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ heroImages:
3838
linkTarget: "https://hello.p5js.org"
3939
altText: Eight portrait photos of p5 contributors overlaid by the text "Hello, p5.js"
4040
caption: "Find out how to get started with animation, audio, WebGL, accessibility, and contribution to p5.js in this interactive video:"
41-
referenceHeaderText: Explore the p5.js library reference
42-
examplesHeaderText: Learn p5.js with examples
43-
communityHeaderText: See the p5.js community in action
41+
referenceHeaderText: p5.js कोड के प्रत्येक भाग के लिए आसान व्याख्या ढूंढें।
42+
examplesHeaderText: छोटे उदाहरणों के साथ p5.js की संभावनाओं का पता लगाएं।
43+
communityHeaderText: देखें कि दुनिया भर के लोग
4444
sketchIds:
4545
- 967807
4646
- 2
4747
- 3
4848
- 5
4949
- 8
50-
- 11
50+
- 11

src/content/ui/en.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
Home: Home
2+
Welcome to p5.js: Welcome to p5.js
3+
Skip to main content: Skip to main content
24
Menu: Menu
35
Reference: Reference
46
Tutorials: Tutorials

src/content/ui/hi.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
Home: होम
2+
Welcome to p5.js: p5.js में आपका स्वागत है
3+
Skip to main content: मुख्य सामग्री पर जाएं
4+
Menu: मेनू
25
Reference: संदर्भ
36
Tutorials: ट्यूटोरियल्स
47
Examples: उदाहरण
@@ -8,6 +11,7 @@ About: परिचय
811
Start Coding: कोडिंग शुरू करें
912
Donate: दान
1013
Download: डाउनलोड
14+
Download Library: डाउनलोड लाइब्रेरी
1115
Accessibility: अभिगम्यता
1216
Search: खोजें
1317
Filter by keyword: कीवर्ड द्वारा फ़िल्टर करें
@@ -38,6 +42,7 @@ Show Code: कोड दिखाएं
3842
Donate to p5.js: p5.js को दान करें
3943
Download p5.js: p5.js डाउनलोड करें
4044

45+
4146
briefPageDescriptions:
4247
Reference: p5.js कोड के प्रत्येक भाग के लिए आसान व्याख्या ढूंढें।
4348
Examples: p5.js की संभावनाओं का पता लगाएं छोटे उदाहरणों के साथ।

src/layouts/HomepageLayout.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ setJumpToState(null);
3737

3838
<BaseLayout title="" variant="homepage" homepageConfig={config}>
3939

40-
<h1 class="text-5xl font-bold mb-xl col-span-full">Welcome to p5.js</h1>
40+
<h1 class="text-5xl font-bold mb-xl col-span-full">{t("Welcome to p5.js")}</h1>
4141

4242
<div class="content-grid-simple mb-xl">
4343
<div

0 commit comments

Comments
 (0)