Ignore:
Timestamp:
2013/01/25 18:16:49 (11 years ago)
Author:
kim
Message:

#2060 メッセージIDの振り直し

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-multilang/data/class/SC_CheckError.php

    r22389 r22390  
    8787        $this->createParam($value); 
    8888        if (!is_array($this->arrParam[$value[1]]) && strlen($this->arrParam[$value[1]]) == 0) { 
    89             $this->arrErr[$value[1]] = t('t_* T_FIELD is blank. <br />_01', array('T_FIELD' => $value[0])); 
     89            $this->arrErr[$value[1]] = t('c_* T_FIELD is blank. <br />_01', array('T_FIELD' => $value[0])); 
    9090        } else if (is_array($this->arrParam[$value[1]]) && count($this->arrParam[$value[1]]) == 0) { 
    91             $this->arrErr[$value[1]] = t('t_* T_FIELD is not selected. <br />_01', array('T_FIELD' => $value[0])); 
     91            $this->arrErr[$value[1]] = t('c_* T_FIELD is not selected. <br />_01', array('T_FIELD' => $value[0])); 
    9292        } 
    9393    } 
     
    106106        $this->createParam($value); 
    107107        if (strlen($this->arrParam[$value[0]]) == 0) { 
    108             $this->arrErr[$value[0]] = t('t_* T_FIELD is blank. <br />_01', array('T_FIELD' => $value[1])); 
     108            $this->arrErr[$value[0]] = t('c_* T_FIELD is blank. <br />_01', array('T_FIELD' => $value[1])); 
    109109        } 
    110110    } 
     
    123123        $this->createParam($value); 
    124124        if (strlen($this->arrParam[$value[1]]) != 0 && preg_match("/^[  \t\r\n]+$/", $this->arrParam[$value[1]])) { 
    125             $this->arrErr[$value[1]] = t('t_* Spaces, tabs and line breaks are not possible in T_FIELD. <br />_01', array('T_FIELD' => $value[0])); 
     125            $this->arrErr[$value[1]] = t('c_* Spaces, tabs and line breaks are not possible in T_FIELD. <br />_01', array('T_FIELD' => $value[0])); 
    126126        } 
    127127    } 
     
    140140        $this->createParam($value); 
    141141        if (strlen($this->arrParam[$value[1]]) != 0 && preg_match("/[  \t\r\n]+/u", $this->arrParam[$value[1]])) { 
    142             $this->arrErr[$value[1]] = t('t_* Do not include spaces, tabs or line breaks in T_FIELD. <br />_01', array('T_FIELD' => $value[0])); 
     142            $this->arrErr[$value[1]] = t('c_* Do not include spaces, tabs or line breaks in T_FIELD. <br />_01', array('T_FIELD' => $value[0])); 
    143143        } 
    144144    } 
     
    151151        $this->createParam($value); 
    152152        if (strlen($this->arrParam[$value[1]]) != 0 && preg_match("/^[0]+[0-9]+$/", $this->arrParam[$value[1]])) { 
    153             $this->arrErr[$value[1]] = t('t_* A numerical value that starts with 0 has been entered for T_FIELD. <br />_01', array('T_FIELD' => $value[0])); 
     153            $this->arrErr[$value[1]] = t('c_* A numerical value that starts with 0 has been entered for T_FIELD. <br />_01', array('T_FIELD' => $value[0])); 
    154154        } 
    155155    } 
     
    168168        $this->createParam($value); 
    169169        if (strlen($this->arrParam[$value[1]]) == 0) { 
    170             $this->arrErr[$value[1]] = t('t_* T_FIELD is not selected. <br />_01', array('T_FIELD' => $value[0])); 
     170            $this->arrErr[$value[1]] = t('c_* T_FIELD is not selected. <br />_01', array('T_FIELD' => $value[0])); 
    171171        } 
    172172    } 
     
    186186        // 文字数の取得 
    187187        if ($this->arrParam[$value[2]] !== $this->arrParam[$value[3]]) { 
    188             $this->arrErr[$value[2]] = t('t_* T_FIELD_1ST and T_FIELD_2ND do not match. <br />_01', array('T_FIELD_1ST' => $value[0], 'T_FIELD_2ND' => $value[1])); 
     188            $this->arrErr[$value[2]] = t('c_* T_FIELD_1ST and T_FIELD_2ND do not match. <br />_01', array('T_FIELD_1ST' => $value[0], 'T_FIELD_2ND' => $value[1])); 
    189189        } 
    190190    } 
     
    204204        // 文字数の取得 
    205205        if ($this->arrParam[$value[2]] == $this->arrParam[$value[3]]) { 
    206             $this->arrErr[$value[2]] = t('t_* The same value cannot be used for T_FIELD_1ST and T_FIELD_2ND. <br />_01', array('T_FIELD_1ST' => $value[0], 'T_FIELD_2ND' => $value[1])); 
     206            $this->arrErr[$value[2]] = t('c_* The same value cannot be used for T_FIELD_1ST and T_FIELD_2ND. <br />_01', array('T_FIELD_1ST' => $value[0], 'T_FIELD_2ND' => $value[1])); 
    207207        } 
    208208    } 
     
    222222        // 文字数の取得 
    223223        if ($this->arrParam[$value[2]] != '' && $this->arrParam[$value[3]] != '' && ($this->arrParam[$value[2]] > $this->arrParam[$value[3]])) { 
    224             $this->arrErr[$value[2]] = t('t_* It is not possible to enter a larger value for T_FIELD_1ST than for T_FIELD_2ND. <br />_01', array('T_FIELD_1ST' => $value[0], 'T_FIELD_2ND' => $value[1])); 
     224            $this->arrErr[$value[2]] = t('c_* It is not possible to enter a larger value for T_FIELD_1ST than for T_FIELD_2ND. <br />_01', array('T_FIELD_1ST' => $value[0], 'T_FIELD_2ND' => $value[1])); 
    225225        } 
    226226    } 
     
    240240        // 文字数の取得 
    241241        if (mb_strlen($this->arrParam[$value[1]]) > $value[2]) { 
    242             $this->arrErr[$value[1]] = t('t_* For T_FIELD, enter T_LENGTH  characters or less. <br />_01', array('T_FIELD' => $value[0], 'T_LENGTH' => $value[2])); 
     242            $this->arrErr[$value[1]] = t('c_* For T_FIELD, enter T_LENGTH  characters or less. <br />_01', array('T_FIELD' => $value[0], 'T_LENGTH' => $value[2])); 
    243243        } 
    244244    } 
     
    258258        // 文字数の取得 
    259259        if (mb_strlen($this->arrParam[$value[1]]) < $value[2]) { 
    260             $this->arrErr[$value[1]] = t_plural($value[2], 'SC_CheckError_013', 't_* For T_FIELD, input T_COUNT characters or more. <br />_01', array('T_FIELD' => $value[0])); 
     260            $this->arrErr[$value[1]] = t_plural($value[2], 'c_* For T_FIELD, enter T_COUNT characters or more. <br />_01', 'c_* For T_FIELD, input T_COUNT characters or more. <br />_01', array('T_FIELD' => $value[0])); 
    261261        } 
    262262    } 
     
    276276        // 文字数の取得 
    277277        if ($this->arrParam[$value[1]] > $value[2]) { 
    278             $this->arrErr[$value[1]] = t('t_* For T_FIELD, enter T_LENGTH or smaller. <br />_01', array('T_FIELD' => $value[0], 'T_LENGTH' => $value[2])); 
     278            $this->arrErr[$value[1]] = t('c_* For T_FIELD, enter T_LENGTH or smaller. <br />_01', array('T_FIELD' => $value[0], 'T_LENGTH' => $value[2])); 
    279279        } 
    280280    } 
     
    293293        $this->createParam($value); 
    294294        if ($this->arrParam[$value[1]] < $value[2]) { 
    295             $this->arrErr[$value[1]] = t_plural($value[2], 't_* Enter T_COUNT or higher for T_FIELD. <br />_01', 't_* Input T_COUNT or higher for T_FIELD. <br />_01', array('T_FIELD' => $value[0])); 
     295            $this->arrErr[$value[1]] = t_plural($value[2], 'c_* Enter T_COUNT or higher for T_FIELD. <br />_01', 'c_* Input T_COUNT or higher for T_FIELD. <br />_01', array('T_FIELD' => $value[0])); 
    296296        } 
    297297    } 
     
    310310        $this->createParam($value); 
    311311        if ($this->numelicCheck($this->arrParam[$value[1]])) { 
    312             $this->arrErr[$value[1]] = t('t_* Enter only numbers for T_FIELD. <br />_01', array('T_FIELD' => $value[0])); 
     312            $this->arrErr[$value[1]] = t('c_* Enter only numbers for T_FIELD. <br />_01', array('T_FIELD' => $value[0])); 
    313313        } 
    314314    } 
     
    327327        $this->createParam($value); 
    328328        if (strlen($this->arrParam[$value[1]]) > 0 && !is_numeric($this->arrParam[$value[1]])) { 
    329             $this->arrErr[$value[1]] = t('t_* Enter only numbers for T_FIELD. <br />_02', array('T_FIELD' => $value[0])); 
     329            $this->arrErr[$value[1]] = t('c_* Enter only numbers for T_FIELD. <br />_02', array('T_FIELD' => $value[0])); 
    330330        } 
    331331    } 
     
    337337        $this->createParam($value); 
    338338        if (strlen($this->arrParam[$value[1]]) > 0 && !ctype_alpha($this->arrParam[$value[1]])) { 
    339             $this->arrErr[$value[1]] = t('t_* Enter alphabetical characters for T_FIELD. <br />_01', array('T_FIELD' => $value[0])); 
     339            $this->arrErr[$value[1]] = t('c_* Enter alphabetical characters for T_FIELD. <br />_01', array('T_FIELD' => $value[0])); 
    340340        } 
    341341    } 
     
    372372        // すべての項目が満たされていない場合を判定(一部だけ入力されている状態) 
    373373        if ($cnt > 0 && $cnt < 3) { 
    374             $this->arrErr[$value[1]] .= t('t_* Enter all items for T_FIELD. <br />_01', array('T_FIELD' => $value[0])); 
     374            $this->arrErr[$value[1]] .= t('c_* Enter all items for T_FIELD. <br />_01', array('T_FIELD' => $value[0])); 
    375375        } 
    376376 
     
    378378        for ($i = 1; $i <= 3; $i++) { 
    379379            if (strlen($this->arrParam[$value[$i]]) > 0 && strlen($this->arrParam[$value[$i]]) > $telItemLen) { 
    380                 $this->arrErr[$value[$i]] .= t('t_* T_FIELD must be T_LENGTH characters or less. <br />_01', array('T_FIELD' => $value[0] . $i, 'T_LENGTH' => $telItemLen)); 
     380                $this->arrErr[$value[$i]] .= t('c_* T_FIELD must be T_LENGTH characters or less. <br />_01', array('T_FIELD' => $value[0] . $i, 'T_LENGTH' => $telItemLen)); 
    381381            } else if ($this->numelicCheck($this->arrParam[$value[1]])) { 
    382                 $this->arrErr[$value[$i]] .= t('t_* Enter numbers for T_FIELD. <br />_01', array('T_FIELD' => $value[0] . $i)); 
     382                $this->arrErr[$value[$i]] .= t('c_* Enter numbers for T_FIELD. <br />_01', array('T_FIELD' => $value[0] . $i)); 
    383383            } 
    384384            $total_count += strlen($this->arrParam[$value[$i]]); 
     
    387387        // 合計値チェック 
    388388        if ($total_count > $telLen) { 
    389             $this->arrErr[$value[3]] .= t('t_* For T_FIELD, enter within a text length of T_LENGTH. <br />_01', array('T_FIELD' => $value[0], 'T_LENGTH' => $telLen)); 
     389            $this->arrErr[$value[3]] .= t('c_* For T_FIELD, enter within a text length of T_LENGTH. <br />_01', array('T_FIELD' => $value[0], 'T_LENGTH' => $telLen)); 
    390390        } 
    391391    } 
     
    415415 
    416416        if ($blank) { 
    417             $this->arrErr[$value[1]] = t('t_* T_FIELD is blank. <br />_01', array('T_FIELD' => $value[0])); 
     417            $this->arrErr[$value[1]] = t('c_* T_FIELD is blank. <br />_01', array('T_FIELD' => $value[0])); 
    418418        } 
    419419    } 
     
    446446 
    447447        if ($blank && $input) { 
    448             $this->arrErr[$value[1]] = t('t_* Enter all items for T_FIELD. <br />_01', array('T_FIELD' => $value[0])); 
     448            $this->arrErr[$value[1]] = t('c_* Enter all items for T_FIELD. <br />_01', array('T_FIELD' => $value[0])); 
    449449        } 
    450450    } 
     
    474474 
    475475        if (!$input) { 
    476             $this->arrErr[$value[1]] = t('t_* T_FIELD is blank. <br />_01', array('T_FIELD' => $value[0])); 
     476            $this->arrErr[$value[1]] = t('c_* T_FIELD is blank. <br />_01', array('T_FIELD' => $value[0])); 
    477477        } 
    478478    } 
     
    508508 
    509509        if ($error) { 
    510             $this->arrErr[$value[1]] = t('t_* Enter items in order, starting at the beginning. <br />_01', array('T_FIELD' => $value[0])); 
     510            $this->arrErr[$value[1]] = t('c_* Enter items in order, starting at the beginning. <br />_01', array('T_FIELD' => $value[0])); 
    511511        } 
    512512    } 
     
    521521        $this->createParam($value); 
    522522        if (strlen($this->arrParam[$value[1]]) > 0 && !preg_match("/^[ァ-ヶヲ-゚ー]+$/u", $this->arrParam[$value[1]])) { 
    523             $this->arrErr[$value[1]] = t('t_* For T_FIELD, enter katakana characters. <br />_01', array('T_FIELD' => $value[0])); 
     523            $this->arrErr[$value[1]] = t('c_* For T_FIELD, enter katakana characters. <br />_01', array('T_FIELD' => $value[0])); 
    524524        } 
    525525    } 
     
    534534        $this->createParam($value); 
    535535        if (strlen($this->arrParam[$value[1]]) > 0 && !preg_match("/^([  \t\r\n]|[ァ-ヶ]|[ー])+$/u", $this->arrParam[$value[1]])) { 
    536             $this->arrErr[$value[1]] = t('t_* For T_FIELD, enter katakana characters. <br />_02', array('T_FIELD' => $value[0])); 
     536            $this->arrErr[$value[1]] = t('c_* For T_FIELD, enter katakana characters. <br />_02', array('T_FIELD' => $value[0])); 
    537537        } 
    538538    } 
     
    547547        $this->createParam($value); 
    548548        if (strlen($this->arrParam[$value[1]]) > 0 && !ctype_alnum($this->arrParam[$value[1]])) { 
    549             $this->arrErr[$value[1]] = t('t_* Enter alphanumeric characters for T_FIELD. <br />_01', array('T_FIELD' => $value[0])); 
     549            $this->arrErr[$value[1]] = t('c_* Enter alphanumeric characters for T_FIELD. <br />_01', array('T_FIELD' => $value[0])); 
    550550        } 
    551551    } 
     
    560560        $this->createParam($value); 
    561561        if (strlen($this->arrParam[$value[1]]) > 0 && !preg_match("/^[[:graph:][:space:]]+$/i", $this->arrParam[$value[1]])) { 
    562             $this->arrErr[$value[1]] = t('t_* Enter alphanumeric symbols for T_FIELD. <br />_01', array('T_FIELD' => $value[0])); 
     562            $this->arrErr[$value[1]] = t('c_* Enter alphanumeric symbols for T_FIELD. <br />_01', array('T_FIELD' => $value[0])); 
    563563        } 
    564564    } 
     
    824824            // 年月日のどれかが入力されていない。 
    825825            if (!(strlen($this->arrParam[$value[1]]) > 0 && strlen($this->arrParam[$value[2]]) > 0 && strlen($this->arrParam[$value[3]]) > 0)) { 
    826                 $this->arrErr[$value[1]] = t('t_* Enter all items for T_FIELD. <br />_01', array('T_FIELD' => $value[0])); 
     826                $this->arrErr[$value[1]] = t('c_* Enter all items for T_FIELD. <br />_01', array('T_FIELD' => $value[0])); 
    827827            } else if (! checkdate($this->arrParam[$value[2]], $this->arrParam[$value[3]], $this->arrParam[$value[1]])) { 
    828828                $this->arrErr[$value[1]] = t('SC_CheckError_044', array('T_FIELD' => $value[0])); 
     
    847847            // 年月日時のどれかが入力されていない。 
    848848            if (!(strlen($this->arrParam[$value[1]]) > 0 && strlen($this->arrParam[$value[2]]) > 0 && strlen($this->arrParam[$value[3]]) > 0 && strlen($this->arrParam[$value[4]]) > 0 && strlen($this->arrParam[$value[5]]) > 0)) { 
    849                 $this->arrErr[$value[1]] = t('t_* Enter all items for T_FIELD. <br />_01', array('T_FIELD' => $value[0])); 
     849                $this->arrErr[$value[1]] = t('c_* Enter all items for T_FIELD. <br />_01', array('T_FIELD' => $value[0])); 
    850850            } else if (! checkdate($this->arrParam[$value[2]], $this->arrParam[$value[3]], $this->arrParam[$value[1]])) { 
    851851                $this->arrErr[$value[1]] = t('SC_CheckError_044', array('T_FIELD' => $value[0])); 
     
    867867            // 年月日時のどれかが入力されていない。 
    868868            if (!(strlen($this->arrParam[$value[1]]) > 0 && strlen($this->arrParam[$value[2]]) > 0)) { 
    869                 $this->arrErr[$value[1]] = t('t_* Enter all items for T_FIELD. <br />_01', array('T_FIELD' => $value[0])); 
     869                $this->arrErr[$value[1]] = t('c_* Enter all items for T_FIELD. <br />_01', array('T_FIELD' => $value[0])); 
    870870            } else if (! checkdate($this->arrParam[$value[2]], 1, $this->arrParam[$value[1]])) { 
    871871                $this->arrErr[$value[1]] = t('SC_CheckError_044', array('T_FIELD' => $value[0])); 
Note: See TracChangeset for help on using the changeset viewer.