Updated translations for import dialog.

This commit is contained in:
Jan Böhmer 2019-04-13 18:38:39 +02:00
parent 453e7132c0
commit be5d33c624
3 changed files with 145 additions and 23 deletions

View file

@ -5,10 +5,6 @@
{{- block('form_widget_simple') -}}
{% endblock %}
{% block checkbox_widget %}
{# {% set parent_label_class=(parent_label_class|default(label_attr.class|default(''))) ~ ' checkbox-custom' %} #}
{{ parent() }}
{% endblock %}
{% block form_label_class -%}
col-3
@ -17,21 +13,3 @@
{% block form_group_class -%}
col-9
{%- endblock form_group_class %}
{#
{% block checkbox_widget -%}
{%- set parent_label_class = parent_label_class|default(label_attr.class|default('')) -%}
{%- if 'checkbox-custom' in parent_label_class -%}
{%- set attr = attr|merge({class: (attr.class|default('') ~ ' custom-control-input')|trim}) -%}
<div class="custom-control custom-checkbox{{ 'checkbox-inline' in parent_label_class ? ' custom-control-inline' }}">
{{- form_label(form, null, { widget: parent() }) -}}
</div>
{%- else -%}
{%- set attr = attr|merge({class: (attr.class|default('') ~ ' form-check-input')|trim}) -%}
<div class="form-check abc-checkbox {{ 'checkbox-inline' in parent_label_class ? ' form-check-inline' }}">
{{- form_label(form, null, { widget: parent() }) -}}
</div>
{%- endif -%}
{%- endblock checkbox_widget %}
#}

View file

@ -813,5 +813,77 @@
Subelemente werden beim Löschen nach oben verschoben.</target>
</segment>
</unit>
<unit id="2xohoLw" name="JSON">
<segment>
<source>JSON</source>
<target>JSON</target>
</segment>
</unit>
<unit id="k5fWSN4" name="import_export.label">
<segment>
<source>import_export.label</source>
<target>Import / Export</target>
</segment>
</unit>
<unit id="QGWOmvj" name="XML">
<segment>
<source>XML</source>
<target>XML</target>
</segment>
</unit>
<unit id="62tC9Ux" name="CSV">
<segment>
<source>CSV</source>
<target>CSV</target>
</segment>
</unit>
<unit id="m26KvkJ" name="YAML">
<segment>
<source>YAML</source>
<target>YAML</target>
</segment>
</unit>
<unit id="Peaf8Qu" name="import.csv_separator">
<segment>
<source>import.csv_separator</source>
<target>CSV Trennzeichen</target>
</segment>
</unit>
<unit id="VteZCnR" name="import.file">
<segment>
<source>import.file</source>
<target>Datei</target>
</segment>
</unit>
<unit id="0ybwwKw" name="import.preserve_children">
<segment>
<source>import.preserve_children</source>
<target>Importiere auch Unterelemente</target>
</segment>
</unit>
<unit id="yyIAudL" name="import.abort_on_validation">
<segment>
<source>import.abort_on_validation</source>
<target>Breche bei Invaliden Daten ab</target>
</segment>
</unit>
<unit id="_JM6Jxg" name="import.abort_on_validation.help">
<segment>
<source>import.abort_on_validation.help</source>
<target>Wenn diese Option aktiviert ist, wird der Import komplett abgebrochen, wenn ungültige Daten gefunden werden. Deaktiviere diese Option, damit zumindest die gültigen Elemente importiert werden.</target>
</segment>
</unit>
<unit id="d0GsgCW" name="import.btn">
<segment>
<source>import.btn</source>
<target>Importieren</target>
</segment>
</unit>
<unit id="R949JGz" name="export_all.label">
<segment>
<source>export_all.label</source>
<target>Alles exportieren</target>
</segment>
</unit>
</file>
</xliff>

View file

@ -795,5 +795,77 @@ Subelements will be moved upwards.]]></target>
<target>New element</target>
</segment>
</unit>
<unit id="k5fWSN4" name="import_export.label">
<segment>
<source>import_export.label</source>
<target>Import / Export</target>
</segment>
</unit>
<unit id="2xohoLw" name="JSON">
<segment>
<source>JSON</source>
<target>JSON</target>
</segment>
</unit>
<unit id="QGWOmvj" name="XML">
<segment>
<source>XML</source>
<target>XML</target>
</segment>
</unit>
<unit id="62tC9Ux" name="CSV">
<segment>
<source>CSV</source>
<target>CSV</target>
</segment>
</unit>
<unit id="m26KvkJ" name="YAML">
<segment>
<source>YAML</source>
<target>YAML</target>
</segment>
</unit>
<unit id="Peaf8Qu" name="import.csv_separator">
<segment>
<source>import.csv_separator</source>
<target>CSV separator</target>
</segment>
</unit>
<unit id="VteZCnR" name="import.file">
<segment>
<source>import.file</source>
<target>File</target>
</segment>
</unit>
<unit id="0ybwwKw" name="import.preserve_children">
<segment>
<source>import.preserve_children</source>
<target>Preserve child elements on import</target>
</segment>
</unit>
<unit id="yyIAudL" name="import.abort_on_validation">
<segment>
<source>import.abort_on_validation</source>
<target>Abort on invalid data</target>
</segment>
</unit>
<unit id="_JM6Jxg" name="import.abort_on_validation.help">
<segment>
<source>import.abort_on_validation.help</source>
<target>When this option is enabled, the whole import process is aborted, when encountering invalid data. Disable to import at least the valid data.</target>
</segment>
</unit>
<unit id="R949JGz" name="export_all.label">
<segment>
<source>export_all.label</source>
<target>Export all elements</target>
</segment>
</unit>
<unit id="d0GsgCW" name="import.btn">
<segment>
<source>import.btn</source>
<target>Import</target>
</segment>
</unit>
</file>
</xliff>