Fix translation strings.
This commit is contained in:
parent
8a03c15c35
commit
7229c8dc3a
@ -24,7 +24,7 @@ def setup_motion_config(sender, **kwargs):
|
|||||||
label=ugettext_lazy('Workflow of new motions'),
|
label=ugettext_lazy('Workflow of new motions'),
|
||||||
choices=({'value': str(workflow.pk), 'display_name': ugettext_lazy(workflow.name)} for workflow in Workflow.objects.all()),
|
choices=({'value': str(workflow.pk), 'display_name': ugettext_lazy(workflow.name)} for workflow in Workflow.objects.all()),
|
||||||
weight=310,
|
weight=310,
|
||||||
group=ugettext_lazy('Motion'),
|
group=ugettext_lazy('Motions'),
|
||||||
subgroup=ugettext_lazy('General'))
|
subgroup=ugettext_lazy('General'))
|
||||||
|
|
||||||
yield ConfigVariable(
|
yield ConfigVariable(
|
||||||
@ -37,7 +37,7 @@ def setup_motion_config(sender, **kwargs):
|
|||||||
{'value': 'serially_numbered', 'display_name': ugettext_lazy('Serially numbered')},
|
{'value': 'serially_numbered', 'display_name': ugettext_lazy('Serially numbered')},
|
||||||
{'value': 'manually', 'display_name': ugettext_lazy('Set it manually')}),
|
{'value': 'manually', 'display_name': ugettext_lazy('Set it manually')}),
|
||||||
weight=315,
|
weight=315,
|
||||||
group=ugettext_lazy('Motion'),
|
group=ugettext_lazy('Motions'),
|
||||||
subgroup=ugettext_lazy('General'))
|
subgroup=ugettext_lazy('General'))
|
||||||
|
|
||||||
yield ConfigVariable(
|
yield ConfigVariable(
|
||||||
@ -45,7 +45,7 @@ def setup_motion_config(sender, **kwargs):
|
|||||||
default_value=_('The assembly may decide,'),
|
default_value=_('The assembly may decide,'),
|
||||||
label=ugettext_lazy('Motion preamble'),
|
label=ugettext_lazy('Motion preamble'),
|
||||||
weight=320,
|
weight=320,
|
||||||
group=ugettext_lazy('Motion'),
|
group=ugettext_lazy('Motions'),
|
||||||
subgroup=ugettext_lazy('General'),
|
subgroup=ugettext_lazy('General'),
|
||||||
translatable=True)
|
translatable=True)
|
||||||
|
|
||||||
@ -55,7 +55,7 @@ def setup_motion_config(sender, **kwargs):
|
|||||||
input_type='boolean',
|
input_type='boolean',
|
||||||
label=ugettext_lazy('Stop submitting new motions by non-staff users'),
|
label=ugettext_lazy('Stop submitting new motions by non-staff users'),
|
||||||
weight=325,
|
weight=325,
|
||||||
group=ugettext_lazy('Motion'),
|
group=ugettext_lazy('Motions'),
|
||||||
subgroup=ugettext_lazy('General'))
|
subgroup=ugettext_lazy('General'))
|
||||||
|
|
||||||
yield ConfigVariable(
|
yield ConfigVariable(
|
||||||
@ -64,7 +64,7 @@ def setup_motion_config(sender, **kwargs):
|
|||||||
input_type='boolean',
|
input_type='boolean',
|
||||||
label=ugettext_lazy('Allow to disable versioning'),
|
label=ugettext_lazy('Allow to disable versioning'),
|
||||||
weight=330,
|
weight=330,
|
||||||
group=ugettext_lazy('Motion'),
|
group=ugettext_lazy('Motions'),
|
||||||
subgroup=ugettext_lazy('General'))
|
subgroup=ugettext_lazy('General'))
|
||||||
|
|
||||||
# Amendments
|
# Amendments
|
||||||
@ -76,7 +76,7 @@ def setup_motion_config(sender, **kwargs):
|
|||||||
label=ugettext_lazy('Activate amendments'),
|
label=ugettext_lazy('Activate amendments'),
|
||||||
hidden=True,
|
hidden=True,
|
||||||
weight=335,
|
weight=335,
|
||||||
group=ugettext_lazy('Motion'),
|
group=ugettext_lazy('Motions'),
|
||||||
subgroup=ugettext_lazy('Amendments'))
|
subgroup=ugettext_lazy('Amendments'))
|
||||||
|
|
||||||
yield ConfigVariable(
|
yield ConfigVariable(
|
||||||
@ -85,7 +85,7 @@ def setup_motion_config(sender, **kwargs):
|
|||||||
label=ugettext_lazy('Prefix for the identifier for amendments'),
|
label=ugettext_lazy('Prefix for the identifier for amendments'),
|
||||||
hidden=True,
|
hidden=True,
|
||||||
weight=340,
|
weight=340,
|
||||||
group=ugettext_lazy('Motion'),
|
group=ugettext_lazy('Motions'),
|
||||||
subgroup=ugettext_lazy('Amendments'))
|
subgroup=ugettext_lazy('Amendments'))
|
||||||
|
|
||||||
# Supporters
|
# Supporters
|
||||||
@ -97,7 +97,7 @@ def setup_motion_config(sender, **kwargs):
|
|||||||
label=ugettext_lazy('Number of (minimum) required supporters for a motion'),
|
label=ugettext_lazy('Number of (minimum) required supporters for a motion'),
|
||||||
help_text=ugettext_lazy('Choose 0 to disable the supporting system.'),
|
help_text=ugettext_lazy('Choose 0 to disable the supporting system.'),
|
||||||
weight=345,
|
weight=345,
|
||||||
group=ugettext_lazy('Motion'),
|
group=ugettext_lazy('Motions'),
|
||||||
subgroup=ugettext_lazy('Supporters'),
|
subgroup=ugettext_lazy('Supporters'),
|
||||||
validators=(MinValueValidator(0),))
|
validators=(MinValueValidator(0),))
|
||||||
|
|
||||||
@ -107,7 +107,7 @@ def setup_motion_config(sender, **kwargs):
|
|||||||
input_type='boolean',
|
input_type='boolean',
|
||||||
label=ugettext_lazy('Remove all supporters of a motion if a submitter edits his motion in early state'),
|
label=ugettext_lazy('Remove all supporters of a motion if a submitter edits his motion in early state'),
|
||||||
weight=350,
|
weight=350,
|
||||||
group=ugettext_lazy('Motion'),
|
group=ugettext_lazy('Motions'),
|
||||||
subgroup=ugettext_lazy('Supporters'))
|
subgroup=ugettext_lazy('Supporters'))
|
||||||
|
|
||||||
# Voting and ballot papers
|
# Voting and ballot papers
|
||||||
@ -119,7 +119,7 @@ def setup_motion_config(sender, **kwargs):
|
|||||||
label=ugettext_lazy('The 100 % base of a voting result consists of'),
|
label=ugettext_lazy('The 100 % base of a voting result consists of'),
|
||||||
choices=PERCENT_BASE_CHOICES,
|
choices=PERCENT_BASE_CHOICES,
|
||||||
weight=355,
|
weight=355,
|
||||||
group=ugettext_lazy('Motion'),
|
group=ugettext_lazy('Motions'),
|
||||||
subgroup=ugettext_lazy('Voting and ballot papers'))
|
subgroup=ugettext_lazy('Voting and ballot papers'))
|
||||||
|
|
||||||
yield ConfigVariable(
|
yield ConfigVariable(
|
||||||
@ -132,7 +132,7 @@ def setup_motion_config(sender, **kwargs):
|
|||||||
{'value': 'NUMBER_OF_ALL_PARTICIPANTS', 'display_name': ugettext_lazy('Number of all participants')},
|
{'value': 'NUMBER_OF_ALL_PARTICIPANTS', 'display_name': ugettext_lazy('Number of all participants')},
|
||||||
{'value': 'CUSTOM_NUMBER', 'display_name': ugettext_lazy('Use the following custom number')}),
|
{'value': 'CUSTOM_NUMBER', 'display_name': ugettext_lazy('Use the following custom number')}),
|
||||||
weight=360,
|
weight=360,
|
||||||
group=ugettext_lazy('Motion'),
|
group=ugettext_lazy('Motions'),
|
||||||
subgroup=ugettext_lazy('Voting and ballot papers'))
|
subgroup=ugettext_lazy('Voting and ballot papers'))
|
||||||
|
|
||||||
yield ConfigVariable(
|
yield ConfigVariable(
|
||||||
@ -141,7 +141,7 @@ def setup_motion_config(sender, **kwargs):
|
|||||||
input_type='integer',
|
input_type='integer',
|
||||||
label=ugettext_lazy('Custom number of ballot papers'),
|
label=ugettext_lazy('Custom number of ballot papers'),
|
||||||
weight=365,
|
weight=365,
|
||||||
group=ugettext_lazy('Motion'),
|
group=ugettext_lazy('Motions'),
|
||||||
subgroup=ugettext_lazy('Voting and ballot papers'),
|
subgroup=ugettext_lazy('Voting and ballot papers'),
|
||||||
validators=(MinValueValidator(1),))
|
validators=(MinValueValidator(1),))
|
||||||
|
|
||||||
@ -152,7 +152,7 @@ def setup_motion_config(sender, **kwargs):
|
|||||||
default_value=_('Motions'),
|
default_value=_('Motions'),
|
||||||
label=ugettext_lazy('Title for PDF document (all motions)'),
|
label=ugettext_lazy('Title for PDF document (all motions)'),
|
||||||
weight=370,
|
weight=370,
|
||||||
group=ugettext_lazy('Motion'),
|
group=ugettext_lazy('Motions'),
|
||||||
subgroup=ugettext_lazy('PDF'),
|
subgroup=ugettext_lazy('PDF'),
|
||||||
translatable=True)
|
translatable=True)
|
||||||
|
|
||||||
@ -161,7 +161,7 @@ def setup_motion_config(sender, **kwargs):
|
|||||||
default_value='',
|
default_value='',
|
||||||
label=ugettext_lazy('Preamble text for PDF document (all motions)'),
|
label=ugettext_lazy('Preamble text for PDF document (all motions)'),
|
||||||
weight=375,
|
weight=375,
|
||||||
group=ugettext_lazy('Motion'),
|
group=ugettext_lazy('Motions'),
|
||||||
subgroup=ugettext_lazy('PDF'))
|
subgroup=ugettext_lazy('PDF'))
|
||||||
|
|
||||||
yield ConfigVariable(
|
yield ConfigVariable(
|
||||||
@ -170,7 +170,7 @@ def setup_motion_config(sender, **kwargs):
|
|||||||
input_type='boolean',
|
input_type='boolean',
|
||||||
label=ugettext_lazy('Show paragraph numbering (only in PDF)'),
|
label=ugettext_lazy('Show paragraph numbering (only in PDF)'),
|
||||||
weight=380,
|
weight=380,
|
||||||
group=ugettext_lazy('Motion'),
|
group=ugettext_lazy('Motions'),
|
||||||
subgroup=ugettext_lazy('PDF'))
|
subgroup=ugettext_lazy('PDF'))
|
||||||
|
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
<form name="groupForm">
|
<form name="groupForm">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="inputName" translate>Name</label>
|
<label for="inputName" translate>Name</label>
|
||||||
<input type="text" ng-model="group.name|translate" class="form-control" name="inputName" required>
|
<input type="text" ng-model="group.name" class="form-control" name="inputName" required>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="selectPermissions" translate>Permissions</label>
|
<label for="selectPermissions" translate>Permissions</label>
|
||||||
|
@ -122,7 +122,7 @@
|
|||||||
{{ user.structure_level }}
|
{{ user.structure_level }}
|
||||||
<td>
|
<td>
|
||||||
<div ng-repeat="groupname in user.groupnames">
|
<div ng-repeat="groupname in user.groupnames">
|
||||||
<translate>{{ groupname }}</translate>
|
{{ groupname | translate }}
|
||||||
</div>
|
</div>
|
||||||
<td>
|
<td>
|
||||||
{{ user.comment }}
|
{{ user.comment }}
|
||||||
|
Loading…
Reference in New Issue
Block a user