diff --git a/frontend/src/lib/editor/AddNewQuestionPopup.svelte b/frontend/src/lib/editor/AddNewQuestionPopup.svelte index c2d76e6..a6aa9f7 100644 --- a/frontend/src/lib/editor/AddNewQuestionPopup.svelte +++ b/frontend/src/lib/editor/AddNewQuestionPopup.svelte @@ -36,38 +36,38 @@ type: QuizQuestionType; }[] = [ { - name: 'Multiple Choice', - description: '', + name: $t('words.multiple_choice'), + description: $t('editor.abcd_description'), answers: [], type: QuizQuestionType.ABCD }, { - name: 'Voting', - description: '', + name: $t('words.voting'), + description: $t('editor.voting_description'), answers: [], type: QuizQuestionType.VOTING }, { - name: 'Check Choice', - description: '', + name: $t('words.check_choice'), + description: $t('editor.check_choice_description'), answers: [], type: QuizQuestionType.CHECK }, { - name: 'Order', - description: '', + name: $t('words.order'), + description: $t('editor.order_description'), answers: [], type: QuizQuestionType.ORDER }, { - name: 'Text', - description: '', + name: $t('words.text'), + description: $t('editor.text_description'), answers: [], type: QuizQuestionType.TEXT }, { - name: 'Range', - description: '', + name: $t('words.range'), + description: $t('editor.range_description'), answers: { max: 10, min: 0, diff --git a/frontend/src/lib/i18n/locales/en.json b/frontend/src/lib/i18n/locales/en.json index 6141f8e..4693b61 100644 --- a/frontend/src/lib/i18n/locales/en.json +++ b/frontend/src/lib/i18n/locales/en.json @@ -158,7 +158,7 @@ "backup_code": "Backup-code", "totp": "Totp", "text": "Text", - "order": "order", + "order": "Order", "results": "Results", "note": "Note", "player_plural": "Players", @@ -204,7 +204,13 @@ "text_description": "Smaller longer text", "rectangle": "Rectangle", "rectangle_description": "Just a rectangle" - } + }, + "abcd_description": "Only one answer can be chosen", + "voting_description": "Answers don't add any points", + "check_choice_description": "All correct answers have to be chosen to score points", + "order_description": "Answers can be brought into the correct order", + "text_description": "Players can enter text", + "range_description": "A number-range can be selected with a slider" }, "import_page": { "need_help": "Need help?",