Skip to content

Commit

Permalink
Translate video banner
Browse files Browse the repository at this point in the history
  • Loading branch information
sukso96100 committed Nov 28, 2024
1 parent 713790b commit c89c359
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
5 changes: 4 additions & 1 deletion messages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,8 @@
"mainBanner_dates": "August 30-31*",
"mainBanner_venue": "St. Xavier's College, Kathmandu, Nepal",
"mainBanner_description": "UbuCon Asia is a community-organized conference connecting Ubuntu community in Asia. Join us in Kathmandu for two days memorable of conference that connects enthusiast, engineers, creators, researchers, entrepreneurs and contributors across Asia.",
"mainBanner_footnote": "*To be confirmed"
"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."
}
5 changes: 4 additions & 1 deletion messages/ko.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,8 @@
"mainBanner_dates": "8월 30일-31일*",
"mainBanner_venue": "St. Xavier's College, Kathmandu, Nepal",
"mainBanner_description": "UbuCon Asia is a community-organized conference connecting Ubuntu community in Asia. Join us in Kathmandu for two days memorable of conference that connects enthusiast, engineers, creators, researchers, entrepreneurs and contributors across Asia.",
"mainBanner_footnote": "*To be confirmed"
"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."
}
9 changes: 4 additions & 5 deletions src/pages/[locale]/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import Sponsors from '@components/Sponsors.astro';
import BlogFeed from '@components/BlogFeed.astro';
import { WebsiteConfig } from '../../config';
import { getRelativeLocaleUrlList } from 'astro:i18n';
import * as m from "../../paraglide/messages.js";
export function getStaticPaths() {
return getRelativeLocaleUrlList().map((locale) => {
Expand All @@ -28,11 +29,9 @@ export function getStaticPaths() {
</div>
<div class="row--50-50">
<div class="col">
<h2>An event for people with Ubuntu and FOSS in common</h2>
<p>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.
<br/><br/>Not sure if this event is for you? Watch our aftermovie from last year.</a>
</p>
<h2>{m.videoBanner_title()}</h2>
<p>{m.videoBanner_description1()}</p>
<p>{m.videoBanner_description2()}</p>
</div>
<div class="col">
<iframe width="560" height="315" src="https://www.youtube.com/embed/Ul8DQh3yroo?si=RQT0Jqq8-bX4yU6-"
Expand Down

0 comments on commit c89c359

Please sign in to comment.