diff --git a/config/dates.php b/config/dates.php index deb9692..5a04fcc 100644 --- a/config/dates.php +++ b/config/dates.php @@ -74,9 +74,9 @@ $dates = array('fairdate' => array() , $v = $r->date; /* See if $v is something resembling a valid date */ if(!ereg("([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})", $v, $d)) { - $error_ids[$r->id] = "Invalid date format"; + $error_ids[$r->id] = i18n("Invalid date format"); } else if($d[3]==0 || $d[2]==0 || $d[1]==0) { - $error_ids[$r->id] = "Invalid date"; + $error_ids[$r->id] = i18n("Invalid date"); } } @@ -111,7 +111,7 @@ chkafter('fairdate','postwinners'); foreach($dates as $d) { $e = ''; if($error_ids[$d['id']]) { - $e = "* ".i18n($error_ids[$d['id']]).""; + $e = "* ".$error_ids[$d['id']].""; } echo "