diff --git a/app/views/devise/confirmations/new.html.erb b/app/views/devise/confirmations/new.html.erb index e0413b71336486fe6995d1d72964d5d76ac90902..4d24f697b37fe29ea7ccd2093991c164fe8024f1 100644 --- a/app/views/devise/confirmations/new.html.erb +++ b/app/views/devise/confirmations/new.html.erb @@ -1,3 +1,5 @@ +<%= content_for :title, t('.title') %> + <h2 class="mb-4"><%= t(".resend_confirmation_instructions") %></h2> <%= simple_form_for(resource, as: resource_name, url: confirmation_path(resource_name), html: { method: :post }) do |f| %> diff --git a/app/views/devise/passwords/edit.html.erb b/app/views/devise/passwords/edit.html.erb index 91f5153e65816179e16167dec28509c9e454ea48..44071e8c97b72162ef84bcad2adf7a1747786742 100644 --- a/app/views/devise/passwords/edit.html.erb +++ b/app/views/devise/passwords/edit.html.erb @@ -1,3 +1,5 @@ +<%= content_for :title, t('.title') %> + <h2 class="mb-4"><%= t(".change_your_password") %></h2> <%= simple_form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |f| %> diff --git a/app/views/devise/passwords/new.html.erb b/app/views/devise/passwords/new.html.erb index 6a26084622965182e80d70984d75e9f2f531888b..0a10d6323f73c72f68ab680e2768f1cf252f53d2 100644 --- a/app/views/devise/passwords/new.html.erb +++ b/app/views/devise/passwords/new.html.erb @@ -1,3 +1,5 @@ +<%= content_for :title, t('.title') %> + <h2 class="mb-4"><%= t(".forgot_your_password") %></h2> <%= simple_form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post }) do |f| %> diff --git a/app/views/devise/registrations/new.html.erb b/app/views/devise/registrations/new.html.erb index a8502cf959b6585ea1038e36c51dc674ba8b722a..34db524df5ac26e9ec94e93f7afb440ab5d695eb 100644 --- a/app/views/devise/registrations/new.html.erb +++ b/app/views/devise/registrations/new.html.erb @@ -1,3 +1,5 @@ +<%= content_for :title, t('.title') %> + <h2 class="mb-4"><%= t(".sign_up") %></h2> <%= simple_form_for(resource, as: resource_name, url: registration_path(resource_name)) do |f| %> diff --git a/app/views/devise/sessions/new.html.erb b/app/views/devise/sessions/new.html.erb index 2fe19417cd1852b2f99324cebe4a4cc68414e732..b88f05d8d82afd9f702a3aba0aa3a9905bc6b719 100644 --- a/app/views/devise/sessions/new.html.erb +++ b/app/views/devise/sessions/new.html.erb @@ -1,4 +1,4 @@ -<%= content_for :title, 'Osuny' %> +<%= content_for :title, t('.title') %> <div class="row"> <div class="col-md-6 mb-5"> diff --git a/app/views/devise/unlocks/new.html.erb b/app/views/devise/unlocks/new.html.erb index 75388e5567465268245d7e92411b5564b943bca2..1035f065a148a66bc1b078263df78dab75fbbac2 100644 --- a/app/views/devise/unlocks/new.html.erb +++ b/app/views/devise/unlocks/new.html.erb @@ -1,3 +1,5 @@ +<%= content_for :title, t('.title') %> + <h2 class="mb-4"><%= t(".resend_unlock_instructions") %></h2> <%= simple_form_for(resource, as: resource_name, url: unlock_path(resource_name), html: { method: :post }) do |f| %> diff --git a/config/locales/devise.en.yml b/config/locales/devise.en.yml new file mode 100644 index 0000000000000000000000000000000000000000..df07a0b52740f02c7655fb367946f73ffd4da709 --- /dev/null +++ b/config/locales/devise.en.yml @@ -0,0 +1,21 @@ +en: + devise: + confirmations: + new: + title: Account confirmation + passwords: + edit: + new: Password change + new: + title: Password forgotton + registrations: + edit: + title: Account edition + new: + title: Register on Osuny + sessions: + new: + title: Welcome to Osuny + unlocks: + new: + title: Account unlocking diff --git a/config/locales/devise.fr.yml b/config/locales/devise.fr.yml new file mode 100644 index 0000000000000000000000000000000000000000..9c4e4fb7c2cd2bcc513e6d52548641ca7036bc86 --- /dev/null +++ b/config/locales/devise.fr.yml @@ -0,0 +1,21 @@ +fr: + devise: + confirmations: + new: + title: Confirmation de compte + passwords: + edit: + new: Changement de mot de passe + new: + title: Mot de passe oublié + registrations: + edit: + title: Modification de votre compte + new: + title: Inscription sur Osuny + sessions: + new: + title: Bienvenue sur Osuny + unlocks: + new: + title: Déblocage de compte