From 9d9e55cfe62ba442f1e16e8a517546c292250d70 Mon Sep 17 00:00:00 2001 From: Roberto D'Auria Date: Tue, 25 May 2021 03:03:56 +0200 Subject: [PATCH] Revert "Experiment with a different way to include translations." This reverts commit 0a9afdad6bdd4b157a74a1a2c78dde768a965c3e. --- app/az/index.html | 80 +++++++++++++++++++++++++++++++++++++++++++++++ app/de/index.html | 80 +++++++++++++++++++++++++++++++++++++++++++++++ app/el/index.html | 80 +++++++++++++++++++++++++++++++++++++++++++++++ app/es/index.html | 80 +++++++++++++++++++++++++++++++++++++++++++++++ app/fa/index.html | 80 +++++++++++++++++++++++++++++++++++++++++++++++ app/fr/index.html | 80 +++++++++++++++++++++++++++++++++++++++++++++++ app/hi/index.html | 80 +++++++++++++++++++++++++++++++++++++++++++++++ app/id/index.html | 80 +++++++++++++++++++++++++++++++++++++++++++++++ app/index.html | 14 --------- app/nl/index.html | 80 +++++++++++++++++++++++++++++++++++++++++++++++ app/ru/index.html | 80 +++++++++++++++++++++++++++++++++++++++++++++++ app/zh/index.html | 80 +++++++++++++++++++++++++++++++++++++++++++++++ gulpfile.js | 8 ++--- 13 files changed, 884 insertions(+), 18 deletions(-) create mode 100644 app/az/index.html create mode 100644 app/de/index.html create mode 100644 app/el/index.html create mode 100644 app/es/index.html create mode 100644 app/fa/index.html create mode 100644 app/fr/index.html create mode 100644 app/hi/index.html create mode 100644 app/id/index.html create mode 100644 app/nl/index.html create mode 100644 app/ru/index.html create mode 100644 app/zh/index.html diff --git a/app/az/index.html b/app/az/index.html new file mode 100644 index 0000000..d517299 --- /dev/null +++ b/app/az/index.html @@ -0,0 +1,80 @@ + + + + + Speed Test by Measurement Lab + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/de/index.html b/app/de/index.html new file mode 100644 index 0000000..7acf168 --- /dev/null +++ b/app/de/index.html @@ -0,0 +1,80 @@ + + + + + Speed Test by Measurement Lab + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/el/index.html b/app/el/index.html new file mode 100644 index 0000000..8a38c5f --- /dev/null +++ b/app/el/index.html @@ -0,0 +1,80 @@ + + + + + Speed Test by Measurement Lab + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/es/index.html b/app/es/index.html new file mode 100644 index 0000000..0acadd5 --- /dev/null +++ b/app/es/index.html @@ -0,0 +1,80 @@ + + + + + Speed Test by Measurement Lab + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/fa/index.html b/app/fa/index.html new file mode 100644 index 0000000..57e27b1 --- /dev/null +++ b/app/fa/index.html @@ -0,0 +1,80 @@ + + + + + Speed Test by Measurement Lab + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/fr/index.html b/app/fr/index.html new file mode 100644 index 0000000..6efe485 --- /dev/null +++ b/app/fr/index.html @@ -0,0 +1,80 @@ + + + + + Speed Test by Measurement Lab + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/hi/index.html b/app/hi/index.html new file mode 100644 index 0000000..4ee436d --- /dev/null +++ b/app/hi/index.html @@ -0,0 +1,80 @@ + + + + + Speed Test by Measurement Lab + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/id/index.html b/app/id/index.html new file mode 100644 index 0000000..7194e0e --- /dev/null +++ b/app/id/index.html @@ -0,0 +1,80 @@ + + + + + Speed Test by Measurement Lab + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/index.html b/app/index.html index 737e82d..cf7ac26 100644 --- a/app/index.html +++ b/app/index.html @@ -60,20 +60,6 @@ - - - - - - - - - - - - - - diff --git a/app/nl/index.html b/app/nl/index.html new file mode 100644 index 0000000..534e977 --- /dev/null +++ b/app/nl/index.html @@ -0,0 +1,80 @@ + + + + + Speed Test by Measurement Lab + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/ru/index.html b/app/ru/index.html new file mode 100644 index 0000000..8ea2ffe --- /dev/null +++ b/app/ru/index.html @@ -0,0 +1,80 @@ + + + + + Speed Test by Measurement Lab + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/zh/index.html b/app/zh/index.html new file mode 100644 index 0000000..26bce67 --- /dev/null +++ b/app/zh/index.html @@ -0,0 +1,80 @@ + + + + + Speed Test by Measurement Lab + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/gulpfile.js b/gulpfile.js index 2a0723d..3353766 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -1,11 +1,11 @@ var gulp = require('gulp'); -var gulp_inject = require('gulp-inject'); +var inject = require('gulp-inject'); var gettext = require('gulp-angular-gettext'); function inject(cb) { - gulp.src('./app/index.html') - .pipe(gulp_inject(gulp.src('./app/assets/translations/*.js', {read: false}), {relative: true})) - .pipe(gulp.dest('app')); + gulp.src('www/index.html') + .pipe(inject(gulp.src('www/translations/scripts/*.js', {read: false}), {relative: true, name: 'translations'})) + .pipe(gulp.dest('www')); cb(); };