Added German Translations (#406)

* Added German Translations

Translated using
https://docs.djangoproject.com/en/1.9/topics/i18n/translation/

Added language drop down menu's for base.html, registration & login
pages

Known issues:
* Translated items in whtracker>create signature remain translated when
posted
* No date/time localisation for Fleet/Structure timers

* Added time locale

Added date/time locale to
*Structure Timers
*Fleet Timers
*Fleet timer form datetimepicker.js

Fixed a bug where the bootstrap label didn't show up when making a
structure timer using the translated form

Missed some base.html translations

* Small translation error

Some obscure SRP strings went unnoticed for context review

* FAT & Fleet-up German Translations

+ a fix in settings.py.example

The only small thing not done is German Date/Time locale for Fleet-up

* Compiled de/django.po
This commit is contained in:
iAddz
2016-06-16 23:54:04 +01:00
committed by Adarnof
parent e0693e7ca8
commit c9e490a5c5
76 changed files with 3241 additions and 785 deletions

View File

@@ -1,6 +1,7 @@
{% extends "public/base.html" %}
{% load bootstrap %}
{% load staticfiles %}
{% load i18n %}
{% block title %}Alliance Auth{% endblock %}
@@ -9,43 +10,43 @@
{% block content %}
<div class="col-lg-12">
<h1 class="page-header text-center">Add Api Key</h1>
<h1 class="page-header text-center">{% trans "Add Api Key" %}</h1>
<div class="container-fluid">
<div class="col-md-4 col-md-offset-4">
<div class="row">
<p class="text-center">
Member API keys require access mask {{MEMBER_API_MASK}} or greater for services.
{% blocktrans %}Member API keys require access mask {{MEMBER_API_MASK}} or greater for services.{% endblocktrans %}
</p>
{% if MEMBER_API_ACCOUNT %}
<p class="text-center">
Member API keys need to be account-wide.
{% trans "Member API keys need to be account-wide." %}
</p>
{% endif %}
<p class="text-center">
<a target="_blank"
{% blocktrans %}<a target="_blank"
href="https://community.eveonline.com/support/api-key/CreatePredefined?accessMask={{MEMBER_API_MASK}}">Create
a full API key</a>
a full API key</a>{% endblocktrans %}
</p>
<p class="text-center">
Blue API keys require access mask {{BLUE_API_MASK}} or greater for services.
{% blocktrans %}Blue API keys require access mask {{BLUE_API_MASK}} or greater for services.{% endblocktrans %}
</p>
{% if BLUE_API_ACCOUNT %}
<p class="text-center">
BLUE API keys need to be account-wide.
{% trans "BLUE API keys need to be account-wide." %}
</p>
{% endif %}
<p class="text-center">
<a target="_blank"
{% blocktrans %}<a target="_blank"
href="https://community.eveonline.com/support/api-key/CreatePredefined?accessMask={{BLUE_API_MASK}}">Create
a blue key</a>
a blue key</a>{% endblocktrans %}
</p>
<form class="form-signin" role="form" action="{% url 'auth_add_api_key' %}" method="POST">
{% csrf_token %}
{{ form|bootstrap }}
<br/>
<button class="btn btn-lg btn-primary btn-block" type="submit">Add Key</button>
<button class="btn btn-lg btn-primary btn-block" type="submit">{% trans "Add Key" %}</button>
</form>
</div>
</div>