21
1
Fork 0
mirror of https://github.com/Evolix/chexpire.git synced 2024-04-30 16:00:50 +02:00

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> <p><%= t(".intro") %></p>
</div> </div>
<div class="d-flex flex-wrap justify-content-around align-items-center"> <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 t(".actions.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.sign_up"), new_user_registration_path, :class => "btn btn-tertiary" %>
</div> </div>
</div> </div>
</div> </div>

View file

@ -97,6 +97,9 @@ en:
home_header: home_header:
welcome: "Chexpire" welcome: "Chexpire"
intro: "Never forget to renew a domain name or SSL certificate." intro: "Never forget to renew a domain name or SSL certificate."
actions:
learn_more: "Learn More"
sign_up: "Sign Up"
beta_banner: 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." 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." issue_link: "Please report issues."

View file

@ -119,13 +119,16 @@ fr:
new_domain_check: "Nouveau nom de domaine" new_domain_check: "Nouveau nom de domaine"
new_ssl_check: "Nouveau certificat SSL" new_ssl_check: "Nouveau certificat SSL"
my_notifications: "Mes notifications" my_notifications: "Mes notifications"
sign_up: "Enregistrement" sign_up: "Inscription"
sign_in: "Connexion" sign_in: "Connexion"
sign_out: "Déconnexion" sign_out: "Déconnexion"
profile: "Profil" profile: "Profil"
home_header: home_header:
welcome: "Chexpire" welcome: "Chexpire"
intro: "vous n'oublierez plus jamais de renouveler un nom de domaine ou un certificat SSL." 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_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." 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." issue_link: "Merci de nous reporter bugs et suggestions."