CC-4859: I18N: "AND" and "OR" for Smartblock's criteria need to be translated.

-fixed
This commit is contained in:
denise 2013-01-18 17:04:39 -05:00
parent 55dcd5a784
commit 280c4a81ad
1 changed files with 2 additions and 2 deletions

View File

@ -36,8 +36,8 @@
?>
<?php for ($j = 0; $j < $this->modRowMap[$i]; $j++) {
// determine if logic label should be 'and' or 'or'
if ($this->modRowMap[$i] > 1 && $j != $this->modRowMap[$i]-1) $logicLabel = 'or';
else $logicLabel = 'and';
if ($this->modRowMap[$i] > 1 && $j != $this->modRowMap[$i]-1) $logicLabel = _('or');
else $logicLabel = _('and');
$disabled = $this->element->getElement("sp_criteria_field_".$i."_".$j)->getAttrib('disabled') == 'disabled'?true:false;
// determine if the next row is disabled and only display the logic label if it isn't