Skip to content
Browse files

Merge pull request #56 from FreeCodeCamp/fix/support-titleXX-properties

Add support for new titleXX language properties
  • Loading branch information...
2 parents 8f7e9df + ac76993 commit 5df9a5dbdb7f7e9aff6170615022244cb8ef6cf1 @benmcmahon100 benmcmahon100 committed
Showing with 10 additions and 10 deletions.
  1. +5 −5 app.js
  2. +5 −5 public/editorLayout.json
View
10 app.js
@@ -42,15 +42,15 @@ app.post('/export', function(req, res, next) {
"mdnlinks": 11,
"challengetype": 12,
"isbeta": 13,
- "namecn": 14,
+ "titlecn": 14,
"descriptioncn": 15,
- "namefr": 16,
+ "titlefr": 16,
"descriptionfr": 17,
- "nameru": 18,
+ "titleru": 18,
"descriptionru": 19,
- "namees": 20,
+ "titlees": 20,
"descriptiones": 21,
- "namept": 22,
+ "titlept": 22,
"descriptionpt": 23
};
fileData.challenges = fileData.challenges.map(function(challenge){
View
10 public/editorLayout.json
@@ -20,15 +20,15 @@
{"name": "tests", "dimens": ["240px", "auto"]}
],
"localization": [
- {"name": "nameCn", "dimens": ["30px", "auto"]},
+ {"name": "titleCn", "dimens": ["30px", "auto"]},
{"name": "descriptionCn", "dimens": ["180px", "auto"]},
- {"name": "nameFr", "dimens": ["30px", "auto"]},
+ {"name": "titleFr", "dimens": ["30px", "auto"]},
{"name": "descriptionFr", "dimens": ["180px", "auto"]},
- {"name": "nameRu", "dimens": ["30px", "auto"]},
+ {"name": "titleRu", "dimens": ["30px", "auto"]},
{"name": "descriptionRu", "dimens": ["180px", "auto"]},
- {"name": "nameEs", "dimens": ["30px", "auto"]},
+ {"name": "titleEs", "dimens": ["30px", "auto"]},
{"name": "descriptionEs", "dimens": ["180px", "auto"]},
- {"name": "namePt", "dimens": ["30px", "auto"]},
+ {"name": "titlePt", "dimens": ["30px", "auto"]},
{"name": "descriptionPt", "dimens": ["180px", "auto"]}
],
"misc": [

0 comments on commit 5df9a5d

Please sign in to comment.
Something went wrong with that request. Please try again.