For variables in your codes:
Step 1:

/**
* Implementation of hook_locale().
*/
function casetracker_locale($op = ‘groups’) {
switch ($op) {
case ‘groups’:
return array(‘case_tracker’ => t(‘Case Tracker’));
}
}

Setp 2:
if(module_exists(‘i18nstrings’)) {
$options[$state->csid] = tt(‘case_tracker:state:’. $state->csid .’:options’, $state->name, NULL, 1);
}
else
{ … }

Also see:

Subscribe in reader