@webwriter/quiz 1.1.2 → 1.1.5
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/.github/workflows/publish.yml +8 -0
- package/LICENSE +6 -6
- package/custom.d.ts +175 -175
- package/dist/widgets/webwriter-choice-item.js +69 -205
- package/dist/widgets/webwriter-choice.js +99 -214
- package/dist/widgets/webwriter-cloze-gap.js +74 -213
- package/dist/widgets/webwriter-cloze.js +71 -204
- package/dist/widgets/webwriter-mark.js +72 -205
- package/dist/widgets/webwriter-order-item.js +68 -201
- package/dist/widgets/webwriter-order.js +99 -209
- package/dist/widgets/webwriter-pairing-item.js +57 -160
- package/dist/widgets/webwriter-pairing.js +69 -196
- package/dist/widgets/webwriter-quiz.js +72 -211
- package/dist/widgets/webwriter-speech.js +71 -204
- package/dist/widgets/webwriter-task-explainer.js +57 -160
- package/dist/widgets/webwriter-task-hint.js +55 -158
- package/dist/widgets/webwriter-task-prompt.js +61 -170
- package/dist/widgets/webwriter-task.js +80 -205
- package/dist/widgets/webwriter-text.js +94 -205
- package/lit-localize.json +14 -14
- package/localization/bg.xlf +72 -69
- package/localization/cs.xlf +72 -69
- package/localization/da.xlf +72 -69
- package/localization/de.xlf +77 -74
- package/localization/el.xlf +72 -69
- package/localization/es.xlf +72 -69
- package/localization/et.xlf +72 -69
- package/localization/fi.xlf +72 -69
- package/localization/fr.xlf +72 -69
- package/localization/generated/bg.ts +30 -29
- package/localization/generated/cs.ts +30 -29
- package/localization/generated/da.ts +30 -29
- package/localization/generated/de.ts +30 -29
- package/localization/generated/el.ts +30 -29
- package/localization/generated/es.ts +30 -29
- package/localization/generated/et.ts +30 -29
- package/localization/generated/fi.ts +30 -29
- package/localization/generated/fr.ts +30 -29
- package/localization/generated/hu.ts +30 -29
- package/localization/generated/id.ts +30 -29
- package/localization/generated/index.js +2 -2
- package/localization/generated/it.ts +30 -29
- package/localization/generated/ja.ts +30 -29
- package/localization/generated/ko.ts +30 -29
- package/localization/generated/locale-codes.js +79 -79
- package/localization/generated/lt.ts +30 -29
- package/localization/generated/lv.ts +30 -29
- package/localization/generated/nb.ts +30 -29
- package/localization/generated/nl.ts +30 -29
- package/localization/generated/pl.ts +30 -29
- package/localization/generated/pt-BR.ts +30 -29
- package/localization/generated/pt-PT.ts +30 -29
- package/localization/generated/ro.ts +30 -29
- package/localization/generated/ru.ts +30 -29
- package/localization/generated/sk.ts +30 -29
- package/localization/generated/sl.ts +30 -29
- package/localization/generated/sv.ts +30 -29
- package/localization/generated/tr.ts +30 -29
- package/localization/generated/uk.ts +30 -29
- package/localization/generated/zh-hans.ts +30 -29
- package/localization/hu.xlf +72 -69
- package/localization/id.xlf +72 -69
- package/localization/it.xlf +72 -69
- package/localization/ja.xlf +72 -69
- package/localization/ko.xlf +72 -69
- package/localization/lt.xlf +72 -69
- package/localization/lv.xlf +72 -69
- package/localization/nb.xlf +72 -69
- package/localization/nl.xlf +72 -69
- package/localization/pl.xlf +72 -69
- package/localization/pt-BR.xlf +72 -69
- package/localization/pt-PT.xlf +72 -69
- package/localization/ro.xlf +72 -69
- package/localization/ru.xlf +72 -69
- package/localization/sk.xlf +72 -69
- package/localization/sl.xlf +72 -69
- package/localization/sv.xlf +72 -69
- package/localization/tr.xlf +72 -69
- package/localization/uk.xlf +72 -69
- package/localization/zh-hans.xlf +72 -69
- package/package.json +4 -3
- package/src/lib/combobox.ts +455 -455
- package/src/lib/highlighter-fill.svg +5 -5
- package/src/snippets/Beispiel-Choice.html +57 -57
- package/src/snippets/Beispiel-Mark.html +13 -13
- package/src/snippets/Beispiel-Order.html +52 -52
- package/src/snippets/Beispiel-Text.html +20 -20
- package/src/snippets/choice.html +7 -7
- package/src/snippets/cloze.html +3 -3
- package/src/snippets/mark.html +3 -3
- package/src/snippets/order.html +7 -7
- package/src/snippets/pairing.html +9 -9
- package/src/snippets/speech.html +3 -3
- package/src/snippets/text.html +3 -3
- package/src/snippets/wordsearch.html +3 -3
- package/src/widgets/webwriter-choice-item.ts +256 -253
- package/src/widgets/webwriter-choice.ts +352 -336
- package/src/widgets/webwriter-cloze-gap.ts +215 -215
- package/src/widgets/webwriter-cloze.ts +135 -135
- package/src/widgets/webwriter-mark.ts +431 -431
- package/src/widgets/webwriter-order-item.ts +440 -440
- package/src/widgets/webwriter-order.ts +326 -309
- package/src/widgets/webwriter-pairing-item.ts +160 -160
- package/src/widgets/webwriter-pairing.ts +192 -192
- package/src/widgets/webwriter-quiz.ts +281 -281
- package/src/widgets/webwriter-speech.ts +272 -272
- package/src/widgets/webwriter-task-explainer.ts +42 -42
- package/src/widgets/webwriter-task-hint.ts +22 -22
- package/src/widgets/webwriter-task-prompt.ts +23 -23
- package/src/widgets/webwriter-task.ts +554 -546
- package/src/widgets/webwriter-text.ts +176 -155
- package/tsconfig.json +6 -6
package/localization/zh-hans.xlf
CHANGED
|
@@ -1,69 +1,72 @@
|
|
|
1
|
-
<xliff xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 http://docs.oasis-open.org/xliff/v1.2/os/xliff-core-1.2-strict.xsd" xmlns="urn:oasis:names:tc:xliff:document:1.2" version="1.2">
|
|
2
|
-
<file original="lit-localize-inputs" datatype="plaintext" source-language="en" target-language="zh-hans">
|
|
3
|
-
<body>
|
|
4
|
-
<trans-unit id="s4802e47fe2e95134">
|
|
5
|
-
<source>Option</source>
|
|
6
|
-
<target>选项</target>
|
|
7
|
-
</trans-unit>
|
|
8
|
-
<trans-unit id="s85ea99fb52be3385">
|
|
9
|
-
<source>True</source>
|
|
10
|
-
<target>正确</target>
|
|
11
|
-
</trans-unit>
|
|
12
|
-
<trans-unit id="s7254ca27b16ae2d8">
|
|
13
|
-
<source>False</source>
|
|
14
|
-
<target>假的</target>
|
|
15
|
-
</trans-unit>
|
|
16
|
-
<trans-unit id="s159928724265eb05">
|
|
17
|
-
<source>Add Option</source>
|
|
18
|
-
<target>添加选项</target>
|
|
19
|
-
</trans-unit>
|
|
20
|
-
<trans-unit id="sc56e9323f076a11e">
|
|
21
|
-
<source>Text to add gaps to</source>
|
|
22
|
-
<target>为文本添加间隙</target>
|
|
23
|
-
</trans-unit>
|
|
24
|
-
<trans-unit id="s80dc9f56411917df">
|
|
25
|
-
<source>Text to Highlight</source>
|
|
26
|
-
<target>突出显示文本</target>
|
|
27
|
-
</trans-unit>
|
|
28
|
-
<trans-unit id="s1b23c41934894f30">
|
|
29
|
-
<source>Explanation</source>
|
|
30
|
-
<target>说明</target>
|
|
31
|
-
</trans-unit>
|
|
32
|
-
<trans-unit id="sd26e8d4eef55e341">
|
|
33
|
-
<source>Check your answers</source>
|
|
34
|
-
<target>检查答案</target>
|
|
35
|
-
</trans-unit>
|
|
36
|
-
<trans-unit id="scd1dd6ff53d0d01a">
|
|
37
|
-
<source>Try again</source>
|
|
38
|
-
<target>再试一次</target>
|
|
39
|
-
</trans-unit>
|
|
40
|
-
<trans-unit id="sb3d4f79d9d8b71e5">
|
|
41
|
-
<source>Submit</source>
|
|
42
|
-
<target>提交</target>
|
|
43
|
-
</trans-unit>
|
|
44
|
-
<trans-unit id="s255857544a9d5ec0">
|
|
45
|
-
<source>Reset</source>
|
|
46
|
-
<target>重置</target>
|
|
47
|
-
</trans-unit>
|
|
48
|
-
<trans-unit id="s54393bfa280ea55b">
|
|
49
|
-
<source>Prompt</source>
|
|
50
|
-
<target>提示</target>
|
|
51
|
-
</trans-unit>
|
|
52
|
-
<trans-unit id="sb0aadaa04e658ad6">
|
|
53
|
-
<source>Choice</source>
|
|
54
|
-
</trans-unit>
|
|
55
|
-
<trans-unit id="s2ba5f4d8f3bd7c57">
|
|
56
|
-
<source>Order</source>
|
|
57
|
-
</trans-unit>
|
|
58
|
-
<trans-unit id="s2492f5fb1b05b45e">
|
|
59
|
-
<source>Text</source>
|
|
60
|
-
</trans-unit>
|
|
61
|
-
<trans-unit id="s49c940aecfef3ea0">
|
|
62
|
-
<source>Mark</source>
|
|
63
|
-
</trans-unit>
|
|
64
|
-
<trans-unit id="saa3efba1f0c816b7">
|
|
65
|
-
<source>Speech</source>
|
|
66
|
-
</trans-unit>
|
|
67
|
-
|
|
68
|
-
</
|
|
69
|
-
</
|
|
1
|
+
<xliff xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 http://docs.oasis-open.org/xliff/v1.2/os/xliff-core-1.2-strict.xsd" xmlns="urn:oasis:names:tc:xliff:document:1.2" version="1.2">
|
|
2
|
+
<file original="lit-localize-inputs" datatype="plaintext" source-language="en" target-language="zh-hans">
|
|
3
|
+
<body>
|
|
4
|
+
<trans-unit id="s4802e47fe2e95134">
|
|
5
|
+
<source>Option</source>
|
|
6
|
+
<target>选项</target>
|
|
7
|
+
</trans-unit>
|
|
8
|
+
<trans-unit id="s85ea99fb52be3385">
|
|
9
|
+
<source>True</source>
|
|
10
|
+
<target>正确</target>
|
|
11
|
+
</trans-unit>
|
|
12
|
+
<trans-unit id="s7254ca27b16ae2d8">
|
|
13
|
+
<source>False</source>
|
|
14
|
+
<target>假的</target>
|
|
15
|
+
</trans-unit>
|
|
16
|
+
<trans-unit id="s159928724265eb05">
|
|
17
|
+
<source>Add Option</source>
|
|
18
|
+
<target>添加选项</target>
|
|
19
|
+
</trans-unit>
|
|
20
|
+
<trans-unit id="sc56e9323f076a11e">
|
|
21
|
+
<source>Text to add gaps to</source>
|
|
22
|
+
<target>为文本添加间隙</target>
|
|
23
|
+
</trans-unit>
|
|
24
|
+
<trans-unit id="s80dc9f56411917df">
|
|
25
|
+
<source>Text to Highlight</source>
|
|
26
|
+
<target>突出显示文本</target>
|
|
27
|
+
</trans-unit>
|
|
28
|
+
<trans-unit id="s1b23c41934894f30">
|
|
29
|
+
<source>Explanation</source>
|
|
30
|
+
<target>说明</target>
|
|
31
|
+
</trans-unit>
|
|
32
|
+
<trans-unit id="sd26e8d4eef55e341">
|
|
33
|
+
<source>Check your answers</source>
|
|
34
|
+
<target>检查答案</target>
|
|
35
|
+
</trans-unit>
|
|
36
|
+
<trans-unit id="scd1dd6ff53d0d01a">
|
|
37
|
+
<source>Try again</source>
|
|
38
|
+
<target>再试一次</target>
|
|
39
|
+
</trans-unit>
|
|
40
|
+
<trans-unit id="sb3d4f79d9d8b71e5">
|
|
41
|
+
<source>Submit</source>
|
|
42
|
+
<target>提交</target>
|
|
43
|
+
</trans-unit>
|
|
44
|
+
<trans-unit id="s255857544a9d5ec0">
|
|
45
|
+
<source>Reset</source>
|
|
46
|
+
<target>重置</target>
|
|
47
|
+
</trans-unit>
|
|
48
|
+
<trans-unit id="s54393bfa280ea55b">
|
|
49
|
+
<source>Prompt</source>
|
|
50
|
+
<target>提示</target>
|
|
51
|
+
</trans-unit>
|
|
52
|
+
<trans-unit id="sb0aadaa04e658ad6">
|
|
53
|
+
<source>Choice</source>
|
|
54
|
+
</trans-unit>
|
|
55
|
+
<trans-unit id="s2ba5f4d8f3bd7c57">
|
|
56
|
+
<source>Order</source>
|
|
57
|
+
</trans-unit>
|
|
58
|
+
<trans-unit id="s2492f5fb1b05b45e">
|
|
59
|
+
<source>Text</source>
|
|
60
|
+
</trans-unit>
|
|
61
|
+
<trans-unit id="s49c940aecfef3ea0">
|
|
62
|
+
<source>Mark</source>
|
|
63
|
+
</trans-unit>
|
|
64
|
+
<trans-unit id="saa3efba1f0c816b7">
|
|
65
|
+
<source>Speech</source>
|
|
66
|
+
</trans-unit>
|
|
67
|
+
<trans-unit id="saf8b589e65febbd2">
|
|
68
|
+
<source>Save answer</source>
|
|
69
|
+
</trans-unit>
|
|
70
|
+
</body>
|
|
71
|
+
</file>
|
|
72
|
+
</xliff>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webwriter/quiz",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.5",
|
|
4
4
|
"description": "Add interactive tasks (multiple choice, order, free text, highlighting, or speech input). Make a quiz out of multiple tasks.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"webwriter-widget",
|
|
@@ -49,10 +49,11 @@
|
|
|
49
49
|
"license": "MIT",
|
|
50
50
|
"author": "Frederic Salmen <frederic@fsalmen.de>",
|
|
51
51
|
"scripts": {
|
|
52
|
-
"
|
|
52
|
+
"prepare": "npx @webwriter/build",
|
|
53
53
|
"dev": "npx @webwriter/build dev",
|
|
54
54
|
"localize": "lit-localize extract && npx @webwriter/build localize && lit-localize build"
|
|
55
55
|
},
|
|
56
|
+
"repository": "https://github.com/webwriter-app/quiz",
|
|
56
57
|
"dependencies": {
|
|
57
58
|
"@shoelace-style/shoelace": "^2.13.1",
|
|
58
59
|
"@shopify/draggable": "^1.1.3",
|
|
@@ -256,4 +257,4 @@
|
|
|
256
257
|
"uninsertable": true
|
|
257
258
|
}
|
|
258
259
|
}
|
|
259
|
-
}
|
|
260
|
+
}
|