diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-03-09 08:59:08 +0100 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-03-20 21:12:22 +0100 |
commit | 0d42217e4e8210dd2cf86f35ba9662ca02c8a2dc (patch) | |
tree | 4cf8b97ed3c06def270e9172c7b17c5c86048585 /src/Wallabag/ImportBundle/Resources/views/Import | |
parent | d2b4f01d7435e8a8f99b15a2487916427c04e58d (diff) | |
download | wallabag-0d42217e4e8210dd2cf86f35ba9662ca02c8a2dc.tar.gz wallabag-0d42217e4e8210dd2cf86f35ba9662ca02c8a2dc.tar.zst wallabag-0d42217e4e8210dd2cf86f35ba9662ca02c8a2dc.zip |
Convert english translation file
- convert english translation to translate key
- remove baggy template for login (never used since user isn't logged in and it'll use the default theme: material)
- fix tests about text in response (now checking translation key instead of translated text)
- remove all ugly `<div class="hidden">{{ form_rest(form) }}</div>`
Diffstat (limited to 'src/Wallabag/ImportBundle/Resources/views/Import')
-rw-r--r-- | src/Wallabag/ImportBundle/Resources/views/Import/index.html.twig | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/Wallabag/ImportBundle/Resources/views/Import/index.html.twig b/src/Wallabag/ImportBundle/Resources/views/Import/index.html.twig index 8c300624..aebbfa20 100644 --- a/src/Wallabag/ImportBundle/Resources/views/Import/index.html.twig +++ b/src/Wallabag/ImportBundle/Resources/views/Import/index.html.twig | |||
@@ -1,17 +1,18 @@ | |||
1 | {% extends "WallabagCoreBundle::layout.html.twig" %} | 1 | {% extends "WallabagCoreBundle::layout.html.twig" %} |
2 | {% block title %}{% trans %}Import{% endtrans %}{% endblock %} | 2 | |
3 | {% block title %}{{ 'import.page_title'|trans }}{% endblock %} | ||
3 | 4 | ||
4 | {% block content %} | 5 | {% block content %} |
5 | <div class="row"> | 6 | <div class="row"> |
6 | <div class="col s12"> | 7 | <div class="col s12"> |
7 | <div class="card-panel settings"> | 8 | <div class="card-panel settings"> |
8 | {% trans %}Welcome to wallabag importer. Please select your previous service that you want to migrate.{% endtrans %} | 9 | {{ 'import.page_description'|trans }} |
9 | <ul> | 10 | <ul> |
10 | {% for import in imports %} | 11 | {% for import in imports %} |
11 | <li> | 12 | <li> |
12 | <h5>{{ import.name }}</h5> | 13 | <h5>{{ import.name }}</h5> |
13 | <blockquote>{{ import.description|trans }}</blockquote> | 14 | <blockquote>{{ import.description|trans }}</blockquote> |
14 | <p><a class="waves-effect waves-light btn" href="{{ path(import.url) }}">{% trans %}Import contents{% endtrans %}</a></p> | 15 | <p><a class="waves-effect waves-light btn" href="{{ path(import.url) }}">{{ 'import.action.import_contents'|trans }}</a></p> |
15 | </li> | 16 | </li> |
16 | {% endfor %} | 17 | {% endfor %} |
17 | </ul> | 18 | </ul> |