Révision 8d02775b
Ajouté par Assos Assos il y a environ 4 ans
drupal7/sites/all/modules/webform/components/number.inc | ||
---|---|---|
305 | 305 |
'#point' => $component['extra']['point'], |
306 | 306 |
'#separator' => $component['extra']['separator'], |
307 | 307 |
'#decimals' => $component['extra']['decimals'], |
308 |
'#translatable' => array('title', 'description', 'field_prefix', 'field_suffix'), |
|
308 |
'#translatable' => array('title', 'description', 'field_prefix', 'field_suffix', 'placeholder'),
|
|
309 | 309 |
); |
310 | 310 |
|
311 | 311 |
if ($component['required']) { |
... | ... | |
404 | 404 |
'#field_suffix' => $empty ? '' : $component['extra']['field_suffix'], |
405 | 405 |
'#format' => $format, |
406 | 406 |
'#value' => $empty ? '' : _webform_number_format($component, $value[0]), |
407 |
'#translatable' => array('title'), |
|
407 |
'#translatable' => array('title', 'placeholder'),
|
|
408 | 408 |
); |
409 | 409 |
} |
410 | 410 |
|
Formats disponibles : Unified diff
Weekly update of contrib modules