web/i18n/about: replace section titles with i18n strings

This commit is contained in:
wukko
2024-09-18 17:41:10 +06:00
parent 02267b4db4
commit d1686be583
5 changed files with 39 additions and 18 deletions

View File

@@ -1,11 +1,13 @@
<script lang="ts">
import { t } from "$lib/i18n/translations";
import { partners, contacts, docs } from "$lib/env";
import SectionHeading from "$components/misc/SectionHeading.svelte";
</script>
<section id="saving">
<SectionHeading
title="best way to save what you love"
title={$t("about.heading.summary")}
sectionId="saving"
/>
@@ -16,7 +18,7 @@ no ads, trackers, or paywalls, no nonsense. just a convenient web app that works
<section id="privacy">
<SectionHeading
title="leading privacy"
title={$t("about.heading.privacy")}
sectionId="privacy"
/>
@@ -33,7 +35,7 @@ all they'll see is that you're using cobalt.
<section id="speed">
<SectionHeading
title="blazing speed"
title={$t("about.heading.speed")}
sectionId="speed"
/>
@@ -49,7 +51,7 @@ you're in good hands, and will get what you need within seconds.
<section id="community">
<SectionHeading
title="open community"
title={$t("about.heading.community")}
sectionId="community"
/>
@@ -66,7 +68,7 @@ if your friend hosts one, just ask them for a domain and [add it in instance set
<section id="local">
<SectionHeading
title="on-device processing"
title={$t("about.heading.local")}
sectionId="local"
/>