WMDE
/
eva
forked from tohe/eva
7
1
Fork 0

translation of dataloop works now

This commit is contained in:
Benni Bärmann 2022-02-07 14:54:40 +01:00
parent f992d4cc00
commit 361b6b497c
5 changed files with 12 additions and 8 deletions

7
TODO
View File

@ -1,3 +1,6 @@
* switch to django 4
from https://otrs.wikimedia.de/otrs/index.pl?Action=AgentTicketZoom;TicketID=754407:
* Team field should be longer
@ -8,7 +11,3 @@ minor stuff:
* remove dot before "Nextcloud" at login page.
* add Testmode warning at login screen
translations:
- dataloop translation missing

View File

@ -1,4 +1,5 @@
{% load i18n %}
{% autoescape off %}
{% for key, value in data.items %}{% if key == 'laptop' %} {{ key }}: {{ value | safe}}{% else %}
{{ key }}: {{ value }}{% endif %}{% endfor %}
{% trans key %}: {{ value }}{% endif %}{% endfor %}
{% endautoescape %}

View File

@ -1,3 +1,5 @@
{% load i18n %}
(english below)
Hallo!
@ -13,7 +15,7 @@ Wenn Du Fragen hast, melde Dich bei {{contact}}.
Grüße, Deine E.V.A.
-------------------------
{% language 'en' %}
Hi!
There is a new employee at Wikimedia! Here ( https://wiki.wikimedia.de/wiki/Onboarding ) you can see, which
@ -26,3 +28,4 @@ All Data you need for this:
If you have any questions please write to {{contact}}.
Regards, Your E.V.A.
{% endlanguage %}

View File

@ -10,6 +10,7 @@ from formtools.wizard.views import CookieWizardView
from django.shortcuts import render
from django.conf import settings
from django.contrib.auth.mixins import LoginRequiredMixin
from django.utils.translation import gettext_lazy as _
from .models import Employee, DEPARTMENT_CHOICES, OS_CHOICES, VENDOR_CHOICES, \
LANG_CHOICES, ACCOUNT_CHOICES, TRANSPONDER_CHOICES, KEYBOARD_CHOICES

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-01-31 12:06+0100\n"
"POT-Creation-Date: 2022-02-07 14:44+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -70,7 +70,7 @@ msgstr "Special Doors (please note below)"
msgid "Kein Transponder"
msgstr "No transponder"
#: evapp/models.py:50
#: evapp/models.py:50 evapp/templates/evapp/department_mail.txt:26
msgid "Vorname"
msgstr "Firstname"