Commit 3c5341fb authored by metzlerd's avatar metzlerd
Browse files

Translate none.

parent eb56039c
......@@ -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 ? '-' . t('select') . '-' : '-none-';
if (!$prompt) $prompt = $required ? '-' . t('select') . '-' : '-' .t('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