diff --git a/frontend/src/lib/i18n/locales/en.json b/frontend/src/lib/i18n/locales/en.json index 5e17382..374aab7 100644 --- a/frontend/src/lib/i18n/locales/en.json +++ b/frontend/src/lib/i18n/locales/en.json @@ -7,9 +7,16 @@ }, "features_description": { "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.", + "3": "The easy-to-use editor is highlight as well as the function to export quiz-results to Excel-files." }, - "stats": "There are already {{user_count}} users and {{quiz_count}} quizzes on ClassQuiz." + "stats": "There are already {{user_count}} users and {{quiz_count}} quizzes on ClassQuiz.", + "see_what_true_and_false": "See what was right or wrong", + "see_how_many_true_and_false": "See how many were right or wrong", + "create_or_import": "Create or Import", + "see_all_quizzes": "See all your quizzes", + "teachers_site": "Teacher's site", + "students_site": "Student's site" }, "overview_page": { "created_at": "Created at", diff --git a/frontend/src/lib/landing-promo.svelte b/frontend/src/lib/landing-promo.svelte deleted file mode 100644 index 496bae1..0000000 --- a/frontend/src/lib/landing-promo.svelte +++ /dev/null @@ -1,29 +0,0 @@ - - -
-

1: Answer

-

2: See what was right or wrong

-

3: See how many were right or wrong

- -
- Select answer -
-
- See right and wrong solutions -
-
- See results in comparison with other players -
-
diff --git a/frontend/src/lib/landing/landing-promo.svelte b/frontend/src/lib/landing/landing-promo.svelte index bc770ed..c00c849 100644 --- a/frontend/src/lib/landing/landing-promo.svelte +++ b/frontend/src/lib/landing/landing-promo.svelte @@ -10,6 +10,9 @@ import SolutionMockup from '$lib/assets/landing/solution-mockup.webp'; import ImportSelectMockup from '$lib/assets/landing/import-select-mockup.webp'; import OverviewMockup from '$lib/assets/landing/overview-mockup.webp'; + import { getLocalization } from '$lib/i18n'; + + const { t } = getLocalization(); let teacherTab = false; @@ -20,9 +23,11 @@
-

1: Create or Import

+

+ 1: {$t('index_page.create_or_import')} +

- 2: See all your quizzes + 2: {$t('index_page.see_all_quizzes')}

@@ -30,7 +35,7 @@ Select answer

- 2: See all your quizzes + 2: {$t('index_page.see_all_quizzes')}

-

1: Answer

+

1: {$t('words.answer')}

- 2: See what was right or wrong + 2: {$t('index_page.see_what_true_and_false')}

- 3: See how many were right or wrong + 3: {$t('index_page.see_how_many_true_and_false')}

Select answer

- 2: See what was right or wrong + 2: {$t('index_page.see_what_true_and_false')}

- 3: See how many were right or wrong + 3: {$t('index_page.see_how_many_true_and_false')}

{ teacherTab = true; }} - >Teacher's site + >{$t('index_page.teachers_site')} {:else} {/if}
diff --git a/frontend/src/routes/index.svelte b/frontend/src/routes/index.svelte index 03f695c..8bd9296 100644 --- a/frontend/src/routes/index.svelte +++ b/frontend/src/routes/index.svelte @@ -85,6 +85,8 @@ {$t('index_page.features_description.1')}
{$t('index_page.features_description.2')} +
+ {$t('index_page.features_description.3')}