@windward/games 0.0.1
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/.editorconfig +13 -0
- package/.eslintrc.js +11 -0
- package/.prettierrc +4 -0
- package/README.md +43 -0
- package/babel.config.js +1 -0
- package/components/content/CrudTable.vue +295 -0
- package/components/content/DataTableRowHandler.vue +113 -0
- package/components/content/DatableEditor.vue +223 -0
- package/components/content/blocks/BaseContentBlock.vue +8 -0
- package/components/content/blocks/dragDrop/BucketGame.vue +520 -0
- package/components/content/blocks/dragDrop/SortingGame.vue +303 -0
- package/components/content/blocks/flashcards/CardFace.vue +112 -0
- package/components/content/blocks/flashcards/Flashcard.vue +150 -0
- package/components/content/blocks/flashcards/FlashcardSlides.vue +121 -0
- package/components/content/blocks/matchingGame/MatchingGame.vue +545 -0
- package/components/content/blocks/quizshowGame/AnswerPanel.vue +338 -0
- package/components/content/blocks/quizshowGame/Gridview.vue +260 -0
- package/components/content/blocks/quizshowGame/QuizShow.vue +516 -0
- package/components/content/blocks/quizshowGame/feedbackIcons.vue +41 -0
- package/components/content/blocks/slideshow/SlideShow.vue +175 -0
- package/components/settings/BucketGameSettingsManager.vue +683 -0
- package/components/settings/FlashCardSlidesManager.vue +489 -0
- package/components/settings/MatchingGameManager.vue +775 -0
- package/components/settings/QuizShowSettingsManager.vue +408 -0
- package/components/settings/SlideShowManager.vue +248 -0
- package/components/settings/SortingGameSettingsManager.vue +286 -0
- package/i18n/en-US/components/content/blocks/bucket_game.ts +39 -0
- package/i18n/en-US/components/content/blocks/flashcard.ts +5 -0
- package/i18n/en-US/components/content/blocks/index.ts +15 -0
- package/i18n/en-US/components/content/blocks/matching_game.ts +26 -0
- package/i18n/en-US/components/content/blocks/quizshow_game.ts +35 -0
- package/i18n/en-US/components/content/blocks/slideshow.ts +13 -0
- package/i18n/en-US/components/content/blocks/sorting_game.ts +5 -0
- package/i18n/en-US/components/content/crud_table.ts +6 -0
- package/i18n/en-US/components/content/index.ts +7 -0
- package/i18n/en-US/components/index.ts +9 -0
- package/i18n/en-US/components/navigation/index.ts +5 -0
- package/i18n/en-US/components/settings/bucket_game.ts +35 -0
- package/i18n/en-US/components/settings/flashcard.ts +26 -0
- package/i18n/en-US/components/settings/index.ts +13 -0
- package/i18n/en-US/components/settings/matching_game.ts +15 -0
- package/i18n/en-US/components/settings/quizshow_game.ts +14 -0
- package/i18n/en-US/components/settings/slideshow.ts +11 -0
- package/i18n/en-US/index.ts +15 -0
- package/i18n/en-US/modules/index.ts +5 -0
- package/i18n/en-US/pages/index.ts +5 -0
- package/i18n/en-US/shared/content_blocks.ts +14 -0
- package/i18n/en-US/shared/index.ts +7 -0
- package/i18n/en-US/shared/settings.ts +10 -0
- package/i18n/en-US.ts +5 -0
- package/jest.config.js +18 -0
- package/package.json +51 -0
- package/plugin.js +150 -0
- package/test/blocks/dragDrop/BucketGame.spec.js +26 -0
- package/test/blocks/dragDrop/SortingGame.spec.js +47 -0
- package/test/blocks/flashcards/CardFace.spec.js +21 -0
- package/test/blocks/flashcards/FlashCardSlides.spec.js +24 -0
- package/test/blocks/flashcards/Flashcard.spec.js +24 -0
- package/test/blocks/matchingGame/MatchingGame.spec.js +26 -0
- package/test/blocks/quizShow/quizShow.spec.js +31 -0
- package/test/blocks/slideshow/slideshow.spec.js +24 -0
- package/test/mocks.js +2 -0
- package/test/settings/BucketGameManager.spec.js +125 -0
- package/test/settings/FlashCardSlidesManager.spec.js +24 -0
- package/test/settings/MatchingGameManager.spec.js +30 -0
- package/test/settings/SlideShowManager.spec.js +30 -0
- package/test/settings/SortingGameManager.spec.js +71 -0
- package/tsconfig.json +20 -0
|
@@ -0,0 +1,286 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<br />
|
|
4
|
+
<v-form ref="form" v-model="valid" v-if="!loading">
|
|
5
|
+
<v-text-field
|
|
6
|
+
v-model="block.metadata.config.title"
|
|
7
|
+
:counter="50"
|
|
8
|
+
:label="
|
|
9
|
+
$t(
|
|
10
|
+
'plugin.games.components.settings.bucket_game.form.title'
|
|
11
|
+
)
|
|
12
|
+
"
|
|
13
|
+
ref="title"
|
|
14
|
+
></v-text-field>
|
|
15
|
+
<br />
|
|
16
|
+
<v-textarea
|
|
17
|
+
outlined
|
|
18
|
+
auto-grow
|
|
19
|
+
v-model="block.metadata.config.instructions"
|
|
20
|
+
:counter="255"
|
|
21
|
+
:label="
|
|
22
|
+
$t(
|
|
23
|
+
'plugin.games.components.settings.bucket_game.form.instructions'
|
|
24
|
+
)
|
|
25
|
+
"
|
|
26
|
+
></v-textarea>
|
|
27
|
+
<v-expansion-panels flat>
|
|
28
|
+
<v-expansion-panel>
|
|
29
|
+
<v-expansion-panel-header class="pa-0"
|
|
30
|
+
><h3>Sortable Items</h3></v-expansion-panel-header
|
|
31
|
+
>
|
|
32
|
+
<v-expansion-panel-content class="ma-0">
|
|
33
|
+
<v-container class="pa-0">
|
|
34
|
+
<draggable
|
|
35
|
+
v-model="block.metadata.config.answer"
|
|
36
|
+
class="d-flex flex-column mb-6"
|
|
37
|
+
group="cards"
|
|
38
|
+
@change="onDragged"
|
|
39
|
+
>
|
|
40
|
+
<v-card
|
|
41
|
+
v-for="(item, index) in block.metadata
|
|
42
|
+
.config.answer"
|
|
43
|
+
:key="'bucket_' + index"
|
|
44
|
+
class="pa-2 flex-fill cardOutline"
|
|
45
|
+
elevation="0"
|
|
46
|
+
outlined
|
|
47
|
+
tile
|
|
48
|
+
>
|
|
49
|
+
<v-row class="itemHeight">
|
|
50
|
+
<p
|
|
51
|
+
class="text-truncate pa-0 ma-0 seventy"
|
|
52
|
+
@click="onOpenEditor(index)"
|
|
53
|
+
v-on:keyup.enter="
|
|
54
|
+
onOpenEditor(index)
|
|
55
|
+
"
|
|
56
|
+
@mouseover="onHover"
|
|
57
|
+
@mouseleave="onHoverLeave"
|
|
58
|
+
:class="cursor"
|
|
59
|
+
tabindex="0"
|
|
60
|
+
>
|
|
61
|
+
<v-icon class="pl-2"
|
|
62
|
+
>mdi-gesture-tap-hold</v-icon
|
|
63
|
+
>
|
|
64
|
+
{{
|
|
65
|
+
item.value
|
|
66
|
+
? block.metadata.config
|
|
67
|
+
.answer[index].value
|
|
68
|
+
: $t(
|
|
69
|
+
'plugin.games.components.settings.bucket_game.form.enter_text'
|
|
70
|
+
)
|
|
71
|
+
}}
|
|
72
|
+
</p>
|
|
73
|
+
<v-icon
|
|
74
|
+
class="twenty"
|
|
75
|
+
@click="onDelete(index)"
|
|
76
|
+
>mdi-delete-outline</v-icon
|
|
77
|
+
>
|
|
78
|
+
</v-row>
|
|
79
|
+
<v-textarea
|
|
80
|
+
v-if="item.expand"
|
|
81
|
+
outlined
|
|
82
|
+
:autofocus="true"
|
|
83
|
+
class="pt-4"
|
|
84
|
+
v-model="
|
|
85
|
+
block.metadata.config.answer[index]
|
|
86
|
+
.value
|
|
87
|
+
"
|
|
88
|
+
></v-textarea>
|
|
89
|
+
</v-card>
|
|
90
|
+
</draggable>
|
|
91
|
+
<p
|
|
92
|
+
@mouseover="onHover"
|
|
93
|
+
@mouseleave="onHoverLeave"
|
|
94
|
+
@click="onAddElement"
|
|
95
|
+
v-on:keyup.enter="onAddElement"
|
|
96
|
+
class="fullWidth"
|
|
97
|
+
:class="cursor"
|
|
98
|
+
tabindex="0"
|
|
99
|
+
>
|
|
100
|
+
<v-icon class="primary addIcon"
|
|
101
|
+
>mdi-plus</v-icon
|
|
102
|
+
>
|
|
103
|
+
{{
|
|
104
|
+
$t(
|
|
105
|
+
'plugin.games.components.content.blocks.sorting_game.add_element'
|
|
106
|
+
)
|
|
107
|
+
}}
|
|
108
|
+
</p>
|
|
109
|
+
</v-container>
|
|
110
|
+
</v-expansion-panel-content>
|
|
111
|
+
</v-expansion-panel>
|
|
112
|
+
</v-expansion-panels>
|
|
113
|
+
<br />
|
|
114
|
+
<v-textarea
|
|
115
|
+
outlined
|
|
116
|
+
auto-grow
|
|
117
|
+
v-model="block.metadata.config.feedback_correct"
|
|
118
|
+
:counter="255"
|
|
119
|
+
:label="
|
|
120
|
+
$t(
|
|
121
|
+
'plugin.games.components.settings.bucket_game.form.feedback.correct'
|
|
122
|
+
)
|
|
123
|
+
"
|
|
124
|
+
></v-textarea>
|
|
125
|
+
<v-textarea
|
|
126
|
+
outlined
|
|
127
|
+
auto-grow
|
|
128
|
+
v-model="block.metadata.config.feedback_incorrect"
|
|
129
|
+
:counter="255"
|
|
130
|
+
:label="
|
|
131
|
+
$t(
|
|
132
|
+
'plugin.games.components.settings.bucket_game.form.feedback.incorrect'
|
|
133
|
+
)
|
|
134
|
+
"
|
|
135
|
+
></v-textarea>
|
|
136
|
+
</v-form>
|
|
137
|
+
<div v-if="loading" class="text-center">
|
|
138
|
+
<v-progress-circular
|
|
139
|
+
:size="70"
|
|
140
|
+
:width="7"
|
|
141
|
+
color="primary"
|
|
142
|
+
indeterminate
|
|
143
|
+
></v-progress-circular>
|
|
144
|
+
</div>
|
|
145
|
+
</div>
|
|
146
|
+
</template>
|
|
147
|
+
|
|
148
|
+
<script>
|
|
149
|
+
import _ from 'lodash'
|
|
150
|
+
import draggable from 'vuedraggable'
|
|
151
|
+
import BaseContentSettings from '~/components/Content/Tool/BaseContentSettings.js'
|
|
152
|
+
import CrudTable from '../content/CrudTable.vue'
|
|
153
|
+
export default {
|
|
154
|
+
name: 'SortingGameSettingsManager',
|
|
155
|
+
extends: BaseContentSettings,
|
|
156
|
+
components: { CrudTable, draggable },
|
|
157
|
+
beforeMount() {
|
|
158
|
+
if (_.isEmpty(this.block)) {
|
|
159
|
+
this.block = {}
|
|
160
|
+
}
|
|
161
|
+
if (_.isEmpty(this.block.metadata)) {
|
|
162
|
+
this.block.metadata = {}
|
|
163
|
+
}
|
|
164
|
+
if (_.isEmpty(this.block.metadata.config)) {
|
|
165
|
+
this.block.metadata.config = {}
|
|
166
|
+
}
|
|
167
|
+
if (_.isEmpty(this.block.metadata.config.answer)) {
|
|
168
|
+
this.block.metadata.config.answer = []
|
|
169
|
+
const default_object = {
|
|
170
|
+
id: this.block.metadata.config.answer.length + 1,
|
|
171
|
+
value: '',
|
|
172
|
+
expand: false,
|
|
173
|
+
}
|
|
174
|
+
this.block.metadata.config.answer.push(default_object)
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
data() {
|
|
178
|
+
return {
|
|
179
|
+
valid: true,
|
|
180
|
+
dialog: false,
|
|
181
|
+
expansionPanelKey: '0',
|
|
182
|
+
loading: false,
|
|
183
|
+
headers: [
|
|
184
|
+
{
|
|
185
|
+
text: 'Bucket Text',
|
|
186
|
+
value: 'value',
|
|
187
|
+
sortable: false,
|
|
188
|
+
draggable: true,
|
|
189
|
+
},
|
|
190
|
+
],
|
|
191
|
+
cursor: null,
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
methods: {
|
|
195
|
+
onAddElement() {
|
|
196
|
+
this.block.metadata.config.answer.forEach((element) => {
|
|
197
|
+
element.expand = false
|
|
198
|
+
})
|
|
199
|
+
const default_object = {
|
|
200
|
+
id: this.block.metadata.config.answer.length + 1,
|
|
201
|
+
value: '',
|
|
202
|
+
expand: true,
|
|
203
|
+
}
|
|
204
|
+
this.block.metadata.config.answer.push(default_object)
|
|
205
|
+
},
|
|
206
|
+
onDelete(index) {
|
|
207
|
+
let startingIndex = 0
|
|
208
|
+
this.block.metadata.config.answer.splice(index, 1)
|
|
209
|
+
this.block.metadata.config.answer.forEach((element) => {
|
|
210
|
+
startingIndex = startingIndex + 1
|
|
211
|
+
return (element.id = startingIndex)
|
|
212
|
+
})
|
|
213
|
+
},
|
|
214
|
+
onOpenEditor(index) {
|
|
215
|
+
this.block.metadata.config.answer[index].expand =
|
|
216
|
+
!this.block.metadata.config.answer[index].expand
|
|
217
|
+
this.block.metadata.config.answer.forEach((element) => {
|
|
218
|
+
if (index + 1 !== element.id) {
|
|
219
|
+
element.expand = false
|
|
220
|
+
}
|
|
221
|
+
})
|
|
222
|
+
},
|
|
223
|
+
onHover(index) {
|
|
224
|
+
this.cursor = 'changePointer'
|
|
225
|
+
},
|
|
226
|
+
onHoverLeave() {
|
|
227
|
+
this.cursor = ''
|
|
228
|
+
},
|
|
229
|
+
onDragged() {
|
|
230
|
+
let counter = 1
|
|
231
|
+
this.block.metadata.config.answer.forEach((element) => {
|
|
232
|
+
element.id = counter
|
|
233
|
+
counter = counter + 1
|
|
234
|
+
})
|
|
235
|
+
},
|
|
236
|
+
},
|
|
237
|
+
}
|
|
238
|
+
</script>
|
|
239
|
+
|
|
240
|
+
<style lang="scss" scoped>
|
|
241
|
+
.v-progress-circular {
|
|
242
|
+
margin: 1rem;
|
|
243
|
+
}
|
|
244
|
+
.cardOutline {
|
|
245
|
+
border: solid 2px var(--v-primary);
|
|
246
|
+
margin-bottom: 8px;
|
|
247
|
+
}
|
|
248
|
+
.fullWidth {
|
|
249
|
+
display: flex;
|
|
250
|
+
justify-content: center;
|
|
251
|
+
align-items: center;
|
|
252
|
+
font-weight: bold;
|
|
253
|
+
font-size: 16px;
|
|
254
|
+
}
|
|
255
|
+
.itemHeight {
|
|
256
|
+
display: flex;
|
|
257
|
+
align-content: center;
|
|
258
|
+
justify-content: space-between;
|
|
259
|
+
height: 60px;
|
|
260
|
+
}
|
|
261
|
+
.changePointer {
|
|
262
|
+
cursor: pointer !important;
|
|
263
|
+
}
|
|
264
|
+
.seventy {
|
|
265
|
+
width: 70%;
|
|
266
|
+
height: 100%;
|
|
267
|
+
display: flex;
|
|
268
|
+
align-items: center;
|
|
269
|
+
}
|
|
270
|
+
.twenty {
|
|
271
|
+
width: 20%;
|
|
272
|
+
height: 90%;
|
|
273
|
+
margin-top: 3px;
|
|
274
|
+
border-left: 2px solid var(--v-primary);
|
|
275
|
+
}
|
|
276
|
+
.addButton {
|
|
277
|
+
height: 50%;
|
|
278
|
+
width: 50%;
|
|
279
|
+
}
|
|
280
|
+
.addIcon {
|
|
281
|
+
margin-right: 5px;
|
|
282
|
+
}
|
|
283
|
+
.v-expansion-panel-content >>> .v-expansion-panel-content__wrap {
|
|
284
|
+
padding: 0 !important;
|
|
285
|
+
}
|
|
286
|
+
</style>
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
out_of: '{0} of {1} completed',
|
|
3
|
+
completed: 'Completed!',
|
|
4
|
+
name: 'Bucket Name',
|
|
5
|
+
game_title: 'Bucket Game',
|
|
6
|
+
answers: 'Answers',
|
|
7
|
+
cannot: 'Cannot drag when editing!',
|
|
8
|
+
form: {
|
|
9
|
+
answer: 'Answer',
|
|
10
|
+
value: 'Value',
|
|
11
|
+
insert_math: 'Insert Math',
|
|
12
|
+
mass_entry: 'Mass data entry',
|
|
13
|
+
title: 'Title',
|
|
14
|
+
instructions: 'Instructions',
|
|
15
|
+
feedback: {
|
|
16
|
+
feedback: 'Feedback',
|
|
17
|
+
feedback_here: 'Feedback here!',
|
|
18
|
+
default: 'Default feedback',
|
|
19
|
+
correct: 'feedback when correct',
|
|
20
|
+
incorrect: 'feedback when incorrect',
|
|
21
|
+
},
|
|
22
|
+
image: {
|
|
23
|
+
title: 'Flash Card Image File',
|
|
24
|
+
configure_blurb:
|
|
25
|
+
'Upload an image file (.png or .jpg), pick one from the file manager, or add via the public URL. This is the image that appears in the middle of the flashcard.',
|
|
26
|
+
alt_text: 'Alt Text',
|
|
27
|
+
},
|
|
28
|
+
update: 'update ',
|
|
29
|
+
submit: 'submit ',
|
|
30
|
+
preview: 'preview ',
|
|
31
|
+
new: 'Add New ',
|
|
32
|
+
cancel: 'cancel ',
|
|
33
|
+
rules: {
|
|
34
|
+
field_required: 'This field is required',
|
|
35
|
+
char_count_less_then:
|
|
36
|
+
'The character count for this field must be less than',
|
|
37
|
+
},
|
|
38
|
+
},
|
|
39
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import bucket_game from './bucket_game'
|
|
2
|
+
import sorting_game from './sorting_game'
|
|
3
|
+
import flashcard from './flashcard'
|
|
4
|
+
import matching_game from './matching_game'
|
|
5
|
+
import quizshow_game from './quizshow_game'
|
|
6
|
+
import slideshow from './slideshow'
|
|
7
|
+
|
|
8
|
+
export default {
|
|
9
|
+
bucket_game,
|
|
10
|
+
sorting_game,
|
|
11
|
+
flashcard,
|
|
12
|
+
matching_game,
|
|
13
|
+
quizshow_game,
|
|
14
|
+
slideshow,
|
|
15
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
description:
|
|
3
|
+
'Drag the correct descriptor to the sentence and watch for feedback.',
|
|
4
|
+
of_complete: '{0} of {1} complete',
|
|
5
|
+
of_complete_text_area: 'Completed {0} out of {1}',
|
|
6
|
+
prompt: 'Prompt',
|
|
7
|
+
prompt_plural: 'Prompts',
|
|
8
|
+
amount_of_prompts: 'Amount of prompts',
|
|
9
|
+
answer: 'Answer',
|
|
10
|
+
toggle: 'Toggle to upload image',
|
|
11
|
+
match_game_title: 'Match game title',
|
|
12
|
+
add_prompt: 'Add Prompt',
|
|
13
|
+
add_answer: 'Add Answer',
|
|
14
|
+
choose_answer_value: 'Choose an answer value',
|
|
15
|
+
default_feedback: 'Watch Here for Feedback',
|
|
16
|
+
congratulations_feedback: 'Congratulations! You have completed the game!',
|
|
17
|
+
answer_display_text: 'Answer display text',
|
|
18
|
+
alt_image: 'Alternate text for image',
|
|
19
|
+
aria_described: 'Aria described by',
|
|
20
|
+
reset: 'Reset Game',
|
|
21
|
+
term: 'Term',
|
|
22
|
+
terms: 'Terms',
|
|
23
|
+
prompts: 'Prompts',
|
|
24
|
+
click_here: 'Click here to enter text',
|
|
25
|
+
image: 'Image'
|
|
26
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
basic_instructions:
|
|
3
|
+
'To begin, choose a question box on the quiz board to view a question worth the specified number of points. Click your selected response to receive immediate feedback. (Correct answers will appear in green, while incorrect answers will be marked in red.) ',
|
|
4
|
+
title: 'Slideshow title',
|
|
5
|
+
total_score: 'total score',
|
|
6
|
+
return_to_questions: 'return to questions',
|
|
7
|
+
spreadsheet_mode: 'Spreadsheet mode',
|
|
8
|
+
form: {
|
|
9
|
+
basic_instructions:
|
|
10
|
+
'To begin, choose a question box on the quiz board to view a question worth the specified number of points. Click your selected response to receive immediate feedback. (Correct answers will appear in green, while incorrect answers will be marked in red.) ',
|
|
11
|
+
question: 'question',
|
|
12
|
+
question_text: 'Add question here',
|
|
13
|
+
choice: 'Answer',
|
|
14
|
+
for_points: 'no points | For 1 point | For {points} points',
|
|
15
|
+
},
|
|
16
|
+
feedback: {
|
|
17
|
+
correct: 'Correct',
|
|
18
|
+
incorrect: 'Incorrect',
|
|
19
|
+
feedback: 'Correct Answer Feedback',
|
|
20
|
+
answer_description: 'Answer Description',
|
|
21
|
+
placeholder: 'This is the correct choice!'
|
|
22
|
+
},
|
|
23
|
+
add_choice: 'add choice',
|
|
24
|
+
success: 'success',
|
|
25
|
+
error: 'error',
|
|
26
|
+
expand_button: 'click to expand',
|
|
27
|
+
category: 'Category',
|
|
28
|
+
points: 'Points',
|
|
29
|
+
question: 'Question',
|
|
30
|
+
answer: 'Answer',
|
|
31
|
+
choice_1: 'Choice 1',
|
|
32
|
+
choice_2: 'Choice 2',
|
|
33
|
+
choice_3: 'Choice 3',
|
|
34
|
+
choice_4: 'Choice 4',
|
|
35
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
slides: {
|
|
3
|
+
slide: 'Slide {0}: {1}',
|
|
4
|
+
slide_header: 'Slide header',
|
|
5
|
+
slide_description: 'Slide description',
|
|
6
|
+
image_alt: 'Enter text here if not uploading image',
|
|
7
|
+
},
|
|
8
|
+
add_slide: 'Add Slide',
|
|
9
|
+
amount_of_slides: 'Amount of slides',
|
|
10
|
+
slideshow_title: 'Slideshow title',
|
|
11
|
+
basic_instructions:
|
|
12
|
+
"Click on the 'next' and 'previous' buttons to move through the slideshow.",
|
|
13
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
form: {
|
|
3
|
+
insert_math: 'Insert Math',
|
|
4
|
+
mass_entry: 'Mass data entry',
|
|
5
|
+
title: 'Title',
|
|
6
|
+
instructions: 'Instructions',
|
|
7
|
+
buckets: 'Buckets',
|
|
8
|
+
feedback: {
|
|
9
|
+
default: 'Default feedback',
|
|
10
|
+
correct: 'feedback when correct',
|
|
11
|
+
incorrect: 'feedback when incorrect',
|
|
12
|
+
},
|
|
13
|
+
image: {
|
|
14
|
+
title: 'Flash Card Image File',
|
|
15
|
+
configure_blurb:
|
|
16
|
+
'Upload an image file (.png or .jpg), pick one from the file manager, or add via the public URL. This is the image that appears in the middle of the flashcard.',
|
|
17
|
+
alt_text: 'Alt Text',
|
|
18
|
+
},
|
|
19
|
+
update: 'update ',
|
|
20
|
+
submit: 'submit ',
|
|
21
|
+
preview: 'preview ',
|
|
22
|
+
new: 'Add New ',
|
|
23
|
+
cancel: 'cancel ',
|
|
24
|
+
rules: {
|
|
25
|
+
field_required: 'This field is required',
|
|
26
|
+
char_count_less_then:
|
|
27
|
+
'The character count for this field must be less than',
|
|
28
|
+
},
|
|
29
|
+
enter_text: 'Click to enter text',
|
|
30
|
+
add_bucket: 'Add Bucket',
|
|
31
|
+
click_here: 'Click here to enter text',
|
|
32
|
+
add_answer: 'Add Answer',
|
|
33
|
+
color: 'Bucket Color'
|
|
34
|
+
},
|
|
35
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
form: {
|
|
3
|
+
card: 'Card',
|
|
4
|
+
front: 'Front',
|
|
5
|
+
back: 'Back',
|
|
6
|
+
header: 'Header',
|
|
7
|
+
Text: 'Text',
|
|
8
|
+
image: {
|
|
9
|
+
title: 'Flash Card Image File',
|
|
10
|
+
configure_blurb:
|
|
11
|
+
'Upload an image file (.png or .jpg), pick one from the file manager, or add via the public URL. This is the image that appears in the middle of the flashcard.',
|
|
12
|
+
alt_text: 'Alt Text',
|
|
13
|
+
},
|
|
14
|
+
update: 'update ',
|
|
15
|
+
submit: 'submit ',
|
|
16
|
+
preview: 'preview ',
|
|
17
|
+
new: 'Add New ',
|
|
18
|
+
cancel: 'cancel ',
|
|
19
|
+
add_card: 'Add Card',
|
|
20
|
+
rules: {
|
|
21
|
+
field_required: 'This field is required',
|
|
22
|
+
char_count_less_then:
|
|
23
|
+
'The character count for this field must be less than',
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import bucket_game from './bucket_game'
|
|
2
|
+
import flashcard from './flashcard'
|
|
3
|
+
import matching_game from './matching_game'
|
|
4
|
+
import quizshow_game from './quizshow_game'
|
|
5
|
+
import slideshow from './slideshow'
|
|
6
|
+
|
|
7
|
+
export default {
|
|
8
|
+
bucket_game,
|
|
9
|
+
flashcard,
|
|
10
|
+
matching_game,
|
|
11
|
+
quizshow_game,
|
|
12
|
+
slideshow,
|
|
13
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
form: {
|
|
3
|
+
title: 'Title',
|
|
4
|
+
instructions: 'Instructions',
|
|
5
|
+
feedback: {
|
|
6
|
+
correct: 'feedback when correct',
|
|
7
|
+
incorrect: 'feedback when incorrect',
|
|
8
|
+
},
|
|
9
|
+
rules: {
|
|
10
|
+
field_required: 'This field is required',
|
|
11
|
+
char_count_less_then:
|
|
12
|
+
'The character count for this field must be less than',
|
|
13
|
+
},
|
|
14
|
+
},
|
|
15
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
form: {
|
|
3
|
+
title: 'Title',
|
|
4
|
+
instructions: 'Instructions',
|
|
5
|
+
max_categories: '# of Categories',
|
|
6
|
+
max_rows: '# of Questions Per Category',
|
|
7
|
+
category: 'category',
|
|
8
|
+
categories: 'Categories',
|
|
9
|
+
points_per_row: 'Points per question',
|
|
10
|
+
row: 'row',
|
|
11
|
+
responsive: 'Responsive Columns',
|
|
12
|
+
confirm_change_text: 'Are you sure you want to change this?',
|
|
13
|
+
},
|
|
14
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import pages from './pages/index'
|
|
2
|
+
import components from './components/index'
|
|
3
|
+
import shared from './shared/index'
|
|
4
|
+
import modules from './modules/index'
|
|
5
|
+
|
|
6
|
+
export default {
|
|
7
|
+
plugin: {
|
|
8
|
+
games: {
|
|
9
|
+
pages,
|
|
10
|
+
components,
|
|
11
|
+
shared,
|
|
12
|
+
modules,
|
|
13
|
+
},
|
|
14
|
+
},
|
|
15
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
title: {
|
|
3
|
+
flashcards: 'Flashcards',
|
|
4
|
+
bucket: 'Bucket',
|
|
5
|
+
sort: 'Sorting',
|
|
6
|
+
matching_game: 'Matching',
|
|
7
|
+
quizshow: 'Quizshow',
|
|
8
|
+
slideshow: 'Slideshow',
|
|
9
|
+
},
|
|
10
|
+
grouping: {
|
|
11
|
+
game: 'Activities',
|
|
12
|
+
multimedia: 'Multimedia Files',
|
|
13
|
+
},
|
|
14
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
title: {
|
|
3
|
+
card_manager: ' Flashcard Slides Manager',
|
|
4
|
+
bucket_manager: ' Bucket Game Manager',
|
|
5
|
+
sorting_manager: 'Sorting Game Manager',
|
|
6
|
+
matching_game_manager: ' Matching Game Manager',
|
|
7
|
+
slideshow_manager: 'Slideshow Manager',
|
|
8
|
+
quizshow_manager: 'Quizshow Manager',
|
|
9
|
+
},
|
|
10
|
+
}
|