X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fmaterial%2FEntry%2Fentries.html.twig;h=c3fd4d286d46510469a90aac198e7ceed2734953;hb=7720cca5325eae71595e6355d6599448c30377fb;hp=3b7698f35523ec3b51e7b26b04724bf4d026a3fb;hpb=22a267aeffa9e5b7d63e6a149501f9a1448e925f;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 3b7698f3..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 @@
- {% trans %}estimated reading time{% endtrans %}: - {% if entry.readingTime > 0 %}{{ entry.readingTime }}{% else %}< 1{% endif %} min + {% if entry.readingTime > 0 %} + {% trans with {'%readingTime%': entry.readingTime } %}estimated reading time: %readingTime% min{% endtrans %} + {% else %} + {% trans with {'%inferior%': '<'} %}estimated reading time: %inferior% 1 min{% endtrans %} + {% endif %}
@@ -162,7 +165,7 @@
- {{ form_widget(form.domainName, {'type': 'text', 'attr' : {'placeholder': 'website.com'} }) }} + {{ form_widget(form.domainName, {'type': 'text', 'attr' : {'placeholder': 'website.com' | trans} }) }}