221c221,224
<  * Save the changed weights.
---
>  * Save the changed weights. 
>  *
>  * If 'sticky' is checked using the i18n content sync module then the translations will inherit the weight
>  *
235c238,256
<     db_query("UPDATE {node} SET sticky = %d WHERE nid = %d", $node->sticky, $nid);
---
> 	
> 		if (module_exists('i18nsync') && in_array('sticky',i18nsync_node_fields($node->type)))
> 		{
> 			$arrNodes = translation_node_get_translations($node->tnid);
> 			
> 			if (count($arrNodes))
> 			{
> 				foreach ($arrNodes as $tnode)
> 				{
> 					db_query("UPDATE {node} SET sticky = %d WHERE nid = %d", $node->sticky, $tnode->nid);
> 				}
> 			}
> 			
> 			$synced = true;
> 		}
> 		else
> 		{
> 			db_query("UPDATE {node} SET sticky = %d WHERE nid = %d", $node->sticky, $node->nid);
> 		}
237c258,262
<   drupal_set_message('Your weight changes have been saved.');
---
>   
> 	if (!$synced)
> 		drupal_set_message(t('Your weight changes have been saved.'));
> 	else
> 		drupal_set_message(t('Your weights changes have been saved and synchronized.'));
