X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fmaterial%2FEntry%2Fentries.html.twig;h=433b1caeb5218bb1598e25835661fa3d22bff2ea;hb=0d42217e4e8210dd2cf86f35ba9662ca02c8a2dc;hp=371992df41aad59aea17aebf337e06f475c52559;hpb=d2b4f01d7435e8a8f99b15a2487916427c04e58d;p=github%2Fwallabag%2Fwallabag.git diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig index 371992df..433b1cae 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig @@ -4,13 +4,13 @@ {% set currentRoute = app.request.attributes.get('_route') %} {% if currentRoute == 'starred' %} - {% trans %}starred{% endtrans %} + {{ 'entry.page_titles.starred'|trans }} {% elseif currentRoute == 'archive' %} - {% trans %}archive{% endtrans %} + {{ 'entry.page_titles.archived'|trans }} {% elseif currentRoute == 'all' %} - {% trans %}Filtered{% endtrans %} + {{ 'entry.page_titles.filtered'|trans }} {% else %} - {% trans %}unread{% endtrans %} + {{ 'entry.page_titles.unread'|trans }} {% endif %} {% endblock %} @@ -18,7 +18,9 @@ {% block content %} {% block pager %}
-
{% transchoice entries.count %}{0} There is no entry.|{1} There is one entry.|]1,Inf[ There are %count% entries.{% endtranschoice %}
+
+ {{ 'entry.list.number_on_the_page'|transchoice(entries.count) }} +
@@ -72,7 +74,7 @@
- {% trans %}estimated reading time{% endtrans %}: + {{ 'entry.list.reading_time'|trans }} {% if entry.readingTime > 0 %}{{ entry.readingTime }}{% else %}< 1{% endif %} min
@@ -82,13 +84,15 @@ {% endif %}
- {{ entry.domainName|removeWww|truncate(18) }} + + {{ entry.domainName|removeWww|truncate(18) }} +
@@ -103,7 +107,7 @@ {% if currentRoute == 'homepage' %} {% set currentRoute = 'unread' %} {% endif %} -

{% trans %}Export{% endtrans %}

+

{{ 'entry.list.export_title'|trans }}