4 * Theme override 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()
16 <div class="locale-translation-update__wrapper" tabindex="0" role="button">
17 <span class="locale-translation-update__prefix visually-hidden">Show description</span>
19 {% set module_list = modules|safe_join(', ') %}
20 <span class="locale-translation-update__message">{% trans %}Updates for: {{ module_list }}{% endtrans %}</span>
21 {% elseif not_found %}
22 <span class="locale-translation-update__message">
24 Missing translations for one project
25 {%- plural not_found|length -%}
26 Missing translations for @count projects
30 {% if updates or not_found %}
31 <div class="locale-translation-update__details">
34 {% for update in updates %}
35 <li>{{ update.name }} ({{ update.timestamp|format_date('html_date') }})</li>
41 Prefix the missing updates list if there is an available updates lists
45 {{ 'Missing translations for:'|t }}
49 {% for update in not_found %}
50 <li>{{ update.name }} ({{ update.version|default('no version'|t) }}). {{ update.info }}</li>