diff --git a/frontend/src/lib/dashboard/main_slider.svelte b/frontend/src/lib/dashboard/main_slider.svelte index e4f7b7c..57d23b8 100644 --- a/frontend/src/lib/dashboard/main_slider.svelte +++ b/frontend/src/lib/dashboard/main_slider.svelte @@ -86,7 +86,10 @@

-

{quiz.questions.length} Questions

+

+ {quiz.questions.length} + {$t('words.question', { count: quiz.questions.length })} +

{#if quiz.public} Edit{$t('words.edit')}
diff --git a/frontend/src/lib/i18n/locales/en.json b/frontend/src/lib/i18n/locales/en.json index 1d97942..6ad7152 100644 --- a/frontend/src/lib/i18n/locales/en.json +++ b/frontend/src/lib/i18n/locales/en.json @@ -108,7 +108,8 @@ "range": "Range", "multiple_choice": "Multiple-Choice", "private": "Private", - "dashboard": "Dashboard" + "dashboard": "Dashboard", + "question_plural": "Questions" }, "editor": { "time_in_seconds": "Time in seconds", @@ -165,5 +166,8 @@ "editor_page": { "add_an_answer": "Add an answer", "right_click_to_delete": "Right-click on an answer to delete it!" + }, + "dashboard": { + "search_for_own_quizzes": "Search for your own quizzes" } } diff --git a/frontend/src/routes/dashboard/+page.svelte b/frontend/src/routes/dashboard/+page.svelte index 18694dd..223abb7 100644 --- a/frontend/src/routes/dashboard/+page.svelte +++ b/frontend/src/routes/dashboard/+page.svelte @@ -129,7 +129,7 @@