Fix translations (#3626)

This commit is contained in:
Bram Kragten 2019-09-05 15:53:27 +02:00 committed by Paulus Schoutsen
parent 2a596666c8
commit 3927eb53ac

View File

@ -214,9 +214,7 @@ gulp.task(
const lang = subtags.slice(0, i).join("-"); const lang = subtags.slice(0, i).join("-");
if (lang === "test") { if (lang === "test") {
src.push(workDir + "/test.json"); src.push(workDir + "/test.json");
} else if (lang === "en") { } else if (lang !== "en") {
src.push("src/translations/en.json");
} else {
src.push(inDir + "/" + lang + ".json"); src.push(inDir + "/" + lang + ".json");
} }
} }