{% extends "base.html" %} {% load crispy_forms_tags i18n static translations %} {% block extra_script %} {% endblock extra_script %} {% block breadcrumbs %} {% path_object_breadcrumbs path_object %} {% endblock breadcrumbs %} {% block content %}

{% translate "Review and confirm the bulk edit changes." %}

{% blocktranslate count counter=total %}{{ counter }} string would change.{% plural %}{{ counter }} strings would change.{% endblocktranslate %}

{% if limited %}

{% translate "Showing the first 250 changes. Only selected displayed strings will be processed unless you choose to apply all matching strings." %}

{% endif %}
{% csrf_token %} {% crispy form %}
{% csrf_token %}

{% translate "Applies to all current matches, including those not displayed. The query and permissions are checked again when applying changes." %}

{% for edit in matching %} {% endfor %}
{% translate "Select" %} {% translate "String" %} {% translate "Changes" %}
{% format_unit_source edit.unit %} {% if edit.state != None and edit.state != edit.unit.state %}

{% translate "State" %}: {{ edit.unit.get_state_display }} → {{ edit.state_label }}

{% endif %} {% if edit.target != None %}
{% translate "Before" %}: {% format_unit_target edit.unit %}
{% translate "After" %}: {% for plural in edit.target %}
{% if plural %}{{ plural }}{% else %}{% translate "Empty" %}{% endif %}
{% endfor %}
{% endif %} {% if edit.source_flags != None %}

{% translate "Source flags (all languages)" %}: {{ edit.unit.source_unit.extra_flags }} → {{ edit.source_flags }}

{% endif %} {% if edit.translation_flags != None %}

{% translate "Translation flags" %}: {{ edit.unit.extra_flags }} → {{ edit.translation_flags }}

{% endif %} {% for label in form.fields.add_labels.queryset %} {% if label.pk in edit.add_labels %}

{% translate "Add label (all languages)" %}: {{ label.name }}

{% endif %} {% endfor %} {% for label in form.fields.remove_labels.queryset %} {% if label.pk in edit.remove_labels %}

{% translate "Remove label (all languages)" %}: {{ label.name }}

{% endif %} {% endfor %}
{% endblock content %}