{% extends "base.html" %} {% load i18n %} {% load permissions %} {% load translations %} {% load crispy_forms_tags %} {% block breadcrumbs %}
  • {{ object.project }}
  • {{ object.name }} {% indicate_alerts object %}
  • {% 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 substitute all instances of a string. The search is a simple substring case sensitive search." %}

    {% csrf_token %} {{ replace_form|crispy }}
    {% endif %} {% if bulk_state_form %}

    {% trans "Bulk status change" %}

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

    {% csrf_token %} {{ bulk_state_form|crispy }}
    {% endif %}
    {% include "last-changes-content.html" %} {% trans "Browse all component changes" %}
    {% include "activity-tab.html" %} {% if whiteboard_form %}

    {% trans "Add a component message" %}

    {% csrf_token %} {{ whiteboard_form|crispy }}

    {% trans "The message is shown for all translations within the component, until its given expiry, or permanently until it is deleted." %}

    {% endif %} {% if delete_form %} {% include "trans/delete-form.html" %} {% endif %} {% if rename_form %}

    {% trans "Rename component" %}

    {% trans "Renaming the component will change all its URLs, users will have to update bookmarks or references in cloned repositories!" %}

    {% crispy rename_form %}

    {% trans "Move component" %}

    {% trans "Moving the component will change all its URLs, users will have to update bookmarks or references in cloned repositories!" %}

    {% crispy move_form %}
    {% 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 "Lists all translators contributing to this component in a given time period. Useful for inclusion in documentation or the app itself, to thank translators and generate feedback to them." %}

    {% crispy reports_form %}

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

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

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