Fix: make text a translation

This commit is contained in:
Robin van der Linde 2023-07-06 00:18:54 +02:00
parent f89b8a5323
commit 418e0cd149
Signed by: Robin-van-der-Linde
GPG key ID: 53956B3252478F0D
3 changed files with 4 additions and 1 deletions

View file

@ -7,6 +7,7 @@
import type { LayoutInformation } from "../../Models/ThemeConfig/LayoutConfig"
import Tr from "../Base/Tr.svelte"
import SubtleLink from "../Base/SubtleLink.svelte"
import Translations from "../i18n/Translations"
export let theme: LayoutInformation
export let isCustom: boolean = false
@ -81,7 +82,7 @@
</span>
{#if selected}
<span class="alert">
Press enter to open theme
<Tr t={Translations.t.general.morescreen.enterToOpen} />
</span>
{/if}
</span>

View file

@ -227,6 +227,7 @@
},
"morescreen": {
"createYourOwnTheme": "Create your own MapComplete theme from scratch",
"enterToOpen": "Press enter to open theme",
"hiddenExplanation": "These themes are only accessible to those with the link. You have discovered {hidden_discovered} of {total_hidden} hidden themes.",
"intro": "<h3>More thematic maps?</h3>Do you enjoy collecting geodata? <br/>There are more themes available.",
"noMatchingThemes": "No themes matched your search criteria",

View file

@ -202,6 +202,7 @@
"logout": "Afmelden",
"morescreen": {
"createYourOwnTheme": "Maak je eigen MapComplete-kaart",
"enterToOpen": "Druk op enter om thema te openen",
"hiddenExplanation": "Deze thema's zijn enkel zichtbaar indien je de link kent. Je hebt {hidden_discovered} van {total_hidden} verborgen thema's ontdekt.",
"intro": "<h3>Meer thematische kaarten?</h3>Vind je het leuk om geodata te verzamelen? <br> Hier vind je meer kaartthema's.",
"noMatchingThemes": "Geen enkel thema beantwoord je zoekopdracht",