Skip to content

Commit 3b0e6d3

Browse files
authored
Merge pull request bonartm#31 from macagua/main
Added more improvements
2 parents fa3587d + c80c1ab commit 3b0e6d3

File tree

10 files changed

+19
-24
lines changed

10 files changed

+19
-24
lines changed

docs/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Combining all steps leads to something like this (edit in the [🚀quizdown edit
7676
Below you find the steps of the machine learning workflow.
7777
Do you find the **correct order**?
7878

79-
> The model selection happens before the `final model evaluaton`!
79+
> The model selection happens before the `final model evaluation`!
8080

8181
1. Get the data
8282
2. Explore the data
@@ -107,4 +107,3 @@ Combining all steps leads to something like this (edit in the [🚀quizdown edit
107107
- tryout the [quizdown live editor](https://bonartm.github.io/quizdown-live-editor/).
108108
- read about the supported [configuration and options](options.md).
109109
- learn about how to [`import` quizdown](./module_import.md) and use it programmatically to have full control on how and when to create quizdown app in your project.
110-

docs/module_import.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,3 @@ let rawQuizdown = `
3030

3131
createApp(rawQuizdown, node, config)
3232
```
33-

docs/options.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ Currently, the following options are supported. Shown are the default settings:
88

99
```typescript
1010
let config = {
11-
startOnLoad: true, // detect and convert all divs with class quizdown
12-
shuffleAnswers: true, // shuffle answers for each question
13-
shuffleQuestions: false, // shuffle questsions for each quiz
14-
nQuestions: undefined // dsiplay n questions at random, if shuffleQuestions is true
11+
startOnLoad: true, // detect and convert all div html elements with class quizdown
12+
shuffleAnswers: true, // shuffle answers for each question
13+
shuffleQuestions: false, // shuffle questions for each quiz
14+
nQuestions: undefined // display n questions at random, if shuffleQuestions is true
1515
primaryColor: 'steelblue', // primary CSS color
1616
secondaryColor: '#f2f2f2', // secondary CSS color
1717
textColor: 'black', // text color of some elements
@@ -94,7 +94,7 @@ x = [1, 2, 3, 4]
9494
1. [ ] Larry Page
9595

9696

97-
#### Which console appeared first, wich last?
97+
#### Which console appeared first, witch last?
9898

9999
1. Atari 2600
100100
2. NES

docs/syntax.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,4 +92,3 @@ That's **super easy**!
9292
## Fill in the Blanks (WIP)
9393

9494
...
95-

public/index.html

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ <h1>Quizdown Demo Page</h1>
9191

9292
![](https://upload.wikimedia.org/wikipedia/commons/thumb/e/e5/Ted_Nelson_cropped.jpg/330px-Ted_Nelson_cropped.jpg)
9393

94-
> He coined the terms *hyptertext* and *hypermedia* in 1963!
94+
> He coined the terms *hypertext* and *hypermedia* in 1963!
9595

9696
1. [x] Ted Nelson
9797
1. [ ] Donald Knuth
@@ -189,12 +189,6 @@ <h1>Quizdown Demo Page</h1>
189189
- [ ] `WWW`
190190
- [ ] `C3PO`
191191

192-
193-
194-
195-
196-
197-
198192
</div>
199193
</div>
200194
</body>

src/components/QuestionView.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
</script>
2020

2121
<h3>
22-
Q{n}: {@html question.text}
22+
{$_('questionLetter')}{n}: {@html question.text}
2323
</h3>
2424

2525
{#if question.explanation}

src/languages/de.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@
55
"reset": "Noch einmal!",
66
"hint": "Tipp anzeigen",
77
"resultsTitle": "Ihr Ergebnis",
8-
"resultsText": "Sie haben {points} von {total} Fragen richtig beantwortet!"
8+
"resultsText": "Sie haben {points} von {total} Fragen richtig beantwortet!",
9+
"questionLetter": "F"
910
}

src/languages/en.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@
55
"reset": "One more time!",
66
"hint": "Show hint",
77
"resultsTitle": "Your quiz results",
8-
"resultsText": "You have answered {points} out of {total} questions correctly!"
8+
"resultsText": "You have answered {points} out of {total} questions correctly!",
9+
"questionLetter": "Q"
910
}

src/languages/es.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
"next": "Siguiente",
33
"previous": "Anterior",
44
"evaluate": "Respuesta",
5-
"reset": "Otra vez!",
6-
"hint": "Pista",
7-
"resultsTitle": "Resultados",
8-
"resultsText": "Ha acertado a {points} preguntas de {total}!"
5+
"reset": "¡Otra vez!",
6+
"hint": "Mostrar pista",
7+
"resultsTitle": "Tus resultados",
8+
"resultsText": "¡Respondiste correctamente {points} de {total} preguntas!",
9+
"questionLetter": "P."
910
}

src/languages/fr.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@
55
"reset": "Recommencer!",
66
"hint": "Indice",
77
"resultsTitle": "Vos résultats",
8-
"resultsText": "Vous avez répondu correctement à {points} questions sur {total}!"
8+
"resultsText": "Vous avez répondu correctement à {points} questions sur {total}!",
9+
"questionLetter": "Q"
910
}

0 commit comments

Comments
 (0)