feat: curriculum dictionaries to objects (#40878)

* test: update to catch missing comments

* feat: convert dictionaries to JSON objects

* chore: update dictionaries

* fix: update tests for new dictionary objects

* fix: convert fixture to json

* fix: updated the incomplete dicts to new format
This commit is contained in:
Oliver Eyton-Williams
2021-02-02 20:14:29 +01:00
committed by GitHub
parent 2a23c2d989
commit 7640147a07
16 changed files with 399 additions and 1416 deletions

View File

@@ -1,10 +1,4 @@
[
{
"id": "hyek8f",
"text": "Chinese translation one"
},
{
"id": "rscjup",
"text": "Chinese translation two"
}
]
{
"hyek8f": "Chinese translation one",
"rscjup": "Chinese translation two"
}

View File

@@ -1,12 +0,0 @@
const COMMENTS_TO_NOT_TRANSLATE = [
{
id: 'rms15q',
text: 'Not translated one'
},
{
id: '78gz3i',
text: 'Not translated two'
}
];
exports.COMMENTS_TO_NOT_TRANSLATE = COMMENTS_TO_NOT_TRANSLATE;

View File

@@ -0,0 +1,4 @@
{
"rms15q": "Not translated one",
"78gz3i": "Not translated two"
}

View File

@@ -1,10 +1,4 @@
[
{
"id": "hyek8f",
"text": "To be translated one"
},
{
"id": "rscjup",
"text": "To be translated two"
}
]
{
"hyek8f": "To be translated one",
"rscjup": "To be translated two"
}

View File

@@ -1,10 +1,4 @@
[
{
"id": "hyek8f",
"text": "Spanish translation one"
},
{
"id": "rscjup",
"text": "Spanish translation two"
}
]
{
"hyek8f": "Spanish translation one",
"rscjup": "Spanish translation two"
}

View File

@@ -0,0 +1,4 @@
{
"hyek8f": "Chinese translation one",
"rscjup": "Chinese translation two"
}

View File

@@ -0,0 +1,4 @@
{
"rms15q": "Not translated one",
"78gz3i": "Not translated two"
}

View File

@@ -0,0 +1,4 @@
{
"hyek8f": "To be translated one",
"rscjup": "To be translated two"
}

View File

@@ -0,0 +1,3 @@
{
"hyek8f": "Spanish translation one"
}