From 2607836203601fb56d3da6d735e0967c409d4079 Mon Sep 17 00:00:00 2001 From: Sylvain Date: Wed, 7 Sep 2016 15:56:41 +0200 Subject: [PATCH] fix message in case of wrong mime type --- config/locales/rails.en.yml | 2 +- config/locales/rails.fr.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/locales/rails.en.yml b/config/locales/rails.en.yml index f74f5d29d..42f0b3800 100644 --- a/config/locales/rails.en.yml +++ b/config/locales/rails.en.yml @@ -130,7 +130,7 @@ en: one: is the wrong length (should be 1 character) other: is the wrong length (should be %{count} characters) other_than: must be other than %{count} - wrong_content_type: "is the wrong content type" + wrong_content_type: "content type is not allowed" template: body: 'There were problems with the following fields:' header: diff --git a/config/locales/rails.fr.yml b/config/locales/rails.fr.yml index 42601f161..a2952b5f3 100644 --- a/config/locales/rails.fr.yml +++ b/config/locales/rails.fr.yml @@ -132,7 +132,7 @@ fr: one: ne fait pas la bonne longueur (doit comporter un seul caractère) other: ne fait pas la bonne longueur (doit comporter %{count} caractères) other_than: doit être différent de %{count} - wrong_content_type: "n'est pas le bon type de contenu" + wrong_content_type: "ce type de contenu n'est pas autorisé" template: body: 'Veuillez vérifier les champs suivants : ' header: