diff --git a/language/.en.json b/language/.en.json new file mode 100644 index 0000000..d696e07 --- /dev/null +++ b/language/.en.json @@ -0,0 +1,64 @@ +{ + "semantics": [ + { + "label": "3D Model Viewer Editor/Navigation", + "fields": [ + { + "label": "Models", + "entity": "Model", + "field": { + "fields": [ + { + "label": "3D File", + "description": "3D Model (.glb | .gltf)" + }, + {}, + { + "label": "Model name" + }, + { + "field": { + "fields": [ + { + "label": "Label", + "description": "If left blank no label will be displayed and we'll try to use the title field for screen readers" + }, + { + "label": "Label Settings", + "fields": [ + { + "label": "Label position", + "description": "Choose where the label should appear", + "options": [ + { + "label": "Use behavioral setting" + }, + { + "label": "Right aligned" + }, + { + "label": "Left aligned" + }, + { + "label": "Top aligned" + }, + { + "label": "Bottom aligned" + } + ] + } + ] + }, + {}, + {} + ] + } + } + ] + } + }, + {} + ] + } + ] +} diff --git a/language/de.json b/language/de.json deleted file mode 100644 index 0ddba4a..0000000 --- a/language/de.json +++ /dev/null @@ -1,108 +0,0 @@ -[ - { - "name": "modelViewerWidget", - "label": "3D Model Viewer Editor/Navigation", - "fields": [ - { - "name": "models", - "label": "Models", - "field": { - "name": "model", - "fields": [ - { - "label": "3D File", - "name": "glbModel", - "description": "3D Model (.glb | .gltf)" - }, - { - "name": "modelId", - "type": "number" - }, - { - "name": "modelName", - "type": "text", - "label": "Model name" - }, - { - "name": "interactions", - "type": "list", - "min": 0, - "field": { - "name": "interaction", - "type": "group", - "fields": [ - { - "name": "labelText", - "type": "text", - "label": "Label", - "optional": true, - "description": "If left blank no label will be displayed and we'll try to use the title field for screen readers" - }, - { - "name": "label", - "type": "group", - "label": "Label Settings", - "importance": "low", - "fields": [ - { - "name": "labelPosition", - "type": "select", - "label": "Label position", - "description": "Choose where the label should appear", - "options": [ - { - "value": "inherit", - "label": "Use behavioral setting" - }, - { - "value": "right", - "label": "Right aligned" - }, - { - "value": "left", - "label": "Left aligned" - }, - { - "value": "top", - "label": "Top aligned" - }, - { - "value": "bottom", - "label": "Bottom aligned" - } - ], - "default": "inherit" - } - ] - }, - { - "name": "action", - "type": "library", - "options": [ - "H5P.AdvancedText 1.1", - "H5P.Image 1.1", - "H5P.Audio 1.5", - "H5P.Video 1.6", - "H5P.Questionnaire 1.3", - "H5P.FileForDownload 1.0", - "H5P.GoToScene 0.1" - ] - }, - { - "name": "interactionpos", - "type": "text" - } - ] - } - } - ] - } - }, - { - "name": "startModelId", - "type": "number", - "default": 0 - } - ] - } -] diff --git a/language/en.json b/language/en.json deleted file mode 100644 index 86e538c..0000000 --- a/language/en.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "semantics": [ - { - "label": "3D File", - "description": "3D Model (.glb | .gltf)" - }, - { - "label": "Model Viewer Editor Widget React", - "description": "Edit Hotspots in < model-viewer > React", - "fields": [ - { - "field": { - "fields": [ - { - "label": "Label", - "description": "If left blank no label will be displayed and we'll try to use the title field for screen readers" - }, - { - "label": "Label Settings", - "fields": [ - { - "label": "Label position", - "description": "Choose where the label should appear", - "options": [ - { - "label": "Use behavioral setting" - }, - { - "label": "Right aligned" - }, - { - "label": "Left aligned" - }, - { - "label": "Top aligned" - }, - { - "label": "Bottom aligned" - } - ] - } - ] - } - ] - } - }, - { - "label": "Model Title", - "description": "Used to identify the Model" - } - ] - } - ] -}