21
1
Fork 0
mirror of https://github.com/Evolix/chexpire.git synced 2024-05-02 00:40:49 +02:00

Merge pull request #100 from Evolix/translation-sign-log

sign-in/out vs. log-in/out and localization on the home page
This commit is contained in:
Jérémy Lecour 2018-09-03 23:00:24 +02:00 committed by GitHub
commit 78effdfc81
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 6 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

@ -46,7 +46,7 @@
<%= link_to destroy_user_session_path, method: :delete, class: "dropdown-item" do %> <%= link_to destroy_user_session_path, method: :delete, class: "dropdown-item" do %>
<i class="fa fa-sign-out"></i> <i class="fa fa-sign-out"></i>
<%= t(".sign_out", default: "Log out") %> <%= t(".sign_out", default: "Sign out") %>
<% end %> <% end %>
</div> </div>
</div> </div>

View file

@ -91,12 +91,15 @@ en:
new_ssl_check: "New SSL check" new_ssl_check: "New SSL check"
my_notifications: "My notifications" my_notifications: "My notifications"
sign_up: "Sign up" sign_up: "Sign up"
sign_in: "Log in" sign_in: "Sign in"
sign_out: "Log out" sign_out: "Sign out"
profile: "Profile" profile: "Profile"
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."