fix(contact): add missing notices locales
This commit is contained in:
parent
5af32b46f4
commit
e71c1781a9
3 changed files with 8 additions and 2 deletions
|
@ -14,7 +14,7 @@ class SupportController < ApplicationController
|
|||
def create
|
||||
if direct_message?
|
||||
create_commentaire!
|
||||
flash.notice = "Votre message a été envoyé sur la messagerie de votre dossier."
|
||||
flash.notice = t('.direct_message_sent')
|
||||
|
||||
redirect_to messagerie_dossier_path(dossier)
|
||||
return
|
||||
|
@ -27,7 +27,7 @@ class SupportController < ApplicationController
|
|||
|
||||
if @form.save
|
||||
@form.create_conversation_later
|
||||
flash.notice = "Votre message a été envoyé."
|
||||
flash.notice = t('.message_sent')
|
||||
|
||||
redirect_to root_path
|
||||
else
|
||||
|
|
|
@ -68,3 +68,6 @@ en:
|
|||
question: I want to open an admin account with an Orange, Wanadoo, etc. email
|
||||
admin_autre:
|
||||
question: Other topic
|
||||
create:
|
||||
direct_message_sent: Your message has been sent to the mailbox in your file.
|
||||
message_sent: Your message has been sent.
|
||||
|
|
|
@ -69,3 +69,6 @@ fr:
|
|||
question: Je souhaite ouvrir un compte administrateur avec un email Orange, Wanadoo, etc.
|
||||
admin_autre:
|
||||
question: Autre sujet
|
||||
create:
|
||||
direct_message_sent: Votre message a été envoyé sur la messagerie de votre dossier.
|
||||
message_sent: Votre message a été envoyé.
|
||||
|
|
Loading…
Reference in a new issue