tmgmt_locale.module 606 B

12345678910111213141516171819202122232425
  1. <?php
  2. /**
  3. * @file
  4. * Source plugin for the Translation Management system that handles locale strings.
  5. */
  6. /**
  7. * Implements hook_tmgmt_source_plugin_info().
  8. *
  9. * @see TMGMTLocaleSourcePluginController
  10. */
  11. function tmgmt_locale_tmgmt_source_plugin_info() {
  12. $info['locale'] = array(
  13. 'label' => t('Locale source'),
  14. 'description' => t('Source handler for locale strings.'),
  15. 'plugin controller class' => 'TMGMTLocaleSourcePluginController',
  16. 'ui controller class' => 'TMGMTLocaleSourceUIController',
  17. 'item types' => array(
  18. 'default' => t('Locale'),
  19. ),
  20. );
  21. return $info;
  22. }