From 1e1dbbddde526f4a60a61a78895fe42153219537 Mon Sep 17 00:00:00 2001 From: janlindso Date: Mon, 13 Nov 2023 18:17:09 +0100 Subject: [PATCH] =?UTF-8?q?Added=20extra=20instructions=20for=20CSV=20in?= =?UTF-8?q?=20English=20and=20Norwegian.=20Also=20added=20support=20for=20?= =?UTF-8?q?Northern=20and=20Southern=20S=C3=A1mi.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- language/.en.json | 30 +++++++++++++++++------------- language/de.json | 12 ++++++++++++ language/es-mx.json | 6 ++++++ language/es.json | 16 ++++++++++++++-- language/eu.json | 12 ++++++++++++ language/gl.json | 12 ++++++++++++ language/lt.json | 14 +++++++++++++- language/nb.json | 6 +++++- language/nn.json | 10 +++++++--- library.json | 2 +- semantics.json | 6 +++++- 11 files changed, 104 insertions(+), 22 deletions(-) diff --git a/language/.en.json b/language/.en.json index b7d9a0e2..19a98c5a 100644 --- a/language/.en.json +++ b/language/.en.json @@ -8,31 +8,35 @@ "label": "Source language", "description": "Choose the language of the source words.", "options": [ - { "label": "English" }, - { "label": "French" }, - { "label": "German" }, - { "label": "Norwegian bokmål" }, - { "label": "Norwegian nynorsk" }, - { "label": "Spanish" } + { "value": "en", "label": "English" }, + { "value": "fr", "label": "French" }, + { "value": "de", "label": "German" }, + { "value": "sme", "label": "Northern Sámi" }, + { "value": "nb", "label": "Norwegian bokmål" }, + { "value": "nn", "label": "Norwegian nynorsk" }, + { "value": "sma", "label": "Southern Sámi" }, + { "value": "es", "label": "Spanish" } ] }, { "label": "Target language", "description": "Choose the language of the target words.", "options": [ - { "label": "English" }, - { "label": "French" }, - { "label": "German" }, - { "label": "Norwegian bokmål" }, - { "label": "Norwegian nynorsk" }, - { "label": "Spanish" } + { "value": "en", "label": "English" }, + { "value": "fr", "label": "French" }, + { "value": "de", "label": "German" }, + { "value": "sme", "label": "Northern Sámi" }, + { "value": "nb", "label": "Norwegian bokmål" }, + { "value": "nn", "label": "Norwegian nynorsk" }, + { "value": "sma", "label": "Southern Sámi" }, + { "value": "es", "label": "Spanish" } ] }, { "label": "Words", "description": "Add words by uploading a CSV-file or write them in the text field.", "important": { - "description": "", + "description": "", "example": "water/sea:w___r,vann/hav:v__n" } }, diff --git a/language/de.json b/language/de.json index cf7161e8..c81cf3c8 100644 --- a/language/de.json +++ b/language/de.json @@ -17,12 +17,18 @@ { "label": "Deutsch" }, + { + "label": "Northern Sámi" + }, { "label": "Norwegisch (Bokmål)" }, { "label": "Norwegisch (Nynorsk)" }, + { + "label": "Southern Sámi" + }, { "label": "Spanisch" } @@ -39,12 +45,18 @@ { "label": "Deutsch" }, + { + "label": "Northern Sámi" + }, { "label": "Norwegisch (Bokmål)" }, { "label": "Norwegisch (Nynorsk)" }, + { + "label": "Southern Sámi" + }, { "label": "Spanisch" } diff --git a/language/es-mx.json b/language/es-mx.json index ce36841b..19ce7de0 100644 --- a/language/es-mx.json +++ b/language/es-mx.json @@ -17,12 +17,18 @@ { "label": "Alemán" }, + { + "label": "Northern Sámi" + }, { "label": "Bokmål Noruego" }, { "label": "Nynorsk noruego" }, + { + "label": "Southern Sámi" + }, { "label": "Español" } diff --git a/language/es.json b/language/es.json index 0c13b2e8..9cfffed4 100644 --- a/language/es.json +++ b/language/es.json @@ -17,12 +17,18 @@ { "label": "Alemán" }, + { + "label": "Northern Sámi" + }, { "label": "Noruego (bokmål)" }, { "label": "Noruego (nynorsk)" }, + { + "label": "Southern Sámi" + }, { "label": "Español" } @@ -42,10 +48,16 @@ "label": "Alemán" }, { - "label": "Bokmål Noruego" + "label": "Northern Sámi" + }, + { + "label": "Noruego (bokmål)" + }, + { + "label": "Noruego (nynorsk)" }, { - "label": "Nynorsk noruego" + "label": "Southern Sámi" }, { "label": "Español" diff --git a/language/eu.json b/language/eu.json index 6e1626a3..8a0e1513 100644 --- a/language/eu.json +++ b/language/eu.json @@ -17,12 +17,18 @@ { "label": "Alemana" }, + { + "label": "Northern Sámi" + }, { "label": "Norvegiako bokmål" }, { "label": "Norvegiako nynorsk" }, + { + "label": "Southern Sámi" + }, { "label": "Gaztelania" } @@ -41,12 +47,18 @@ { "label": "Alemana" }, + { + "label": "Northern Sámi" + }, { "label": "Norvegiako bokmål" }, { "label": "Norvegiako nynorsk" }, + { + "label": "Southern Sámi" + }, { "label": "Gaztelania" } diff --git a/language/gl.json b/language/gl.json index 3eb9f351..8fdf0a53 100644 --- a/language/gl.json +++ b/language/gl.json @@ -17,12 +17,18 @@ { "label": "Alemán" }, + { + "label": "Northern Sámi" + }, { "label": "Bokmål noruegués" }, { "label": "Nynorsk noruegués" }, + { + "label": "Southern Sámi" + }, { "label": "Español" } @@ -41,12 +47,18 @@ { "label": "Alemán" }, + { + "label": "Northern Sámi" + }, { "label": "Bokmål noruegués" }, { "label": "Nynorsk noruegués" }, + { + "label": "Southern Sámi" + }, { "label": "Español" } diff --git a/language/lt.json b/language/lt.json index cffceef7..cf3ff909 100644 --- a/language/lt.json +++ b/language/lt.json @@ -16,12 +16,18 @@ { "label": "Vokiečių" }, + { + "label": "Northern Sámi" + }, { "label": "Norvegų" }, { "label": "Norwegian nynorsk" }, + { + "label": "Southern Sámi" + }, { "label": "Ispanų" } @@ -40,11 +46,17 @@ "label": "Vokiečių" }, { - "label": "Norwegian bokmål" + "label": "Northern Sámi" + }, + { + "label": "Norvegų" }, { "label": "Norwegian nynorsk" }, + { + "label": "Southern Sámi" + }, { "label": "Ispanų" } diff --git a/language/nb.json b/language/nb.json index eb82d614..4112d5b0 100644 --- a/language/nb.json +++ b/language/nb.json @@ -11,8 +11,10 @@ { "label": "Engelsk" }, { "label": "Fransk" }, { "label": "Tysk" }, + { "label": "Nordsamisk" }, { "label": "Norsk (bokmål)" }, { "label": "Norsk (nynorsk)" }, + { "label": "Sørsamisk" }, { "label": "Spansk" } ] }, @@ -23,8 +25,10 @@ { "label": "Engelsk" }, { "label": "Fransk" }, { "label": "Tysk" }, + { "label": "Nordsamisk" }, { "label": "Norsk (bokmål)" }, { "label": "Norsk (nynorsk)" }, + { "label": "Sørsamisk" }, { "label": "Spansk" } ] }, @@ -32,7 +36,7 @@ "label": "Ord", "description": "Legg til ord ved å laste opp ei CSV-fil, eller skriv orda inn i tekstfeltet.", "important": { - "description": "", + "description": "", "example": "water/sea:w___r,vann/hav:v__n" } }, diff --git a/language/nn.json b/language/nn.json index 2aceef3e..68c3dbda 100644 --- a/language/nn.json +++ b/language/nn.json @@ -11,9 +11,11 @@ { "label": "Engelsk" }, { "label": "Fransk" }, { "label": "Tysk" }, + { "label": "Nordsamisk" }, { "label": "Norsk (bokmål)" }, { "label": "Norsk (nynorsk)" }, - { "label": "Spansk" } + { "label": "Spansk" }, + { "label": "Sørsamisk" } ] }, { @@ -23,16 +25,18 @@ { "label": "Engelsk" }, { "label": "Fransk" }, { "label": "Tysk" }, + { "label": "Nordsamisk" }, { "label": "Norsk (bokmål)" }, { "label": "Norsk (nynorsk)" }, - { "label": "Spansk" } + { "label": "Spansk" }, + { "label": "Sørsamisk" } ] }, { "label": "Ord", "description": "Legg til ord ved å laste opp ei CSV-fil, eller skriv orda inn i tekstfeltet.", "important": { - "description": "", + "description": "", "example": "water/sea:w___r,vatn/hav:v__n" } }, diff --git a/library.json b/library.json index 094a5cb9..52ed6a7e 100644 --- a/library.json +++ b/library.json @@ -3,7 +3,7 @@ "machineName": "H5P.VocabularyDrill", "majorVersion": 1, "minorVersion": 0, - "patchVersion": 26, + "patchVersion": 27, "runnable": 1, "license": "MIT", "author": "NDLA", diff --git a/semantics.json b/semantics.json index bd8d5d84..5815aa02 100644 --- a/semantics.json +++ b/semantics.json @@ -15,8 +15,10 @@ { "value": "en", "label": "English" }, { "value": "fr", "label": "French" }, { "value": "de", "label": "German" }, + { "value": "sme", "label": "Northern Sámi" }, { "value": "nb", "label": "Norwegian bokmål" }, { "value": "nn", "label": "Norwegian nynorsk" }, + { "value": "sma", "label": "Southern Sámi" }, { "value": "es", "label": "Spanish" } ], "default": "en" @@ -30,8 +32,10 @@ { "value": "en", "label": "English" }, { "value": "fr", "label": "French" }, { "value": "de", "label": "German" }, + { "value": "sme", "label": "Northern Sámi" }, { "value": "nb", "label": "Norwegian bokmål" }, { "value": "nn", "label": "Norwegian nynorsk" }, + { "value": "sma", "label": "Southern Sámi" }, { "value": "es", "label": "Spanish" } ], "default": "nb" @@ -44,7 +48,7 @@ "widget": "csv-to-text", "description": "Add words by uploading a CSV-file or write them in the text field.", "important": { - "description": "", + "description": "", "example": "water/sea:w___r,vann/hav:v__n" } },