Move into nested docroot
This commit is contained in:
parent
83a0d3a149
commit
c8b70abde9
13405 changed files with 0 additions and 0 deletions
|
@ -0,0 +1,25 @@
|
|||
{#
|
||||
/**
|
||||
* @file
|
||||
* Default theme implementation for the last time we checked for update data.
|
||||
*
|
||||
* Available variables:
|
||||
* - last_checked: Whether or not locale updates have been checked before.
|
||||
* - time: The formatted time ago when the site last checked for available
|
||||
* updates.
|
||||
* - link: A link to manually check available updates.
|
||||
*
|
||||
* @see template_preprocess_locale_translation_last_check()
|
||||
*
|
||||
* @ingroup themeable
|
||||
*/
|
||||
#}
|
||||
<div class="locale checked">
|
||||
<p>
|
||||
{% if last_checked %}
|
||||
{% trans %} Last checked: {{ time }} ago {% endtrans %}
|
||||
{% else %}
|
||||
{{ 'Last checked: never'|t }}
|
||||
{% endif %}
|
||||
<span class="check-manually">({{ link }})</span></p>
|
||||
</div>
|
|
@ -0,0 +1,59 @@
|
|||
{#
|
||||
/**
|
||||
* @file
|
||||
* Default theme implementation for displaying translation status information.
|
||||
*
|
||||
* Displays translation status information per language.
|
||||
*
|
||||
* Available variables:
|
||||
* - modules: A list of modules names that have available translation updates.
|
||||
* - updates: A list of available translation updates.
|
||||
* - not_found: A list of modules missing translation updates.
|
||||
*
|
||||
* @see template_preprocess_locale_translation_update_info()
|
||||
*
|
||||
* @ingroup themeable
|
||||
*/
|
||||
#}
|
||||
<div class="locale-translation-update__wrapper" tabindex="0" role="button">
|
||||
<span class="locale-translation-update__prefix visually-hidden">Show description</span>
|
||||
{% if modules %}
|
||||
{% set module_list = modules|safe_join(', ') %}
|
||||
<span class="locale-translation-update__message">{% trans %}Updates for: {{ module_list }}{% endtrans %}</span>
|
||||
{% elseif not_found %}
|
||||
<span class="locale-translation-update__message">
|
||||
{%- trans -%}
|
||||
Missing translations for one project
|
||||
{%- plural not_found|length -%}
|
||||
Missing translations for @count projects
|
||||
{%- endtrans -%}
|
||||
</span>
|
||||
{% endif %}
|
||||
{% if updates or not_found %}
|
||||
<div class="locale-translation-update__details">
|
||||
{% if updates %}
|
||||
<ul>
|
||||
{% for update in updates %}
|
||||
<li>{{ update.name }} ({{ update.timestamp|format_date('html_date') }})</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
{% if not_found %}
|
||||
{#
|
||||
Prefix the missing updates list if there is an available updates lists
|
||||
before it.
|
||||
#}
|
||||
{% if updates %}
|
||||
{{ 'Missing translations for:'|t }}
|
||||
{% endif %}
|
||||
{% if not_found %}
|
||||
<ul>
|
||||
{% for update in not_found %}
|
||||
<li>{{ update.name }} ({{ update.version|default('no version'|t) }}). {{ update.info }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
Reference in a new issue