--- components/markup.inc 2011-03-05 03:08:55.000000000 +0100 +++ components/markup_new.inc 2011-03-23 16:16:10.922411001 +0100 @@ -71,3 +71,13 @@ function _webform_render_markup($compone function _webform_display_markup($component, $value, $format = 'html') { return array(); } + +/** + * Implementation of _webform_translate_component(). + */ +function _webform_translate_markup($component, $filter = TRUE, $update = FALSE) { + if (!empty($component['value'])) { + $component['value'] = webform_tt("webform:component:{$component['cid']}:value", $component['value'], NULL, $update); + } + return $component; +}