diff --git a/openslides/mediafiles/static/js/mediafiles/site.js b/openslides/mediafiles/static/js/mediafiles/site.js
index b256b7d8b..17f085811 100644
--- a/openslides/mediafiles/static/js/mediafiles/site.js
+++ b/openslides/mediafiles/static/js/mediafiles/site.js
@@ -20,12 +20,16 @@ angular.module('OpenSlidesApp.mediafiles.site', ['ngFileUpload', 'OpenSlidesApp.
.config([
'$stateProvider',
- function($stateProvider) {
+ 'gettext',
+ function($stateProvider, gettext) {
$stateProvider
.state('mediafiles', {
url: '/mediafiles',
abstract: true,
template: "
",
+ data: {
+ title: gettext('Files'),
+ },
})
.state('mediafiles.mediafile', {
abstract: true,
diff --git a/openslides/motions/static/js/motions/site.js b/openslides/motions/static/js/motions/site.js
index 7441ea606..20f6f9d44 100644
--- a/openslides/motions/static/js/motions/site.js
+++ b/openslides/motions/static/js/motions/site.js
@@ -26,12 +26,16 @@ angular.module('OpenSlidesApp.motions.site', [
.config([
'$stateProvider',
- function($stateProvider) {
+ 'gettext',
+ function($stateProvider, gettext) {
$stateProvider
.state('motions', {
url: '/motions',
abstract: true,
template: "
",
+ data: {
+ title: gettext('Motions'),
+ },
})
.state('motions.motion', {
abstract: true,
@@ -170,6 +174,9 @@ angular.module('OpenSlidesApp.motions.site', [
url: '/category',
abstract: true,
template: "
",
+ data: {
+ title: gettext('Categories'),
+ },
})
.state('motions.category.list', {
resolve: {
@@ -209,6 +216,9 @@ angular.module('OpenSlidesApp.motions.site', [
url: '/blocks',
abstract: true,
template: '
',
+ data: {
+ title: gettext('Motion blocks'),
+ },
})
.state('motions.motionBlock.list', {
resolve: {
@@ -1043,12 +1053,11 @@ angular.module('OpenSlidesApp.motions.site', [
'Config',
'motion',
'MotionInlineEditing',
- 'gettextCatalog',
'Projector',
'ProjectionDefault',
function($scope, $http, operator, ngDialog, MotionForm,
ChangeRecommmendationCreate, ChangeRecommmendationView, MotionChangeRecommendation, MotionPDFExport,
- Motion, MotionComment, Category, Mediafile, Tag, User, Workflow, Config, motion, MotionInlineEditing, gettextCatalog,
+ Motion, MotionComment, Category, Mediafile, Tag, User, Workflow, Config, motion, MotionInlineEditing,
Projector, ProjectionDefault) {
Category.bindAll({}, $scope, 'categories');
Mediafile.bindAll({}, $scope, 'mediafiles');
diff --git a/openslides/topics/static/js/topics/site.js b/openslides/topics/static/js/topics/site.js
index efdf1cd76..d17e32d72 100644
--- a/openslides/topics/static/js/topics/site.js
+++ b/openslides/topics/static/js/topics/site.js
@@ -6,12 +6,16 @@ angular.module('OpenSlidesApp.topics.site', ['OpenSlidesApp.topics'])
.config([
'$stateProvider',
- function($stateProvider) {
+ 'gettext',
+ function($stateProvider, gettext) {
$stateProvider
.state('topics', {
url: '/topics',
abstract: true,
template: "
",
+ data: {
+ title: gettext('Topics'),
+ },
})
.state('topics.topic', {
diff --git a/openslides/users/static/js/users/site.js b/openslides/users/static/js/users/site.js
index 55ab08d4d..c8340eefd 100644
--- a/openslides/users/static/js/users/site.js
+++ b/openslides/users/static/js/users/site.js
@@ -24,12 +24,16 @@ angular.module('OpenSlidesApp.users.site', [
.config([
'$stateProvider',
- function($stateProvider) {
+ 'gettext',
+ function($stateProvider, gettext) {
$stateProvider
.state('users', {
url: '/users',
abstract: true,
template: "
",
+ data: {
+ title: gettext('Participants'),
+ },
})
.state('users.user', {
abstract: true,
@@ -123,6 +127,9 @@ angular.module('OpenSlidesApp.users.site', [
url: '/groups',
abstract: true,
template: "
",
+ data: {
+ title: gettext('Groups'),
+ },
})
.state('users.group.list', {
resolve: {
@@ -146,7 +153,10 @@ angular.module('OpenSlidesApp.users.site', [
closeByEscape: $stateParams.guest_enabled,
closeByDocument: $stateParams.guest_enabled,
});
- }]
+ }],
+ data: {
+ title: 'Login',
+ },
});
}
])