From 9802446e058a0a1ad1b12436b864fda0378dca86 Mon Sep 17 00:00:00 2001 From: Benni Baermann Date: Thu, 27 Jan 2022 15:46:33 +0100 Subject: [PATCH] more translation work --- evapp/models.py | 36 ++++++------ locale/en/LC_MESSAGES/django.po | 100 +++++++++++++++++++++++++++----- 2 files changed, 105 insertions(+), 31 deletions(-) diff --git a/evapp/models.py b/evapp/models.py index a04f68b..f56a064 100644 --- a/evapp/models.py +++ b/evapp/models.py @@ -48,33 +48,33 @@ class Employee(models.Model): # personal data firstname = models.CharField(max_length=50, verbose_name=_("Vorname")) - lastname = models.CharField(max_length=50, verbose_name="Nachname") + lastname = models.CharField(max_length=50, verbose_name=_("Nachname")) # intern = models.BooleanField(verbose_name='Interne_r Mitarbeiter_in?', default=True) - department = models.CharField(max_length=5, choices=DEPARTMENT_CHOICES.items(), verbose_name='Bereich') + department = models.CharField(max_length=5, choices=DEPARTMENT_CHOICES.items(), verbose_name=_('Bereich')) team = models.CharField(max_length=20, null=True, blank=True) # TODO? better with choices? # general work related stuff - firstdate_employment = models.DateField(null=True, verbose_name="Erster Arbeitstag") - firstdate_presence = models.DateField(null=True, verbose_name="Erster Tag der Anwesenheit in der Geschäftsstelle") + firstdate_employment = models.DateField(null=True, verbose_name=_("Erster Arbeitstag")) + firstdate_presence = models.DateField(null=True, verbose_name=_("Erster Tag der Anwesenheit in der Geschäftsstelle")) jobdescription_german = models.CharField(null=True, max_length=100, verbose_name="Stellenbezeichnung(deutsch)") jobdescription_english = models.CharField(null=True, max_length=100, verbose_name="Job description(english)") - works_in_gs = models.BooleanField(verbose_name='Braucht Arbeitsplatz in der Geschäftsstelle?', default=True) - desk = models.CharField(max_length=100, null=True, blank=True, verbose_name="Wo soll der Arbeitsplatz sein?") + works_in_gs = models.BooleanField(verbose_name=_('Braucht Arbeitsplatz in der Geschäftsstelle?)', default=True)) + desk = models.CharField(max_length=100, null=True, blank=True, verbose_name=_("Wo soll der Arbeitsplatz sein?")) # IT related stuff - vendor = models.CharField(max_length=8, choices=VENDOR_CHOICES.items(), default='STANDARD', verbose_name='Hersteller') - os = models.CharField(max_length=3, choices=OS_CHOICES.items(), default='UBU', verbose_name='Betriebssystem') - screen = models.BooleanField(default=False, verbose_name='Zusätzlicher Monitor? Einer ist standard.') - mobile = models.BooleanField(max_length=6, default=False, verbose_name='Diensttelefon (Handy)') + vendor = models.CharField(max_length=8, choices=VENDOR_CHOICES.items(), default='STANDARD', verbose_name=_('Hersteller')) + os = models.CharField(max_length=3, choices=OS_CHOICES.items(), default='UBU', verbose_name=_('Betriebssystem')) + screen = models.BooleanField(default=False, verbose_name=_('Zusätzlicher Monitor? Einer ist standard.')) + mobile = models.BooleanField(max_length=6, default=False, verbose_name=_('Diensttelefon (Handy)')) # sim = models.BooleanField(default=False, verbose_name="Mobilfunkvertrag") - keyboard = models.CharField(max_length=2, choices=KEYBOARD_CHOICES.items(), default='DE', verbose_name="Tastaturlayout") - comment = models.TextField(max_length=500, null=True, blank=True, verbose_name="zusätzliche IT-Anforderungen") - language = models.CharField(max_length=3, choices=LANG_CHOICES.items(), default="GER", verbose_name="Sprache") - accounts = MultiSelectField(choices=ACCOUNT_CHOICES.items(), null=True, blank=True, verbose_name="Zusätzliche Accounts") - lists = models.CharField(max_length=100, null=True, blank=True, verbose_name="Zusätzliche Mailinglisten") - rebu2go = models.BooleanField(verbose_name="Rebu2Go-Zugang benötigt?", default=False) + keyboard = models.CharField(max_length=2, choices=KEYBOARD_CHOICES.items(), default='DE', verbose_name=_("Tastaturlayout")) + comment = models.TextField(max_length=500, null=True, blank=True, verbose_name=_("zusätzliche IT-Anforderungen")) + language = models.CharField(max_length=3, choices=LANG_CHOICES.items(), default="GER", verbose_name=_("Sprache")) + accounts = MultiSelectField(choices=ACCOUNT_CHOICES.items(), null=True, blank=True, verbose_name=_("Zusätzliche Accounts")) + lists = models.CharField(max_length=100, null=True, blank=True, verbose_name=_("Zusätzliche Mailinglisten")) + rebu2go = models.BooleanField(verbose_name=_("Rebu2Go-Zugang benötigt?"), default=False) # office related stuff transponder = models.CharField(max_length=7, choices=TRANSPONDER_CHOICES.items(), default='NORM') - special = models.TextField(max_length=500, null=True, blank=True, verbose_name="Besondere Schließungen hier eintragen") - post_office_box = models.BooleanField(default=True, verbose_name='Postfach am Empfang benötigt?') + special = models.TextField(max_length=500, null=True, blank=True, verbose_name=_("Besondere Schließungen hier eintragen")) + post_office_box = models.BooleanField(default=True, verbose_name=_('Postfach am Empfang benötigt?')) diff --git a/locale/en/LC_MESSAGES/django.po b/locale/en/LC_MESSAGES/django.po index 8699257..1c377c9 100644 --- a/locale/en/LC_MESSAGES/django.po +++ b/locale/en/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-01-27 13:35+0100\n" +"POT-Creation-Date: 2022-01-27 15:45+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -24,56 +24,130 @@ msgstr "" #: evapp/models.py:11 msgid "Softwareentwicklung" -msgstr "Software Development" +msgstr "Software development" #: evapp/models.py:13 msgid "Kommunikation und Events" -msgstr "" +msgstr "Communication and events" #: evapp/models.py:14 msgid "Vorstand" -msgstr "" +msgstr "Board" #: evapp/models.py:18 msgid "Mac (nur für Grafiker_innen)" -msgstr "" +msgstr "Mac (for graphic designer only)" #: evapp/models.py:21 msgid "Windows (bitte Begründung angeben)" -msgstr "" +msgstr "Windows (please give justification)" #: evapp/models.py:22 msgid "Mac OS (nur wenn Mac gewählt)" -msgstr "" +msgstr "Mac OS (only if you choose Mac)" #: evapp/models.py:30 msgid "Anderes (Bitte unten angeben)" -msgstr "" +msgstr "Others (please note below)" #: evapp/models.py:33 msgid "Civic CRM (allgemein)" -msgstr "" +msgstr "Civic CRM (regular)" #: evapp/models.py:34 msgid "Civic CRM (Mailings, impliziert allgemein)" -msgstr "" +msgstr "Civic CRM (mailings, regular implied)" #: evapp/models.py:40 msgid "Allgemeiner Transponder" -msgstr "" +msgstr "Regular Transponder" #: evapp/models.py:41 msgid "Besondere Schließungen (bitte angeben)" -msgstr "" +msgstr "Special Doors (please note below)" #: evapp/models.py:42 msgid "Kein Transponder" -msgstr "" +msgstr "No transponder" #: evapp/models.py:50 msgid "Vorname" msgstr "Firstname" +#: evapp/models.py:51 +msgid "Nachname" +msgstr "" + +#: evapp/models.py:53 +msgid "Bereich" +msgstr "" + +#: evapp/models.py:57 +msgid "Erster Arbeitstag" +msgstr "" + +#: evapp/models.py:58 +msgid "Erster Tag der Anwesenheit in der Geschäftsstelle" +msgstr "" + +#: evapp/models.py:61 +msgid "Braucht Arbeitsplatz in der Geschäftsstelle?)" +msgstr "" + +#: evapp/models.py:62 +msgid "Wo soll der Arbeitsplatz sein?" +msgstr "" + +#: evapp/models.py:65 +msgid "Hersteller" +msgstr "" + +#: evapp/models.py:66 +msgid "Betriebssystem" +msgstr "" + +#: evapp/models.py:67 +msgid "Zusätzlicher Monitor? Einer ist standard." +msgstr "" + +#: evapp/models.py:68 +msgid "Diensttelefon (Handy)" +msgstr "" + +#: evapp/models.py:70 +msgid "Tastaturlayout" +msgstr "" + +#: evapp/models.py:71 +msgid "zusätzliche IT-Anforderungen" +msgstr "" + +#: evapp/models.py:72 +msgid "Sprache" +msgstr "" + +#: evapp/models.py:73 +msgid "Zusätzliche Accounts" +msgstr "" + +#: evapp/models.py:74 +msgid "Zusätzliche Mailinglisten" +msgstr "" + +#: evapp/models.py:75 +msgid "Rebu2Go-Zugang benötigt?" +msgstr "" + +#: evapp/models.py:79 +#, fuzzy +#| msgid "Besondere Schließungen (bitte angeben)" +msgid "Besondere Schließungen hier eintragen" +msgstr "Special Doors (please note below)" + +#: evapp/models.py:80 +msgid "Postfach am Empfang benötigt?" +msgstr "" + #: evapp/templates/evapp/employee_form.html:36 msgid "WARNUNG! Test-MODUS aktiviert. Es werden keine Mails verschickt!" msgstr "ATTENTION! Test mode activated. No mails will be send."