localization for form-contact shortcode (#185)

This commit is contained in:
Marco 2019-08-10 15:18:38 +02:00 committed by Bud Parr
parent d444d79c5a
commit a1500631c4
9 changed files with 125 additions and 5 deletions

View file

@ -15,3 +15,18 @@ other = "Was ist in dieser {{ .Type }}"
[related] [related]
other = "Ähnliches" other = "Ähnliches"
[yourName]
other = "Dein Name"
[emailAddress]
other = "Email Adresse"
[message]
other = "Nachricht"
[emailRequiredNote]
other = "Eine Email Adresse wird benötigt."
[send]
other = "Senden"

View file

@ -15,3 +15,18 @@ other = "What's in this {{ .Type }}"
[related] [related]
other = "Related" other = "Related"
[yourName]
other = "Your Name"
[emailAddress]
other = "Email Address"
[message]
other = "Message"
[emailRequiredNote]
other = "An email address is required."
[send]
other = "Send"

View file

@ -15,3 +15,18 @@ other = "Qué hay en este {{ .Type }}"
[related] [related]
other = "Relacionado" other = "Relacionado"
[yourName]
other = "Tu nombre"
[emailAddress]
other = "Dirección de correo electrónico"
[message]
other = "Mensaje"
[emailRequiredNote]
other = "Se requiere una dirección de correo electrónico."
[send]
other = "Enviar"

View file

@ -15,3 +15,18 @@ other = "Ce qui est dans {{ .Type }}"
[related] [related]
other = "Lié" other = "Lié"
[yourName]
other = "Votre nom"
[emailAddress]
other = "Adresse e-mail"
[message]
other = "Message"
[emailRequiredNote]
other = "Une adresse e-mail est requise."
[send]
other = "Envoyer"

View file

@ -15,3 +15,18 @@ other = "Inhoud van deze {{ .Type }}"
[related] [related]
other = "Gerelateerd" other = "Gerelateerd"
[yourName]
other = "Uw naam"
[emailAddress]
other = "E-mail adres"
[message]
other = "Boodschap"
[emailRequiredNote]
other = "Een e-mailadres is vereist."
[send]
other = "Stuur"

View file

@ -15,3 +15,18 @@ other = "O que há neste {{ .Type }}"
[related] [related]
other = "Relacionado" other = "Relacionado"
[yourName]
other = "O teu nome"
[emailAddress]
other = "Endereço de e-mail"
[message]
other = "Mensagem"
[emailRequiredNote]
other = "É necessário um endereço de e-mail."
[send]
other = "Enviar"

View file

@ -15,3 +15,18 @@ other = "Содержание {{ .Type }}"
[related] [related]
other = "Схожие" other = "Схожие"
[yourName]
other = "Ваше имя"
[emailAddress]
other = "Адрес электронной почты"
[message]
other = "Сообщение"
[emailRequiredNote]
other = "Требуется адрес электронной почты."
[send]
other = "трансмиссия"

View file

@ -15,3 +15,18 @@ other = "What's in this {{ .Type }}"
[related] [related]
other = "相關內容" other = "相關內容"
[yourName]
other = "你的名字"
[emailAddress]
other = "电邮地址"
[message]
other = "信息"
[emailRequiredNote]
other = "需要电子邮件地址。"
[send]
other = "发送"

View file

@ -3,18 +3,18 @@
<form class="black-80 sans-serif" accept-charset="UTF-8" action="{{ .Get "action" }}" method="POST" role="form"> <form class="black-80 sans-serif" accept-charset="UTF-8" action="{{ .Get "action" }}" method="POST" role="form">
<label class="{{ $.Scratch.Get "labelClasses" }}" for="name">Your Name</label> <label class="{{ $.Scratch.Get "labelClasses" }}" for="name">{{ i18n "yourName" }}</label>
<input type="text" id="name" name="name" class="{{ $.Scratch.Get "inputClasses" }}" required placeholder=" " aria-labelledby="name"/> <input type="text" id="name" name="name" class="{{ $.Scratch.Get "inputClasses" }}" required placeholder=" " aria-labelledby="name"/>
<label class="{{ $.Scratch.Get "labelClasses" }}" for="email">Email Address</label> <label class="{{ $.Scratch.Get "labelClasses" }}" for="email">{{ i18n "emailAddress" }}</label>
<input type="email" id="email" name="email" class="{{ $.Scratch.Get "inputClasses" }}" required placeholder=" " aria-labelledby="email"/> <input type="email" id="email" name="email" class="{{ $.Scratch.Get "inputClasses" }}" required placeholder=" " aria-labelledby="email"/>
<div class="requirements f6 gray glow i ph3 overflow-hidden"> <div class="requirements f6 gray glow i ph3 overflow-hidden">
An email address is required. {{ i18n "emailRequiredNote" }}
</div> </div>
<label class="{{ $.Scratch.Get "labelClasses" }}" for="message">Message</label> <label class="{{ $.Scratch.Get "labelClasses" }}" for="message">{{ i18n "message" }}</label>
<textarea id="message" name="message" class="{{ $.Scratch.Get "inputClasses" }} h4" aria-labelledby="message"></textarea> <textarea id="message" name="message" class="{{ $.Scratch.Get "inputClasses" }} h4" aria-labelledby="message"></textarea>
<input class="db w-100 mv2 white pa3 bn hover-shadow hover-bg-blck bg-animate bg-black" type="submit" value="Send" /> <input class="db w-100 mv2 white pa3 bn hover-shadow hover-bg-blck bg-animate bg-black" type="submit" value="{{ i18n "send" }}" />
</form> </form>