diff --git a/core/modules/aggregator/templates/aggregator-summary-items.html.twig b/core/modules/aggregator/templates/aggregator-summary-items.html.twig index 01f36a38ded95c66012d5f7fc1195389e839c15b..0a6dd4544d1c5a7c39c3b6e8385e025ae9de103f 100644 --- a/core/modules/aggregator/templates/aggregator-summary-items.html.twig +++ b/core/modules/aggregator/templates/aggregator-summary-items.html.twig @@ -19,5 +19,5 @@

{{ title }}

{{ summary_list }} diff --git a/core/modules/datetime/templates/datetime-wrapper.html.twig b/core/modules/datetime/templates/datetime-wrapper.html.twig index 10e7376474f3d3f0d97ed8e1a787345a3cb159f1..a4acf70cfee796d47de5d6068ea76e3937e861f1 100644 --- a/core/modules/datetime/templates/datetime-wrapper.html.twig +++ b/core/modules/datetime/templates/datetime-wrapper.html.twig @@ -17,7 +17,7 @@ #} {% if title %}

- {{ '!title!required'|t({ '!title': title, '!required': required }) }} + {% trans %}{{ title|passthrough }}{{ required|passthrough }}{% endtrans %}

{% endif %} {{ content }} diff --git a/core/modules/forum/templates/forum-submitted.html.twig b/core/modules/forum/templates/forum-submitted.html.twig index 5115b4c3497fbd5e9c769f641f3cd1978a4312f8..f679363071c828ed9f689a30069ccc4ee22dbe56 100644 --- a/core/modules/forum/templates/forum-submitted.html.twig +++ b/core/modules/forum/templates/forum-submitted.html.twig @@ -17,7 +17,7 @@ */ #} {% if time %} - {{ 'By !author @time ago'|t({'@time': time, '!author': author}) }} + {% trans %}By {{ author|passthrough }} {{ time }} ago{% endtrans %} {% else %} {{ 'n/a'|t }} {% endif %} diff --git a/core/modules/locale/templates/locale-translation-last-check.html.twig b/core/modules/locale/templates/locale-translation-last-check.html.twig index 32cd8998f545ce537d681faeaa7ef40223f2260f..a54574b90b0a2cb1ab8cd0f16e4ff07679d90e5b 100644 --- a/core/modules/locale/templates/locale-translation-last-check.html.twig +++ b/core/modules/locale/templates/locale-translation-last-check.html.twig @@ -17,7 +17,7 @@

{% if last_checked %} - {{ 'Last checked: @time ago'|t({'@time': time}) }} + {% trans %} Last checked: {{ time }} ago {% endtrans %} {% else %} {{ 'Last checked: never'|t }} {% endif %} diff --git a/core/modules/locale/templates/locale-translation-update-info.html.twig b/core/modules/locale/templates/locale-translation-update-info.html.twig index 81cceb4f5b70162fa399d7cf5cede8111f291cc3..809028a6ac65fe5a6361d272b12be20380cb6ab9 100644 --- a/core/modules/locale/templates/locale-translation-update-info.html.twig +++ b/core/modules/locale/templates/locale-translation-update-info.html.twig @@ -21,7 +21,8 @@

Show description {% if modules %} - {{ 'Updates for: @modules'|t({'@modules': modules|join(', ')}) }} + {% set module_list = modules|join(', ') %} + {% trans %}Updates for: {{ module_list }}{% endtrans %} {% elseif missing_updates_status %} {{ missing_updates_status }} {% endif %}