1
0
mirror of https://github.com/home-assistant/frontend.git synced 2025-12-24 20:55:49 +00:00

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("-");
if (lang === "test") {
src.push(workDir + "/test.json");
} else if (lang === "en") {
src.push("src/translations/en.json");
} else {
} else if (lang !== "en") {
src.push(inDir + "/" + lang + ".json");
}
}