From 15564a1b26eec58513ae1c7322044eaf1a18229a Mon Sep 17 00:00:00 2001 From: Bram Kragten Date: Tue, 3 Sep 2019 19:26:04 +0200 Subject: [PATCH] Don't allow overwrite of english lang (#3590) --- build-scripts/gulp/translations.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build-scripts/gulp/translations.js b/build-scripts/gulp/translations.js index 014df9f018..63932c0b91 100755 --- a/build-scripts/gulp/translations.js +++ b/build-scripts/gulp/translations.js @@ -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"); }