@windward/games 0.0.10 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/content/CrudTable.vue +2 -2
- package/components/content/blocks/crosswordPuzzle/CrosswordClues.vue +4 -2
- package/components/content/blocks/crosswordPuzzle/CrosswordPuzzle.vue +14 -12
- package/components/content/blocks/dragDrop/BucketGame.vue +14 -15
- package/components/content/blocks/dragDrop/SortingGame.vue +4 -4
- package/components/content/blocks/flashcards/CardFace.vue +38 -39
- package/components/content/blocks/flashcards/Flashcard.vue +109 -28
- package/components/content/blocks/flashcards/FlashcardSlides.vue +1 -2
- package/components/content/blocks/matchingGame/MatchingGame.vue +15 -14
- package/components/content/blocks/multipleChoice/MultipleChoice.vue +186 -225
- package/components/content/blocks/multipleChoice/QuestionDialog.vue +7 -7
- package/components/content/blocks/quizshowGame/AnswerPanel.vue +9 -9
- package/components/content/blocks/quizshowGame/Gridview.vue +20 -24
- package/components/content/blocks/quizshowGame/QuizShow.vue +6 -6
- package/components/content/blocks/quizshowGame/feedbackIcons.vue +4 -2
- package/components/content/blocks/sevenStrikes/SevenStikes.vue +153 -108
- package/components/content/blocks/sevenStrikes/keyboard.vue +9 -2
- package/components/content/blocks/slideshow/SlideShow.vue +3 -3
- package/components/content/blocks/wordJumble/Jumble.vue +0 -2
- package/components/content/blocks/wordJumble/WordJumble.vue +117 -60
- package/components/settings/BucketGameSettingsManager.vue +20 -20
- package/components/settings/CrosswordPuzzleSettingsManager.vue +114 -181
- package/components/settings/FlashCardSlidesManager.vue +46 -63
- package/components/settings/MatchingGameManager.vue +19 -19
- package/components/settings/MultipleChoiceSettingsManager.vue +130 -140
- package/components/settings/QuizShowSettingsManager.vue +17 -17
- package/components/settings/SevenStrikesSettingsManager.vue +131 -193
- package/components/settings/SlideShowManager.vue +9 -9
- package/components/settings/SortingGameSettingsManager.vue +11 -11
- package/components/settings/WordJumbleSettingsManager.vue +40 -12
- package/i18n/en-US/components/content/blocks/flashcard.ts +1 -0
- package/i18n/en-US/components/content/blocks/word_jumble.ts +2 -0
- package/i18n/en-US/components/settings/bucket_game.ts +3 -2
- package/i18n/en-US/components/settings/flashcard.ts +1 -0
- package/i18n/en-US/components/settings/seven_strikes.ts +1 -1
- package/i18n/en-US/index.ts +2 -1
- package/i18n/es-ES/components/content/blocks/flashcard.ts +1 -0
- package/i18n/es-ES/components/content/blocks/word_jumble.ts +2 -0
- package/i18n/es-ES/components/settings/bucket_game.ts +3 -2
- package/i18n/es-ES/components/settings/flashcard.ts +1 -0
- package/i18n/es-ES/components/settings/seven_strikes.ts +2 -2
- package/i18n/es-ES/index.ts +2 -1
- package/i18n/index.ts +11 -0
- package/i18n/sv-SE/components/content/blocks/flashcard.ts +1 -0
- package/i18n/sv-SE/components/content/blocks/word_jumble.ts +2 -0
- package/i18n/sv-SE/components/settings/bucket_game.ts +2 -2
- package/i18n/sv-SE/components/settings/flashcard.ts +1 -0
- package/i18n/sv-SE/components/settings/seven_strikes.ts +1 -1
- package/i18n/sv-SE/index.ts +2 -1
- package/package.json +1 -1
- package/plugin.js +33 -34
- package/test/Feature/LocaleKeys.spec.js +11 -0
- package/test/__mocks__/componentsMock.js +12 -0
- package/test/__mocks__/fileMock.js +1 -0
- package/test/__mocks__/modelMock.js +88 -0
- package/test/__mocks__/styleMock.js +1 -0
- package/test/blocks/crossword/CrosswordPuzzle.spec.js +1 -1
- package/test/blocks/dragDrop/BucketGame.spec.js +1 -1
- package/test/blocks/dragDrop/SortingGame.spec.js +1 -1
- package/test/blocks/flashcards/CardFace.spec.js +1 -1
- package/test/blocks/flashcards/FlashCardSlides.spec.js +1 -1
- package/test/blocks/flashcards/Flashcard.spec.js +1 -1
- package/test/blocks/matchingGame/MatchingGame.spec.js +1 -1
- package/test/blocks/multipleChoice/MultipleChoice.spec.js +1 -1
- package/test/blocks/multipleChoice/QuestionDialog.spec.js +1 -1
- package/test/blocks/quizShow/quizShow.spec.js +1 -1
- package/test/blocks/sevenStrikes/sevenStrikes.spec.js +1 -1
- package/test/blocks/slideshow/slideshow.spec.js +1 -1
- package/test/blocks/wordJumble/Jumble.spec.js +1 -1
- package/test/blocks/wordJumble/WordJumble.spec.js +1 -1
- package/test/mocks.js +8 -2
- package/test/settings/BucketGameManager.spec.js +4 -4
- package/test/settings/CrosswordPuzzleManager.spec.js +6 -11
- package/test/settings/FlashCardSlidesManager.spec.js +1 -1
- package/test/settings/MatchingGameManager.spec.js +1 -1
- package/test/settings/MultipleChoiceGameManager.spec.js +1 -1
- package/test/settings/SevenStrikesManager.spec.js +1 -1
- package/test/settings/SlideShowManager.spec.js +1 -1
- package/test/settings/SortingGameManager.spec.js +1 -1
- package/test/settings/WordJumbleManager.spec.js +1 -4
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
:autofocus="true"
|
|
10
10
|
:label="
|
|
11
11
|
$t(
|
|
12
|
-
'
|
|
12
|
+
'windward.games.components.settings.word_jumble.title_input'
|
|
13
13
|
)
|
|
14
14
|
"
|
|
15
15
|
ref="title"
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
v-model="block.metadata.config.instructions"
|
|
21
21
|
:label="
|
|
22
22
|
$t(
|
|
23
|
-
'
|
|
23
|
+
'windward.games.components.settings.word_jumble.instructions'
|
|
24
24
|
)
|
|
25
25
|
"
|
|
26
26
|
></v-textarea>
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
<p>
|
|
31
31
|
{{
|
|
32
32
|
$t(
|
|
33
|
-
'
|
|
33
|
+
'windward.games.components.settings.word_jumble.word_jumble'
|
|
34
34
|
)
|
|
35
35
|
}}
|
|
36
36
|
</p>
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
item.value
|
|
44
44
|
? item.value
|
|
45
45
|
: $t(
|
|
46
|
-
'
|
|
46
|
+
'windward.games.components.settings.word_jumble.click'
|
|
47
47
|
)
|
|
48
48
|
}}
|
|
49
49
|
</template>
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
<p class="p-label">
|
|
54
54
|
{{
|
|
55
55
|
$t(
|
|
56
|
-
'
|
|
56
|
+
'windward.games.components.settings.word_jumble.word_jumble'
|
|
57
57
|
)
|
|
58
58
|
}}
|
|
59
59
|
</p>
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
<p class="p-label">
|
|
70
70
|
{{
|
|
71
71
|
$t(
|
|
72
|
-
'
|
|
72
|
+
'windward.games.components.settings.word_jumble.hint'
|
|
73
73
|
)
|
|
74
74
|
}}
|
|
75
75
|
</p>
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
<v-icon>mdi-plus</v-icon>
|
|
91
91
|
{{
|
|
92
92
|
$t(
|
|
93
|
-
'
|
|
93
|
+
'windward.games.components.settings.word_jumble.add'
|
|
94
94
|
)
|
|
95
95
|
}}
|
|
96
96
|
</v-btn>
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
:counter="50"
|
|
103
103
|
:label="
|
|
104
104
|
$t(
|
|
105
|
-
'
|
|
105
|
+
'windward.games.components.settings.word_jumble.feedback_correct'
|
|
106
106
|
)
|
|
107
107
|
"
|
|
108
108
|
ref="title"
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
v-model="block.metadata.config.feedback_incorrect"
|
|
114
114
|
:label="
|
|
115
115
|
$t(
|
|
116
|
-
'
|
|
116
|
+
'windward.games.components.settings.word_jumble.feedback_incorrect'
|
|
117
117
|
)
|
|
118
118
|
"
|
|
119
119
|
></v-textarea>
|
|
@@ -152,7 +152,7 @@ export default {
|
|
|
152
152
|
}
|
|
153
153
|
if (_.isEmpty(this.block.metadata.config.title)) {
|
|
154
154
|
this.block.metadata.config.title = this.$t(
|
|
155
|
-
'
|
|
155
|
+
'windward.games.components.content.blocks.word_jumble.title'
|
|
156
156
|
)
|
|
157
157
|
}
|
|
158
158
|
if (_.isEmpty(this.block.metadata.config.instructions)) {
|
|
@@ -160,12 +160,12 @@ export default {
|
|
|
160
160
|
}
|
|
161
161
|
if (_.isEmpty(this.block.metadata.config.feedback_correct)) {
|
|
162
162
|
this.block.metadata.config.feedback_correct = this.$t(
|
|
163
|
-
'
|
|
163
|
+
'windward.games.components.settings.bucket_game.form.feedback.correct_default'
|
|
164
164
|
)
|
|
165
165
|
}
|
|
166
166
|
if (_.isEmpty(this.block.metadata.config.feedback_incorrect)) {
|
|
167
167
|
this.block.metadata.config.feedback_incorrect = this.$t(
|
|
168
|
-
'
|
|
168
|
+
'windward.games.components.settings.bucket_game.form.feedback.incorrect_default'
|
|
169
169
|
)
|
|
170
170
|
}
|
|
171
171
|
if (_.isEmpty(this.block.metadata.config.words)) {
|
|
@@ -180,11 +180,39 @@ export default {
|
|
|
180
180
|
}
|
|
181
181
|
},
|
|
182
182
|
methods: {
|
|
183
|
+
onBeforeSave() {
|
|
184
|
+
this.block.metadata.config.words.forEach((element) => {
|
|
185
|
+
element.shuffledWord = this.shuffle(element.value)
|
|
186
|
+
})
|
|
187
|
+
},
|
|
188
|
+
shuffle(str) {
|
|
189
|
+
var a = str
|
|
190
|
+
var newArr = []
|
|
191
|
+
var neww = ''
|
|
192
|
+
var text = a.replace(/[\r\n]/g, '').split(' ')
|
|
193
|
+
|
|
194
|
+
text.map(function (v) {
|
|
195
|
+
v.split('').map(function () {
|
|
196
|
+
var hash = Math.floor(Math.random() * v.length)
|
|
197
|
+
neww += v[hash]
|
|
198
|
+
v = v.replace(v.charAt(hash), '')
|
|
199
|
+
})
|
|
200
|
+
newArr.push(neww)
|
|
201
|
+
neww = ''
|
|
202
|
+
})
|
|
203
|
+
var x = newArr.map((v) => v.split('').join(' ')).join('\n')
|
|
204
|
+
str = x
|
|
205
|
+
.split('')
|
|
206
|
+
.map((v) => v.toUpperCase())
|
|
207
|
+
.join('')
|
|
208
|
+
return str
|
|
209
|
+
},
|
|
183
210
|
onAddWord() {
|
|
184
211
|
let defaultWord = {
|
|
185
212
|
id: this.block.metadata.config.words.length + 1,
|
|
186
213
|
value: '',
|
|
187
214
|
hint: '',
|
|
215
|
+
shuffledWord: '',
|
|
188
216
|
}
|
|
189
217
|
this.block.metadata.config.words.push(defaultWord)
|
|
190
218
|
},
|
|
@@ -10,8 +10,9 @@ export default {
|
|
|
10
10
|
default: 'Default feedback',
|
|
11
11
|
correct: 'feedback when correct',
|
|
12
12
|
incorrect: 'feedback when incorrect',
|
|
13
|
-
correct_default: '
|
|
14
|
-
incorrect_default:
|
|
13
|
+
correct_default: 'That is correct.',
|
|
14
|
+
incorrect_default:
|
|
15
|
+
'That is incorrect. Try again or select reveal answer.',
|
|
15
16
|
},
|
|
16
17
|
image: {
|
|
17
18
|
title: 'Flash Card Image File',
|
|
@@ -4,5 +4,5 @@ export default {
|
|
|
4
4
|
'Read the clue below, and click on the letters to spell out the word the clue refers to. If you choose a letter that isnt in the word, an X will be illuminated. When you choose an incorrect letter 7 times, the game is over.Open a text-only version of this vocabulary game in a new windowSkip this vocabulary game',
|
|
5
5
|
word: 'Word or Phrase',
|
|
6
6
|
hint: 'Clue',
|
|
7
|
-
items: 'Items',
|
|
7
|
+
items: 'Seven Strikes Items',
|
|
8
8
|
}
|
package/i18n/en-US/index.ts
CHANGED
|
@@ -2,6 +2,7 @@ export default {
|
|
|
2
2
|
title: 'Tarjetas didácticas',
|
|
3
3
|
items: 'Elementos de la tarjeta didáctica',
|
|
4
4
|
img_alt: 'imagen de tarjeta',
|
|
5
|
+
flip_card: 'Haga clic para ver atras',
|
|
5
6
|
click_to_show_front: 'Haga clic para mostrar el frente',
|
|
6
7
|
click_to_show_back: 'Haga clic para mostrar Atrás',
|
|
7
8
|
}
|
|
@@ -10,8 +10,9 @@ export default {
|
|
|
10
10
|
default: 'Comentarios predeterminados',
|
|
11
11
|
correct: 'comentarios cuando sea correcto',
|
|
12
12
|
incorrect: 'comentarios cuando son incorrectos',
|
|
13
|
-
correct_default: '
|
|
14
|
-
incorrect_default:
|
|
13
|
+
correct_default: 'Eso es correcto.',
|
|
14
|
+
incorrect_default:
|
|
15
|
+
'Eso no es correcto. Por favor intente de nuevo o seleccione la opcion de revelar la respuesta',
|
|
15
16
|
},
|
|
16
17
|
image: {
|
|
17
18
|
title: 'Archivo de imagen de tarjeta flash',
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
title: 'Siete golpes',
|
|
3
3
|
instructions:
|
|
4
|
-
'Lea
|
|
4
|
+
'Lea las pistas y haga clic en las letras para deletrear la palabra a la que se refiere. Si elige una letra que no está en la palabra, se iluminará una X. El juego se acaba si elijes una letra incorrecta 7 veces. Puedes tambien elejir la versión del juego en formato accesible.',
|
|
5
5
|
word: 'Palabra o frase',
|
|
6
6
|
hint: 'Pista',
|
|
7
|
-
items: '
|
|
7
|
+
items: 'Elementos del juego',
|
|
8
8
|
}
|
package/i18n/es-ES/index.ts
CHANGED
package/i18n/index.ts
ADDED
|
@@ -9,8 +9,8 @@ export default {
|
|
|
9
9
|
feedback: 'Feedback',
|
|
10
10
|
default: 'Default feedback',
|
|
11
11
|
correct: 'feedback när korrekt',
|
|
12
|
-
incorrect: '
|
|
13
|
-
correct_default: '
|
|
12
|
+
incorrect: 'Det är felaktigt. Försök igen eller välj avslöja svar.',
|
|
13
|
+
correct_default: 'Det är korrekt.',
|
|
14
14
|
incorrect_default: 'Det är felaktigt.',
|
|
15
15
|
},
|
|
16
16
|
image: {
|
|
@@ -4,5 +4,5 @@ export default {
|
|
|
4
4
|
'Läs ledtråden nedan och klicka på bokstäverna för att stava ordet ledtråden refererar till. Om du väljer en bokstav som inte finns i ordet kommer ett X att lysa. När du väljer en felaktig bokstav 7 gånger är spelet över.Öppna en textversion av detta ordförrådsspel i ett nytt fönsterHoppa över detta ordförrådsspel',
|
|
5
5
|
word: 'Ord eller fras',
|
|
6
6
|
hint: 'Clue',
|
|
7
|
-
items: 'Artiklar',
|
|
7
|
+
items: 'Sju Strejker Artiklar',
|
|
8
8
|
}
|
package/i18n/sv-SE/index.ts
CHANGED
package/package.json
CHANGED
package/plugin.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import locales from './i18n'
|
|
2
|
+
|
|
2
3
|
import flashcards from './components/content/blocks/flashcards/FlashcardSlides'
|
|
3
4
|
import slideShow from './components/content/blocks/slideshow/SlideShow.vue'
|
|
4
5
|
import WordJumble from './components/content/blocks/wordJumble/WordJumble'
|
|
@@ -32,9 +33,7 @@ export default {
|
|
|
32
33
|
onLoad: (page) => {},
|
|
33
34
|
onContent: () => {},
|
|
34
35
|
},
|
|
35
|
-
i18n:
|
|
36
|
-
'en-US': enUS,
|
|
37
|
-
},
|
|
36
|
+
i18n: locales.messages,
|
|
38
37
|
components: {
|
|
39
38
|
contentBlock: [
|
|
40
39
|
{
|
|
@@ -42,9 +41,9 @@ export default {
|
|
|
42
41
|
template: flashcards,
|
|
43
42
|
metadata: {
|
|
44
43
|
icon: 'mdi-cards-variant',
|
|
45
|
-
name: '
|
|
44
|
+
name: 'windward.games.shared.content_blocks.title.flashcards',
|
|
46
45
|
grouping:
|
|
47
|
-
'
|
|
46
|
+
'windward.games.shared.content_blocks.grouping.game',
|
|
48
47
|
},
|
|
49
48
|
},
|
|
50
49
|
{
|
|
@@ -52,9 +51,9 @@ export default {
|
|
|
52
51
|
template: SortingGame,
|
|
53
52
|
metadata: {
|
|
54
53
|
icon: 'mdi-sort',
|
|
55
|
-
name: '
|
|
54
|
+
name: 'windward.games.shared.content_blocks.title.sort',
|
|
56
55
|
grouping:
|
|
57
|
-
'
|
|
56
|
+
'windward.games.shared.content_blocks.grouping.game',
|
|
58
57
|
},
|
|
59
58
|
},
|
|
60
59
|
{
|
|
@@ -62,9 +61,9 @@ export default {
|
|
|
62
61
|
template: BucketGame,
|
|
63
62
|
metadata: {
|
|
64
63
|
icon: 'mdi-bucket-outline',
|
|
65
|
-
name: '
|
|
64
|
+
name: 'windward.games.shared.content_blocks.title.bucket',
|
|
66
65
|
grouping:
|
|
67
|
-
'
|
|
66
|
+
'windward.games.shared.content_blocks.grouping.game',
|
|
68
67
|
},
|
|
69
68
|
},
|
|
70
69
|
{
|
|
@@ -72,9 +71,9 @@ export default {
|
|
|
72
71
|
template: slideShow,
|
|
73
72
|
metadata: {
|
|
74
73
|
icon: 'mdi-view-gallery',
|
|
75
|
-
name: '
|
|
74
|
+
name: 'windward.games.shared.content_blocks.title.slideshow',
|
|
76
75
|
grouping:
|
|
77
|
-
'
|
|
76
|
+
'windward.games.shared.content_blocks.grouping.multimedia',
|
|
78
77
|
},
|
|
79
78
|
},
|
|
80
79
|
{
|
|
@@ -82,9 +81,9 @@ export default {
|
|
|
82
81
|
template: MatchingGame,
|
|
83
82
|
metadata: {
|
|
84
83
|
icon: 'mdi-image-filter-none',
|
|
85
|
-
name: '
|
|
84
|
+
name: 'windward.games.shared.content_blocks.title.matching_game',
|
|
86
85
|
grouping:
|
|
87
|
-
'
|
|
86
|
+
'windward.games.shared.content_blocks.grouping.game',
|
|
88
87
|
},
|
|
89
88
|
},
|
|
90
89
|
{
|
|
@@ -92,9 +91,9 @@ export default {
|
|
|
92
91
|
template: quizShow,
|
|
93
92
|
metadata: {
|
|
94
93
|
icon: 'mdi-head-question-outline',
|
|
95
|
-
name: '
|
|
94
|
+
name: 'windward.games.shared.content_blocks.title.quizshow',
|
|
96
95
|
grouping:
|
|
97
|
-
'
|
|
96
|
+
'windward.games.shared.content_blocks.grouping.game',
|
|
98
97
|
},
|
|
99
98
|
},
|
|
100
99
|
{
|
|
@@ -102,9 +101,9 @@ export default {
|
|
|
102
101
|
template: MultipleChoice,
|
|
103
102
|
metadata: {
|
|
104
103
|
icon: 'mdi-head-question-outline',
|
|
105
|
-
name: '
|
|
104
|
+
name: 'windward.games.shared.content_blocks.title.multiple_choice',
|
|
106
105
|
grouping:
|
|
107
|
-
'
|
|
106
|
+
'windward.games.shared.content_blocks.grouping.game',
|
|
108
107
|
},
|
|
109
108
|
},
|
|
110
109
|
{
|
|
@@ -112,9 +111,9 @@ export default {
|
|
|
112
111
|
template: WordJumble,
|
|
113
112
|
metadata: {
|
|
114
113
|
icon: 'mdi-ab-testing',
|
|
115
|
-
name: '
|
|
114
|
+
name: 'windward.games.shared.content_blocks.title.word_jumble',
|
|
116
115
|
grouping:
|
|
117
|
-
'
|
|
116
|
+
'windward.games.shared.content_blocks.grouping.game',
|
|
118
117
|
},
|
|
119
118
|
},
|
|
120
119
|
{
|
|
@@ -122,9 +121,9 @@ export default {
|
|
|
122
121
|
template: SevenStrikes,
|
|
123
122
|
metadata: {
|
|
124
123
|
icon: 'mdi-ab-testing',
|
|
125
|
-
name: '
|
|
124
|
+
name: 'windward.games.shared.content_blocks.title.seven_strikes',
|
|
126
125
|
grouping:
|
|
127
|
-
'
|
|
126
|
+
'windward.games.shared.content_blocks.grouping.game',
|
|
128
127
|
},
|
|
129
128
|
},
|
|
130
129
|
{
|
|
@@ -132,9 +131,9 @@ export default {
|
|
|
132
131
|
template: CrosswordPuzzle,
|
|
133
132
|
metadata: {
|
|
134
133
|
icon: 'mdi-alpha-c-box-outline',
|
|
135
|
-
name: '
|
|
134
|
+
name: 'windward.games.shared.content_blocks.title.crossword_puzzle',
|
|
136
135
|
grouping:
|
|
137
|
-
'
|
|
136
|
+
'windward.games.shared.content_blocks.grouping.game',
|
|
138
137
|
},
|
|
139
138
|
},
|
|
140
139
|
],
|
|
@@ -145,7 +144,7 @@ export default {
|
|
|
145
144
|
context: ['block.games-flash-card'],
|
|
146
145
|
metadata: {
|
|
147
146
|
icon: 'mdi-cog',
|
|
148
|
-
name: '
|
|
147
|
+
name: 'windward.games.shared.settings.title.card_manager',
|
|
149
148
|
},
|
|
150
149
|
},
|
|
151
150
|
{
|
|
@@ -154,7 +153,7 @@ export default {
|
|
|
154
153
|
context: ['block.games-bucket'],
|
|
155
154
|
metadata: {
|
|
156
155
|
icon: 'mdi-cog',
|
|
157
|
-
name: '
|
|
156
|
+
name: 'windward.games.shared.settings.title.bucket_manager',
|
|
158
157
|
},
|
|
159
158
|
},
|
|
160
159
|
{
|
|
@@ -163,7 +162,7 @@ export default {
|
|
|
163
162
|
context: ['block.games-sorting'],
|
|
164
163
|
metadata: {
|
|
165
164
|
icon: 'mdi-cog',
|
|
166
|
-
name: '
|
|
165
|
+
name: 'windward.games.shared.settings.title.sorting_manager',
|
|
167
166
|
},
|
|
168
167
|
},
|
|
169
168
|
{
|
|
@@ -172,7 +171,7 @@ export default {
|
|
|
172
171
|
context: ['block.games-slideshow'],
|
|
173
172
|
metadata: {
|
|
174
173
|
icon: 'mdi-cog',
|
|
175
|
-
name: '
|
|
174
|
+
name: 'windward.games.shared.settings.title.slideshow_manager',
|
|
176
175
|
},
|
|
177
176
|
},
|
|
178
177
|
{
|
|
@@ -181,7 +180,7 @@ export default {
|
|
|
181
180
|
context: ['block.games-matching-game'],
|
|
182
181
|
metadata: {
|
|
183
182
|
icon: 'mdi-cog',
|
|
184
|
-
name: '
|
|
183
|
+
name: 'windward.games.shared.settings.title.matching_game_manager',
|
|
185
184
|
},
|
|
186
185
|
},
|
|
187
186
|
{
|
|
@@ -190,7 +189,7 @@ export default {
|
|
|
190
189
|
context: ['block.games-quizshow-game'],
|
|
191
190
|
metadata: {
|
|
192
191
|
icon: 'mdi-cog',
|
|
193
|
-
name: '
|
|
192
|
+
name: 'windward.games.shared.settings.title.quizshow_manager',
|
|
194
193
|
},
|
|
195
194
|
},
|
|
196
195
|
{
|
|
@@ -199,7 +198,7 @@ export default {
|
|
|
199
198
|
context: ['block.games-multiple-choice'],
|
|
200
199
|
metadata: {
|
|
201
200
|
icon: 'mdi-cog',
|
|
202
|
-
name: '
|
|
201
|
+
name: 'windward.games.shared.settings.title.multiple_choice_manager',
|
|
203
202
|
},
|
|
204
203
|
},
|
|
205
204
|
{
|
|
@@ -208,7 +207,7 @@ export default {
|
|
|
208
207
|
context: ['block.games-wordjumble-game'],
|
|
209
208
|
metadata: {
|
|
210
209
|
icon: 'mdi-cog',
|
|
211
|
-
name: '
|
|
210
|
+
name: 'windward.games.shared.settings.title.wordjumble_manager',
|
|
212
211
|
},
|
|
213
212
|
},
|
|
214
213
|
{
|
|
@@ -217,7 +216,7 @@ export default {
|
|
|
217
216
|
context: ['block.games-seven-strikes-game'],
|
|
218
217
|
metadata: {
|
|
219
218
|
icon: 'mdi-cog',
|
|
220
|
-
name: '
|
|
219
|
+
name: 'windward.games.shared.settings.title.seven_strikes_manager',
|
|
221
220
|
},
|
|
222
221
|
},
|
|
223
222
|
{
|
|
@@ -226,7 +225,7 @@ export default {
|
|
|
226
225
|
context: ['block.games-crossword-puzzle-game'],
|
|
227
226
|
metadata: {
|
|
228
227
|
icon: 'mdi-cog',
|
|
229
|
-
name: '
|
|
228
|
+
name: 'windward.games.shared.settings.title.crossword_puzzle_manager',
|
|
230
229
|
},
|
|
231
230
|
},
|
|
232
231
|
],
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import _ from 'lodash'
|
|
2
|
+
import locales from '../../i18n'
|
|
3
|
+
import localeTest from '@windward/core/test/locales'
|
|
4
|
+
|
|
5
|
+
describe('LocaleKeys', () => {
|
|
6
|
+
test('Confirm that all localizations are equal aka not missing keys between them', () => {
|
|
7
|
+
const messages = locales.messages
|
|
8
|
+
//console.log('here it is', messages)
|
|
9
|
+
localeTest.test(messages)
|
|
10
|
+
})
|
|
11
|
+
})
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = 'test-file-stub'
|