Ignore:
Timestamp:
2013/02/05 12:51:23 (9 years ago)
Author:
m_uehara
Message:

#2084 メッセージIDの振り直し

File:
1 edited

Legend:

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

    r22496 r22500  
    4747        parent::init(); 
    4848        $this->tpl_maintitle = t('c_Products_01'); 
    49         $this->tpl_subtitle = t('LC_Page_Admin_Products_Category_001'); 
     49        $this->tpl_subtitle = t('c_Category registration_01'); 
    5050        $this->tpl_mainpage = 'products/category.tpl'; 
    5151        $this->tpl_mainno = 'products'; 
     
    209209        $exists = $objQuery->exists('dtb_category', $where, array($category_id)); 
    210210        if ($exists) { 
    211             $this->arrErr['category_name'] = t('LC_Page_Admin_Products_Category_002'); 
     211            $this->arrErr['category_name'] = t('c_* Cannot be deleted since a subcategory exists.<br/>_01'); 
    212212            return; 
    213213        } 
     
    217217        $exists = $objQuery->exists($table, $where, array($category_id)); 
    218218        if ($exists) { 
    219             $this->arrErr['category_name'] = t('LC_Page_Admin_Products_Category_003'); 
     219            $this->arrErr['category_name'] = t('c_* The category cannot be deleted since there are products in the category.<br/>_01'); 
    220220            return; 
    221221        } 
     
    312312            $count = $objQuery->count('dtb_category', $where); 
    313313            if ($count >= CATEGORY_MAX) { 
    314                 $arrErr['category_name'] = t('LC_Page_Admin_Products_Category_004'); 
     314                $arrErr['category_name'] = t('c_* The maximum number of categories that can be registered has been exceeded.<br/>_01'); 
    315315                return $arrErr; 
    316316            } 
     
    318318            // 階層上限チェック 
    319319            if ($this->isOverLevel($parent_category_id)) { 
    320                 $arrErr['category_name'] = t('LC_Page_Admin_Products_Category_005', array('T_ARG1' => LEVEL_MAX)); 
     320                $arrErr['category_name'] = t('c_* Registration of the T_ARG1 hierarchy or higher is not possible.<br/>_01', array('T_ARG1' => LEVEL_MAX)); 
    321321                return $arrErr; 
    322322            } 
     
    335335        $exists = $objQuery->exists('dtb_category', $where, $arrWhereVal); 
    336336        if ($exists) { 
    337             $arrErr['category_name'] = t('LC_Page_Admin_Products_Category_006'); 
     337            $arrErr['category_name'] = t('c_* Registration of the same contents already exists.<br/>_01'); 
    338338            return $arrErr; 
    339339        } 
Note: See TracChangeset for help on using the changeset viewer.