Commit e35f4111 authored by alexpott's avatar alexpott

Issue #2177667 by InternetDevels | jessebeach: Replace theme() with...

Issue #2177667 by InternetDevels | jessebeach: Replace theme() with drupal_render() in locale.bulk.inc.
parent 5905ad68
......@@ -53,10 +53,16 @@ function locale_translate_import_form($form, &$form_state) {
'file_validate_extensions' => array('po'),
'file_validate_size' => array(file_upload_max_size()),
);
$file_description = array(
'#theme' => 'file_upload_help',
'#description' => t('A Gettext Portable Object file.'),
'#upload_validators' => $validators,
);
$form['file'] = array(
'#type' => 'file',
'#title' => t('Translation file'),
'#description' => theme('file_upload_help', array('description' => t('A Gettext Portable Object file.'), 'upload_validators' => $validators)),
'#description' => drupal_render($file_description),
'#size' => 50,
'#upload_validators' => $validators,
'#attributes' => array('class' => array('file-import-input')),
......
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