Update translations

This commit is contained in:
2020-05-15 10:31:22 +02:00
parent ee706cfe0f
commit 536dbf3d65
28 changed files with 1184 additions and 577 deletions

View File

@ -0,0 +1,35 @@
{% extends "admin/base_site.html" %}
{% load static %}
{% load i18n %}
<!-- custom filter module -->
{% load i18n_switcher %}
{% block extrahead %}
<link rel="shortcut icon" href="{% static 'RUG_template/images/favicon.ico' %}" />
<link rel="stylesheet" type="text/css" href="{% static 'RUG_template/css/custom_admin.css' %}"/>
{% endblock %}
{% block userlinks %}
{% get_current_language as LANGUAGE_CODE %}
{% get_available_languages as LANGUAGES %}
{% get_language_info_list for LANGUAGES as languages %}
{% for language in languages %}
<a href="{{ request|switch_i18n:language.code}}">
{% with 'RUG_template/images/flag-'|add:language.code|add:'.png' as image_static %}
<img class="i18n_flag" src="{% static image_static %}" title="{% trans 'Language' %} {{ language.name_translated }}"/>
{% endwith %}
</a> /
{% endfor %}
{% if user.is_active and user.is_staff %}
{% url 'django-admindocs-docroot' as docsroot %}
{% if docsroot %}
<a href="{{ docsroot }}">{% trans 'Documentation' %}</a> /
{% endif %}
{% endif %}
{% if user.has_usable_password %}
<a href="{% url 'admin:password_change' %}">{% trans 'Change password' %}</a> /
{% endif %}
<a href="{% url 'admin:logout' %}">{% trans 'Log out' %}</a>
{% endblock %}

View File

@ -7,9 +7,7 @@
<p>
<strong>{% trans "Login" %}</strong>
<br />
{% blocktrans %}
You can login here to create your schedules. If you do not have a login, please contact: some_one@rug.nl
{% endblocktrans %}
{% blocktrans %}You can login here to create your schedules. If you do not have a login, please contact: some_one@rug.nl{% endblocktrans %}
</p>
<form method="post" action="{% url 'login' %}">
{% csrf_token %}

File diff suppressed because one or more lines are too long