$value = trim(strip_tags($value));
if (substr($value, 0, 8) == 'Capture(') {
$value = self::$arTranslations[substr($value, 8, -1)];
$value = trim(strip_tags($value));
if (substr($value, 0, 8) == 'Capture(') {
$value = self::$arTranslations[substr($value, 8, -1)];