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_UploadCSV.php

    r22498 r22501  
    6666        $this->tpl_subno = 'upload_csv'; 
    6767        $this->tpl_maintitle = t('c_Products_01'); 
    68         $this->tpl_subtitle = t('LC_Page_Admin_Products_UploadCSV_001'); 
     68        $this->tpl_subtitle = t('c_Product registration CSV_01'); 
    6969        $this->csv_id = '1'; 
    7070 
     
    143143     */ 
    144144    function addRowResult($line_count, $message) { 
    145         $this->arrRowResult[] = t('LC_Page_Admin_Products_UploadCSV_002', array('T_ARG1' => $line_count, 'T_ARG2' => $message)); 
     145        $this->arrRowResult[] = t('c_Line T_ARG1: T_ARG2_01', array('T_ARG1' => $line_count, 'T_ARG2' => $message)); 
    146146    } 
    147147 
     
    154154     */ 
    155155    function addRowErr($line_count, $message) { 
    156         $this->arrRowErr[] = t('LC_Page_Admin_Products_UploadCSV_002', array('T_ARG1' => $line_count, 'T_ARG2' => $message)); 
     156        $this->arrRowErr[] = t('c_Line T_ARG1: T_ARG2_01', array('T_ARG1' => $line_count, 'T_ARG2' => $message)); 
    157157    } 
    158158 
     
    225225            $col_count = count($arrCSV); 
    226226            if ($col_max_count != $col_count) { 
    227                 $this->addRowErr($line_count, t('LC_Page_Admin_Products_UploadCSV_003', array('T_ARG1' => $col_count, 'T_ARG2' => $col_max_count))); 
     227                $this->addRowErr($line_count, t('c_* T_ARG1 was detected for the item quantity. The item quantity is T_ARG2._01', array('T_ARG1' => $col_count, 'T_ARG2' => $col_max_count))); 
    228228                $errFlag = true; 
    229229                break; 
     
    251251                $arrParam = $objFormParam->getHashArray(); 
    252252 
    253                 $this->addRowResult($line_count, t('LC_Page_Admin_Products_UploadCSV_004', array('T_ARG1' => $arrParam['product_id'], 'T_ARG2' => $arrParam['name']))); 
     253                $this->addRowResult($line_count, t('c_Product ID: T_ARG1 / Product name: T_ARG2_01', array('T_ARG1' => $arrParam['product_id'], 'T_ARG2' => $arrParam['name']))); 
    254254            } 
    255255            SC_Utils_Ex::extendTimeOut(); 
     
    620620        // FIXME 規格分類ID自体のが有効かを主眼においたチェックをすべきと感じる。 
    621621        if (!$this->lfIsDbRecord('dtb_products_class', 'product_class_id', $item)) { 
    622             $arrErr['product_class_id'] = t('LC_Page_Admin_Products_UploadCSV_005'); 
     622            $arrErr['product_class_id'] = t('c_* The designated product specification ID is not registered._01'); 
    623623        } 
    624624        // 商品ID、規格IDの組合せチェック 
     
    627627        ) { 
    628628            if ($item['product_id'] == '') { 
    629                 $arrErr['product_class_id'] = t('LC_Page_Admin_Products_UploadCSV_006'); 
     629                $arrErr['product_class_id'] = t('c_* During product specification ID designation, it is necessary to designate a product ID._01'); 
    630630            } else { 
    631631                if (!$this->objDb->sfIsRecord('dtb_products_class', 'product_id, product_class_id' 
    632632                        , array($item['product_id'], $item['product_class_id'])) 
    633633                ) { 
    634                     $arrErr['product_class_id'] = t('LC_Page_Admin_Products_UploadCSV_007'); 
     634                    $arrErr['product_class_id'] = t('c_* The designated product ID and production specification ID combination is not correct._01'); 
    635635                } 
    636636            } 
     
    638638        // 表示ステータスの存在チェック 
    639639        if (!$this->lfIsArrayRecord($this->arrDISP, 'status', $item)) { 
    640             $arrErr['status'] = t('LC_Page_Admin_Products_UploadCSV_008'); 
     640            $arrErr['status'] = t('c_* The designated display status is not registered._01'); 
    641641        } 
    642642        // メーカーIDの存在チェック 
    643643        if (!$this->lfIsArrayRecord($this->arrMaker, 'maker_id', $item)) { 
    644             $arrErr['maker_id'] = t('LC_Page_Admin_Products_UploadCSV_009'); 
     644            $arrErr['maker_id'] = t('c_* The designated manufacturer ID is not registered._01'); 
    645645        } 
    646646        // 発送日目安IDの存在チェック 
    647647        if (!$this->lfIsArrayRecord($this->arrDELIVERYDATE, 'deliv_date_id', $item)) { 
    648             $arrErr['deliv_date_id'] = t('LC_Page_Admin_Products_UploadCSV_010'); 
     648            $arrErr['deliv_date_id'] = t('c_* The designated target delivery date ID is not registered._01'); 
    649649        } 
    650650        // 発送日目安IDの存在チェック 
    651651        if (!$this->lfIsArrayRecord($this->arrProductType, 'product_type_id', $item)) { 
    652             $arrErr['product_type_id'] = t('LC_Page_Admin_Products_UploadCSV_011'); 
     652            $arrErr['product_type_id'] = t('c_* The specified product ID does not exist._01'); 
    653653        } 
    654654        // 関連商品IDのチェック 
Note: See TracChangeset for help on using the changeset viewer.