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:
committed by
GitHub
parent
2a23c2d989
commit
7640147a07
@@ -1,10 +1,4 @@
|
||||
[
|
||||
{
|
||||
"id": "hyek8f",
|
||||
"text": "Chinese translation one"
|
||||
},
|
||||
{
|
||||
"id": "rscjup",
|
||||
"text": "Chinese translation two"
|
||||
}
|
||||
]
|
||||
{
|
||||
"hyek8f": "Chinese translation one",
|
||||
"rscjup": "Chinese translation two"
|
||||
}
|
||||
|
@@ -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;
|
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"rms15q": "Not translated one",
|
||||
"78gz3i": "Not translated two"
|
||||
}
|
@@ -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"
|
||||
}
|
||||
|
@@ -1,10 +1,4 @@
|
||||
[
|
||||
{
|
||||
"id": "hyek8f",
|
||||
"text": "Spanish translation one"
|
||||
},
|
||||
{
|
||||
"id": "rscjup",
|
||||
"text": "Spanish translation two"
|
||||
}
|
||||
]
|
||||
{
|
||||
"hyek8f": "Spanish translation one",
|
||||
"rscjup": "Spanish translation two"
|
||||
}
|
||||
|
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"hyek8f": "Chinese translation one",
|
||||
"rscjup": "Chinese translation two"
|
||||
}
|
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"rms15q": "Not translated one",
|
||||
"78gz3i": "Not translated two"
|
||||
}
|
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"hyek8f": "To be translated one",
|
||||
"rscjup": "To be translated two"
|
||||
}
|
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"hyek8f": "Spanish translation one"
|
||||
}
|
Reference in New Issue
Block a user