🌐 Added translations

This commit is contained in:
Mawoka
2022-04-28 18:02:36 +02:00
parent 0a8a6cefd6
commit 24086a1ce0
3 changed files with 4 additions and 4 deletions
+2 -1
View File
@@ -8,7 +8,8 @@
"features_description": { "features_description": {
"1": "ClassQuiz is a quiz-platform that allows you to create and manage quizzes.", "1": "ClassQuiz is a quiz-platform that allows you to create and manage quizzes.",
"2": "The main feature is a KAHOOT!-import function that allows you to import quizzes from KAHOOT!-quizzes." "2": "The main feature is a KAHOOT!-import function that allows you to import quizzes from KAHOOT!-quizzes."
} },
"stats": "There are already {{user_count}} users and {{quiz_count}} quizzes on ClassQuiz."
}, },
"overview_page": { "overview_page": {
"created_at": "Created at", "created_at": "Created at",
+1 -3
View File
@@ -49,9 +49,7 @@
<h1 class="sm:text-6xl text-4xl">{$t('words.stats')}</h1> <h1 class="sm:text-6xl text-4xl">{$t('words.stats')}</h1>
<p class="text-xl pt-4"> <p class="text-xl pt-4">
{#await getStats() then stats} {#await getStats() then stats}
There are already <span class="underline">{stats.user_count}</span> users and {$t('index_page.stats', { user_count: stats.user_count, quiz_count: stats.quiz_count })}
<!-- TODO: Add translation -->
<span class="underline">{stats.quiz_count}</span> quizzes on ClassQuiz.
{/await} {/await}
</p> </p>
</div> </div>
+1
View File
@@ -239,6 +239,7 @@
</div> </div>
{:else} {:else}
<p> <p>
<!-- TODO: Add translation -->
Looks like you don't have any quizzes. Wanna change that? Click the Looks like you don't have any quizzes. Wanna change that? Click the
"Create"-button, or import a quiz from KAHOOT! "Create"-button, or import a quiz from KAHOOT!
</p> </p>