You are here

function translation_overview_help in Translation Overview 6

Same name and namespace in other branches
  1. 6.2 translation_overview.module \translation_overview_help()

Implementation of hook_help().

File

./translation_overview.module, line 6

Code

function translation_overview_help($path, $arg) {
  switch ($path) {
    case 'admin/content/translation_overview':
      $args = array();
      $statuses = array(
        'original',
        'current',
        'outofdate',
        'missing',
      );
      foreach ($statuses as $status) {
        $args['!' . $status] = theme('translation_overview_status_img', $status, $status);
      }
      return '<p>' . t('The table uses the following symbols to indicate the translation status: !original Original language, !current Current translation, !outofdate Out-of-date translation, !missing Untranslated.', $args) . '</p>';
  }
}