diff --git a/core/modules/update/templates/update-report.html.twig b/core/modules/update/templates/update-report.html.twig index 05dcddd..13c3df5 100644 --- a/core/modules/update/templates/update-report.html.twig +++ b/core/modules/update/templates/update-report.html.twig @@ -34,7 +34,9 @@ #}
{% if last_checked %} - {{ 'Last checked: @time ago'|t({'@time': time}) }} + {% trans %} + Last checked: {{ time }} ago + {% endtrans %} {% else %} {{ 'Last checked: never'|t }} {% endif %} @@ -84,26 +86,44 @@
{% endif %}
+ {% set includes = project.includes|join(', ') %} {% if project.disabled %} {{ 'Includes:'|t }} {% else %} - {{ 'Includes: %includes'|t({'%includes': project.includes|join(', ')}) }} + {% trans %} + Includes: {{ includes|placeholder }} + {% endtrans %} {% endif %}
{% if project.base_themes %} + {% set basethemes = project.base_themes|join(', ') %}
- {{ 'Depends on: !basethemes'|t({'!basethemes': project.base_themes|join(', ')}) }} + {% trans %} + Depends on: {{ basethemes|passthrough }} + {% endtrans %}
{% endif %} {% if project.sub_themes %} + {% set subthemes = project.sub_themes|join(', ') %}
- {{ 'Required by: %subthemes'|t({'%subthemes': project.sub_themes|join(', ')}) }} + {% trans %} + Required by: {{ subthemes|placeholder }} + {% endtrans %}
{% endif %} diff --git a/core/modules/update/templates/update-version.html.twig b/core/modules/update/templates/update-version.html.twig index 8e263ed..e7d68d9 100644 --- a/core/modules/update/templates/update-version.html.twig +++ b/core/modules/update/templates/update-version.html.twig @@ -7,7 +7,8 @@ * - attributes: HTML attributes for the update versions table. * - version_link: Link to this version's release notes on drupal.org. * - version_date: The date of the release. - * - version_links: Links to download this version and to this version's release notes. + * - version_links: Links to download this version and to this version's release + * notes. * - tag: The title of the project. * * @see template_preprocess_update_version()