- Timestamp:
- 2013/01/25 18:16:40 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-multilang/data/class/SC_CheckError.php
r22388 r22389 508 508 509 509 if ($error) { 510 $this->arrErr[$value[1]] = t(' SC_CheckError_026', array('T_FIELD' => $value[0]));510 $this->arrErr[$value[1]] = t('t_* Enter items in order, starting at the beginning. <br />_01', array('T_FIELD' => $value[0])); 511 511 } 512 512 } … … 521 521 $this->createParam($value); 522 522 if (strlen($this->arrParam[$value[1]]) > 0 && !preg_match("/^[ァ-ヶヲ-゚ー]+$/u", $this->arrParam[$value[1]])) { 523 $this->arrErr[$value[1]] = t(' SC_CheckError_027', array('T_FIELD' => $value[0]));523 $this->arrErr[$value[1]] = t('t_* For T_FIELD, enter katakana characters. <br />_01', array('T_FIELD' => $value[0])); 524 524 } 525 525 } … … 534 534 $this->createParam($value); 535 535 if (strlen($this->arrParam[$value[1]]) > 0 && !preg_match("/^([ \t\r\n]|[ァ-ヶ]|[ー])+$/u", $this->arrParam[$value[1]])) { 536 $this->arrErr[$value[1]] = t(' SC_CheckError_028', array('T_FIELD' => $value[0]));536 $this->arrErr[$value[1]] = t('t_* For T_FIELD, enter katakana characters. <br />_02', array('T_FIELD' => $value[0])); 537 537 } 538 538 } … … 547 547 $this->createParam($value); 548 548 if (strlen($this->arrParam[$value[1]]) > 0 && !ctype_alnum($this->arrParam[$value[1]])) { 549 $this->arrErr[$value[1]] = t(' SC_CheckError_029', array('T_FIELD' => $value[0]));549 $this->arrErr[$value[1]] = t('t_* Enter alphanumeric characters for T_FIELD. <br />_01', array('T_FIELD' => $value[0])); 550 550 } 551 551 } … … 560 560 $this->createParam($value); 561 561 if (strlen($this->arrParam[$value[1]]) > 0 && !preg_match("/^[[:graph:][:space:]]+$/i", $this->arrParam[$value[1]])) { 562 $this->arrErr[$value[1]] = t(' SC_CheckError_030', array('T_FIELD' => $value[0]));562 $this->arrErr[$value[1]] = t('t_* Enter alphanumeric symbols for T_FIELD. <br />_01', array('T_FIELD' => $value[0])); 563 563 } 564 564 }
Note: See TracChangeset
for help on using the changeset viewer.
