diff --git a/datacenterlight/locale/de/LC_MESSAGES/django.po b/datacenterlight/locale/de/LC_MESSAGES/django.po index ab2bc2fb..6511367f 100644 --- a/datacenterlight/locale/de/LC_MESSAGES/django.po +++ b/datacenterlight/locale/de/LC_MESSAGES/django.po @@ -169,6 +169,9 @@ msgstr "Home" msgid "Pricing" msgstr "Preise" +msgid "All Rights Reserved" +msgstr "Alle Rechte vorbehalten" + msgid "Why Data Center Light?" msgstr "Warum Data Center Light?" @@ -381,20 +384,14 @@ msgstr "Unser Angebot beginnt bei 15 CHF pro Monat. Probier's jetzt aus!" msgid "Actions speak louder than words. Let's do it, try our VM now." msgstr "Tagen sagen mehr als Worte – Teste jetzt unsere VM!" -#, fuzzy -#| msgid "is not a proper name" -msgid "Not a proper cores number" -msgstr "ist kein gültiger Name" +msgid "Invalid number of cores" +msgstr "Ungültige Anzahle CPU-Kerne" -#, fuzzy -#| msgid "is not a proper name" -msgid "Not a proper ram number" -msgstr "ist kein gültiger Name" +msgid "Invalid RAM size" +msgstr "Ungültige RAM-Grösse" -#, fuzzy -#| msgid "is not a proper name" -msgid "Not a proper storage number" -msgstr "ist kein gültiger Name" +msgid "Invalid storage size" +msgstr "Ungültige Speicher-Grösse" msgid "is not a proper name" msgstr "ist kein gültiger Name" diff --git a/datacenterlight/templates/datacenterlight/includes/_footer.html b/datacenterlight/templates/datacenterlight/includes/_footer.html index f9d0758c..f77c3385 100644 --- a/datacenterlight/templates/datacenterlight/includes/_footer.html +++ b/datacenterlight/templates/datacenterlight/includes/_footer.html @@ -46,7 +46,7 @@ {% endif %} -
Copyright © ungleich GmbH {% now "Y" %}. All Rights Reserved
+Copyright © ungleich GmbH {% now "Y" %}. {% trans "All Rights Reserved" %}
diff --git a/datacenterlight/views.py b/datacenterlight/views.py index 77c485a1..f7a07c7e 100644 --- a/datacenterlight/views.py +++ b/datacenterlight/views.py @@ -199,15 +199,15 @@ class IndexView(CreateView): def validate_cores(self, value): if (value > 48) or (value < 1): - raise ValidationError(_('Not a proper cores number')) + raise ValidationError(_('Invalid number of cores')) def validate_memory(self, value): if (value > 200) or (value < 2): - raise ValidationError(_('Not a proper ram number')) + raise ValidationError(_('Invalid RAM size')) def validate_storage(self, value): if (value > 2000) or (value < 10): - raise ValidationError(_('Not a proper storage number')) + raise ValidationError(_('Invalid storage size')) @cache_control(no_cache=True, must_revalidate=True, no_store=True) def get(self, request, *args, **kwargs): diff --git a/hosting/locale/de/LC_MESSAGES/django.po b/hosting/locale/de/LC_MESSAGES/django.po index ff7fb13a..13a0ecf4 100644 --- a/hosting/locale/de/LC_MESSAGES/django.po +++ b/hosting/locale/de/LC_MESSAGES/django.po @@ -45,6 +45,9 @@ msgstr "Benachrichtigungen" msgid "Logout" msgstr "Abmelden" +msgid "All Rights Reserved" +msgstr "Alle Rechte vorbehalten" + msgid "Invoice" msgstr "Rechnung" diff --git a/hosting/templates/hosting/base_short.html b/hosting/templates/hosting/base_short.html index e3703742..847daa37 100644 --- a/hosting/templates/hosting/base_short.html +++ b/hosting/templates/hosting/base_short.html @@ -115,7 +115,7 @@ {% if request.user.is_authenticated %} {% else %} diff --git a/hosting/templates/hosting/includes/_footer.html b/hosting/templates/hosting/includes/_footer.html index 270c9b61..65177315 100644 --- a/hosting/templates/hosting/includes/_footer.html +++ b/hosting/templates/hosting/includes/_footer.html @@ -26,8 +26,8 @@ Contact -Copyright © ungleich GmbH {% now "Y" %}. All Rights Reserved
+Copyright © ungleich GmbH {% now "Y" %}. {% trans "All Rights Reserved" %}
- \ No newline at end of file +