You are here

function potx_reviews in Translation template extractor 6.2

Same name and namespace in other branches
  1. 6.3 potx.module \potx_reviews()
  2. 7.3 potx.module \potx_reviews()
  3. 7 potx.module \potx_reviews()
  4. 7.2 potx.module \potx_reviews()

Implementation of hook_reviews(). Coder module integration.

Provides the list of reviews provided by this module.

File

./potx.module, line 303
Gettext translation template and translation extractor.

Code

function potx_reviews() {
  $review = array(
    '#title' => t('Interface text translatability'),
    '#link' => 'http://drupal.org/translators',
    '#rules' => array(
      array(
        '#type' => 'callback',
        '#value' => 'potx_coder_review',
      ),
    ),
  );
  return array(
    'potx' => $review,
  );
}