{% extends "base.html" %} {% load i18n %} {% load translations %} {% load crispy_forms_tags %} {% block content %} {% if not user.is_authenticated %}

{% if demo_server %} {% blocktrans %}This site runs {{ weblate_name_link }} demo server.{% endblocktrans %} {% else %} {% blocktrans %}This site runs {{ weblate_name_link }} for translating the software projects listed below.{% endblocktrans %} {% endif %} {% trans "You need to be logged in to translate, otherwise you can only make suggestions." %}

{% endif %} {% whiteboard_messages %}
{% if user.is_authenticated %}
{% if subscribed_projects %} {% if usersubscriptions %} {% include "list-translations.html" with translations=usersubscriptions show_language=2 hide_completed=user.profile.hide_completed %}

{% include "legend.html" %}

{% else %} {% include "list-projects.html" with projects=subscribed_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 "list-translations.html" with translations=userlanguages show_language=2 %}

{% include "legend.html" %}

{% 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 "list-translations.html" with translations=all_componentlists show_language=3 %}

{% include "legend.html" %}

{% endif %} {# Suggested translations #}
{% if suggestions %} {% include "list-translations.html" with translations=suggestions show_language=2 %}

{% include "legend.html" %}

{% 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 "list-translations.html" with translations=componentlist.translations show_language=2 %}

{% include "legend.html" %}

{% trans "Manage your languages" %}

{% endfor %} {% include "activity-tab.html" %}
{% endblock %}