add multi-lingual placeholders and update announcement modal

This commit is contained in:
Quincy Larson
2015-05-28 01:32:56 -07:00
parent 87e2697b93
commit 28d2f700c2
17 changed files with 2258 additions and 364 deletions

View File

@@ -16,7 +16,17 @@ var challengeSchema = new mongoose.Schema({
tests: Array,
challengeSeed: Array,
challengeType: Number, // 0 = html, 1 = javascript only, 2 = video, 3 = zipline, 4 = basejump
MDNlinks: Array
MDNlinks: Array,
nameCn: String,
descriptionCn: Array,
nameFr: String,
descriptionFr: Array,
nameRu: String,
descriptionRu: Array,
nameEs: String,
descriptionEs: Array,
namePt: String,
descriptionPt: Array
});
module.exports = mongoose.model('Challenge', challengeSchema);