{% extends "base.html" %} {% load i18n %} {% load permissions %} {% load translations %} {% load crispy_forms_tags %} {% block content %} {% whiteboard_messages %} {% perm 'reports.view' None as user_can_view_reports %}
{% if user.is_authenticated %}
{% if watched_projects %} {% if usersubscriptions %} {% include "snippets/list-objects.html" with objects=usersubscriptions name_template="snippets/list-component-name-language.html" label=_("Component") hide_completed=user.profile.hide_completed %} {% include "paginator.html" with page_obj=usersubscriptions anchor='your-subscriptions' %} {% 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 %}

{% trans "Manage your languages" %} {% trans "Manage watched projects" %}

{% if userlanguages %} {% include "snippets/list-objects.html" with objects=userlanguages name_template="snippets/list-component-name-language.html" label=_("Component") %} {% include "paginator.html" with page_obj=userlanguages anchor='your-languages' %} {% else %}

{% trans "Choose languages you speak in the preferences, to see an overview of all projects that feature those languages here." %}

{% endif %} {# userlanguages #}

{% trans "Manage your languages" %}

{% endif %} {# user.is_authenticated #} {% if all_componentlists %}
{% include "snippets/list-objects.html" with objects=all_componentlists name_template="snippets/list-object-name.html" label=_("Component list") %}
{% endif %} {# Suggested translations #}
{% if suggestions %} {% include "snippets/list-objects.html" with objects=suggestions name_template="snippets/list-component-name-language.html" label=_("Component") %} {% else %}

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

{% endif %} {% if user.is_authenticated %}

{% trans "Manage your languages" %}

{% else %}

{% trans "Register to manage your languages" %}

{% endif %}
{% for componentlist in componentlists %}
{% include "snippets/list-objects.html" with objects=componentlist.translations name_template="snippets/list-component-name-language.html" label=_("Component") %}

{% trans "Manage your languages" %}

{% endfor %} {% include "activity-tab.html" %} {% if user_can_view_reports %}

{% 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 %}
{% endif %}
{% endblock %}