{% extends "base.html" %} {% load i18n %} {% load permissions %} {% load translations %} {% load crispy_forms_tags %} {% block breadcrumbs %}
  • {{ object.project }}
  • {{ object.name }}
  • {% endblock %} {% block content %} {% whiteboard_messages component=object %} {% perm 'meta:vcs.status' object as user_can_see_repository_status %} {% perm 'vcs.commit' object as user_can_commit_translation %} {% perm 'project.permissions' object as user_can_manage_acl %} {% perm 'reports.view' object as user_can_view_reports %} {% perm 'translation.add' object as user_can_add_translation %} {% perm 'component.edit' object as user_can_edit_component %} {% include "show-component-state.html" %}
    {% include "list-translations.html" %}

    {% include "legend.html" %}

    {% if object.can_add_language %}

    {% if user_can_add_translation %} {% trans "Start new translation" %} {% else %} {% endif %}

    {% endif %}
    {% for alert in object.alert_set.all %}
    {{ alert }}
    {{ alert.render }}
    {% endfor %}
    {% include "component_info.html" %} {% include "project_stats.html" %}
    {% if replace_form %}

    {% trans "Search and replace" %}

    {% trans "You can replace a string in all strings at once. The search is a simple substring case sensitive search." %}

    {% csrf_token %} {{ replace_form|crispy }}
    {% if mass_state_form %}

    {% trans "Mass state change" %}

    {% trans "You can change state of all strings matching given type at once." %}

    {% csrf_token %} {{ mass_state_form|crispy }}
    {% endif %}
    {% endif %}
    {% include "last-changes-content.html" %} {% trans "Browse all component changes" %}
    {% include "activity-tab.html" %} {% if delete_form %} {% include "trans/delete-form.html" %} {% endif %} {% if user_can_see_repository_status %}

    {% trans "Loading…" %}

    {% endif %} {% if user_can_view_reports %}

    {% documentation_icon 'devel/reporting' 'credits' right=True %} {% trans "Credits" %}

    {% trans "Credits list all translators who have contributed to this component in a given time period. It can be useful for including in your documentation or application to thank translators." %}

    {% crispy reports_form %}

    {% documentation_icon 'devel/reporting' 'stats' right=True %} {% trans "Contributor stats" %}

    {% trans "Reports number of strings and words translated by each translator." %}

    {% crispy reports_form %}
    {% endif %}
    {% endblock %}