From be8199de02037921c25ae8e4dd234a9e5e191d73 Mon Sep 17 00:00:00 2001 From: Vincent Jousse Date: Fri, 13 Dec 2013 23:12:08 +0100 Subject: [PATCH] Add trans in templates --- app/views/index.twig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/index.twig b/app/views/index.twig index 4b25ce3..2c3e924 100644 --- a/app/views/index.twig +++ b/app/views/index.twig @@ -3,7 +3,7 @@ {% block content %} {% if entries is empty %} -

No link available here!

+

{{ 'No link available here!'|trans }}

{% else %} {% for entry in entries %} @@ -12,7 +12,7 @@

{{ entry.content|striptags|slice(0, 300) }}...

{% endfor %} -

poche a new link

+

{{ 'poche a new link'|trans }}

{% endif %}