Actions
Todo #5789
closedConvert Form_Select option names to gettext translated strings
Start date:
01/21/2016
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
Release Notes:
Description
Unless we have a better idea, certain Form_Select arguments will need to have gettext applied before being passed to the class. This is to facilitate "static" string extraction with xgettext
e.g.:
Form_Select(
'color'
'Shirt color',
array('red' => 'Scarlet', 'blue' => 'Sky Blue')
$pconfig['color']
);
will need to become:
Form_Select(
'color'
'Shirt color',
array('red' => gettext('Scarlet'), 'blue' => gettext('Sky Blue'))
$pconfig['color']
);
Actions