diff --git a/datacenterlight/locale/de/LC_MESSAGES/django.po b/datacenterlight/locale/de/LC_MESSAGES/django.po index 89c4f4ff..72977d27 100644 --- a/datacenterlight/locale/de/LC_MESSAGES/django.po +++ b/datacenterlight/locale/de/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-06-14 17:33-0500\n" +"POT-Creation-Date: 2017-06-15 23:57+0530\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -18,6 +18,14 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" +#: templates/datacenterlight/base.html:72 +msgid "Please enter your name" +msgstr "Bitte gib Deinen Namen ein" + +#: templates/datacenterlight/base.html:73 +msgid "Please enter a valid email address" +msgstr "Bitte gib eine gültige E-Mail-Adresse ein" + #: templates/datacenterlight/beta_access.html:13 msgid "Enter name" msgstr "Name" @@ -281,6 +289,9 @@ msgstr "" msgid "as soon as possible!" msgstr "" +#~ msgid "Buy VM" +#~ msgstr "VM Kaufen" + #~ msgid "Our data center" #~ msgstr "Unser Datacenter" @@ -296,9 +307,6 @@ msgstr "" #~ msgid "I want to have it!" #~ msgstr "Das möchte ich haben!" -#~ msgid "Buy VM" -#~ msgstr "VM Kaufen" - #~ msgid "" #~ "Reuse existing factory halls intead of building an expensive building." #~ msgstr "" diff --git a/datacenterlight/templates/datacenterlight/base.html b/datacenterlight/templates/datacenterlight/base.html index 06fcd804..c62d92f7 100644 --- a/datacenterlight/templates/datacenterlight/base.html +++ b/datacenterlight/templates/datacenterlight/base.html @@ -69,6 +69,8 @@ ignore: [] }); + var name_message = "{% trans 'Please enter your name' %}"; + var email_message = "{% trans 'Please enter a valid email address' %}"; $('#order_form').validate({ wrapper: 'div', errorLabelContainer: "#error_message_box", @@ -83,8 +85,8 @@ } }, messages: { - name: "Please enter your name", - email: "Please enter a valid email address" + name: name_message, + email: email_message }, submitHandler: function (form) { return true;