$form['display']['show_thumbnail'] = array(
'#title' => t('Show Thumbnail', array(), array('context' => 'test')),
'#type' => 'radios',
'#options' => array(
'1' => t('Yes', array(), array('context' => 'test')),
'0' => t('No', array(), array('context' => 'test')),
),
);
Gives a warning: "WARNING: #options values usually have to run through t() for translation"
But the following is fine.
$form['display']['show_thumbnail'] = array(
'#title' => t('Show Thumbnail', array(), array('context' => 'test')),
'#type' => 'radios',
'#options' => array(
'1' => t('Yes'),
'0' => t('No'),
),
);
Comments
Comment #3
klausiThanks for reporting, committed a fix!