From 9d62aceba4639158974c1dcbb14aa6e353bca36a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Lecour?= Date: Wed, 13 Jun 2018 20:27:48 +0200 Subject: [PATCH] Extract a few localizations --- app/views/devise/registrations/edit.html.erb | 2 +- config/locales/en.yml | 3 +++ config/locales/fr.yml | 3 +++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/app/views/devise/registrations/edit.html.erb b/app/views/devise/registrations/edit.html.erb index 43fc77b..367c124 100644 --- a/app/views/devise/registrations/edit.html.erb +++ b/app/views/devise/registrations/edit.html.erb @@ -15,7 +15,7 @@ hint: t('.we_need_your_current_password_to_confirm_your_changes') %>
-

Want to change your password ?

+

<%= t('.change_password_title') %>

<%= f.input :password, autocomplete: "off", hint: (t('devise.shared.minimum_password_length', count: @minimum_password_length) diff --git a/config/locales/en.yml b/config/locales/en.yml index d274054..805fee2 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -16,6 +16,9 @@ en: registrations: new: tos_acceptance_html: "You must accept our Terms of service" + edit: + title: Update your profile + change_password_title: "Want to change your password?" simple_form: placeholders: diff --git a/config/locales/fr.yml b/config/locales/fr.yml index 18663f5..87ba44c 100644 --- a/config/locales/fr.yml +++ b/config/locales/fr.yml @@ -16,6 +16,9 @@ fr: registrations: new: tos_acceptance_html: "Vous devez accepter les Conditions d'utilisation" + edit: + title: Modification de votre profil + change_password_title: "Vous voulez changer de mot de passe ?" simple_form: placeholders: