Commit eb56039c authored by metzlerd's avatar metzlerd
Browse files

Translated prompt.

parent 6d22363e
......@@ -635,7 +635,7 @@ function forena_parameter_form($formid, &$form_state, $parameters, $attributes=
if ($list || $type == 'select' || $type =='radios') {
if ($add_null) {
$prompt = @$options['prompt'];
if (!$prompt) $prompt = $required ? '-select-' : '-none-';
if (!$prompt) $prompt = $required ? '-' . t('select') . '-' : '-none-';
$form['params'][$id]['#empty_option'] = $prompt ;
}
$form['params'][$id]['#options'] = $list;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment