public static function getEnglish($str = null)
{
$english = array('is' => Pommo::_T('is'), 'not' => Pommo::_T('is not'), 'true' => Pommo::_T('is checked'), 'false' => Pommo::_T('is not checked'), 'greater' => Pommo::_T('is greater than'), 'less' => Pommo::_T('is less than'), 'is_in' => Pommo::_T('or in group'), 'not_in' => Pommo::_T('and not in group'));
if (is_array($str)) {
$out = array();
foreach ($str as $val) {
if (array_key_exists($val, $english)) {
$out[$val] = $english[$val];
}
}
return $out;
}
return empty($str) ? $english : $english[$str];
}