{% extends "mail/base.html" %}

{% load i18n %}{% load translations %}

{% block content %}
<p>
{% trans "Hi,"%}
</p>

{% if was_added %}
<p>
{% blocktrans %}New language has been added to {{ component }} at {{ site_title }}.{% endblocktrans %}
</p>

<table>
<tr>

<th>
{% trans "Added language:" %}

</th>
{% else %}
<p>
{% blocktrans %}There has been a request for new language on {{ component }} at {{ site_title }}.{% endblocktrans %}
</p>

<p>
{% trans "Please add the language file to VCS, Weblate will automatically discover it upon next update." %}
</p>

<p>
<a href="{% documentation 'devel/translations' 'adding-translation' %}"> 
{% trans "More information on adding new language files is to be found in the documentation." %}
</a>
</p>

<table>
<tr>

<th>
{% trans "Requested language:" %}

</th>
{% endif %}

<td>
{{ language }} ({{ language.code }})
</td>
</tr>

<tr>
<th>{% trans "Requested by:" %}</th>
<td>{{ user.get_visible_name }}</td>
</tr>

<tr>
<th>{% trans "Translation component:" %}</th>
<td><a href="{{ current_site_url }}{{ component.get_absolute_url }}">{{ component }}</a></td>
</tr>

</table>

{% endblock %}
