diff --git a/core/includes/theme.maintenance.inc b/core/includes/theme.maintenance.inc index 52b6c40..768d308 100644 --- a/core/includes/theme.maintenance.inc +++ b/core/includes/theme.maintenance.inc @@ -110,7 +110,7 @@ function theme_task_list($variables) { $active = $variables['active']; $done = isset($items[$active]) || $active == NULL; - $output = '

Installation tasks

'; + $output = '

' . t('Installation tasks') . '

'; $output .= '
    '; foreach ($items as $k => $item) { diff --git a/core/update.php b/core/update.php index 85c45c0..38d4cd3 100644 --- a/core/update.php +++ b/core/update.php @@ -171,7 +171,7 @@ function update_helpful_links() { } function update_results_page() { - drupal_set_title('Drupal database update'); + drupal_set_title(t('Drupal database update')); $links = update_helpful_links(); update_task_list(); @@ -259,7 +259,7 @@ function update_info_page() { } update_task_list('info'); - drupal_set_title('Drupal database update'); + drupal_set_title(t('Drupal database update')); $token = drupal_get_token('update'); $output = '

    Use this utility to update your database whenever a new release of Drupal or a module is installed.

    For more detailed information, see the upgrading handbook. If you are unsure what these terms mean you should probably contact your hosting provider.

    '; $output .= "
      \n"; @@ -318,11 +318,11 @@ function update_access_allowed() { function update_task_list($active = NULL) { // Default list of tasks. $tasks = array( - 'requirements' => 'Verify requirements', - 'info' => 'Overview', - 'select' => 'Review updates', - 'run' => 'Run updates', - 'finished' => 'Review log', + 'requirements' => t('Verify requirements'), + 'info' => t('Overview'), + 'select' => t('Review updates'), + 'run' => t('Run updates'), + 'finished' => t('Review log'), ); drupal_add_region_content('sidebar_first', theme('task_list', array('items' => $tasks, 'active' => $active))); @@ -358,9 +358,9 @@ function update_check_requirements($skip_warnings = FALSE) { // them if the caller has indicated they should be skipped. if ($severity == REQUIREMENT_ERROR || ($severity == REQUIREMENT_WARNING && !$skip_warnings)) { update_task_list('requirements'); - drupal_set_title('Requirements problem'); + drupal_set_title(t('Requirements problem')); $status_report = theme('status_report', array('requirements' => $requirements)); - $status_report .= 'Check the messages and try again.'; + $status_report .= t('Check the messages and try again.', array('!url' => check_url(drupal_requirements_url($severity)))); print theme('update_page', array('content' => $status_report)); exit(); }