diff --git a/src/content/ui/es.yaml b/src/content/ui/es.yaml index ebe13042d3..2fec30651e 100644 --- a/src/content/ui/es.yaml +++ b/src/content/ui/es.yaml @@ -37,6 +37,7 @@ Related Examples: Ejemplos Relacionados Show Code: Mostrar el código Donate to p5.js: Dona a p5.js Download p5.js: Descarga p5.js + briefPageDescriptions: Reference: Encuentra explicaciones sencillas para cada pieza de código de p5.js. Examples: Explora las posibilidades de p5.js con ejemplos cortos. @@ -48,8 +49,10 @@ briefPageDescriptions: Libraries: Expande las posibilidades de p5.js con bibliotecas creadas por la comunidad. About: Aprende acerca de la misión, valores y personas detrás de p5.js. People: Conoce al equipo de p5.js. + exampleCategories: Featured: Destacado + referenceCategories: modules: Math: Matemáticas @@ -76,3 +79,14 @@ referenceCategories: Loading & Displaying: Cargando y Mostrando Noise: Ruido Random: Aleatorio + +tutorialCategories: + introduction: "Introducción a p5.js" + drawing: "Dibujo" + web-design: "Diseño web" + accessibility: "Accesibilidad" + criticalAI: "IA crítica" + webgl: "WebGL" + advanced: "Temas avanzados" + education-resources: "Recursos educativos" + diff --git a/src/content/ui/hi.yaml b/src/content/ui/hi.yaml index f96944230c..be22ec3f79 100644 --- a/src/content/ui/hi.yaml +++ b/src/content/ui/hi.yaml @@ -37,6 +37,7 @@ Related Examples: संबंधित उदाहरण Show Code: कोड दिखाएं Donate to p5.js: p5.js को दान करें Download p5.js: p5.js डाउनलोड करें + briefPageDescriptions: Reference: p5.js कोड के प्रत्येक भाग के लिए आसान व्याख्या ढूंढें। Examples: p5.js की संभावनाओं का पता लगाएं छोटे उदाहरणों के साथ। @@ -48,6 +49,10 @@ briefPageDescriptions: Libraries: p5.js की संभावनाओं का विस्तार करें समुदाय द्वारा बनाई गई लाइब्रेरीज़ के साथ। About: p5.js के पीछे मिशन, मूल्यों और लोगों के बारे में जानें। People: p5.js टीम को जानें। + +exampleCategories: + Featured: प्रमुख + referenceCategories: modules: Typography: टाइपोग्राफी @@ -64,7 +69,7 @@ referenceCategories: Trigonometry: त्रिकोणमिति Creating & Reading: बनाना और पढ़ना 2D Primitives: 2D आदिम - Setting: स्थिरांक + Setting: सेटिंग DOM: डोम Constants: स्थिरांक Pixels: पिक्सल @@ -74,3 +79,15 @@ referenceCategories: Attributes: गुण Noise: नॉइज़ Random: यादृच्छिक + + +tutorialCategories: + introduction: "p5.js का परिचय" + drawing: "चित्रण" + web-design: "वेब डिज़ाइन" + accessibility: "अभिगम्यता" + criticalAI: "क्रिटिकल AI" + webgl: "वेबजीएल" + advanced: "उन्नत विषय" + education-resources: "शैक्षिक संसाधन" + diff --git a/src/content/ui/ko.yaml b/src/content/ui/ko.yaml index dca279c1d1..93943cd14c 100644 --- a/src/content/ui/ko.yaml +++ b/src/content/ui/ko.yaml @@ -70,3 +70,15 @@ referenceCategories: Loading & Displaying: 불러오기 & 보이기 Noise: 노이즈 Random: 랜덤 + + +tutorialCategories: + introduction: "p5.js 소개" + drawing: "드로잉" + web-design: "웹 디자인" + accessibility: "접근성" + criticalAI: "비판적 AI" + webgl: "웹글" + advanced: "고급 주제" + education-resources: "교육 자료" + diff --git a/src/content/ui/zh-Hans.yaml b/src/content/ui/zh-Hans.yaml index 7fb5da962f..5559b1f493 100644 --- a/src/content/ui/zh-Hans.yaml +++ b/src/content/ui/zh-Hans.yaml @@ -97,10 +97,11 @@ tutorialCategories: drawing: "绘图" "web-design": "网页设计" accessibility: "无障碍" + criticalAI: "批判性人工智能" webgl: "WebGL" - "advanced": "高级主题" + advanced: "高级主题" + education-resources: "教育资源" tutorialsPage: - education-resources: 教育资源 education-resources-snippet: "每个教学经验都有其独特的目标、信息、条件和环境。通过记录和分享 p5.js 教育资源,如工作坊和课程,我们旨在更好地连接全球的 p5.js 学习者和教育者社区。" view-education-resources: 查看教育资源 exampleCategories: diff --git a/src/layouts/TutorialsLayout.astro b/src/layouts/TutorialsLayout.astro index 7f279e6669..8a44ec3e5f 100644 --- a/src/layouts/TutorialsLayout.astro +++ b/src/layouts/TutorialsLayout.astro @@ -35,7 +35,7 @@ const pageJumpToLinks = categories .concat([ { url: "#education-resources", - label: t("tutorialsPage", "education-resources"), + label: t("tutorialCategories", "education-resources"), // ✅ changed from tutorialsPage }, ]); @@ -63,10 +63,10 @@ setJumpToState({ )) } +

- {t("tutorialsPage", "education-resources")} + {t("tutorialCategories", "education-resources")}

{t("tutorialsPage", "education-resources-snippet")}