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