Merge pull request #3780 from emanuelschuetze/translations

Updated German translations.
This commit is contained in:
Emanuel Schütze 2018-07-13 14:07:40 +02:00 committed by GitHub
commit 166d287a75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 1040 additions and 757 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -37,10 +37,11 @@ angular.module('OpenSlidesApp.motions.workflow', [])
'MotionState', 'MotionState',
'workflowId', 'workflowId',
'ngDialog', 'ngDialog',
'gettext',
'gettextCatalog', 'gettextCatalog',
'ErrorMessage', 'ErrorMessage',
function ($scope, $sessionStorage, permissions, Workflow, MotionState, workflowId, function ($scope, $sessionStorage, permissions, Workflow, MotionState, workflowId,
ngDialog, gettextCatalog, ErrorMessage) { ngDialog, gettext, gettextCatalog, ErrorMessage) {
$scope.permissions = permissions; $scope.permissions = permissions;
$scope.alert = {}; $scope.alert = {};
@ -56,29 +57,29 @@ angular.module('OpenSlidesApp.motions.workflow', [])
$scope.booleanMembers = [ $scope.booleanMembers = [
{name: 'allow_support', {name: 'allow_support',
displayName: 'Allow support',}, displayName: gettext('Allow support'),},
{name: 'allow_create_poll', {name: 'allow_create_poll',
displayName: 'Allow create poll',}, displayName: gettext('Allow create poll'),},
{name: 'allow_submitter_edit', {name: 'allow_submitter_edit',
displayName: 'Allow submitter edit',}, displayName: gettext('Allow submitter edit'),},
{name: 'versioning', {name: 'versioning',
displayName: 'Versioning',}, displayName: gettext('Versioning'),},
{name: 'leave_old_version_active', {name: 'leave_old_version_active',
displayName: 'Leave old version active',}, displayName: gettext('Leave old version active'),},
{name: 'dont_set_identifier', {name: 'dont_set_identifier',
displayName: 'Set identifier', displayName: gettext('Set identifier'),
inverse: true,}, inverse: true,},
{name: 'show_state_extension_field', {name: 'show_state_extension_field',
displayName: 'Show state extension field',}, displayName: gettext('Show state extension field'),},
{name: 'show_recommendation_extension_field', {name: 'show_recommendation_extension_field',
displayName: 'Show recommendation extension field',} displayName: gettext('Show recommendation extension field'),}
]; ];
$scope.cssClasses = { $scope.cssClasses = {
'danger': 'Red', 'danger': gettext('Red'),
'success': 'Green', 'success': gettext('Green'),
'warning': 'Yellow', 'warning': gettext('Yellow'),
'default': 'Grey', 'default': gettext('Grey'),
'primary': 'Blue', 'primary': gettext('Blue'),
}; };
$scope.getPermissionDisplayName = function (permission) { $scope.getPermissionDisplayName = function (permission) {
if (permission) { if (permission) {

View File

@ -135,7 +135,7 @@
<span uib-dropdown> <span uib-dropdown>
<span id="dropdownCssClass{{ state.id }}" class="pointer" uib-dropdown-toggle> <span id="dropdownCssClass{{ state.id }}" class="pointer" uib-dropdown-toggle>
<span class="label" ng-class="'label-' + state.css_class"> <span class="label" ng-class="'label-' + state.css_class">
{{ cssClasses[state.css_class] }} {{ cssClasses[state.css_class] | translate }}
</span> </span>
<i class="fa fa-cog" ng-if="tdHover"></i> <i class="fa fa-cog" ng-if="tdHover"></i>
</span> </span>
@ -183,7 +183,7 @@
<b translate>Next states</b> <b translate>Next states</b>
</td> </td>
<td ng-repeat="state in workflow.states" ng-mouseover="tdHover=true" ng-mouseleave="tdHover=false"> <td ng-repeat="state in workflow.states" ng-mouseover="tdHover=true" ng-mouseleave="tdHover=false">
<span ng-if="state.getNextStates().length === 0" class="text-muted" translate> <span ng-if="state.getNextStates().length === 0" class="text-muted">
&mdash; &mdash;
</span> </span>
<div class="no-overflow"> <div class="no-overflow">