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

Don't allow overwrite of english lang (#3590)

This commit is contained in:
Bram Kragten
2019-09-03 19:26:04 +02:00
committed by Paulus Schoutsen
parent 753e069323
commit 15564a1b26

View File

@@ -214,6 +214,8 @@ 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 {
src.push(inDir + "/" + lang + ".json");
}