Skip to content

Commit 0692cf5

Browse files
committed
Issue #2999908 by penyaskito: View more link in recipe cards is not fully translated
(cherry picked from commit 24773d83baec5bf19799c1c0f0108b9cd669112e)
1 parent 0f3d5ce commit 0692cf5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

profiles/demo_umami/themes/umami/templates/content/node--card-common.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
{{ title_suffix }}
9595

9696
<div class="read-more">
97-
<a class="read-more__link" href="{{ url }}">{{ 'View'|t }} {{ node.bundle }}</a>
97+
<a class="read-more__link" href="{{ url }}">{% trans %}View {{ node.type.entity.label() }}{% endtrans %}</a>
9898
</div>
9999

100100
<div{{ content_attributes.addClass('node__content') }}>

profiles/demo_umami/themes/umami/templates/content/node--card.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
</div>
9696

9797
<div class="read-more">
98-
<a class="read-more__link" href="{{ url }}">{{ 'View'|t }} {{ node.bundle }}</a>
98+
<a class="read-more__link" href="{{ url }}">{% trans %}View {{ node.type.entity.label() }}{% endtrans %}</a>
9999
</div>
100100

101101
</article>

0 commit comments

Comments
 (0)