From 0ce0b9cd184922435ed0c74a10c4b618da3fcef2 Mon Sep 17 00:00:00 2001 From: Emanuel Schuetze Date: Wed, 27 Jan 2016 22:11:24 +0100 Subject: [PATCH] Fixed gulp 'pot' task. Fixed typos in translation strings. --- gulpfile.js | 3 ++- openslides/core/static/templates/legalnotice.html | 2 +- .../mediafiles/static/templates/mediafiles/mediafile-list.html | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 62c6dc36e..5285a1f96 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -98,7 +98,8 @@ gulp.task('default', ['js-libs', 'css-libs', 'fonts-libs', 'ckeditor', 'pdfjs', // Extracts translatable strings using angular-gettext and saves them in file // openslides/locale/angular-gettext/template-en.pot. gulp.task('pot', function () { - return gulp.src(['openslides/*/static/templates/*/*.html', + return gulp.src(['openslides/core/static/templates/*.html', + 'openslides/*/static/templates/*/*.html', 'openslides/*/static/js/*/*.js']) .pipe(gettext.extract('template-en.pot', {})) .pipe(gulp.dest('openslides/locale/angular-gettext/')); diff --git a/openslides/core/static/templates/legalnotice.html b/openslides/core/static/templates/legalnotice.html index 75dd2760f..bd9d7e2b6 100644 --- a/openslides/core/static/templates/legalnotice.html +++ b/openslides/core/static/templates/legalnotice.html @@ -1,6 +1,6 @@
-

Legal Notice

+

Legal notice

diff --git a/openslides/mediafiles/static/templates/mediafiles/mediafile-list.html b/openslides/mediafiles/static/templates/mediafiles/mediafile-list.html index f9b07f3c9..ac093d1dd 100644 --- a/openslides/mediafiles/static/templates/mediafiles/mediafile-list.html +++ b/openslides/mediafiles/static/templates/mediafiles/mediafile-list.html @@ -67,7 +67,7 @@