$optionVal = CRM_Report_Utils_Report::getValueFromUrl($instanceId);
$templateInfo = CRM_Core_OptionGroup::getRowValues('report_template', "{$optionVal}", 'value');
if (empty($templateInfo)) {
- CRM_Core_Error::statusBounce('You have tried to access a report that does not exist.');
+ CRM_Core_Error::statusBounce(ts('You have tried to access a report that does not exist.'));
}
$extKey = strpos($templateInfo['name'], '.');