You are here

function _l10n_update_no_data in Localization update 6

Same name and namespace in other branches
  1. 7 l10n_update.module \_l10n_update_no_data()

Build the warning message for when there is no data about available updates.

Return value

sting Message text with links.

1 call to _l10n_update_no_data()
l10n_update_requirements in ./l10n_update.install
Implementation of hook_requirements().

File

./l10n_update.module, line 463
Download translations from remote localization server.

Code

function _l10n_update_no_data() {
  $destination = drupal_get_destination();
  return t('No information is available about potential new and updated translations for currently installed modules and themes. To check for updates, you may need to <a href="@run_cron">run cron</a> or you can <a href="@check_manually">check manually</a>. Please note that checking for available updates can take a long time, so please be patient.', array(
    '@run_cron' => url('admin/reports/status/run-cron', array(
      'query' => $destination,
    )),
    '@check_manually' => url('admin/build/translate/update', array(
      'query' => $destination,
    )),
  ));
}