diff --git a/language/de.json b/language/de.json new file mode 100644 index 0000000..95c034e --- /dev/null +++ b/language/de.json @@ -0,0 +1,37 @@ +{ + "semantics": [ + { + "label": "Karten", + "entity": "karte", + "field": { + "label": "Karte", + "fields": [ + { + "label": "Bild" + }, + { + "label": "Beschreibung", + "description": "Ein kurzer Text, der angezeigt wird, sobald zwei identische Karten gefunden werden." + } + ] + } + }, + { + "label": "Übersetzung", + "fields": [ + { + "label": "Text für die Anzahl der Züge", + "default": "Züge" + }, + { + "label": "Text für die benötigte Zeit", + "default": "Benötigte Zeit" + }, + { + "label": "Text als Rückmeldung", + "default": "Gute Arbeit!" + } + ] + } + ] +} \ No newline at end of file diff --git a/library.json b/library.json index e11093b..894d655 100644 --- a/library.json +++ b/library.json @@ -3,7 +3,7 @@ "description": "See how many cards you can remember!", "majorVersion": 1, "minorVersion": 1, - "patchVersion": 10, + "patchVersion": 11, "runnable": 1, "author": "Amendor AS", "license": "MIT", diff --git a/semantics.json b/semantics.json index b896920..71eabad 100644 --- a/semantics.json +++ b/semantics.json @@ -3,22 +3,27 @@ "name": "cards", "type": "list", "label": "Cards", + "importance": "high", "entity": "card", "min": 1, "max": 100, "field": { "type": "group", + "name": "card", "label": "Card", + "importance": "high", "fields": [ { "name": "image", "type": "image", - "label": "Image" + "label": "Image", + "importance": "high" }, { "name": "description", "type": "text", "label": "Description", + "importance": "low", "maxLength": 150, "optional": true, "description": "A short text that is displayed once the two equal cards are found." @@ -28,24 +33,28 @@ }, { "label": "Localization", + "importance": "low", "name": "l10n", "type": "group", "common": true, "fields": [ { "label": "Card turns text", + "importance": "low", "name": "cardTurns", "type": "text", "default": "Card turns" }, { "label": "Time spent text", + "importance": "low", "name": "timeSpent", "type": "text", "default": "Time spent" }, { "label": "Feedback text", + "importance": "low", "name": "feedback", "type": "text", "default": "Good work!"