Changeset 22387


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

メッセージID振り直し
SC_CheckError_001-SC_CheckError_019
SC_CheckError_019とSC_CheckError_024を統合、SC_CheckError_043は切り出しミスのため削除

Location:
branches/version-2_12-multilang/data
Files:
2 edited

Legend:

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

    r22382 r22387  
    7171        $html_diff_tag_list = implode(', ', $arrDiffTag); 
    7272 
    73         $this->arrErr[$value[1]] = t('C_T_TAG contains the tag T_FIELD which is not allowed_01', array('T_FIELD' => $value[0], 'T_TAG' => $html_diff_tag_list)); 
     73        $this->arrErr[$value[1]] = t('c_* T_TAG contains the tag T_FIELD which is not allowed. <br />_01', array('T_FIELD' => $value[0], 'T_TAG' => $html_diff_tag_list)); 
    7474    } 
    7575 
     
    8787        $this->createParam($value); 
    8888        if (!is_array($this->arrParam[$value[1]]) && strlen($this->arrParam[$value[1]]) == 0) { 
    89             $this->arrErr[$value[1]] = t('SC_CheckError_002', array('T_FIELD' => $value[0])); 
     89            $this->arrErr[$value[1]] = t('t_* 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('SC_CheckError_003', array('T_FIELD' => $value[0])); 
     91            $this->arrErr[$value[1]] = t('t_* 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('SC_CheckError_004', array('T_FIELD' => $value[1])); 
     108            $this->arrErr[$value[0]] = t('t_* 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('SC_CheckError_005', array('T_FIELD' => $value[0])); 
     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])); 
    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('SC_CheckError_006', array('T_FIELD' => $value[0])); 
     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])); 
    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('SC_CheckError_007', array('T_FIELD' => $value[0])); 
     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])); 
    154154        } 
    155155    } 
     
    168168        $this->createParam($value); 
    169169        if (strlen($this->arrParam[$value[1]]) == 0) { 
    170             $this->arrErr[$value[1]] = t('SC_CheckError_008', array('T_FIELD' => $value[0])); 
     170            $this->arrErr[$value[1]] = t('t_* 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('SC_CheckError_009', array('T_FIELD_1ST' => $value[0], 'T_FIELD_2ND' => $value[1])); 
     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])); 
    189189        } 
    190190    } 
     
    204204        // 文字数の取得 
    205205        if ($this->arrParam[$value[2]] == $this->arrParam[$value[3]]) { 
    206             $this->arrErr[$value[2]] = t('SC_CheckError_010', array('T_FIELD_1ST' => $value[0], 'T_FIELD_2ND' => $value[1])); 
     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])); 
    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('SC_CheckError_011', array('T_FIELD_1ST' => $value[0], 'T_FIELD_2ND' => $value[1])); 
     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])); 
    225225        } 
    226226    } 
     
    240240        // 文字数の取得 
    241241        if (mb_strlen($this->arrParam[$value[1]]) > $value[2]) { 
    242             $this->arrErr[$value[1]] = t('SC_CheckError_012', array('T_FIELD' => $value[0], 'T_LENGTH' => $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])); 
    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', 'SC_CheckError_013_PLURAL', array('T_FIELD' => $value[0])); 
     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])); 
    261261        } 
    262262    } 
     
    276276        // 文字数の取得 
    277277        if ($this->arrParam[$value[1]] > $value[2]) { 
    278             $this->arrErr[$value[1]] = t('SC_CheckError_014', array('T_FIELD' => $value[0], 'T_LENGTH' => $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])); 
    279279        } 
    280280    } 
     
    293293        $this->createParam($value); 
    294294        if ($this->arrParam[$value[1]] < $value[2]) { 
    295             $this->arrErr[$value[1]] = t_plural($value[2], 'SC_CheckError_015_SINGLE', 'SC_CheckError_015_PLURAL', array('T_FIELD' => $value[0])); 
     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])); 
    296296        } 
    297297    } 
     
    310310        $this->createParam($value); 
    311311        if ($this->numelicCheck($this->arrParam[$value[1]])) { 
    312             $this->arrErr[$value[1]] = t('SC_CheckError_016', array('T_FIELD' => $value[0])); 
     312            $this->arrErr[$value[1]] = t('t_* 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('SC_CheckError_017', array('T_FIELD' => $value[0])); 
     329            $this->arrErr[$value[1]] = t('t_* 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('SC_CheckError_018', array('T_FIELD' => $value[0])); 
     339            $this->arrErr[$value[1]] = t('t_* 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('SC_CheckError_019', array('T_FIELD' => $value[0])); 
     374            $this->arrErr[$value[1]] .= t('t_* Enter all items for T_FIELD. <br />_01', array('T_FIELD' => $value[0])); 
    375375        } 
    376376 
     
    446446 
    447447        if ($blank && $input) { 
    448             $this->arrErr[$value[1]] = t('SC_CheckError_024', array('T_FIELD' => $value[0])); 
     448            $this->arrErr[$value[1]] = t('t_* Enter all items for T_FIELD. <br />_01', array('T_FIELD' => $value[0])); 
    449449        } 
    450450    } 
     
    806806        $this->createParam($value); 
    807807        if (strlen($this->arrParam[$value[1]]) > 0 && !preg_match("/^[[:alnum:]_\.-]+$/i", $this->arrParam[$value[1]]) || preg_match('/[\\]/' ,$this->arrParam[$value[1]])) { 
    808             $this->arrErr[$value[1]] = t('SC_CheckError_043', array('T_FIELD' => $value[0])); 
     808            $this->arrErr[$value[1]] = t('SC_CheckError_042', array('T_FIELD' => $value[0])); 
    809809        } 
    810810    } 
     
    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('SC_CheckError_024', array('T_FIELD' => $value[0])); 
     826                $this->arrErr[$value[1]] = t('t_* 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('SC_CheckError_024', array('T_FIELD' => $value[0])); 
     849                $this->arrErr[$value[1]] = t('t_* 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('SC_CheckError_024', array('T_FIELD' => $value[0])); 
     869                $this->arrErr[$value[1]] = t('t_* 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])); 
  • branches/version-2_12-multilang/data/locales/ja.po

    r22386 r22387  
    1212"X-Generator: Poedit 1.5.4\n" 
    1313 
    14 msgid "C_T_TAG contains the tag T_FIELD which is not allowed_01" 
     14msgid "c_* T_TAG contains the tag T_FIELD which is not allowed. <br />_01" 
    1515msgstr "※ T_FIELDに許可されていないタグ T_TAG が含まれています。<br />" 
    1616 
    17 msgid "SC_CheckError_002" 
     17msgid "t_* T_FIELD is blank. <br />_01" 
    1818msgstr "※ T_FIELDが入力されていません。<br />" 
    1919 
    20 msgid "SC_CheckError_003" 
     20msgid "t_* T_FIELD is not selected. <br />_01" 
    2121msgstr "※ T_FIELDが選択されていません。<br />" 
    2222 
    23 msgid "SC_CheckError_004" 
     23msgid "t_* T_FIELD is blank. <br />_01" 
    2424msgstr "※ T_FIELDが入力されていません。<br />" 
    2525 
    26 msgid "SC_CheckError_005" 
     26msgid "t_* Spaces, tabs and line breaks are not possible in T_FIELD. <br />_01" 
    2727msgstr "※ T_FIELDにスペース、タブ、改行のみの入力はできません。<br />" 
    2828 
    29 msgid "SC_CheckError_006" 
     29msgid "t_* Do not include spaces, tabs or line breaks in T_FIELD. <br />_01" 
    3030msgstr "※ T_FIELDにスペース、タブ、改行は含めないで下さい。<br />" 
    3131 
    32 msgid "SC_CheckError_007" 
     32msgid "t_* A numerical value that starts with 0 has been entered for T_FIELD. <br />_01" 
    3333msgstr "※ T_FIELDに0で始まる数値が入力されています。<br />" 
    3434 
    35 msgid "SC_CheckError_008" 
     35msgid "t_* T_FIELD is not selected. <br />_01" 
    3636msgstr "※ T_FIELDが選択されていません。<br />" 
    3737 
    38 msgid "SC_CheckError_009" 
     38msgid "t_* T_FIELD_1ST and T_FIELD_2ND do not match. <br />_01" 
    3939msgstr "※ T_FIELD_1STとT_FIELD_2NDが一致しません。<br />" 
    4040 
    41 msgid "SC_CheckError_010" 
     41msgid "t_* The same value cannot be used for T_FIELD_1ST and T_FIELD_2ND. <br />_01" 
    4242msgstr "※ T_FIELD_1STとT_FIELD_2NDは、同じ値を使用できません。<br />" 
    4343 
    44 msgid "SC_CheckError_011" 
     44msgid "t_* It is not possible to enter a larger value for T_FIELD_1ST than for T_FIELD_2ND. <br />_01" 
    4545msgstr "※ T_FIELD_1STはT_FIELD_2NDより大きい値を入力できません。<br />" 
    4646 
    47 msgid "SC_CheckError_012" 
     47msgid "t_* For T_FIELD, enter T_LENGTH  characters or less. <br />_01" 
    4848msgstr "※ T_FIELDはT_LENGTH字以下で入力してください。<br />" 
    4949 
    50 msgid "SC_CheckError_013_SINGLE" 
    51 msgid_plural "SC_CheckError_013_PLURAL" 
     50msgid "t_* For T_FIELD, enter T_COUNT characters or more. <br />_01" 
     51msgid_plural "t_* For T_FIELD, input T_COUNT characters or more. <br />_01" 
    5252msgstr[0] "※ T_FIELDはT_COUNT字以上で入力してください。<br />" 
    5353msgstr[1] "※ T_FIELDはT_COUNT字以上で入力してください。<br />" 
    5454 
    55 msgid "SC_CheckError_014" 
     55msgid "t_* For T_FIELD, enter T_LENGTH or smaller. <br />_01" 
    5656msgstr "※ T_FIELDはT_LENGTH以下で入力してください。<br />" 
    5757 
    58 msgid "SC_CheckError_015_SINGLE" 
    59 msgid_plural "SC_CheckError_015_PLURAL" 
     58msgid "t_* Enter T_COUNT or higher for T_FIELD. <br />_01" 
     59msgid_plural "t_* Input T_COUNT or higher for T_FIELD. <br />_01" 
    6060msgstr[0] "※ T_FIELDはT_COUNT以上で入力してください。<br />" 
    6161msgstr[1] "※ T_FIELDはT_COUNT以上で入力してください。<br />" 
    6262 
    63 msgid "SC_CheckError_016" 
     63msgid "t_* Enter only numbers for T_FIELD. <br />_01" 
    6464msgstr "※ T_FIELDは数字で入力してください。<br />" 
    6565 
    66 msgid "SC_CheckError_017" 
     66msgid "t_* Enter only numbers for T_FIELD. <br />_02" 
    6767msgstr "※ T_FIELDは数字で入力してください。<br />" 
    6868 
    69 msgid "SC_CheckError_018" 
     69msgid "t_* Enter alphabetical characters for T_FIELD. <br />_01" 
    7070msgstr "※ T_FIELDは半角英字で入力してください。<br />" 
    7171 
    72 msgid "SC_CheckError_019" 
     72msgid "t_* Enter all items for T_FIELD. <br />_01" 
    7373msgstr "※ T_FIELDはすべての項目を入力してください。<br />" 
    7474 
     
    8484msgid "SC_CheckError_023" 
    8585msgstr "※ T_FIELDが入力されていません。<br />" 
    86  
    87 msgid "SC_CheckError_024" 
    88 msgstr "※ T_FIELDはすべての項目を入力して下さい。<br />" 
    8986 
    9087msgid "SC_CheckError_025" 
     
    146143msgid "SC_CheckError_042" 
    147144msgstr "※ T_FIELDのファイル名に日本語やスペースは使用しないで下さい。<br />" 
    148  
    149 msgid "SC_CheckError_043" 
    150 msgstr "※ T_FIELDはすべての項目を入力して下さい。<br />" 
    151145 
    152146msgid "SC_CheckError_044" 
Note: See TracChangeset for help on using the changeset viewer.