colorbox.variable.inc 1.24 KB
Newer Older
1 2
<?php

3 4 5 6 7
/**
 * @file
 * Colorbox translatable variables.
 */

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

  return $variable;
}