localize home page action buttons

This commit is contained in:
Jérémy Lecour 2018-09-03 22:50:17 +02:00
parent ee19554391
commit 36bc50d83a
3 changed files with 9 additions and 3 deletions

View File

@ -6,8 +6,8 @@
<p><%= t(".intro") %></p>
</div>
<div class="d-flex flex-wrap justify-content-around align-items-center">
<%= link_to "Learn More", root_path(@root, anchor: "description"), :class => "btn btn-primary" %>
<%= link_to "Sign Up", new_user_registration_path, :class => "btn btn-tertiary" %>
<%= link_to t(".actions.learn_more"), root_path(@root, anchor: "description"), :class => "btn btn-primary" %>
<%= link_to t(".actions.sign_up"), new_user_registration_path, :class => "btn btn-tertiary" %>
</div>
</div>
</div>

View File

@ -97,6 +97,9 @@ en:
home_header:
welcome: "Chexpire"
intro: "Never forget to renew a domain name or SSL certificate."
actions:
learn_more: "Learn More"
sign_up: "Sign Up"
beta_banner:
beta_info: "Chexpire is in \"beta\" release: only few TLD (.com/.net/.org/.fr) are verified for domain name checks and TLS 1.2 is not supported for SSL checks."
issue_link: "Please report issues."

View File

@ -119,13 +119,16 @@ fr:
new_domain_check: "Nouveau nom de domaine"
new_ssl_check: "Nouveau certificat SSL"
my_notifications: "Mes notifications"
sign_up: "Enregistrement"
sign_up: "Inscription"
sign_in: "Connexion"
sign_out: "Déconnexion"
profile: "Profil"
home_header:
welcome: "Chexpire"
intro: "vous n'oublierez plus jamais de renouveler un nom de domaine ou un certificat SSL."
actions:
learn_more: "En savoir plus"
sign_up: "S'inscrire"
beta_banner:
beta_info: "Chexpire est en version \"beta\" : seuls certains TLD (.com/.net/.org/.fr) sont vérifiés pour les noms de domaine et TLS 1.2 n'est pas supporté pour les vérifications SSL."
issue_link: "Merci de nous reporter bugs et suggestions."