--- flexslider.admin.inc.b 2014-08-05 12:32:00.137452665 -0400
+++ flexslider.admin.inc 2014-08-05 12:33:25.180452720 -0400
@@ -255,13 +255,13 @@ function flexslider_option_elements($opt
'#type' => 'textfield',
'#title' => t('Previous Link Text'),
'#description' => t('Set the text for the "previous" control item. Text translation can be controlled using the String Overrides module.'),
- '#default_value' => isset($options['prevText']) ? $options['prevText'] : _flexslider_optionset_defaults('prevText'),
+ '#default_value' => isset($options['prevText']) ? t($options['prevText']) : t(_flexslider_optionset_defaults('prevText')),
);
$form['nav_controls']['nextText'] = array(
'#type' => 'textfield',
'#title' => t('Next Link Text'),
'#description' => t('Set the text for the "next" control item. Text translation can be controlled using the String Overrides module.'),
- '#default_value' => isset($options['nextText']) ? $options['nextText'] : _flexslider_optionset_defaults('nextText'),
+ '#default_value' => isset($options['nextText']) ? t($options['nextText']) : t(_flexslider_optionset_defaults('nextText')),
);
// Advanced Options
@@ -336,13 +336,13 @@ function flexslider_option_elements($opt
'#type' => 'textfield',
'#title' => t('Pause State Text'),
'#description' => t('Set the text for the "pause" state indicator. Text translation can be controlled using the String Overrides module.'),
- '#default_value' => isset($options['pauseText']) ? $options['pauseText'] : _flexslider_optionset_defaults('pauseText'),
+ '#default_value' => isset($options['pauseText']) ? t($options['pauseText']) : t(_flexslider_optionset_defaults('pauseText')),
);
$form['advanced']['playText'] = array(
'#type' => 'textfield',
'#title' => t('Play State Text'),
'#description' => t('Set the text for the "play" state indicator. Text translation can be controlled using the String Overrides module.'),
- '#default_value' => isset($options['playText']) ? $options['playText'] : _flexslider_optionset_defaults('playText'),
+ '#default_value' => isset($options['playText']) ? t($options['playText']) : t(_flexslider_optionset_defaults('playText')),
);
$form['advanced']['pauseOnAction'] = array(
'#type' => 'checkbox',