mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-22 16:56:35 +00:00
Don't allow overwrite of english lang (#3590)
This commit is contained in:
parent
753e069323
commit
15564a1b26
@ -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");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user