From 5b04a9d4a04d5482d2cbc1cfc6583bffeccf0281 Mon Sep 17 00:00:00 2001 From: Youngbin Han Date: Thu, 28 Nov 2024 21:48:34 +0900 Subject: [PATCH] Translate featured banner --- messages/en.json | 4 +++- messages/ko.json | 4 +++- src/components/FeaturedSpeakers.astro | 5 +++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/messages/en.json b/messages/en.json index 4fb2eff..24b513d 100644 --- a/messages/en.json +++ b/messages/en.json @@ -6,5 +6,7 @@ "mainBanner_footnote": "*To be confirmed", "videoBanner_title": "An event for people with Ubuntu and FOSS in common", "videoBanner_description1": "UbuCon Asia brings together people with diverse backgrounds across Asia with one thing in common: Ubuntu and FOSS - to explore what we can do with Ubuntu and FOSS and how we can contribute to its projects and communities.", - "videoBanner_description2": "Not sure if this event is for you? Watch our aftermovie from last year." + "videoBanner_description2": "Not sure if this event is for you? Watch our aftermovie from last year.", + "featuredBanner_title": "Featured Speakers", + "featuredBanner_button": "Full schedules" } \ No newline at end of file diff --git a/messages/ko.json b/messages/ko.json index 91f7c38..05dd739 100644 --- a/messages/ko.json +++ b/messages/ko.json @@ -6,5 +6,7 @@ "mainBanner_footnote": "*To be confirmed", "videoBanner_title": "An event for people with Ubuntu and FOSS in common", "videoBanner_description1": "UbuCon Asia brings together people with diverse backgrounds across Asia with one thing in common: Ubuntu and FOSS - to explore what we can do with Ubuntu and FOSS and how we can contribute to its projects and communities.", - "videoBanner_description2": "Not sure if this event is for you? Watch our aftermovie from last year." + "videoBanner_description2": "Not sure if this event is for you? Watch our aftermovie from last year.", + "featuredBanner_title": "Featured Speakers", + "featuredBanner_button": "Full schedules" } \ No newline at end of file diff --git a/src/components/FeaturedSpeakers.astro b/src/components/FeaturedSpeakers.astro index 3b154af..3fa1606 100644 --- a/src/components/FeaturedSpeakers.astro +++ b/src/components/FeaturedSpeakers.astro @@ -1,6 +1,7 @@ --- import { WebsiteConfig } from "../config"; import eventLogo from "@assets/logo.svg"; +import * as m from "../paraglide/messages.js"; const indicoResponse = await fetch(WebsiteConfig.featuredSpeakers.indicoExportUrl); const indicoResJson = await indicoResponse.json(); @@ -45,7 +46,7 @@ for (const session of featuredSessions) {
-

Featured speakers

+

{m.featuredBanner_title()}

{featuredSpeakers.map((speaker) => (