From daa2b7e7c3e7315d9ebab9d86ee8f158bc17d4b1 Mon Sep 17 00:00:00 2001 From: Jeremy Benoist Date: Fri, 12 Feb 2016 16:58:30 +0100 Subject: More translations --- .../views/themes/material/Entry/entry.html.twig | 40 +++++++++++++++++++--- .../views/themes/material/Entry/new_form.html.twig | 15 ++++---- .../views/themes/material/Static/howto.html.twig | 6 +--- .../views/themes/material/Tag/new_form.html.twig | 15 ++++---- 4 files changed, 50 insertions(+), 26 deletions(-) (limited to 'src/Wallabag/CoreBundle/Resources/views/themes/material') diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig index 6f8c3674..7dea1b7f 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig @@ -97,11 +97,41 @@
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/new_form.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/new_form.html.twig index 2de53106..f1e56412 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/new_form.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/new_form.html.twig @@ -1,14 +1,13 @@
+ {% if form_errors(form) %} + {{ form_errors(form) }} + {% endif %} - {% if form_errors(form) %} - {{ form_errors(form) }} - {% endif %} + {% if form_errors(form.url) %} + {{ form_errors(form.url) }} + {% endif %} - {% if form_errors(form.url) %} - {{ form_errors(form.url) }} - {% endif %} - - {{ form_widget(form.url, { 'attr': {'autocomplete': 'off', 'placeholder': 'http://website' | trans} }) }} + {{ form_widget(form.url, { 'attr': {'autocomplete': 'off', 'placeholder': 'http://website'} }) }}
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Static/howto.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Static/howto.html.twig index 63b51aaa..e2795409 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Static/howto.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Static/howto.html.twig @@ -18,12 +18,10 @@ -
{% trans %}Thanks to this form{% endtrans %}
-
-
-
{% trans %}Drag & drop this link to your bookmarks bar:{% endtrans %} {% include 'WallabagCoreBundle::_bookmarklet.html.twig' %} diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Tag/new_form.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Tag/new_form.html.twig index 0534a4cc..79310307 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Tag/new_form.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Tag/new_form.html.twig @@ -1,14 +1,13 @@
+ {% if form_errors(form) %} + {{ form_errors(form) }} + {% endif %} - {% if form_errors(form) %} - {{ form_errors(form) }} - {% endif %} + {% if form_errors(form.label) %} + {{ form_errors(form.label) }} + {% endif %} - {% if form_errors(form.label) %} - {{ form_errors(form.label) }} - {% endif %} - - {{ form_widget(form.label, { 'attr': {'autocomplete': 'off'} }) }} + {{ form_widget(form.label, { 'attr': {'autocomplete': 'off'} }) }}
-- cgit v1.2.3