You are here

function l10n_update_help in Localization update 7.2

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

Implements hook_help().

File

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

Code

function l10n_update_help($path, $arg) {
  $output = '';
  switch ($path) {
    case 'admin/config/regional/translate/update':
      $output = '<p>' . t('Status of interface translations for each of the enabled languages.') . '</p>';
      $output .= '<p>' . t('If there are available updates you can click on "Update translation" 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>';
      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>';
      break;
  }
  return $output;
}