web: move all strings to i18n & improve a11y

- omnibox is now fully usable with a screen reader
- back button is now interpreted as such
- subtext now accepts line breaks
This commit is contained in:
wukko
2024-07-03 23:54:44 +06:00
parent 70339b7ae9
commit 97d381e993
25 changed files with 282 additions and 90 deletions

View File

@@ -1,10 +1,12 @@
<script>
import { t } from "$lib/i18n/translations";
import Omnibox from "$components/save/Omnibox.svelte";
import MeowbaltLoaf from "$components/meowbalt/MeowbaltLoaf.svelte";
</script>
<svelte:head>
<title>cobalt</title>
<title>{$t("general.cobalt")}</title>
</svelte:head>
<div id="cobalt-save-container" class="center-column-container">
@@ -13,7 +15,7 @@
<Omnibox />
</main>
<div id="terms-note">
by continuing you agree to terms and ethics of use
{$t("save.termsNote")}
</div>
</div>