mirror of https://github.com/theNewDynamic/gohugo-theme-ananke.git

Marco
10.18.2019 a1500631c4b65960dd2eb85ca30b79be8347aa9b
localization for form-contact shortcode (#185)

9 files modified
130 ■■■■■ changed files
i18n/de.toml 15 ●●●●● patch | view | raw | blame | history
i18n/en.toml 15 ●●●●● patch | view | raw | blame | history
i18n/es.toml 15 ●●●●● patch | view | raw | blame | history
i18n/fr.toml 15 ●●●●● patch | view | raw | blame | history
i18n/nl.toml 15 ●●●●● patch | view | raw | blame | history
i18n/pt.toml 15 ●●●●● patch | view | raw | blame | history
i18n/ru.toml 15 ●●●●● patch | view | raw | blame | history
i18n/zh.toml 15 ●●●●● patch | view | raw | blame | history
layouts/shortcodes/form-contact.html 10 ●●●● patch | view | raw | blame | history
i18n/de.toml
@@ -15,3 +15,18 @@
[related]
other = "Ähnliches"
[yourName]
other = "Dein Name"
[emailAddress]
other = "Email Adresse"
[message]
other = "Nachricht"
[emailRequiredNote]
other = "Eine Email Adresse wird benötigt."
[send]
other = "Senden"
i18n/en.toml
@@ -15,3 +15,18 @@
[related]
other = "Related"
[yourName]
other = "Your Name"
[emailAddress]
other = "Email Address"
[message]
other = "Message"
[emailRequiredNote]
other = "An email address is required."
[send]
other = "Send"
i18n/es.toml
@@ -15,3 +15,18 @@
[related]
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"
i18n/fr.toml
@@ -15,3 +15,18 @@
[related]
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"
i18n/nl.toml
@@ -15,3 +15,18 @@
[related]
other = "Gerelateerd"
[yourName]
other = "Uw naam"
[emailAddress]
other = "E-mail adres"
[message]
other = "Boodschap"
[emailRequiredNote]
other = "Een e-mailadres is vereist."
[send]
other = "Stuur"
i18n/pt.toml
@@ -15,3 +15,18 @@
[related]
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"
i18n/ru.toml
@@ -15,3 +15,18 @@
[related]
other = "Схожие"
[yourName]
other = "Ваше имя"
[emailAddress]
other = "Адрес электронной почты"
[message]
other = "Сообщение"
[emailRequiredNote]
other = "Требуется адрес электронной почты."
[send]
other = "трансмиссия"
i18n/zh.toml
@@ -15,3 +15,18 @@
[related]
other = "相關內容"
[yourName]
other = "你的名字"
[emailAddress]
other = "电邮地址"
[message]
other = "信息"
[emailRequiredNote]
other = "需要电子邮件地址。"
[send]
other = "发送"
layouts/shortcodes/form-contact.html
@@ -3,18 +3,18 @@
<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"/>
    <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"/>
    <div class="requirements f6 gray glow i ph3 overflow-hidden">
      An email address is required.
      {{ i18n "emailRequiredNote" }}
    </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>
    <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>