You are here

function potx_help in Translation template extractor 8

Same name and namespace in other branches
  1. 5.2 potx.module \potx_help()
  2. 5 potx.module \potx_help()
  3. 6.3 potx.module \potx_help()
  4. 6 potx.module \potx_help()
  5. 6.2 potx.module \potx_help()
  6. 7.3 potx.module \potx_help()
  7. 7 potx.module \potx_help()
  8. 7.2 potx.module \potx_help()

Implements hook_help().

File

./potx.module, line 18
Drupal translation template extractor.

Code

function potx_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'potx.extract_translation':
      return '<p>' . t('This page allows you to generate translation templates for module and theme files. Select the module or theme you wish to generate a template file for. A single Gettext Portable Object (Template) file is generated, so you can easily save it and start translation.') . '</p>';
  }
}