commit b3e5513629adc080b6cf446eb96f36b311ab1d94 Author: Joel Pittet Date: Mon Feb 25 19:43:47 2013 -0800 1898428-9 diff --git a/core/modules/locale/locale.pages.inc b/core/modules/locale/locale.pages.inc index 0b00c11..262debc 100644 --- a/core/modules/locale/locale.pages.inc +++ b/core/modules/locale/locale.pages.inc @@ -844,8 +844,6 @@ function template_preprocess_locale_translate_edit_form_strings(&$variables) { array('data' => $string['translations']), ); } - - // Set the template variables $variables['table'] = array( '#theme' => 'table', '#header' => $header, @@ -901,8 +899,6 @@ function template_preprocess_locale_translation_update_info(&$variables) { } $details .= theme('item_list', array('items' => $releases)); } - - // Set the template variables $variables['description'] = $description; $variables['details'] = $details; } @@ -923,8 +919,6 @@ function template_preprocess_locale_translation_update_info(&$variables) { */ function template_preprocess_locale_translation_last_check(&$variables) { $last = $variables['last']; - - // Set the template variables $variables['last_check'] = $last ? t('Last checked: @time ago', array('@time' => format_interval(REQUEST_TIME - $last))) : t('Last checked: never'); $variables['link'] = l(t('Check manually'), 'admin/reports/translations/check', array('query' => drupal_get_destination())); unset($variables['last']); diff --git a/core/modules/locale/templates/locale-translate-edit-form-strings.html.twig b/core/modules/locale/templates/locale-translate-edit-form-strings.html.twig index b6ed2a4..8db3d09 100644 --- a/core/modules/locale/templates/locale-translate-edit-form-strings.html.twig +++ b/core/modules/locale/templates/locale-translate-edit-form-strings.html.twig @@ -4,7 +4,7 @@ * Default theme implementation for the translation edit form. * * Available variables: - * - table: form table of translatable strings + * - table: form table of translatable strings. * - pager: Rendered pager. * * @see template_preprocess() @@ -14,4 +14,4 @@ */ #} {{ table }} -{{ pager }} \ No newline at end of file +{{ pager }} diff --git a/core/modules/locale/templates/locale-translation-last-check.html.twig b/core/modules/locale/templates/locale-translation-last-check.html.twig index 639cdf1..dbee8fe 100644 --- a/core/modules/locale/templates/locale-translation-last-check.html.twig +++ b/core/modules/locale/templates/locale-translation-last-check.html.twig @@ -15,4 +15,4 @@ #}

{{ last_check }} ({{ link }})

-
\ No newline at end of file + diff --git a/core/modules/locale/templates/locale-translation-update-info.html.twig b/core/modules/locale/templates/locale-translation-update-info.html.twig index 607062f..47a7db2 100644 --- a/core/modules/locale/templates/locale-translation-update-info.html.twig +++ b/core/modules/locale/templates/locale-translation-update-info.html.twig @@ -21,4 +21,4 @@ {% if details %}
{{ details }}
{% endif %} - \ No newline at end of file +