🌐 Added translation-strings
This commit is contained in:
@@ -86,7 +86,10 @@
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<p class="text-center">{quiz.questions.length} Questions</p>
|
<p class="text-center">
|
||||||
|
{quiz.questions.length}
|
||||||
|
{$t('words.question', { count: quiz.questions.length })}
|
||||||
|
</p>
|
||||||
<div class="flex justify-center mt-8">
|
<div class="flex justify-center mt-8">
|
||||||
{#if quiz.public}
|
{#if quiz.public}
|
||||||
<svg
|
<svg
|
||||||
@@ -127,7 +130,7 @@
|
|||||||
<a
|
<a
|
||||||
href="/edit?quiz_id={quiz.id}"
|
href="/edit?quiz_id={quiz.id}"
|
||||||
class="px-4 py-2 leading-5 text-black dark:text-white transition-colors duration-200 transform bg-gray-50 dark:bg-gray-700 rounded text-center hover:bg-gray-300 focus:outline-none disabled:cursor-not-allowed disabled:opacity-50 dark:hover:bg-gray-600"
|
class="px-4 py-2 leading-5 text-black dark:text-white transition-colors duration-200 transform bg-gray-50 dark:bg-gray-700 rounded text-center hover:bg-gray-300 focus:outline-none disabled:cursor-not-allowed disabled:opacity-50 dark:hover:bg-gray-600"
|
||||||
>Edit</a
|
>{$t('words.edit')}</a
|
||||||
>
|
>
|
||||||
<button
|
<button
|
||||||
on:click={() => {
|
on:click={() => {
|
||||||
@@ -135,7 +138,7 @@
|
|||||||
}}
|
}}
|
||||||
class="px-4 py-2 leading-5 text-black dark:text-white transition-colors duration-200 transform bg-gray-50 dark:bg-gray-700 rounded text-center hover:bg-gray-300 focus:outline-none disabled:cursor-not-allowed disabled:opacity-50 dark:hover:bg-gray-600"
|
class="px-4 py-2 leading-5 text-black dark:text-white transition-colors duration-200 transform bg-gray-50 dark:bg-gray-700 rounded text-center hover:bg-gray-300 focus:outline-none disabled:cursor-not-allowed disabled:opacity-50 dark:hover:bg-gray-600"
|
||||||
>
|
>
|
||||||
Start
|
{$t('words.start')}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -108,7 +108,8 @@
|
|||||||
"range": "Range",
|
"range": "Range",
|
||||||
"multiple_choice": "Multiple-Choice",
|
"multiple_choice": "Multiple-Choice",
|
||||||
"private": "Private",
|
"private": "Private",
|
||||||
"dashboard": "Dashboard"
|
"dashboard": "Dashboard",
|
||||||
|
"question_plural": "Questions"
|
||||||
},
|
},
|
||||||
"editor": {
|
"editor": {
|
||||||
"time_in_seconds": "Time in seconds",
|
"time_in_seconds": "Time in seconds",
|
||||||
@@ -165,5 +166,8 @@
|
|||||||
"editor_page": {
|
"editor_page": {
|
||||||
"add_an_answer": "Add an answer",
|
"add_an_answer": "Add an answer",
|
||||||
"right_click_to_delete": "Right-click on an answer to delete it!"
|
"right_click_to_delete": "Right-click on an answer to delete it!"
|
||||||
|
},
|
||||||
|
"dashboard": {
|
||||||
|
"search_for_own_quizzes": "Search for your own quizzes"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -129,7 +129,7 @@
|
|||||||
<input
|
<input
|
||||||
bind:value={search_term}
|
bind:value={search_term}
|
||||||
class="p-2 rounded-lg outline-none text-center w-96 dark:bg-gray-700"
|
class="p-2 rounded-lg outline-none text-center w-96 dark:bg-gray-700"
|
||||||
placeholder="Search for your own quizzes"
|
placeholder={$t('dashboard.search_for_own_quizzes')}
|
||||||
/>
|
/>
|
||||||
<button
|
<button
|
||||||
on:click={() => {
|
on:click={() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user