From 6dc8e7c8f44a6ff1e73955315a1f4d9e703d3d81 Mon Sep 17 00:00:00 2001 From: Rafael Dohms Date: Wed, 20 Aug 2014 14:16:08 +0200 Subject: [PATCH] Translating Error Messages Without this call to `trans` the custom error messages are not translated, only the proper built-in ones. --- Resources/views/Form/bootstrap.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Resources/views/Form/bootstrap.html.twig b/Resources/views/Form/bootstrap.html.twig index 8c73c1f..2e7c888 100644 --- a/Resources/views/Form/bootstrap.html.twig +++ b/Resources/views/Form/bootstrap.html.twig @@ -830,7 +830,7 @@ {% endif %} {% for error in errors %} -
  • {{ error.message }}
  • +
  • {{ error.message|trans }}
  • {% endfor %} {% if global_errors == true %}