mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2026-02-06 07:06:19 +01:00
Added German Translations (#406)
* Added German Translations Translated using https://docs.djangoproject.com/en/1.9/topics/i18n/translation/ Added language drop down menu's for base.html, registration & login pages Known issues: * Translated items in whtracker>create signature remain translated when posted * No date/time localisation for Fleet/Structure timers * Added time locale Added date/time locale to *Structure Timers *Fleet Timers *Fleet timer form datetimepicker.js Fixed a bug where the bootstrap label didn't show up when making a structure timer using the translated form Missed some base.html translations * Small translation error Some obscure SRP strings went unnoticed for context review * FAT & Fleet-up German Translations + a fix in settings.py.example The only small thing not done is German Date/Time locale for Fleet-up * Compiled de/django.po
This commit is contained in:
@@ -1,22 +1,22 @@
|
||||
from django import forms
|
||||
from django.core.validators import MaxValueValidator, MinValueValidator
|
||||
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
|
||||
|
||||
class SignatureForm(forms.Form):
|
||||
mass_status = [('More Than 50%', 'More Than 50%'), ('Less Than 50%', 'Less Than 50%'), ('Less Than 10%', 'Less Than 10%')]
|
||||
lifetime_status = [('More Than 24 Hours', 'More Than 24 Hours'), ('Less Than 24 Hours', 'Less Than 24 Hours'), ('Less Than 4 Hours', 'Less Than 4 Hours')]
|
||||
ships_size = [('Only Smallest', 'Only Smallest'), ('Up to Medium', 'Up to Medium'), ('Larger', 'Larger'), ('Very Large', 'Very Large')]
|
||||
mass_status = [(_('More Than 50%'), _('More Than 50%')), (_('Less Than 50%'), _('Less Than 50%')), (_('Less Than 10%'), _('Less Than 10%'))]
|
||||
lifetime_status = [(_('More Than 24 Hours'), _('More Than 24 Hours')), (_('Less Than 24 Hours'), _('Less Than 24 Hours')), (_('Less Than 4 Hours'), _('Less Than 4 Hours'))]
|
||||
ships_size = [(_('Only Smallest'), _('Only Smallest')), (_('Up to Medium'), _('Up to Medium')), (_('Larger'), _('Larger')), (_('Very Large'), _('Very Large'))]
|
||||
|
||||
|
||||
system = forms.CharField(max_length=254, required=True, label='System')
|
||||
ident = forms.CharField(max_length=254, required=True, label="ID")
|
||||
lifetime_status = forms.ChoiceField(choices=lifetime_status, required=True, label="Lifetime Status")
|
||||
mass_status = forms.ChoiceField(choices=mass_status, required=True, label="Mass Status")
|
||||
ships_size = forms.ChoiceField(choices=ships_size, required=True, label="Ship Size")
|
||||
destination = forms.CharField(max_length=254, label="End Destination", required=True, initial="")
|
||||
through_dest = forms.CharField(max_length=254, label="Goes Through", required=True, initial="")
|
||||
notes = forms.CharField(max_length=254, label="Notes", required=False, initial="")
|
||||
system = forms.CharField(max_length=254, required=True, label=_('System'))
|
||||
ident = forms.CharField(max_length=254, required=True, label=_("ID"))
|
||||
lifetime_status = forms.ChoiceField(choices=lifetime_status, required=True, label=_("Lifetime Status"))
|
||||
mass_status = forms.ChoiceField(choices=mass_status, required=True, label=_("Mass Status"))
|
||||
ships_size = forms.ChoiceField(choices=ships_size, required=True, label=_("Ship Size"))
|
||||
destination = forms.CharField(max_length=254, label=_("End Destination"), required=True, initial="")
|
||||
through_dest = forms.CharField(max_length=254, label=_("Goes Through"), required=True, initial="")
|
||||
notes = forms.CharField(max_length=254, label=_("Notes"), required=False, initial="")
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user