You are here

function translation_help in Internationalization 5.2

Same name and namespace in other branches
  1. 5.3 translation/translation.module \translation_help()
  2. 5 translation/translation.module \translation_help()

Implementation of hook_help().

File

translation/translation.module, line 22

Code

function translation_help($section = 'admin/help#translation') {
  switch ($section) {
    case 'admin/help#translation':
      $output = '<p>' . t('This module is part of i18n package and provides support for translation relationships.') . '</p>';
      $output .= '<p>' . t('The objects you can define translation relationships for are:') . '</p>';
      $output .= '<ul>';
      $output .= '<li>' . t('Nodes.') . '</li>';
      $output .= '<li>' . t('Taxonomy Terms') . '</li>';
      $output .= '</ul>';
      $output .= '<p>' . t('Additional features:') . '</p>';
      $output .= '<ul>';
      $output .= '<li>' . t('<i>Translations</i> block that looks like the language switcher provided by i18n module but also links to translations when available.') . '</li>';
      $output .= '<li>' . t('Basic translation workflow and administration page for content translation.') . '</li>';
      $output .= '<li>' . t('Links for node translations that can be displayed below each node, depending on module settings.') . '</li>';
      $output .= '</ul>';
      $output .= '<p>' . t('For more information please read the <a href="@i18n">on-line help pages</a>.', array(
        '@i18n' => 'http://drupal.org/node/31631',
      )) . '</p>';
      return $output;
      break;
    case 'admin/access#translation':
      $output = t('<h2>Translations</h2>');
      $output = t('<strong>translate nodes</strong> <p>This one, combined with create content permissions, will allow to create node translation</p>');
  }
  return $output;
}