fix(contact): add missing notices locales

This commit is contained in:
Colin Darie 2024-07-31 11:59:50 +02:00
parent 5af32b46f4
commit e71c1781a9
No known key found for this signature in database
GPG key ID: 4FB865FDBCA4BCC4
3 changed files with 8 additions and 2 deletions

View file

@ -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

View file

@ -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.

View file

@ -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é.