{% extends "base.html" %} {% load i18n %} {% load permissions %} {% load translations %} {% load crispy_forms_tags %} {% load icons %} {% block content %} {% announcements %}
{% icon "settings.svg" %}
{% perm 'reports.view' None as user_can_view_reports %}
{% if watched_projects %} {% if usersubscriptions %} {% include "snippets/list-objects.html" with objects=usersubscriptions label=_("Translation") hide_completed=user.profile.hide_completed name_source="translation" %} {% include "paginator.html" with page_obj=usersubscriptions %} {% else %} {% include "list-projects.html" with projects=watched_projects %} {% endif %} {% else %}

{% trans "Choose what languages you want in the preferences, to see overview of available translations for those languages in your watched projects." %}

{% endif %}
{% if all_componentlists %}
{% include "snippets/list-objects.html" with objects=all_componentlists label=_("Component list") %}
{% endif %} {# Suggested translations #}
{% if suggestions %} {% include "snippets/list-objects.html" with objects=suggestions label=_("Translation") name_source="translation" %} {% else %}

{% trans "Could not find any suggestions for you, please choose your languages in the preferences to get some." %}

{% endif %}
{% for componentlist in componentlists %}
{% include "snippets/list-objects.html" with objects=componentlist.translations label=_("Translation") name_source="translation" %}
{% endfor %}
{% if not user_can_view_reports %} {% trans "You don't have permission to view reports for all users, only your contributions will be listed." as msg %} {% show_message "warning" msg %} {% endif %}

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

{% trans "Lists all translators contributing 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 %}
{% endblock %}