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

View File

@ -135,7 +135,7 @@
<span uib-dropdown>
<span id="dropdownCssClass{{ state.id }}" class="pointer" uib-dropdown-toggle>
<span class="label" ng-class="'label-' + state.css_class">
{{ cssClasses[state.css_class] }}
{{ cssClasses[state.css_class] | translate }}
</span>
<i class="fa fa-cog" ng-if="tdHover"></i>
</span>
@ -183,7 +183,7 @@
<b translate>Next states</b>
</td>
<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;
</span>
<div class="no-overflow">