Ignore:
Timestamp:
2013/02/04 21:42:42 (11 years ago)
Author:
kim
Message:

#2084 ID振り直し LC_Page_Admin_Products_UploadCSV_012からLC_Page_Admin_System_Parameterまで

File:
1 edited

Legend:

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

    r22496 r22498  
    7272        $this->tpl_subno    = 'upload_csv_category'; 
    7373        $this->tpl_maintitle = t('c_Products_01'); 
    74         $this->tpl_subtitle = t('LC_Page_Admin_Products_UploadCSVCategory_001'); 
     74        $this->tpl_subtitle = t('c_Category registration CSV_01'); 
    7575        $this->csv_id = '5'; 
    7676 
     
    140140     */ 
    141141    function addRowResult($line_count, $message) { 
    142         $this->arrRowResult[] = t('LC_Page_Admin_Products_UploadCSVCategory_002', array('T_ARG1' => $line_count, 'T_ARG2' => $message)); 
     142        $this->arrRowResult[] = t('c_Line T_ARG1: T_ARG2_01', array('T_ARG1' => $line_count, 'T_ARG2' => $message)); 
    143143    } 
    144144 
     
    151151     */ 
    152152    function addRowErr($line_count, $message) { 
    153         $this->arrRowErr[] = t('LC_Page_Admin_Products_UploadCSVCategory_002', array('T_ARG1' => $line_count, 'T_ARG2' => $message)); 
     153        $this->arrRowErr[] = t('c_Line T_ARG1: T_ARG2_01', array('T_ARG1' => $line_count, 'T_ARG2' => $message)); 
    154154    } 
    155155 
     
    212212            $col_count = count($arrCSV); 
    213213            if ($col_max_count != $col_count) { 
    214                 $this->addRowErr($line_count, t('LC_Page_Admin_Products_UploadCSVCategory_003', array('T_ARG1' => $col_count, 'T_ARG2' => $col_max_count))); 
     214                $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))); 
    215215                 
    216216                $errFlag = true; 
     
    236236 
    237237            $category_id = $this->lfRegistCategory($objQuery, $line_count, $objFormParam); 
    238             $this->addRowResult($line_count, t('LC_Page_Admin_Products_UploadCSVCategory_004', array('T_ARG1' => $category_id, 'T_ARG2' => $objFormParam->getValue('category_name')))); 
     238            $this->addRowResult($line_count, t('c_Category ID: T_ARG1 /Category name: T_ARG2_01', array('T_ARG1' => $category_id, 'T_ARG2' => $objFormParam->getValue('category_name')))); 
    239239        } 
    240240 
     
    462462            && !SC_Helper_DB_Ex::sfIsRecord('dtb_category', 'category_id', array($item['parent_category_id'])) 
    463463        ) { 
    464             $arrErr['parent_category_id'] = t('LC_Page_Admin_Products_UploadCSVCategory_005', array('T_ARG1' => $item['parent_category_id'])); 
     464            $arrErr['parent_category_id'] = t('c_* The designated new category ID (T_ARG1) does not exist._01', array('T_ARG1' => $item['parent_category_id'])); 
    465465        } 
    466466        // 削除フラグのチェック 
     
    469469        ) { 
    470470            if (!($item['del_flg'] == '0' or $item['del_flg'] == '1')) { 
    471                 $arrErr['del_flg'] = t('LC_Page_Admin_Products_UploadCSVCategory_006'); 
     471                $arrErr['del_flg'] = t('c_* Only '0' (active) and '1' (delete) are effective for the deletion flag. _01'); 
    472472            } 
    473473        } 
     
    487487                                $item['category_name'])); 
    488488            if ($exists) { 
    489                 $arrErr['category_name'] = t('LC_Page_Admin_Products_UploadCSVCategory_007'); 
     489                $arrErr['category_name'] = t('c_* A category of the same name already exists._01'); 
    490490            } 
    491491        } 
     
    494494        $count = $objQuery->count('dtb_category', $where); 
    495495        if ($count >= CATEGORY_MAX) { 
    496             $item['category_name'] = t('LC_Page_Admin_Products_UploadCSVCategory_008'); 
     496            $item['category_name'] = t('c_* The maximum number of categories that can be registered has been exceeded._01'); 
    497497        } 
    498498        // 階層上限チェック 
     
    501501            $level = $objQuery->get('level', 'dtb_category', 'category_id = ?', array($parent_category_id)); 
    502502            if ($level >= LEVEL_MAX) { 
    503                 $arrErr['parent_category_id'] = t('LC_Page_Admin_Products_UploadCSVCategory_009', array('T_ARG1' => LEVEL_MAX)); 
     503                $arrErr['parent_category_id'] = t('c_* Registration of the T_ARG1 hierarchy or higher is not possible._01', array('T_ARG1' => LEVEL_MAX)); 
    504504            } 
    505505        } 
Note: See TracChangeset for help on using the changeset viewer.