api upgrade - switch to v3 function
add exit functions if civicrm is not initialised
translate - add ts to label