diff --git a/uffd/invite/templates/invite/list.html b/uffd/invite/templates/invite/list.html index 9ddff0303623891cf27292b4ec489edee42ecdd0..9a179a87ce7d48ac67360c8674097bbc0f103713 100644 --- a/uffd/invite/templates/invite/list.html +++ b/uffd/invite/templates/invite/list.html @@ -41,7 +41,7 @@ {% for role in invite.roles %}{{ ', ' if loop.index != 1 }}<i class="fas fa-key"></i> {{ role.name }}{% endfor %} </td> <td> - <span style="white-space: nowrap;">{{ invite.signups|selectattr('completed')|list|length }} <i class="fas fa-users" title="user registrations"></i></span>, + <span style="white-space: nowrap;">{{ invite.signups|selectattr('completed')|list|length }} <i class="fas fa-users" title="{{ _('user signups') }}"></i></span>, <span style="white-space: nowrap;">{{ invite.grants|length }} <i class="fas fa-key" title="role grants"></i></span> </td> <td> diff --git a/uffd/service/templates/service/overview.html b/uffd/service/templates/service/overview.html index 976cad59ab4a668acee018ae92150a4890c61677..c63835d2c1680d7ccf88a2e736302d2a032d5ad3 100644 --- a/uffd/service/templates/service/overview.html +++ b/uffd/service/templates/service/overview.html @@ -33,7 +33,7 @@ <div class="card-body"> {% if service.logo_url %} {% if service.url and service.has_access %}<a href="{{ service.url }}" class="text-reset">{% endif %} - <img alt="Logo for {{ service.title }}" src="{{ service.logo_url }}" style="width: 100%; height: 10em; object-fit: contain; {{ 'filter: grayscale(100%);' if not service.has_access }}"> + <img alt="{{ _("Logo for %(service_title)s", service_title=service.title) }}" src="{{ service.logo_url }}" style="width: 100%; height: 10em; object-fit: contain; {{ 'filter: grayscale(100%);' if not service.has_access }}"> {% if service.url and service.has_access %}</a>{% endif %} {% endif %} <h5 class="card-title"> diff --git a/uffd/translations/de/LC_MESSAGES/messages.mo b/uffd/translations/de/LC_MESSAGES/messages.mo index b6723ca0244d78a396dc215299589e1d5d40bb87..cfb6bee2a20599943ba6d4931b82cbe99bdf845a 100644 Binary files a/uffd/translations/de/LC_MESSAGES/messages.mo and b/uffd/translations/de/LC_MESSAGES/messages.mo differ diff --git a/uffd/translations/de/LC_MESSAGES/messages.po b/uffd/translations/de/LC_MESSAGES/messages.po index 9f4f419d66695d464083e44538e1054dd13c4b20..e4434e766f1805604fee3bd27b6d32b7b59b252f 100644 --- a/uffd/translations/de/LC_MESSAGES/messages.po +++ b/uffd/translations/de/LC_MESSAGES/messages.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2022-04-21 14:17+0200\n" +"POT-Creation-Date: 2022-05-22 16:42+0200\n" "PO-Revision-Date: 2021-05-25 21:18+0200\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language: de\n" @@ -154,6 +154,10 @@ msgstr "Link als QR-Code anzeigen" msgid "Signup" msgstr "Account-Registrierung" +#: uffd/invite/templates/invite/list.html:44 +msgid "user signups" +msgstr "Account-Registrierungen" + #: uffd/invite/templates/invite/list.html:49 #: uffd/user/templates/user/show.html:91 msgid "Disabled" @@ -1285,6 +1289,11 @@ msgstr "" msgid "Login" msgstr "Anmelden" +#: uffd/service/templates/service/overview.html:36 +#, python-format +msgid "Logo for %(service_title)s" +msgstr "Logo für %(service_title)s" + #: uffd/service/templates/service/overview.html:55 msgid "No access" msgstr "Kein Zugriff" @@ -1587,7 +1596,7 @@ msgstr "Ändern" msgid "About uffd" msgstr "Über uffd" -#: uffd/user/models.py:31 +#: uffd/user/models.py:32 #, python-format msgid "" "At least %(minlen)d and at most %(maxlen)d characters. Only letters, " @@ -1622,41 +1631,41 @@ msgstr "Gruppe aktualisiert" msgid "Deleted group" msgstr "Gruppe gelöscht" -#: uffd/user/views_user.py:30 +#: uffd/user/views_user.py:31 msgid "Users" msgstr "Accounts" -#: uffd/user/views_user.py:50 +#: uffd/user/views_user.py:51 msgid "Login name does not meet requirements" msgstr "Anmeldename entspricht nicht den Anforderungen" -#: uffd/user/views_user.py:55 +#: uffd/user/views_user.py:56 msgid "Mail is invalid" msgstr "E-Mail-Adresse nicht valide" -#: uffd/user/views_user.py:59 +#: uffd/user/views_user.py:60 msgid "Display name does not meet requirements" msgstr "Anzeigename entspricht nicht den Anforderungen" -#: uffd/user/views_user.py:64 +#: uffd/user/views_user.py:65 msgid "Password is invalid" msgstr "Passwort ist ungültig" -#: uffd/user/views_user.py:77 +#: uffd/user/views_user.py:78 msgid "Service user created" msgstr "Service-Account erstellt" -#: uffd/user/views_user.py:80 +#: uffd/user/views_user.py:81 msgid "User created. We sent the user a password reset link by mail" msgstr "" "Account erstellt. E-Mail mit einem Link zum Setzen des Passworts wurde " "versendet." -#: uffd/user/views_user.py:82 +#: uffd/user/views_user.py:83 msgid "User updated" msgstr "Account aktualisiert" -#: uffd/user/views_user.py:92 +#: uffd/user/views_user.py:93 msgid "Deleted user" msgstr "Account gelöscht" @@ -1738,11 +1747,11 @@ msgstr "E-Mail-Adresse" #: uffd/user/templates/user/show.html:72 msgid "" -"Do a sanity check here. A user can take over another account if both have" -" the same mail address set." +"Check that the address is unique. A user can take over another account if" +" both have the same mail address set." msgstr "" -"Überprüfe, ob die E-Mail-Adresse plausibel ist! Ein Account kann einen " -"anderen Account übernehmen, wenn beide die selbe E-Mail-Adresse " +"Überprüfe, ob die E-Mail-Adresse noch unbenutzt ist! Ein Account kann " +"einen anderen Account übernehmen, wenn beide die selbe E-Mail-Adresse " "verwenden." #: uffd/user/templates/user/show.html:80 diff --git a/uffd/user/templates/user/show.html b/uffd/user/templates/user/show.html index 16ceb1b2ac86d62705c52d24eab221f72ca1479a..20f4f7a0652653a4759e626e62af17aed4b02494 100644 --- a/uffd/user/templates/user/show.html +++ b/uffd/user/templates/user/show.html @@ -69,7 +69,7 @@ <label for="user-mail">{{_("Mail")}}</label> <input type="email" class="form-control" id="user-mail" name="mail" value="{{ user.mail or '' }}"> <small class="form-text text-muted"> - {{_("Do a sanity check here. A user can take over another account if both have the same mail address set.")}} + {{_("Check that the address is unique. A user can take over another account if both have the same mail address set.")}} </small> </div> <div class="form-group col">