You are here

function i18nblocks_help in Internationalization 6

Same name and namespace in other branches
  1. 5.3 i18nblocks/i18nblocks.module \i18nblocks_help()
  2. 5 i18nblocks/i18nblocks.module \i18nblocks_help()
  3. 5.2 i18nblocks/i18nblocks.module \i18nblocks_help()

Implementation of hook_help().

File

i18nblocks/i18nblocks.module, line 32
Internationalization (i18n) submodule: Multilingual meta-blocks

Code

function i18nblocks_help($path, $arg) {
  switch ($path) {
    case 'admin/help#i18nblocks':
      $output = '<p>' . t('This module provides support for multilingual blocks.') . '</p>';
      $output .= '<p>' . t('You can set up a language for a block or define it as translatable:') . '</p>';
      $output .= '<ul>';
      $output .= '<li>' . t('Blocks with a language will be displayed only in pages with that language.') . '</li>';
      $output .= '<li>' . t('Translatable blocks can be translated using the localization interface.') . '</li>';
      $output .= '</ul>';
      $output .= '<p>' . t('To search and translate strings, use the <a href="@translate-interface">translation interface</a> pages.', array(
        '@translate-interface' => url('admin/build/translate'),
      )) . '</p>';
      return $output;
  }
}