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,8 @@
{% extends "public/base.html" %}
{% load bootstrap %}
{% load staticfiles %}
{% load i18n %}
{% load humanize %}
{% block title %}Alliance Auth{% endblock %}
@@ -10,16 +12,16 @@
{% block content %}
<div class="col-lg-12">
<div class="row">
<h1 class="page-header text-center">SRP Fleet Data
<h1 class="page-header text-center">{% trans "SRP Fleet Data" %}
<div class="text-right">
{% if perms.auth.srp_management %}
{% if fleet_status == "Completed" %}
<a href="/srp_fleet_mark_uncompleted/{{ fleet_id }}">
<button type="button" class="btn btn-warning">Mark Incomplete</button>
<button type="button" class="btn btn-warning">{% trans "Mark Incomplete" %}</button>
</a>
{% else %}
<a href="/srp_fleet_mark_completed/{{ fleet_id }}">
<button type="button" class="btn btn-success">Mark Completed</button>
<button type="button" class="btn btn-success">{% trans "Mark Completed" %}</button>
</a>
{% endif %}
{% endif %}
@@ -27,23 +29,23 @@
</h1>
<div class="alert alert-info" role="alert">
<div class="text-right">
<b>Total Losses: {{ srpfleetrequests.count }}</b>
<b>{% trans "Total Losses:" %} {{ srpfleetrequests.count }}</b>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<b>Total ISK Cost: {{ totalcost | intcomma }}</b>
<b>{% trans "Total ISK Cost:" %} {{ totalcost | intcomma }}</b>
</div>
</div>
<table class="table table-bordered">
<tr>
<th class="text-center">Pilot Name</th>
<th class="text-center">Killboard Link</th>
<th class="text-center">Additional Info</th>
<th class="text-center">Ship Type</th>
<th class="text-center">Killboard Loss Amt</th>
<th class="text-center">SRP ISK Cost</th>
<th class="text-center">Post Time</th>
<th class="text-center">Status</th>
<th class="text-center">{% trans "Pilot Name" %}</th>
<th class="text-center">{% trans "Killboard Link" %}</th>
<th class="text-center">{% trans "Additional Info" %}</th>
<th class="text-center">{% trans "Ship Type" %}</th>
<th class="text-center">{% trans "Killboard Loss Amt" %}</th>
<th class="text-center">{% trans "SRP ISK Cost" %}</th>
<th class="text-center">{% trans "Post Time" %}</th>
<th class="text-center">{% trans "Status" %}</th>
{% if perms.auth.srp_management %}
<th class="text-center">Actions</th>
<th class="text-center">{% trans "Actions" %}</th>
{% endif %}
</tr>
{% for srpfleetrequest in srpfleetrequests %}
@@ -65,15 +67,15 @@
<td class="text-center">
{% if srpfleetrequest.srp_status == "Approved" %}
<div class="label label-success">
Approved
{% trans "Approved" %}
</div>
{% elif srpfleetrequest.srp_status == "Rejected" %}
<div class="label label-danger">
Rejected
{% trans "Rejected" %}
</div>
{% else %}
<div class="label label-warning">
Pending
{% trans "Pending" %}
</div>
{% endif %}
</td>