Localisation & German translation updates (#701)

This commit is contained in:
iAddz
2017-02-12 04:04:18 +00:00
committed by Adarnof
parent a33c8c14ee
commit a6c48f8d71
46 changed files with 1426 additions and 1302 deletions

View File

@@ -65,7 +65,7 @@
{% endif %}
{% if user.is_authenticated %}
{% if user.is_staff %}
<li><a href="{% url 'admin:index' %}">Admin</a></li>
<li><a href="{% url 'admin:index' %}">{% trans "Admin" %}</a></li>
{% endif %}
<li><a href="{% url 'auth_logout_user' %}">{% trans "Logout" %}</a></li>
{% else %}
@@ -162,7 +162,7 @@
<li>
<a class="{% navactive request 'auth_fatlink_view auth_fatlink_view_statistics auth_fatlink_view_statistics_month auth_fatlink_view_personal_statistics auth_fatlink_view_personal_statistics_year auth_fatlink_view_personal_statistics_month auth_fatlink_view_user_statistics_month auth_create_fatlink_view auth_modify_fatlink_view auth_click_fatlink_view' %}" href="{% url 'auth_fatlink_view' %}">
<i class="fa fa-users fa-lightbulb-o fa-fw grayiconecolor"></i> Fleet Activity Tracking
<i class="fa fa-users fa-lightbulb-o fa-fw grayiconecolor"></i>{% trans " Fleet Activity Tracking" %}
</a>
</li>

View File

@@ -11,7 +11,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<title>{{ SITE_NAME }} - Login</title>
<title>{{ SITE_NAME }} - {% trans "Login" %}</title>
{% include 'bundles/bootstrap-css.html' %}
{% include 'bundles/fontawesome.html' %}

View File

@@ -10,7 +10,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<title>{{ SITE_NAME }} - Login</title>
<title>{{ SITE_NAME }} - {% trans "Registration" %}</title>
{% include 'bundles/bootstrap-css.html' %}
{% include 'bundles/fontawesome.html' %}

View File

@@ -24,9 +24,9 @@
</p>
{% endif %}
<p class="text-center">
{% blocktrans %}<a target="_blank"
href="https://community.eveonline.com/support/api-key/CreatePredefined?accessMask={{MEMBER_API_MASK}}">Create
a full API key</a>{% endblocktrans %}
<a target="_blank"
href="https://community.eveonline.com/support/api-key/CreatePredefined?accessMask={{MEMBER_API_MASK}}">{% trans "Create
a full API key" %}</a>
</p>
<p class="text-center">
{% blocktrans %}Blue API keys require access mask {{BLUE_API_MASK}} or greater for services.{% endblocktrans %}
@@ -37,9 +37,9 @@
</p>
{% endif %}
<p class="text-center">
{% blocktrans %}<a target="_blank"
href="https://community.eveonline.com/support/api-key/CreatePredefined?accessMask={{BLUE_API_MASK}}">Create
a blue key</a>{% endblocktrans %}
<a target="_blank"
href="https://community.eveonline.com/support/api-key/CreatePredefined?accessMask={{BLUE_API_MASK}}">{% trans "Create
a blue key" %}</a>
</p>
<form class="form-signin" role="form" action="{% url 'auth_add_api_key' %}" method="POST">

View File

@@ -4,7 +4,7 @@
{% load i18n %}
{% get_current_language as LANGUAGE_CODE %}
{% block title %}Alliance Auth - Fleet Operation Create{% endblock %}
{% block title %}{% trans "Alliance Auth - Fleet Operation Create" %}{% endblock %}
{% block page_title %}{% trans "Create Operation" %}{% endblock page_title %}
{% block extra_css %}

View File

@@ -4,7 +4,7 @@
{% load i18n %}
{% get_current_language as LANGUAGE_CODE %}
{% block title %}Alliance Auth - Structure Timer Create{% endblock %}
{% block title %}{% trans "Alliance Auth - Structure Timer Create" %}{% endblock %}
{% block page_title %}{% trans "Timer Create" %}{% endblock page_title %}
{% block extra_css %}

View File

@@ -1,13 +1,14 @@
{% extends 'public/base.html' %}
{% load staticfiles %}
{% block title %}Verify API Ownership{% endblock %}
{% block page_title%}Verify API Ownership{% endblock %}
{% load i18n %}
{% block title %}{% trans "Verify API Ownership" %}{% endblock %}
{% block page_title%}{% trans "Verify API Ownership" %}{% endblock %}
{% block content %}
<div class="col-lg-12">
<h1 class="page-header text-center">Verify API Ownership</div>
<h1 class="page-header text-center">{% trans "Verify API Ownership" %}</div>
<div class="col-xs-4 col-xs-offset-4">
<div class="panel panel-default>
<div class="panel-header">Please authenticate as a character on API {{ api.api_id }} to prove ownership.</div>
<div class="panel-header">{% blocktrans %}Please authenticate as a character on API {{ api.api_id }} to prove ownership.{% endblocktrans %}</div>
<div class="panel-body">
<div class="text-center">
<a href="{% url 'auth_api_sso' api.api_id %}">

View File

@@ -35,14 +35,14 @@
{% endif %}
</div>
{% else %}
<div class="alert alert-danger" role="alert">Missing main character model.</div>
<div class="alert alert-danger" role="alert">{% trans "Missing main character model." %}</div>
{% endif %}
<div class="clearfix"></div>
<div class="col-sm-6">
<a href="{% url 'auth_add_api_key' %}" class="btn btn-block btn-success" label="Add API Key">Add API Key</a>
<a href="{% url 'auth_add_api_key' %}" class="btn btn-block btn-success" label="Add API Key">{% trans "Add API Key" %}</a>
</div>
<div class="col-sm-6">
<a href="{% url 'auth_characters' %}" class="btn btn-block btn-info" label="Change Main Character">Change Main</a>
<a href="{% url 'auth_characters' %}" class="btn btn-block btn-info" label="Change Main Character">{% trans "Change Main" %}</a>
</div>
</div>
</div>

View File

@@ -78,7 +78,7 @@
{% endfor %}
{% else %}
<h3>There seems to be no Doctrines in here at the moment!</h3>
<h3>{% trans "There seems to be no Doctrines in here at the moment!" %}</h3>
{% endif %}
</div>
</div>

View File

@@ -42,7 +42,7 @@
{% endfor %}
</table>
{% else %}
<div class="alert alert-warning text-center">No group add requests.</div>
<div class="alert alert-warning text-center">{% trans "No group add requests." %}</div>
{% endif %}
</div>
</div>
@@ -73,7 +73,7 @@
{% endfor %}
</table>
{% else %}
<div class="alert alert-warning text-center">No group leave requests.</div>
<div class="alert alert-warning text-center">{% trans "No group leave requests." %}</div>
{% endif %}
</div>
</div>

View File

@@ -11,7 +11,7 @@
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">Group Management</a>
<a class="navbar-brand" href="#">{% trans "Group Management" %}</a>
</div>
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">

View File

@@ -37,7 +37,7 @@
{% endfor %}
</table>
{% else %}
<div class="alert alert-warning text-center">No group members to list.</div>
<div class="alert alert-warning text-center">{% trans "No group members to list." %}</div>
{% endif %}
</div>
</div>

View File

@@ -47,7 +47,7 @@
{% endfor %}
</table>
{% else %}
<div class="alert alert-warning text-center">No groups to list.</div>
<div class="alert alert-warning text-center">{% trans "No groups to list." %}</div>
{% endif %}
</div>
</div>

View File

@@ -47,7 +47,7 @@
{% endfor %}
</table>
{% else %}
<div class="alert alert-warning text-center">No groups available.</div>
<div class="alert alert-warning text-center">{% trans "No groups available." %}</div>
{% endif %}
</div>

View File

@@ -111,7 +111,7 @@
{% endfor %}
</table>
{% else %}
<div class="alert alert-warning text-center">No pending applications.</div>
<div class="alert alert-warning text-center">{% trans "No pending applications." %}</div>
{% endif %}
</div>
</div>
@@ -155,7 +155,7 @@
{% endfor %}
</table>
{% else %}
<div class="alert alert-warning text-center">No reviewed applications.</div>
<div class="alert alert-warning text-center">{% trans "No reviewed applications." %}</div>
{% endif %}
</div>
</div>

View File

@@ -64,7 +64,7 @@
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span
class="sr-only">Close</span></button>
class="sr-only">{% trans "Close" %}</span></button>
<h4 class="modal-title" id="myModalLabel">{% trans "Application Search" %}</h4>
</div>
<div class="modal-body">

View File

@@ -4,7 +4,7 @@
{% load i18n %}
{% load eveonline_extras %}
{% block title %}Alliance Auth - View Application{% endblock %}
{% block title %}Alliance Auth - {% trans "View Application" %}{% endblock %}
{% block page_title %}{% trans "View Application" %}{% endblock page_title %}
{% block extra_css %}{% endblock extra_css %}
@@ -119,7 +119,7 @@
<a class="collapsed" data-toggle="collapse" data-parent="#accordion"
href="#collapseThree" aria-expanded="false"
aria-controls="collapseThree">
Comments - {{ comments|length }}
{% blocktrans %}Comments - {{ comments|length }}{% endblocktrans %}
</a>
</h4>
</div>

View File

@@ -14,8 +14,8 @@
<li class="active"><a data-toggle="tab" href="#unread">{% trans "Unread" %} <b>({{unread|length}})</b></a></li>
<li><a data-toggle="tab" href="#read">{% trans "Read" %} <b>({{read|length}})</b></a></li>
<div class="text-right">
<a href="{% url 'auth_mark_all_notifications_read' %}" class="btn btn-primary">Mark All Read</a>
<a href="{% url 'auth_delete_all_read_notifications' %}" class="btn btn-danger">Delete All Read</a>
<a href="{% url 'auth_mark_all_notifications_read' %}" class="btn btn-primary">{% trans "Mark All Read" %}</a>
<a href="{% url 'auth_delete_all_read_notifications' %}" class="btn btn-danger">{% trans "Delete All Read" %}</a>
</div>
</ul>
<div class="tab-content">
@@ -45,7 +45,7 @@
{% endfor %}
</table>
{% else %}
<div class="alert alert-warning text-center">No unread notifications.</div>
<div class="alert alert-warning text-center">{% trans "No unread notifications." %}</div>
{% endif %}
</div>
</div>
@@ -76,7 +76,7 @@
{% endfor %}
</table>
{% else %}
<div class="alert alert-warning text-center">No read notifications.</div>
<div class="alert alert-warning text-center">{% trans "No read notifications." %}</div>
{% endif %}
</div>
</div>

View File

@@ -72,7 +72,7 @@
</tr>
</table>
{% else %}
<br /><div class="alert alert-warning text-center">No fleet operations found.</div>
<br /><div class="alert alert-warning text-center">{% trans "No fleet operations found." %}</div>
{% endif %}
</div>

View File

@@ -1,11 +1,12 @@
{% extends "public/base.html" %}
{% load staticfiles %}
{% load i18n %}
{% block page_title %}Credentials{% endblock page_title %}
{% block title %}Credentials{% endblock title%}
{% block title %}{% trans "Credentials" %}{% endblock title%}
{% block content %}
<div class="col-lg-12">
<h1 class="page-header text-center">{{ service }} Credentials</h1>
<h1 class="page-header text-center">{% blocktrans %}{{ service }} Credentials{% endblocktrans %}</h1>
<div class="container-fluid">
<div class="col-lg-4 col-lg-offset-4">
<form class="form-signin">
@@ -16,7 +17,7 @@
</div>
{% endfor %}
</form>
<a href="{% url 'auth_services' %}" class="btn btn-lg btn-block btn-primary" title="Continue">Continue</a>
<a href="{% url 'auth_services' %}" class="btn btn-lg btn-block btn-primary" title="Continue">{% trans "Continue" %}</a>
</div>
</div>
</div>

View File

@@ -110,7 +110,7 @@
{% endfor %}
</table>
{% else %}
<div class="alert alert-warning text-center">No SRP requests for this fleet.</div>
<div class="alert alert-warning text-center">{% trans "No SRP requests for this fleet." %}</div>
{% endif %}
</div>
</div>

View File

@@ -40,7 +40,7 @@
<th class="text-center">{% trans "Fleet SRP Code" %}</th>
<th class="text-center">{% trans "Fleet ISK Cost" %}</th>
<th class="text-center">{% trans "SRP Status" %}</th>
<th class="text-center">{% trans "Pending Requests" %}</th>
<th class="text-center">{% trans "Pending Requests" %}</th>
<th class="text-center">{% trans "Actions" %}</th>
</tr>
{% for srpfleet in srpfleets %}
@@ -117,7 +117,7 @@
{% endfor %}
</table>
{% else %}
<div class="alert alert-warning text-center">No SRP fleets created.</div>
<div class="alert alert-warning text-center">{% trans "No SRP fleets created." %}</div>
{% endif %}
</div>
</div>

View File

@@ -290,7 +290,7 @@
{% endfor %}
</table>
{% else %}
<div class="alert alert-warning text-center">No upcoming timers.</div>
<div class="alert alert-warning text-center">{% trans "No upcoming timers." %}</div>
{% endif %}
<h4><b>{% trans "Past Timers" %}</b></h4>
{% if past_timers %}
@@ -426,7 +426,7 @@
{% endfor %}
</table>
{% else %}
<div class="alert alert-warning text-center">No past timers.</div>
<div class="alert alert-warning text-center">{% trans "No past timers." %}</div>
{% endif %}
</div>