mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2026-02-08 16:16:18 +01:00
Localisation & German translation updates (#701)
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
{% endif %}
|
||||
{% if request.user.is_superuser %}
|
||||
<div class="text-center" style="padding-top:5px;">
|
||||
<a type="button" class="btn btn-success" href="{% url 'auth_discord_add_bot' %}">{% trans "Link Discord" %} Server</a>
|
||||
<a type="button" class="btn btn-success" href="{% url 'auth_discord_add_bot' %}">{% trans "Link Discord Server" %}</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
</td>
|
||||
|
||||
@@ -3,6 +3,7 @@ from __future__ import unicode_literals
|
||||
from django.contrib import messages
|
||||
from django.contrib.auth.decorators import login_required
|
||||
from django.shortcuts import render
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
|
||||
from alliance_auth.hooks import get_hooks
|
||||
from authentication.decorators import members_and_blues
|
||||
@@ -54,7 +55,7 @@ def services_view(request):
|
||||
try:
|
||||
char = EveCharacter.objects.get(character_id=auth.main_char_id)
|
||||
except EveCharacter.DoesNotExist:
|
||||
messages.warning(request, "There's a problem with your main character. Please select a new one.")
|
||||
messages.warning(request, _("There's a problem with your main character. Please select a new one."))
|
||||
|
||||
context = {'service_ctrls': []}
|
||||
for fn in get_hooks('services_hook'):
|
||||
|
||||
Reference in New Issue
Block a user