You are here

function i18n_block_help in Internationalization 7

Implements hook_help().

File

i18n_block/i18n_block.module, line 147
Internationalization (i18n) submodule: Multilingual meta-blocks

Code

function i18n_block_help($path, $arg) {
  switch ($path) {
    case 'admin/help#i18n_block':
      $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/config/regional/translate'),
      )) . '</p>';
      return $output;
    case 'admin/config/regional/i18n':
      $output = '<p>' . t('To set up multilingual options for blocks go to the <a href="@configure_blocks">Blocks administration page</a>.', array(
        '@configure_blocks' => url('admin/structure/block'),
      )) . '</p>';
      return $output;
  }
}