@astl/editor 0.2.0 → 0.2.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/src/index.ts CHANGED
@@ -28,8 +28,8 @@ export type { FieldChange } from './elements/picture-field.js';
28
28
  export { AstlPictureField, FIELD_CHANGE } from './elements/picture-field.js';
29
29
  export { AstlPreview } from './elements/preview.js';
30
30
  export type { AstlStyleForm } from './elements/style-form.js';
31
- export type { StyleOpen } from './elements/style-load.js';
32
- export { loadHelpForm, loadStyleElements, STYLE_OPEN } from './elements/style-load.js';
31
+ export type { HelpOpen, HelpPart, StyleOpen } from './elements/style-load.js';
32
+ export { HELP_OPEN, loadHelpForm, loadStyleElements, STYLE_OPEN } from './elements/style-load.js';
33
33
  export type { AstlStyleRules } from './elements/style-rules.js';
34
34
  export type { InsertMenu, ToolbarView } from './elements/toolbar.js';
35
35
  export { AstlToolbar, FEATURED_ITEMS, VIEW_PICKED } from './elements/toolbar.js';
@@ -245,7 +245,6 @@
245
245
  "surface.picture.place": "Position and size: {position}, {width}",
246
246
  "surface.picture.placeAuto": "Position and size: {position}",
247
247
  "style.target.more": "{target}…",
248
- "help.cost": "costs {percent}%",
249
248
  "help.when.correct": "Correct",
250
249
  "help.when.incorrect": "Wrong",
251
250
  "help.when.partial": "Partly correct",
@@ -253,6 +252,9 @@
253
252
  "help.costLabel": "Cost of the hint",
254
253
  "help.whenLabel": "For the result",
255
254
  "surface.helpRemove": "{kind, select, hint {Remove the hint} explanation {Remove the explanation} other {Remove the feedback}}",
255
+ "surface.helpHints": "{n, plural, one {# hint} other {# hints}}",
256
+ "surface.helpOpen": "Open in the card",
257
+ "surface.helpPlaceholder": "{kind, select, hint {Write the hint...} explanation {Write the explanation...} other {Write the feedback...}}",
256
258
  "surface.pageCheck": "Check this page",
257
259
  "surface.pageCheckOn": "Page {page} has a Check of its own now.",
258
260
  "surface.pageCheckOff": "Page {page} has no Check of its own now.",
@@ -1,5 +1,8 @@
1
1
  {
2
2
  "help.title": "Help for students",
3
+ "help.summaryNone": "none",
4
+ "help.summaryExplanation": "explanation",
5
+ "help.summaryFeedback": "feedback",
3
6
  "help.hints": "Hints",
4
7
  "help.hintsNote": "Students ask for them one at a time, in this order. A cost is the share of the question's points a student loses for using that hint.",
5
8
  "help.hintN": "Hint {n}",
@@ -8,8 +11,6 @@
8
11
  "help.costShare": "-{percent}% of this question's points",
9
12
  "help.costPoints": "-{percent}%: -{points} of {max, plural, one {# point} other {# points}}",
10
13
  "help.addHint": "Add a hint",
11
- "help.up": "Up",
12
- "help.down": "Down",
13
14
  "help.upN": "Move hint {n} up",
14
15
  "help.downN": "Move hint {n} down",
15
16
  "help.removeN": "Remove hint {n}",
@@ -1,5 +1,8 @@
1
1
  {
2
2
  "help.title": "Pomoc dla ucznia",
3
+ "help.summaryNone": "brak",
4
+ "help.summaryExplanation": "wyjaśnienie",
5
+ "help.summaryFeedback": "informacja zwrotna",
3
6
  "help.hints": "Podpowiedzi",
4
7
  "help.hintsNote": "Uczeń prosi o nie po kolei, w tej kolejności. Koszt to część punktów za to pytanie, którą uczeń traci, gdy użyje podpowiedzi.",
5
8
  "help.hintN": "Podpowiedź {n}",
@@ -8,8 +11,6 @@
8
11
  "help.costShare": "-{percent}% punktów za to pytanie",
9
12
  "help.costPoints": "-{percent}%: -{points} z {max, plural, one {# punktu} few {# punktów} many {# punktów} other {# punktu}}",
10
13
  "help.addHint": "Dodaj podpowiedź",
11
- "help.up": "W górę",
12
- "help.down": "W dół",
13
14
  "help.upN": "Przenieś podpowiedź {n} w górę",
14
15
  "help.downN": "Przenieś podpowiedź {n} w dół",
15
16
  "help.removeN": "Usuń podpowiedź {n}",
@@ -245,7 +245,6 @@
245
245
  "surface.picture.place": "Położenie i rozmiar: {position}, {width}",
246
246
  "surface.picture.placeAuto": "Położenie i rozmiar: {position}",
247
247
  "style.target.more": "{target}…",
248
- "help.cost": "koszt {percent}%",
249
248
  "help.when.correct": "Dobrze",
250
249
  "help.when.incorrect": "Źle",
251
250
  "help.when.partial": "Częściowo dobrze",
@@ -253,6 +252,9 @@
253
252
  "help.costLabel": "Koszt podpowiedzi",
254
253
  "help.whenLabel": "Dla wyniku",
255
254
  "surface.helpRemove": "{kind, select, hint {Usuń podpowiedź} explanation {Usuń wyjaśnienie} other {Usuń informację zwrotną}}",
255
+ "surface.helpHints": "{n, plural, one {# podpowiedź} few {# podpowiedzi} many {# podpowiedzi} other {# podpowiedzi}}",
256
+ "surface.helpOpen": "Otwórz w karcie",
257
+ "surface.helpPlaceholder": "{kind, select, hint {Napisz podpowiedź...} explanation {Napisz wyjaśnienie...} other {Napisz informację zwrotną...}}",
256
258
  "surface.pageCheck": "Sprawdź tę stronę",
257
259
  "surface.pageCheckOn": "Strona {page} ma teraz własne sprawdzanie.",
258
260
  "surface.pageCheckOff": "Strona {page} nie ma już własnego sprawdzania.",