colorbox.variable.inc 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?php
  2. /**
  3. * @file
  4. * Colorbox translatable variables.
  5. */
  6. /**
  7. * Implements hook_variable_info().
  8. */
  9. function colorbox_variable_info($options) {
  10. $variable['colorbox_text_start'] = array(
  11. 'title' => t('Colorbox Start slideshow'),
  12. 'description' => t('Text for the slideshow start button.'),
  13. 'type' => 'string',
  14. );
  15. $variable['colorbox_text_stop'] = array(
  16. 'title' => t('Colorbox Stop slideshow'),
  17. 'description' => t('Text for the slideshow stop button.'),
  18. 'type' => 'string',
  19. );
  20. $variable['colorbox_text_current'] = array(
  21. 'title' => t('Colorbox current text'),
  22. 'description' => t('Text for the content group / gallery count'),
  23. 'type' => 'string',
  24. );
  25. $variable['colorbox_text_previous'] = array(
  26. 'title' => t('Colorbox Previous'),
  27. 'description' => t('Text for the previous button in a shared relation group.'),
  28. 'type' => 'string',
  29. );
  30. $variable['colorbox_text_next'] = array(
  31. 'title' => t('Colorbox Next'),
  32. 'description' => t('Text for the next button in a shared relation group.'),
  33. 'type' => 'string',
  34. );
  35. $variable['colorbox_text_close'] = array(
  36. 'title' => t('Colorbox Close'),
  37. 'description' => t('Text for the close button.'),
  38. 'type' => 'string',
  39. );
  40. return $variable;
  41. }