Ignore:
Timestamp:
2012/11/16 14:56:04 (11 years ago)
Author:
pineray
Message:

#163 (テキスト出力多言語対応)

グローバル化に伴い、不要となった SC_I18n を削除.

File:
1 edited

Legend:

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

    r22067 r22100  
    4949        $this->tpl_subno = 'header'; 
    5050        $this->tpl_mainno = 'design'; 
    51         $this->tpl_maintitle = SC_I18n_Ex::t('TPL_MAINTITLE_003'); 
    52         $this->tpl_subtitle = SC_I18n_Ex::t('LC_Page_Admin_Design_Header_002'); 
     51        $this->tpl_maintitle = t('TPL_MAINTITLE_003'); 
     52        $this->tpl_subtitle = t('LC_Page_Admin_Design_Header_002'); 
    5353        $masterData = new SC_DB_MasterData_Ex(); 
    5454        $this->arrDeviceType = $masterData->getMasterData('mtb_device_type'); 
     
    8787                if (SC_Utils_Ex::isBlank($this->arrErr)) { 
    8888                    if ($this->doRegister($objFormParam)) { 
    89                         $this->tpl_onload = "alert('" . SC_I18n_Ex::t('ALERT_004') . "');"; 
     89                        $this->tpl_onload = "alert('" . t('ALERT_004') . "');"; 
    9090                    } 
    9191                } 
     
    101101            $footer_path = $this->getTemplatePath($this->device_type_id, 'footer'); 
    102102            if ($header_path === false || $footer_path === false) { 
    103                 $this->arrErr['err'] = SC_I18n_Ex::t('LC_Page_Admin_Design_Header_003'); 
     103                $this->arrErr['err'] = t('LC_Page_Admin_Design_Header_003'); 
    104104            } else { 
    105105                $this->header_data = file_get_contents($header_path); 
     
    132132     */ 
    133133    function lfInitParam(&$objFormParam) { 
    134         $objFormParam->addParam(SC_I18n_Ex::t('PARAM_LABEL_DEVICE_TYPE_ID'), 'device_type_id', INT_LEN, 'n', array('NUM_CHECK', 'MAX_LENGTH_CHECK')); 
    135         $objFormParam->addParam(SC_I18n_Ex::t('PARAM_LABEL_DIVISION_ALP'), 'division', STEXT_LEN, 'a', array('MAX_LENGTH_CHECK')); 
    136         $objFormParam->addParam(SC_I18n_Ex::t('PARAM_LABEL_HEADER_DATA'), 'header'); 
    137         $objFormParam->addParam(SC_I18n_Ex::t('PARAM_LABEL_FOOTER_DATA'), 'footer'); 
     134        $objFormParam->addParam(t('PARAM_LABEL_DEVICE_TYPE_ID'), 'device_type_id', INT_LEN, 'n', array('NUM_CHECK', 'MAX_LENGTH_CHECK')); 
     135        $objFormParam->addParam(t('PARAM_LABEL_DIVISION_ALP'), 'division', STEXT_LEN, 'a', array('MAX_LENGTH_CHECK')); 
     136        $objFormParam->addParam(t('PARAM_LABEL_HEADER_DATA'), 'header'); 
     137        $objFormParam->addParam(t('PARAM_LABEL_FOOTER_DATA'), 'footer'); 
    138138    } 
    139139 
     
    148148        $objErr = new SC_CheckError_Ex($arrParams); 
    149149        $objErr->arrErr =& $arrErr; 
    150         $objErr->doFunc(array(SC_I18n_Ex::t('PARAM_LABEL_DIVISION_ALP'), 'division', STEXT_LEN), array('EXIST_CHECK')); 
     150        $objErr->doFunc(array(t('PARAM_LABEL_DIVISION_ALP'), 'division', STEXT_LEN), array('EXIST_CHECK')); 
    151151        return $objErr->arrErr; 
    152152    } 
     
    166166        if ($tpl_path === false 
    167167            || !SC_Helper_FileManager_Ex::sfWriteFile($tpl_path, $contents)) { 
    168             $this->arrErr['err'] = SC_I18n_Ex::t('LC_Page_Admin_Design_Header_004'); 
     168            $this->arrErr['err'] = t('LC_Page_Admin_Design_Header_004'); 
    169169            return false; 
    170170        } 
Note: See TracChangeset for help on using the changeset viewer.