You are here

function stringoverrides_migrate_help in String Overrides 7

Implement hook_help().

File

./stringoverrides_migrate.module, line 10
Stringoverride main module.

Code

function stringoverrides_migrate_help($path, $arg) {
  switch ($path) {
    case 'admin/config/regional/stringoverrides/import':
      $output = '<p>' . t('Upload a *.po file here to import a collection of strings.') . '</p>';
      $output .= '<p>' . t('The current string overrides for the selected language will be overwritten with the content of the file.') . '</p>';
      return $output;
    case 'admin/config/regional/stringoverrides/export':
      return '<p>' . t('The following is a generated *.po file. You can use this feature to backup the current String Overrides.') . '</p>';
  }
}