Ignore:
Timestamp:
2012/09/14 09:28:39 (14 years ago)
Author:
pineray
Message:

#1890 コード中のメッセージを集約

class/api 以下のファイル内の文字列を差し替え.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-multilang/data/class/api/operations/AddrFromZip.php

    r21867 r22032  
    3434 
    3535    protected $operation_name = 'AddrFromZip'; 
    36     protected $operation_description = '郵便番号から住所を検索します。'; 
     36    protected $operation_description = ''; 
    3737    protected $default_auth_types = self::API_AUTH_TYPE_REFERER; 
    3838    protected $default_enable = '1'; 
     
    4040    protected $default_sub_data = ''; 
    4141 
     42    public function __construct() { 
     43        parent::__construct(); 
     44        $this->operation_description = SC_I18n_Ex::t('API_ADDRFROMZIP_DESC'); 
     45    } 
     46 
    4247    public function doAction($arrParam) { 
    4348        $arrRequest = $this->doInitParam($arrParam); 
    4449        if (!$this->isParamError()) { 
    4550            $zipcode = $arrRequest['zip1'] . $arrRequest['zip2']; 
    46             $arrAddrList = SC_Utils_Ex::sfGetAddress($zipcode); 
     51            $arrAddrList = SC_Utils_Ex::sfGetAddress($zipcode);  
    4752            if (!SC_Utils_Ex::isBlank($arrAddrList)) { 
    4853                $this->setResponse('Address', array( 
     
    5964 
    6065    protected function lfInitParam(&$objFormParam) { 
    61         $objFormParam->addParam('郵便番号1', 'zip1', ZIP01_LEN, 'n', array('EXIST_CHECK', 'NUM_CHECK', 'MAX_LENGTH_CHECK')); 
    62         $objFormParam->addParam('郵便番号2', 'zip2', ZIP02_LEN, 'n', array('EXIST_CHECK', 'NUM_CHECK', 'MAX_LENGTH_CHECK')); 
     66        $objFormParam->addParam(SC_I18n_Ex::t('PARAM_LABEL_ZIP1'), 'zip1', ZIP01_LEN, 'n', array('EXIST_CHECK', 'NUM_CHECK', 'MAX_LENGTH_CHECK')); 
     67        $objFormParam->addParam(SC_I18n_Ex::t('PARAM_LABEL_ZIP2'), 'zip2', ZIP02_LEN, 'n', array('EXIST_CHECK', 'NUM_CHECK', 'MAX_LENGTH_CHECK')); 
    6368    } 
    6469 
Note: See TracChangeset for help on using the changeset viewer.