Skip to content

Commit

Permalink
i18n: Add footer email placeholder text
Browse files Browse the repository at this point in the history
  • Loading branch information
loup-brun committed Jan 23, 2020
1 parent 6be827e commit 6f083ca
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
7 changes: 6 additions & 1 deletion exampleSite/i18n/en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@

- id: join
translation: Join

- id: enter_email
translation: Enter your email…

- id: company
translation: company
Expand Down Expand Up @@ -104,4 +107,6 @@
translation: Our Teachers

- id: download
translation: Download
translation: Download

- id:
3 changes: 3 additions & 0 deletions exampleSite/i18n/fr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@

- id: join
translation: S’abonner

- id: enter_email
translation: Entrez votre courriel…

- id: company
translation: compagnie
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<h3 class="text-white">{{ i18n "subscribe_newsletter" }}</h3>
<form action="{{ .mailchimp_form_action }}" method="post" name="mc-embedded-subscribe-form" target="_blank">
<div class="input-wrapper">
<input type="email" class="form-control border-0" id="newsletter" name="newsletter" placeholder="Enter Your Email...">
<input type="email" class="form-control border-0" id="newsletter" name="newsletter" placeholder="{{ i18n "enter_email" }}">
<button type="submit" name="subscribe" class="btn btn-primary">{{ i18n "join" }}</button>
<div style="position: absolute; left: -5000px;" aria-hidden="true">
<input type="text" name="{{ .mailchimp_form_name }}" tabindex="-1">
Expand Down

0 comments on commit 6f083ca

Please sign in to comment.