From 3927eb53acf812198a090852168935869ce81c33 Mon Sep 17 00:00:00 2001 From: Bram Kragten Date: Thu, 5 Sep 2019 15:53:27 +0200 Subject: [PATCH] Fix translations (#3626) --- build-scripts/gulp/translations.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/build-scripts/gulp/translations.js b/build-scripts/gulp/translations.js index 63932c0b91..af6c64eb7f 100755 --- a/build-scripts/gulp/translations.js +++ b/build-scripts/gulp/translations.js @@ -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"); } }