summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsetvik2013-01-03 13:31:46 (GMT)
committerJelle Sebreghts2013-01-03 13:31:46 (GMT)
commit96958213abfbd05323855280b273d4920009a2aa (patch)
tree13f99fd1a4f6353ee60da5ae0cc151d6712fbe0b
parentc302a2dae508b3faf4f82aca7c3a6299de71f5e5 (diff)
Issue #1868988 by setvik: Fixed Neither title nor description is translatable using the webform_localization() module .
-rw-r--r--multifile.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/multifile.inc b/multifile.inc
index 4ef678b..3df6938 100644
--- a/multifile.inc
+++ b/multifile.inc
@@ -350,6 +350,7 @@ function _webform_render_multifile($component, $value = NULL, $filter = TRUE) {
$current_types = isset($component['extra']['filtering']['types']) ? $component['extra']['filtering']['types'] : array();
$element[$form_key] = array(
'#type' => 'file',
+ '#translatable' => array('title', 'description'),
'#title' => $filter ? _webform_filter_xss($component['name']) : $component['name'],
'#title_display' => $component['extra']['title_display'] ? $component['extra']['title_display'] : 'before',
//'#required' => $component['mandatory'], // Drupal core bug with required file uploads.