Skip to content

Commit

Permalink
fix for imperfect link translation
Browse files Browse the repository at this point in the history
  • Loading branch information
bkenro committed Dec 15, 2018
1 parent 7c527b3 commit 262d9be
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion themes/umami/templates/content/node--card-common.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
{{ title_suffix }}

<div class="read-more">
<a class="read-more__link" href="{{ url }}">{{ 'View'|t }} {{ node.bundle }}</a>
<a class="read-more__link" href="{{ url }}">{{ "View @bundle"|t({ '@bundle' : node.type.entity.label }) }}</a>
</div>

<div{{ content_attributes.addClass('node__content') }}>
Expand Down
2 changes: 1 addition & 1 deletion themes/umami/templates/content/node--card.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
</div>

<div class="read-more">
<a class="read-more__link" href="{{ url }}">{{ 'View'|t }} {{ node.bundle }}</a>
<a class="read-more__link" href="{{ url }}">{{ "View @bundle"|t({ '@bundle' : node.type.entity.label }) }}</a>
</div>

</article>
3 changes: 3 additions & 0 deletions translations/ja.po
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,6 @@ msgstr ""

msgid "Search by keyword, ingredient, dish"
msgstr "キーワード、材料、料理名で…"

msgid "View @bundle"
msgstr "@bundleを表示"

0 comments on commit 262d9be

Please sign in to comment.