function potx_help in Translation template extractor 8
Same name and namespace in other branches
- 5.2 potx.module \potx_help()
- 5 potx.module \potx_help()
- 6.3 potx.module \potx_help()
- 6 potx.module \potx_help()
- 6.2 potx.module \potx_help()
- 7.3 potx.module \potx_help()
- 7 potx.module \potx_help()
- 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>';
}
}