Drupal 8.0.0 beta 12. More info: https://www.drupal.org/node/2514176
This commit is contained in:
commit
9921556621
13277 changed files with 1459781 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,32 @@
|
|||
{#
|
||||
/**
|
||||
* @file
|
||||
* Default theme implementation for displaying translation status information.
|
||||
*
|
||||
* Displays translation status information per language.
|
||||
*
|
||||
* Available variables:
|
||||
* - modules: A list of names of modules that have available translation
|
||||
* updates.
|
||||
* - details: Rendered list of the translation details.
|
||||
* - missing_updates_status: If there are any modules that are missing
|
||||
* translation updates, this variable will contain text indicating how many
|
||||
* modules are missing translations.
|
||||
*
|
||||
* @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 missing_updates_status %}
|
||||
<span class="locale-translation-update__message">{{ missing_updates_status }}</span>
|
||||
{% endif %}
|
||||
{% if details %}
|
||||
<div class="locale-translation-update__details">{{ details }}</div>
|
||||
{% endif %}
|
||||
</div>
|
Reference in a new issue