aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2016-02-18 06:40:46 +0100
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2016-02-18 06:40:46 +0100
commitbbbcd6997be27f2bbf3638132575345733f3c235 (patch)
tree6e23536b7f393f73a28ca69ec55cfcb81f162c04 /src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig
parent93d0aa40bbdcdb3c9080fee3be6c521fb368bde0 (diff)
parentf37c9c3348c411cd1a4913b393f363c65a73a62d (diff)
downloadwallabag-bbbcd6997be27f2bbf3638132575345733f3c235.tar.gz
wallabag-bbbcd6997be27f2bbf3638132575345733f3c235.tar.zst
wallabag-bbbcd6997be27f2bbf3638132575345733f3c235.zip
Merge pull request #1690 from wallabag/v2-translate-min
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