fix: move hardcoded translation in landing-page to translations
This commit is contained in:
parent
e69926a162
commit
5127ee7967
|
|
@ -267,14 +267,12 @@ export default function LandingPage(
|
||||||
/>
|
/>
|
||||||
</svg>
|
</svg>
|
||||||
<p className="text-lg text-muted-foreground mb-4">
|
<p className="text-lg text-muted-foreground mb-4">
|
||||||
{currentLocale === 'pl'
|
{t.contribute.agenda.description}
|
||||||
? 'Zobacz pełny harmonogram wydarzeń, prelekcji i warsztatów'
|
|
||||||
: 'View the full schedule of events, talks, and workshops'}
|
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<Button className={`${oxanium.className} text-xl uppercase cursor-pointer`} size="lg">
|
<Button className={`${oxanium.className} text-xl uppercase cursor-pointer`} size="lg">
|
||||||
<Link href={`/${currentLocale}/agenda`}>
|
<Link href={`/${currentLocale}/agenda`}>
|
||||||
{currentLocale === 'pl' ? 'Zobacz agendę' : 'View agenda'}
|
{t.contribute.agenda.viewButton}
|
||||||
</Link>
|
</Link>
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -63,6 +63,8 @@ const pl = {
|
||||||
},
|
},
|
||||||
agenda: {
|
agenda: {
|
||||||
title: "Agenda",
|
title: "Agenda",
|
||||||
|
description: "Zobacz pełny harmonogram wydarzeń, prelekcji i warsztatów",
|
||||||
|
viewButton: "Zobacz agendę",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
faq: {
|
faq: {
|
||||||
|
|
@ -180,6 +182,8 @@ const en = {
|
||||||
},
|
},
|
||||||
agenda: {
|
agenda: {
|
||||||
title: "Schedule",
|
title: "Schedule",
|
||||||
|
description: "View the full schedule of events, talks, and workshops",
|
||||||
|
viewButton: "View agenda",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
faq: {
|
faq: {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue