4 * Default theme implementation for displaying translation status information.
6 * Displays translation status information per language.
9 * - modules: A list of modules names that have available translation updates.
10 * - updates: A list of available translation updates.
11 * - not_found: A list of modules missing translation updates.
13 * @see template_preprocess_locale_translation_update_info()
18 <div class="locale-translation-update__wrapper" tabindex="0" role="button">
19 <span class="locale-translation-update__prefix visually-hidden">Show description</span>
21 {% set module_list = modules|safe_join(', ') %}
22 <span class="locale-translation-update__message">{% trans %}Updates for: {{ module_list }}{% endtrans %}</span>
23 {% elseif not_found %}
24 <span class="locale-translation-update__message">
26 Missing translations for one project
27 {%- plural not_found|length -%}
28 Missing translations for @count projects
32 {% if updates or not_found %}
33 <div class="locale-translation-update__details">
36 {% for update in updates %}
37 <li>{{ update.name }} ({{ update.timestamp|format_date('html_date') }})</li>
43 Prefix the missing updates list if there is an available updates lists
47 {{ 'Missing translations for:'|t }}
51 {% for update in not_found %}
52 <li>{{ update.name }} ({{ update.version|default('no version'|t) }}). {{ update.info }}</li>