🌐 Added footer to translations
This commit is contained in:
@@ -5,35 +5,36 @@
|
|||||||
-->
|
-->
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import LanguageToggle from './language-toggle.svelte';
|
import LanguageToggle from './language-toggle.svelte';
|
||||||
|
import { getLocalization } from '$lib/i18n';
|
||||||
|
|
||||||
|
const { t } = getLocalization();
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<footer class="text-center text-white border-black w-screen">
|
<footer class="text-center text-white border-black w-screen">
|
||||||
<div class="grid grid-cols-12 w-full pt-4 bg-gray-700 pb-2">
|
<div class="grid grid-cols-12 w-full pt-4 bg-gray-700 pb-2">
|
||||||
<p class="col-start-3 col-end-11 text-center w-full">
|
<p class="col-start-3 col-end-11 text-center w-full">
|
||||||
Made with ❤️ by
|
{@html $t('footer.self_ads', {
|
||||||
<a
|
mawoka_link:
|
||||||
href="https://mawoka.eu?utm_source=ClassQuiz&utm_medium=footer"
|
'<a href="https://mawoka.eu?utm_source=ClassQuiz&utm_medium=footer" target="_blank" class="hover:underline bg-clip-text text-transparent bg-gradient-to-r from-[#009444] via-[#39b54a] to-[#8dc63f]">Mawoka</a>',
|
||||||
target="_blank"
|
others_link: `<a href="/docs/attribution" class="underline text-blue-300 hover:text-blue-500 transition">${$t(
|
||||||
class="hover:underline bg-clip-text text-transparent bg-gradient-to-r from-[#009444] via-[#39b54a] to-[#8dc63f]"
|
'words.other',
|
||||||
>Mawoka</a
|
{ count: 2 }
|
||||||
>
|
)}</a>`,
|
||||||
and with the help of
|
interpolation: { escapeValue: false }
|
||||||
<a
|
})}
|
||||||
href="/docs/attribution"
|
|
||||||
class="underline text-blue-300 hover:text-blue-500 transition">others</a
|
|
||||||
>.
|
|
||||||
<br />
|
<br />
|
||||||
If you find this useful, please consider
|
|
||||||
<a
|
{@html $t('footer.donate', {
|
||||||
href="https://mawoka.eu/donate"
|
donate_link: `<a href='https://mawoka.eu/donate' target='_blank' class='underline text-blue-300 hover:text-blue-500 transition'>${$t(
|
||||||
target="_blank"
|
'words.donating'
|
||||||
class="underline text-blue-300 hover:text-blue-500 transition">Donating</a
|
)}</a>`,
|
||||||
>.
|
interpolation: { escapeValue: false }
|
||||||
|
})}
|
||||||
<a
|
<a
|
||||||
href="https://mawoka.eu/donate"
|
href="https://mawoka.eu/donate"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
class="underline text-blue-300 hover:text-blue-500 transition"
|
class="underline text-blue-300 hover:text-blue-500 transition"
|
||||||
>More details are here.</a
|
>{$t('footer.more_details_here')}.</a
|
||||||
>
|
>
|
||||||
</p>
|
</p>
|
||||||
<div
|
<div
|
||||||
|
|||||||
@@ -110,7 +110,10 @@
|
|||||||
"private": "Private",
|
"private": "Private",
|
||||||
"dashboard": "Dashboard",
|
"dashboard": "Dashboard",
|
||||||
"question_plural": "Questions",
|
"question_plural": "Questions",
|
||||||
"game_pin": "Game Pin"
|
"game_pin": "Game Pin",
|
||||||
|
"other": "other",
|
||||||
|
"other_plural": "others",
|
||||||
|
"donating": "donating"
|
||||||
},
|
},
|
||||||
"editor": {
|
"editor": {
|
||||||
"time_in_seconds": "Time in seconds",
|
"time_in_seconds": "Time in seconds",
|
||||||
@@ -170,5 +173,10 @@
|
|||||||
},
|
},
|
||||||
"dashboard": {
|
"dashboard": {
|
||||||
"search_for_own_quizzes": "Search for your own quizzes"
|
"search_for_own_quizzes": "Search for your own quizzes"
|
||||||
|
},
|
||||||
|
"footer": {
|
||||||
|
"self_ads": "Made with ❤️ by {{mawoka_link}} and with the help of {{others_link}}.",
|
||||||
|
"more_details_here": "More details are here",
|
||||||
|
"donate": "If you find this useful, please consider {{donate_link}}."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user