aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2016-02-18 01:36:02 +0100
committerThomas Citharel <tcit@tcit.fr>2016-02-18 01:36:02 +0100
commitf37c9c3348c411cd1a4913b393f363c65a73a62d (patch)
tree6e23536b7f393f73a28ca69ec55cfcb81f162c04 /src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig
parent93d0aa40bbdcdb3c9080fee3be6c521fb368bde0 (diff)
downloadwallabag-f37c9c3348c411cd1a4913b393f363c65a73a62d.tar.gz
wallabag-f37c9c3348c411cd1a4913b393f363c65a73a62d.tar.zst
wallabag-f37c9c3348c411cd1a4913b393f363c65a73a62d.zip
translate estimated time minutes
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig')
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig7
1 files changed, 5 insertions, 2 deletions
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 ac17ccee..c3fd4d28 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
@@ -50,8 +50,11 @@
50 50
51 <div class="estimatedTime grey-text"> 51 <div class="estimatedTime grey-text">
52 <span class="tool reading-time"> 52 <span class="tool reading-time">
53 {% trans %}estimated reading time{% endtrans %}: 53 {% if entry.readingTime > 0 %}
54 {% if entry.readingTime > 0 %}{{ entry.readingTime }}{% else %}<small class="inferieur">&lt;</small> 1{% endif %} min 54 {% trans with {'%readingTime%': entry.readingTime } %}estimated reading time: %readingTime% min{% endtrans %}
55 {% else %}
56 {% trans with {'%inferior%': '<small class="inferieur">&lt;</small>'} %}estimated reading time: %inferior% 1 min{% endtrans %}
57 {% endif %}
55 </span> 58 </span>
56 </div> 59 </div>
57 60