feat(i18n): translate email greetings
This commit is contained in:
parent
a80fc96d5c
commit
6eb072e69f
29 changed files with 32 additions and 56 deletions
|
@ -2,8 +2,7 @@
|
|||
- if @user.unconfirmed_email.nil?
|
||||
- content_for(:title, 'Activate account')
|
||||
|
||||
%p
|
||||
Dear Sir or Madam,
|
||||
%p= t(:greeting, scope: [:layouts, :signature])
|
||||
|
||||
%p
|
||||
You have entered your details to create an account on #{APPLICATION_NAME}. To confirm your email and finish creating your account, select the following link:
|
||||
|
@ -13,8 +12,7 @@
|
|||
- else
|
||||
- content_for(:title, "Change email address")
|
||||
|
||||
%p
|
||||
Dear Sir or Madam,
|
||||
%p= t(:greeting, scope: [:layouts, :signature])
|
||||
|
||||
%p
|
||||
To confirm your account email change on #{APPLICATION_NAME}, select the following link:
|
||||
|
|
|
@ -2,8 +2,7 @@
|
|||
- if @user.unconfirmed_email.nil?
|
||||
- content_for(:title, 'Activez votre compte')
|
||||
|
||||
%p
|
||||
Bonjour,
|
||||
%p= t(:greeting, scope: [:layouts, :signature])
|
||||
|
||||
%p
|
||||
Pour activer votre compte sur #{APPLICATION_NAME}, veuillez cliquer sur le lien suivant :
|
||||
|
@ -13,8 +12,7 @@
|
|||
- else
|
||||
- content_for(:title, "Changement d’adresse email")
|
||||
|
||||
%p
|
||||
Bonjour,
|
||||
%p= t(:greeting, scope: [:layouts, :signature])
|
||||
|
||||
%p
|
||||
Pour confirmer votre changement d’adresse email, veuillez cliquer sur le lien suivant :
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
- content_for(:title, 'New email address')
|
||||
|
||||
%p
|
||||
Dear Sir or Madam,
|
||||
%p= t(:greeting, scope: [:layouts, :signature])
|
||||
|
||||
- unconfirmed_email = @resource.try(:unconfirmed_email?)
|
||||
- if unconfirmed_email.present?
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
- content_for(:title, 'Votre nouvelle adresse email')
|
||||
|
||||
%p
|
||||
Bonjour,
|
||||
%p= t(:greeting, scope: [:layouts, :signature])
|
||||
|
||||
- unconfirmed_email = @resource.try(:unconfirmed_email?)
|
||||
- if unconfirmed_email.present?
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
- content_for(:title, 'New password')
|
||||
|
||||
%p
|
||||
Dear Sir or Madam,
|
||||
%p= t(:greeting, scope: [:layouts, :signature])
|
||||
|
||||
%p
|
||||
A request to change your password on #{APPLICATION_NAME} for the account #{@resource.email} was successfully processed.
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
- content_for(:title, 'Votre nouveau mot de passe')
|
||||
|
||||
%p
|
||||
Bonjour,
|
||||
%p= t(:greeting, scope: [:layouts, :signature])
|
||||
|
||||
%p
|
||||
La demande de changement de mot de passe pour votre compte #{@resource.email} sur
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
%p
|
||||
Dear Sir or Madam,
|
||||
%p= t(:greeting, scope: [:layouts, :signature])
|
||||
|
||||
%p
|
||||
Someone has requested to change your account password on #{APPLICATION_NAME}. To define a new password, select the following link:
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
%p
|
||||
Bonjour,
|
||||
%p= t(:greeting, scope: [:layouts, :signature])
|
||||
|
||||
%p
|
||||
Vous avez demandé à changer votre mot de passe sur #{APPLICATION_NAME}. Pour ceci, merci de cliquer sur le lien suivant :
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
- content_for(:title, 'Reactivate account')
|
||||
|
||||
%p
|
||||
Dear Sir or Madam,
|
||||
%p= t(:greeting, scope: [:layouts, :signature])
|
||||
|
||||
%p
|
||||
Someone made too many unsuccessful attempts to connect to your account #{@resource.email} on #{APPLICATION_NAME}.
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
- content_for(:title, 'Réactivez votre compte')
|
||||
|
||||
%p
|
||||
Bonjour,
|
||||
%p= t(:greeting, scope: [:layouts, :signature])
|
||||
|
||||
%p
|
||||
Quelqu’un a tenté de se connecter un grand nombre de fois sans succès à votre
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
- content_for(:title, "#{@subject}")
|
||||
|
||||
%p
|
||||
Bonjour,
|
||||
%p= t(:greeting, scope: [:layouts, :signature])
|
||||
|
||||
%p
|
||||
= t('.header', count: @deleted_dossiers.count)
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
- content_for(:title, "#{@subject}")
|
||||
|
||||
%p
|
||||
Bonjour,
|
||||
%p= t(:greeting, scope: [:layouts, :signature])
|
||||
|
||||
%p
|
||||
= t('.header', count: @deleted_dossiers.count)
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
- content_for(:title, "#{@subject}")
|
||||
|
||||
%p
|
||||
Bonjour,
|
||||
%p= t(:greeting, scope: [:layouts, :signature])
|
||||
|
||||
%p
|
||||
= t('.header', count: @dossier_hashes.count)
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
- content_for(:title, "#{@subject}")
|
||||
|
||||
%p
|
||||
Bonjour,
|
||||
%p= t(:greeting, scope: [:layouts, :signature])
|
||||
|
||||
%p
|
||||
= t('.header', count: @dossiers.count)
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
- content_for(:title, "#{@subject}")
|
||||
|
||||
%p
|
||||
Bonjour,
|
||||
%p= t(:greeting, scope: [:layouts, :signature])
|
||||
|
||||
%p
|
||||
Le dossier n°#{@dossier.id} pour la démarche «
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
- content_for(:title, "#{@subject}")
|
||||
|
||||
%p
|
||||
Bonjour,
|
||||
%p= t(:greeting, scope: [:layouts, :signature])
|
||||
|
||||
%p
|
||||
= t('.body', dossier_id: @deleted_dossier.dossier_id, procedure: @deleted_dossier.procedure.libelle)
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
- content_for(:title, "#{@subject}")
|
||||
|
||||
%p
|
||||
Bonjour,
|
||||
%p= t(:greeting, scope: [:layouts, :signature])
|
||||
|
||||
%p
|
||||
= t('.body', dossier_id: @deleted_dossier.dossier_id, procedure: @deleted_dossier.procedure.libelle)
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
- content_for(:title, "#{@subject}")
|
||||
|
||||
%p= t(:greeting, scope: [:layouts, :signature])
|
||||
|
||||
%p
|
||||
= "Vous suiviez jusqu'à maintenant le dossier n°#{@dossier_id} de la démarche #{@demarche}."
|
||||
L’usager a modifié le groupe de routage. Son dossier appartient maintenant à un groupe instructeur dont vous ne faites pas partie.
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
- content_for(:title, "#{@subject}")
|
||||
|
||||
%p
|
||||
Bonjour,
|
||||
%p= t(:greeting, scope: [:layouts, :signature])
|
||||
|
||||
%p
|
||||
= t('.body_html', dossier_id: @deleted_dossier.dossier_id, libelle_demarche: @deleted_dossier.procedure.libelle, deleted_dossiers_link: dossiers_url(statut: 'dossiers-supprimes'))
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
- content_for(:title, "#{@subject}")
|
||||
|
||||
%p
|
||||
Bonjour,
|
||||
%p= t(:greeting, scope: [:layouts, :signature])
|
||||
|
||||
%p
|
||||
- if @state == Dossier.states.fetch(:en_construction)
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
- content_for(:title, "#{@subject}")
|
||||
|
||||
%p
|
||||
Bonjour,
|
||||
%p= t(:greeting, scope: [:layouts, :signature])
|
||||
|
||||
%p
|
||||
- if @state == Dossier.states.fetch(:en_construction)
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
- content_for :procedure_logo do
|
||||
= render 'layouts/mailers/logo', url: @logo_url
|
||||
|
||||
%p
|
||||
Bonjour,
|
||||
%p= t(:greeting, scope: [:layouts, :signature])
|
||||
|
||||
- if !@dossier.brouillon?
|
||||
%p
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
- content_for(:title, "#{@subject}")
|
||||
|
||||
%p
|
||||
Bonjour,
|
||||
%p= t(:greeting, scope: [:layouts, :signature])
|
||||
|
||||
%p
|
||||
= t('.body', dossier_id: @dossier.id, libelle_demarche: @dossier.procedure.libelle)
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
- content_for(:title, "#{@subject}")
|
||||
|
||||
%p
|
||||
Bonjour,
|
||||
%p= t(:greeting, scope: [:layouts, :signature])
|
||||
|
||||
%p
|
||||
= t('.body', dossier_id: @dossier.id, libelle_demarche: @dossier.procedure.libelle)
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
- content_for :procedure_logo do
|
||||
= render 'layouts/mailers/logo', url: @logo_url
|
||||
|
||||
%p
|
||||
Dear Sir or Madam,
|
||||
%p= t(:greeting, scope: [:layouts, :signature])
|
||||
|
||||
%p
|
||||
You started filling a File on the procedure:
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
- content_for :procedure_logo do
|
||||
= render 'layouts/mailers/logo', url: @logo_url
|
||||
|
||||
%p
|
||||
Bonjour,
|
||||
%p= t(:greeting, scope: [:layouts, :signature])
|
||||
|
||||
%p
|
||||
Vous avez commencé à remplir un dossier pour la démarche
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
- content_for :procedure_logo do
|
||||
= render 'layouts/mailers/logo', url: @logo_url
|
||||
|
||||
%p
|
||||
Bonjour,
|
||||
%p= t(:greeting, scope: [:layouts, :signature])
|
||||
|
||||
%p
|
||||
Votre dossier va être réexaminé, la précédente décision sur ce dossier est caduque.
|
||||
|
|
|
@ -54,6 +54,7 @@ en:
|
|||
locale_dropdown:
|
||||
languages: "Languages"
|
||||
signature:
|
||||
greeting: Dear Sir or Madam,
|
||||
best_regards: Best Regards,
|
||||
views:
|
||||
commencer:
|
||||
|
|
|
@ -44,6 +44,7 @@ fr:
|
|||
locale_dropdown:
|
||||
languages: "Langues"
|
||||
signature:
|
||||
greeting: Bonjour,
|
||||
best_regards: Bonne journée,
|
||||
views:
|
||||
commencer:
|
||||
|
|
Loading…
Reference in a new issue