Fixed gulp 'pot' task. Fixed typos in translation strings.
This commit is contained in:
parent
352e32334e
commit
0ce0b9cd18
@ -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
|
// Extracts translatable strings using angular-gettext and saves them in file
|
||||||
// openslides/locale/angular-gettext/template-en.pot.
|
// openslides/locale/angular-gettext/template-en.pot.
|
||||||
gulp.task('pot', function () {
|
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'])
|
'openslides/*/static/js/*/*.js'])
|
||||||
.pipe(gettext.extract('template-en.pot', {}))
|
.pipe(gettext.extract('template-en.pot', {}))
|
||||||
.pipe(gulp.dest('openslides/locale/angular-gettext/'));
|
.pipe(gulp.dest('openslides/locale/angular-gettext/'));
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<div class="header">
|
<div class="header">
|
||||||
<div class="title">
|
<div class="title">
|
||||||
<h1 translate>Legal Notice</h1>
|
<h1 translate>Legal notice</h1>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -67,7 +67,7 @@
|
|||||||
<!-- TODO: show filename / title of mediafile -->
|
<!-- TODO: show filename / title of mediafile -->
|
||||||
<nav ng-class="getNavStyle(scroll)" class="form-inline">
|
<nav ng-class="getNavStyle(scroll)" class="form-inline">
|
||||||
<div class="btn-group">
|
<div class="btn-group">
|
||||||
<button class="btn btn-default" ng-click="mediafileGoPrevious()" title="{{ 'Previouse page' | translate }}">
|
<button class="btn btn-default" ng-click="mediafileGoPrevious()" title="{{ 'Previous page' | translate }}">
|
||||||
<i class="fa fa-backward"></i>
|
<i class="fa fa-backward"></i>
|
||||||
</button>
|
</button>
|
||||||
<button class="btn btn-default" ng-click="mediafileGoNext()" title="{{ 'Next page' | translate }}">
|
<button class="btn btn-default" ng-click="mediafileGoNext()" title="{{ 'Next page' | translate }}">
|
||||||
|
Loading…
Reference in New Issue
Block a user