function lingotek_mt_save_segment in Lingotek Translation 6
1 string reference to 'lingotek_mt_save_segment'
File
- ./
lingotek.mt.inc, line 91 - Machine Translation
Code
function lingotek_mt_save_segment() {
$result = lingotek_save_segment($_POST['sourceText'], $_POST['targetText'], $_POST['targetLanguage'], $_POST['document']);
drupal_json(array(
'status' => 0,
'result' => $result,
));
}