Fixed translations of validation messages
This commit is contained in:
parent
fcbeefb1d9
commit
a56d08e729
2 changed files with 16 additions and 6 deletions
|
@ -8,7 +8,7 @@ msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: PACKAGE VERSION\n"
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2017-06-14 17:33-0500\n"
|
"POT-Creation-Date: 2017-06-15 06:09+0530\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
|
@ -18,6 +18,14 @@ msgstr ""
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||||
|
|
||||||
|
#: templates/datacenterlight/base.html:86
|
||||||
|
msgid "Please enter your name"
|
||||||
|
msgstr "Bitte geben Sie Ihren Namen ein"
|
||||||
|
|
||||||
|
#: templates/datacenterlight/base.html:87
|
||||||
|
msgid "Please enter a valid email address"
|
||||||
|
msgstr "Bitte geben Sie eine gültige E-Mail-Adresse ein"
|
||||||
|
|
||||||
#: templates/datacenterlight/beta_access.html:13
|
#: templates/datacenterlight/beta_access.html:13
|
||||||
msgid "Enter name"
|
msgid "Enter name"
|
||||||
msgstr "Name"
|
msgstr "Name"
|
||||||
|
@ -281,6 +289,9 @@ msgstr ""
|
||||||
msgid "as soon as possible!"
|
msgid "as soon as possible!"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#~ msgid "Buy VM"
|
||||||
|
#~ msgstr "VM Kaufen"
|
||||||
|
|
||||||
#~ msgid "Our data center"
|
#~ msgid "Our data center"
|
||||||
#~ msgstr "Unser Datacenter"
|
#~ msgstr "Unser Datacenter"
|
||||||
|
|
||||||
|
@ -296,9 +307,6 @@ msgstr ""
|
||||||
#~ msgid "I want to have it!"
|
#~ msgid "I want to have it!"
|
||||||
#~ msgstr "Das möchte ich haben!"
|
#~ msgstr "Das möchte ich haben!"
|
||||||
|
|
||||||
#~ msgid "Buy VM"
|
|
||||||
#~ msgstr "VM Kaufen"
|
|
||||||
|
|
||||||
#~ msgid ""
|
#~ msgid ""
|
||||||
#~ "Reuse existing factory halls intead of building an expensive building."
|
#~ "Reuse existing factory halls intead of building an expensive building."
|
||||||
#~ msgstr ""
|
#~ msgstr ""
|
||||||
|
|
|
@ -69,6 +69,8 @@
|
||||||
ignore: []
|
ignore: []
|
||||||
});
|
});
|
||||||
|
|
||||||
|
var name_message = "{% trans 'Please enter your name' %}";
|
||||||
|
var email_message = "{% trans 'Please enter a valid email address' %}";
|
||||||
$('#order_form').validate({
|
$('#order_form').validate({
|
||||||
wrapper: 'div',
|
wrapper: 'div',
|
||||||
errorLabelContainer: "#error_message_box",
|
errorLabelContainer: "#error_message_box",
|
||||||
|
@ -83,8 +85,8 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
messages: {
|
messages: {
|
||||||
name: "Please enter your name",
|
name: name_message,
|
||||||
email: "Please enter a valid email address"
|
email: email_message
|
||||||
},
|
},
|
||||||
submitHandler: function (form) {
|
submitHandler: function (form) {
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in a new issue