From c2230c0251ed78cd9618bf8f815246ebd5561211 Mon Sep 17 00:00:00 2001 From: Emanuel Schuetze Date: Tue, 5 Apr 2016 20:01:16 +0200 Subject: [PATCH] Added missing en.js for tinyMCE. (Fixes #2067) --- gulpfile.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index 051cc57da..2ba192360 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -83,6 +83,7 @@ gulp.task('tinymce-skins', function () { // Catches all required i18n files for TinyMCE editor. gulp.task('tinymce-i18n', function () { return gulp.src([ + 'bower_components/tinymce-i18n/langs/en_GB.js', 'bower_components/tinymce-i18n/langs/cs.js', 'bower_components/tinymce-i18n/langs/de.js', 'bower_components/tinymce-i18n/langs/es.js', @@ -90,7 +91,9 @@ gulp.task('tinymce-i18n', function () { 'bower_components/tinymce-i18n/langs/pt_PT.js', ]) .pipe(rename(function (path) { - if (path.basename === 'fr_FR') { + if (path.basename === 'en_GB') { + path.basename = 'en'; + } else if (path.basename === 'fr_FR') { path.basename = 'fr'; } else if (path.basename === 'pt_PT') { path.basename = 'pt';