Ignore:
Timestamp:
2013/01/27 22:44:41 (11 years ago)
Author:
kim
Message:

#2060 メッセージIDの振り直し T_FILEDを%sに置き換え

File:
1 edited

Legend:

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

    r22433 r22437  
    140140     */ 
    141141    function addRowResult($line_count, $message) { 
    142         $this->arrRowResult[] = t('LC_Page_Admin_Products_UploadCSVCategory_002', array('T_FIELD1' => $line_count, 'T_FIELD2' => $message)); 
     142        $this->arrRowResult[] = t('LC_Page_Admin_Products_UploadCSVCategory_002', array('%s1' => $line_count, '%s2' => $message)); 
    143143    } 
    144144 
     
    151151     */ 
    152152    function addRowErr($line_count, $message) { 
    153         $this->arrRowErr[] = t('LC_Page_Admin_Products_UploadCSVCategory_002', array('T_FIELD1' => $line_count, 'T_FIELD2' => $message)); 
     153        $this->arrRowErr[] = t('LC_Page_Admin_Products_UploadCSVCategory_002', array('%s1' => $line_count, '%s2' => $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_FIELD1' => $col_count, 'T_FIELD2' => $col_max_count))); 
     214                $this->addRowErr($line_count, t('LC_Page_Admin_Products_UploadCSVCategory_003', array('%s1' => $col_count, '%s2' => $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_FIELD1' => $category_id, 'T_FIELD2' => $objFormParam->getValue('category_name')))); 
     238            $this->addRowResult($line_count, t('LC_Page_Admin_Products_UploadCSVCategory_004', array('%s1' => $category_id, '%s2' => $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_FIELD' => $item['parent_category_id'])); 
     464            $arrErr['parent_category_id'] = t('LC_Page_Admin_Products_UploadCSVCategory_005', array('%s1' => $item['parent_category_id'])); 
    465465        } 
    466466        // 削除フラグのチェック 
     
    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_FIELD' => LEVEL_MAX)); 
     503                $arrErr['parent_category_id'] = t('LC_Page_Admin_Products_UploadCSVCategory_009', array('%s1' => LEVEL_MAX)); 
    504504            } 
    505505        } 
Note: See TracChangeset for help on using the changeset viewer.