Ignore:
Timestamp:
2013/02/05 12:54:00 (9 years ago)
Author:
kim
Message:

#2084 ID振り直し LC_Page_Admin_Products_Class_002からLC_Page_Admin_System_001

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-multilang/data/class/pages/admin/products/LC_Page_Admin_Products_ProductClass.php

    r22496 r22501  
    4848        $this->tpl_subno = 'product'; 
    4949        $this->tpl_maintitle = t('c_Products_01'); 
    50         $this->tpl_subtitle = t('LC_Page_Admin_Products_ProductClass_001'); 
     50        $this->tpl_subtitle = t('c_Product registration (product specification)_01'); 
    5151        $masterData = new SC_DB_MasterData_Ex(); 
    5252        $this->arrProductType = $masterData->getMasterData('mtb_product_type'); 
     
    328328 
    329329        if (SC_Utils_Ex::isBlank($arrValues['check'])) { 
    330             $arrErr['check_empty'] = t('LC_Page_Admin_Products_ProductClass_002'); 
     330            $arrErr['check_empty'] = t('c_* A standard is not selected.<br />_01'); 
    331331        } 
    332332 
     
    343343                 */ 
    344344                if (SC_Utils_Ex::isBlank($arrValues['price02'][$i])) { 
    345                     $arrErr['price02'][$i] = t('LC_Page_Admin_Products_ProductClass_003', array('T_ARG1' => SALE_PRICE_TITLE)); 
     345                    $arrErr['price02'][$i] = t('c_* T_ARG1 is blank. <br />_01', array('T_ARG1' => SALE_PRICE_TITLE)); 
    346346                } 
    347347                /* 
     
    351351                    && SC_Utils_Ex::isBlank($arrValues['stock'][$i]) 
    352352                ) { 
    353                     $arrErr['stock'][$i] = t('LC_Page_Admin_Products_ProductClass_004'); 
     353                    $arrErr['stock'][$i] = t('c_* Inventory count is not entered.<br />_01'); 
    354354                } 
    355355                /* 
     
    357357                 */ 
    358358                if (SC_Utils_Ex::isBlank($arrValues['product_type_id'][$i])) { 
    359                     $arrErr['product_type_id'][$i] = t('LC_Page_Admin_Products_ProductClass_005'); 
     359                    $arrErr['product_type_id'][$i] = t('c_* Select one for the product type.<br />_01'); 
    360360                } 
    361361                /* 
     
    364364                if ($arrValues['product_type_id'][$i] == PRODUCT_TYPE_DOWNLOAD) { 
    365365                    if (SC_Utils_Ex::isBlank($arrValues['down_filename'][$i])) { 
    366                         $arrErr['down_filename'][$i] = t('LC_Page_Admin_Products_ProductClass_006'); 
     366                        $arrErr['down_filename'][$i] = t('c_* For downloaded products, enter the name of the downloaded file.<br />_01'); 
    367367                    } 
    368368                    if (SC_Utils_Ex::isBlank($arrValues['down_realfilename'][$i])) { 
    369                         $arrErr['down_realfilename'][$i] = t('LC_Page_Admin_Products_ProductClass_007'); 
     369                        $arrErr['down_realfilename'][$i] = t('c_* For downloaded products, please upload the file for the downloaded product. <br />_01'); 
    370370                    } 
    371371                } 
     
    375375                else if ($arrValues['product_type_id'][$i] == PRODUCT_TYPE_NORMAL) { 
    376376                    if (!SC_Utils_Ex::isBlank($arrValues['down_filename'][$i])) { 
    377                         $arrErr['down_filename'][$i] = t('LC_Page_Admin_Products_ProductClass_008'); 
     377                        $arrErr['down_filename'][$i] = t('c_* For regular products, it is not possible to set a download file name.<br />_01'); 
    378378                    } 
    379379                    if (!SC_Utils_Ex::isBlank($arrValues['down_realfilename'][$i])) { 
    380                         $arrErr['down_realfilename'][$i] = t('LC_Page_Admin_Products_ProductClass_009'); 
     380                        $arrErr['down_realfilename'][$i] = t('c_* For actual products, it is not possible to upload the file for the downloaded product. <br /> Please cancel the file. <br />_01'); 
    381381                    } 
    382382                } 
     
    568568 
    569569        if ($_FILES['down_realfilename']['size'][$index] <= 0) { 
    570             $this->arrErr['down_realfilename'][$index] = t('LC_Page_Admin_Products_ProductClass_010'); 
     570            $this->arrErr['down_realfilename'][$index] = t('c_* The file is not uploaded._01'); 
    571571        } else if ($_FILES['down_realfilename']['size'][$index] > DOWN_SIZE *  1024) { 
    572572            $size = DOWN_SIZE; 
     
    576576                $byte = 'MB'; 
    577577            } 
    578             t('LC_Page_Admin_Products_ProductClass_011', array('T_ARG1' => $size, 'T_ARG2' => $byte)); 
     578            t('c_* For the file size of the file name for download sales, use one that is T_ARG1T_ARG2 or less <br />_01', array('T_ARG1' => $size, 'T_ARG2' => $byte)); 
    579579        } else { 
    580580            // SC_CheckError::FILE_EXT_CHECK とのソース互換を強めるための配列 
     
    599599            if ($match === false) { 
    600600                $str_ext = implode('・', $value[2]); 
    601                 t('LC_Page_Admin_Products_ProductClass_013', array('T_ARG1' => $value[0], 'T_ARG2' => $str_ext)); 
     601                t('c_* The format permitted for T_ARG1 is T_ARG2.<br />_01', array('T_ARG1' => $value[0], 'T_ARG2' => $str_ext)); 
    602602            // ▲SC_CheckError::FILE_EXT_CHECK から移植 
    603603            } else { 
Note: See TracChangeset for help on using the changeset viewer.