You are here

function l10n_update_help in Localization update 7

Same name and namespace in other branches
  1. 6 l10n_update.module \l10n_update_help()
  2. 7.2 l10n_update.module \l10n_update_help()

Implements hook_help().

File

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

Code

function l10n_update_help($path, $arg) {
  switch ($path) {
    case 'admin/config/regional/translate/update':
      $output = '<p>' . t('List of latest imported translations and available updates for each enabled project and language.') . '</p>';
      $output .= '<p>' . t('If there are available updates you can click on Update for them to be downloaded and imported now or you can edit the configuration for them to be updated automatically on the <a href="@update-settings">Update settings page</a>', array(
        '@update-settings' => url('admin/config/regional/language/update'),
      )) . '</p>';
      return $output;
      break;
    case 'admin/config/regional/language/update':
      $output = '<p>' . t('These are the settings for the translation update system. To update your translations now, check out the <a href="@update-admin">Translation update administration page</a>.', array(
        '@update-admin' => url('admin/config/regional/translate/update'),
      )) . '</p>';
      return $output;
      break;
  }
}