diff options
| author | Serghei Iakovlev <egrep@protonmail.ch> | 2022-05-28 15:15:11 +0200 |
|---|---|---|
| committer | Serghei Iakovlev <egrep@protonmail.ch> | 2022-05-28 15:15:11 +0200 |
| commit | 6b2b8e81e631a1fec44bdb94d5177cf5c56287c9 (patch) | |
| tree | 994d425dd7ea4e4d57986e64fefd712de8011c03 /layouts/shortcodes/form-contact.html | |
| parent | 512e94b28b243105e053c1090f56ac31846bc7cf (diff) | |
| download | gohugo-theme-ed-6b2b8e81e631a1fec44bdb94d5177cf5c56287c9.tar.gz | |
Added multilanguage support
Diffstat (limited to 'layouts/shortcodes/form-contact.html')
| -rw-r--r-- | layouts/shortcodes/form-contact.html | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/layouts/shortcodes/form-contact.html b/layouts/shortcodes/form-contact.html index 3be7777..1d216da 100644 --- a/layouts/shortcodes/form-contact.html +++ b/layouts/shortcodes/form-contact.html @@ -1,18 +1,17 @@ -{{- /* TODO: Translate me */ -}} <div class="contact-form"> <form accept-charset="UTF-8" action="{{ site.Params.Contact.formAction | default site.BaseURL }}" method="POST" id="contact-form"> <div class="contact-form-item"> - <label for="name" class="contact-form-label">Your name</label> + <label for="name" class="contact-form-label">{{ i18n "your_name" }}</label> <input type="text" id="name" name="name" class="contact-form-input form-input" placeholder="" required aria-labelledby="name"> </div> <div class="contact-form-item"> - <label for="email" class="contact-form-label">Email addres</label> + <label for="email" class="contact-form-label">{{ i18n "email_addres" }}</label> <input type="email" id="email" name="email" class="contact-form-input form-input" placeholder="" required aria-labelledby="email"> </div> <div class="contact-form-item"> - <label for="message" class="contact-form-label">Message</label> + <label for="message" class="contact-form-label">{{ i18n "message" }}</label> <textarea id="message" name="message" class="contact-form-textarea form-input" placeholder="" required aria-labelledby="message"></textarea> </div> |
