From e9e3dd27cc7cf2035725c2d05d0cbf7b766df1df Mon Sep 17 00:00:00 2001 From: sangeetha jadamal Date: Tue, 4 Nov 2025 16:01:06 +0530 Subject: [PATCH] chore: add missing Hindi translations for homepage & UI elements --- src/content/homepage/hi.yaml | 8 ++++---- src/content/ui/en.yaml | 2 ++ src/content/ui/hi.yaml | 5 +++++ src/layouts/HomepageLayout.astro | 2 +- 4 files changed, 12 insertions(+), 5 deletions(-) diff --git a/src/content/homepage/hi.yaml b/src/content/homepage/hi.yaml index 895af3fed7..35da773642 100644 --- a/src/content/homepage/hi.yaml +++ b/src/content/homepage/hi.yaml @@ -38,13 +38,13 @@ heroImages: linkTarget: "https://hello.p5js.org" altText: Eight portrait photos of p5 contributors overlaid by the text "Hello, p5.js" caption: "Find out how to get started with animation, audio, WebGL, accessibility, and contribution to p5.js in this interactive video:" -referenceHeaderText: Explore the p5.js library reference -examplesHeaderText: Learn p5.js with examples -communityHeaderText: See the p5.js community in action +referenceHeaderText: p5.js कोड के प्रत्येक भाग के लिए आसान व्याख्या ढूंढें। +examplesHeaderText: छोटे उदाहरणों के साथ p5.js की संभावनाओं का पता लगाएं। +communityHeaderText: देखें कि दुनिया भर के लोग sketchIds: - 967807 - 2 - 3 - 5 - 8 - - 11 + - 11 \ No newline at end of file diff --git a/src/content/ui/en.yaml b/src/content/ui/en.yaml index 5d09de5fd1..9a4ce3df60 100644 --- a/src/content/ui/en.yaml +++ b/src/content/ui/en.yaml @@ -1,4 +1,6 @@ Home: Home +Welcome to p5.js: Welcome to p5.js +Skip to main content: Skip to main content Menu: Menu Reference: Reference Tutorials: Tutorials diff --git a/src/content/ui/hi.yaml b/src/content/ui/hi.yaml index be22ec3f79..a0eecb2113 100644 --- a/src/content/ui/hi.yaml +++ b/src/content/ui/hi.yaml @@ -1,4 +1,7 @@ Home: होम +Welcome to p5.js: p5.js में आपका स्वागत है +Skip to main content: मुख्य सामग्री पर जाएं +Menu: मेनू Reference: संदर्भ Tutorials: ट्यूटोरियल्स Examples: उदाहरण @@ -8,6 +11,7 @@ About: परिचय Start Coding: कोडिंग शुरू करें Donate: दान Download: डाउनलोड +Download Library: डाउनलोड लाइब्रेरी Accessibility: अभिगम्यता Search: खोजें Filter by keyword: कीवर्ड द्वारा फ़िल्टर करें @@ -38,6 +42,7 @@ Show Code: कोड दिखाएं Donate to p5.js: p5.js को दान करें Download p5.js: p5.js डाउनलोड करें + briefPageDescriptions: Reference: p5.js कोड के प्रत्येक भाग के लिए आसान व्याख्या ढूंढें। Examples: p5.js की संभावनाओं का पता लगाएं छोटे उदाहरणों के साथ। diff --git a/src/layouts/HomepageLayout.astro b/src/layouts/HomepageLayout.astro index 279b0a6598..42558cab26 100644 --- a/src/layouts/HomepageLayout.astro +++ b/src/layouts/HomepageLayout.astro @@ -37,7 +37,7 @@ setJumpToState(null); -

Welcome to p5.js

+

{t("Welcome to p5.js")}