? webform_translate_774206.patch
Index: webform.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/webform/webform.module,v
retrieving revision 1.196.2.28
diff -u -p -r1.196.2.28 webform.module
--- webform.module	1 May 2010 20:16:58 -0000	1.196.2.28
+++ webform.module	2 May 2010 17:08:15 -0000
@@ -854,6 +854,12 @@ function webform_node_insert($node) {
   // Insert the webform.
   db_query("INSERT INTO {webform} (nid, confirmation, confirmation_format, redirect_url, teaser, allow_draft, submit_notice, submit_text, submit_limit, submit_interval) VALUES (%d, '%s', %d, '%s', %d, %d, %d, '%s', %d, %d)", $node->nid, $node->webform['confirmation'], $node->webform['confirmation_format'], $node->webform['redirect_url'], $node->webform['teaser'], $node->webform['allow_draft'], $node->webform['submit_notice'], $node->webform['submit_text'], $node->webform['submit_limit'], $node->webform['submit_interval']);
 
+  // Support translation.module component cloning
+  if (isset($node->translation_source)) {
+    $source_node = node_load($node->translation_source->nid);
+    $node->webform = $source_node->webform;
+  }
+
   // Insert the components into the database. Used with clone.module.
   if (isset($node->webform['components']) && !empty($node->webform['components'])) {
     foreach ($node->webform['components'] as $cid => $component) {
