Ignore:
Timestamp:
2013/01/27 19:22:00 (8 years ago)
Author:
kim
Message:

#2060 メッセージIDの振り直し PARAM系

PARAM_LABEL_BIRTH_POINT~PARAM_LABEL_ZIP02

統合
PARAM_LABEL_SHOP_NAMEとLC_Page_Install_018
PARAM_LABEL_ZIP1,PARAM_LABEL_ZIP2とPARAM_LABEL_ZIP01,PARAM_LABEL_ZIP02を統合

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-multilang/data/class/helper/SC_Helper_Customer.php

    r22426 r22428  
    325325        if (SC_Display_Ex::detectDevice() == DEVICE_TYPE_MOBILE) { 
    326326            // 登録確認画面の「戻る」ボタンのためのパラメーター 
    327             $objFormParam->addParam(t('PARAM_LABEL_RETURN'), 'return', '', '', array(), '', false); 
     327            $objFormParam->addParam(t('c_Go back_01'), 'return', '', '', array(), '', false); 
    328328        } 
    329329    } 
     
    361361        $objFormParam->addParam(t('PARAM_LABEL_CUSTOMER_FIRSTKANA'), 'kana02', STEXT_LEN, 'CKV', array('NO_SPTAB', 'SPTAB_CHECK' ,'MAX_LENGTH_CHECK', 'KANA_CHECK')); 
    362362//        $objFormParam->addParam(t('c_Postal code 1_01'), 'zip01', ZIP01_LEN, 'n', array('EXIST_CHECK', 'SPTAB_CHECK' ,'NUM_CHECK', 'NUM_COUNT_CHECK')); 
    363 //        $objFormParam->addParam(t('c_Postal code 2_02'), 'zip02', ZIP02_LEN, 'n', array('EXIST_CHECK', 'SPTAB_CHECK' ,'NUM_CHECK', 'NUM_COUNT_CHECK')); 
     363//        $objFormParam->addParam(t('c_Postal code 2_01'), 'zip02', ZIP02_LEN, 'n', array('EXIST_CHECK', 'SPTAB_CHECK' ,'NUM_CHECK', 'NUM_COUNT_CHECK')); 
    364364        $objFormParam->addParam(t('c_Postal code_01'), 'zipcode', ZIPCODE_LEN, 'n', array('EXIST_CHECK', 'SPTAB_CHECK' ,'NUM_CHECK', 'MAX_LENGTH_CHECK')); 
    365365        $objFormParam->addParam(t('c_Prefecture_01'), 'pref', INT_LEN, 'n', array('NUM_CHECK')); 
     
    523523        $objFormParam->addParam(t('PARAM_LABEL_CUSTOMER_KANA'), 'search_kana', STEXT_LEN, 'CKV', array('SPTAB_CHECK', 'MAX_LENGTH_CHECK', 'KANABLANK_CHECK')); 
    524524        $objFormParam->addParam(t('c_Prefecture_01'), 'search_pref', INT_LEN, 'n', array('NUM_CHECK','MAX_LENGTH_CHECK')); 
    525         $objFormParam->addParam(t('PARAM_LABEL_BD_START_YEAR'), 'search_b_start_year', 4, 'n', array('NUM_CHECK','MAX_LENGTH_CHECK')); 
    526         $objFormParam->addParam(t('PARAM_LABEL_BD_START_MONTH'), 'search_b_start_month', 2, 'n', array('NUM_CHECK','MAX_LENGTH_CHECK')); 
    527         $objFormParam->addParam(t('PARAM_LABEL_BD_START_DAY'), 'search_b_start_day', 2, 'n', array('NUM_CHECK','MAX_LENGTH_CHECK')); 
    528         $objFormParam->addParam(t('PARAM_LABEL_BD_END_YEAR'), 'search_b_end_year', 4, 'n', array('NUM_CHECK','MAX_LENGTH_CHECK')); 
    529         $objFormParam->addParam(t('PARAM_LABEL_BD_END_MONTH'), 'search_b_end_month', 2, 'n', array('NUM_CHECK','MAX_LENGTH_CHECK')); 
    530         $objFormParam->addParam(t('PARAM_LABEL_BD_END_DAY'), 'search_b_end_day', 2, 'n', array('NUM_CHECK','MAX_LENGTH_CHECK')); 
    531         $objFormParam->addParam(t('PARAM_LABEL_BIRTH_MONTH'), 'search_birth_month', 2, 'n', array('NUM_CHECK','MAX_LENGTH_CHECK')); 
     525        $objFormParam->addParam(t('c_Birthday (start year)_01'), 'search_b_start_year', 4, 'n', array('NUM_CHECK','MAX_LENGTH_CHECK')); 
     526        $objFormParam->addParam(t('c_Birthday (start month)_01'), 'search_b_start_month', 2, 'n', array('NUM_CHECK','MAX_LENGTH_CHECK')); 
     527        $objFormParam->addParam(t('c_Birthday (start date)_01'), 'search_b_start_day', 2, 'n', array('NUM_CHECK','MAX_LENGTH_CHECK')); 
     528        $objFormParam->addParam(t('c_Birthday (end year)_01'), 'search_b_end_year', 4, 'n', array('NUM_CHECK','MAX_LENGTH_CHECK')); 
     529        $objFormParam->addParam(t('c_Birthday (end month)_01'), 'search_b_end_month', 2, 'n', array('NUM_CHECK','MAX_LENGTH_CHECK')); 
     530        $objFormParam->addParam(t('c_Birthday (end date)_01'), 'search_b_end_day', 2, 'n', array('NUM_CHECK','MAX_LENGTH_CHECK')); 
     531        $objFormParam->addParam(t('c_Birth month_01'), 'search_birth_month', 2, 'n', array('NUM_CHECK','MAX_LENGTH_CHECK')); 
    532532        $objFormParam->addParam(t('c_E-mail address_01'), 'search_email', MTEXT_LEN, 'a', array('SPTAB_CHECK', 'EMAIL_CHAR_CHECK', 'MAX_LENGTH_CHECK')); 
    533533        $objFormParam->addParam(t('Mobile e-mail address'), 'search_email_mobile', MTEXT_LEN, 'a', array('SPTAB_CHECK', 'EMAIL_CHAR_CHECK', 'MAX_LENGTH_CHECK')); 
    534534        $objFormParam->addParam(t('c_Telephone number_01'), 'search_tel', TEL_LEN, 'n', array('NUM_CHECK','MAX_LENGTH_CHECK')); 
    535         $objFormParam->addParam(t('PARAM_LABEL_BUY_TOTAL_FROM'), 'search_buy_total_from', PRICE_LEN, 'n', array('NUM_CHECK','MAX_LENGTH_CHECK')); 
    536         $objFormParam->addParam(t('PARAM_LABEL_BUY_TOTAL_TO'), 'search_buy_total_to', PRICE_LEN, 'n', array('NUM_CHECK','MAX_LENGTH_CHECK')); 
    537         $objFormParam->addParam(t('PARAM_LABEL_BUY_TIMES_FROM'), 'search_buy_times_from', INT_LEN, 'n', array('NUM_CHECK','MAX_LENGTH_CHECK')); 
    538         $objFormParam->addParam(t('PARAM_LABEL_BUY_TIMES_TO'), 'search_buy_times_to', INT_LEN, 'n', array('NUM_CHECK','MAX_LENGTH_CHECK')); 
    539         $objFormParam->addParam(t('PARAM_LABEL_UPDATE_START_YEAR'), 'search_start_year', 4, 'n', array('NUM_CHECK','MAX_LENGTH_CHECK')); 
    540         $objFormParam->addParam(t('PARAM_LABEL_UPDATE_START_MONTH'), 'search_start_month', 2, 'n', array('NUM_CHECK','MAX_LENGTH_CHECK')); 
    541         $objFormParam->addParam(t('PARAM_LABEL_UPDATE_START_DAY'), 'search_start_day', 2, 'n', array('NUM_CHECK','MAX_LENGTH_CHECK')); 
    542         $objFormParam->addParam(t('PARAM_LABEL_UPDATE_END_YEAR'), 'search_end_year', 4, 'n', array('NUM_CHECK','MAX_LENGTH_CHECK')); 
    543         $objFormParam->addParam(t('PARAM_LABEL_UPDATE_END_MONTH'), 'search_end_month', 2, 'n', array('NUM_CHECK','MAX_LENGTH_CHECK')); 
    544         $objFormParam->addParam(t('PARAM_LABEL_UPDATE_END_DAY'), 'search_end_day', 2, 'n', array('NUM_CHECK','MAX_LENGTH_CHECK')); 
    545         $objFormParam->addParam(t('PARAM_LABEL_PAGE_MAX'), 'search_page_max', INT_LEN, 'n', array('NUM_CHECK','MAX_LENGTH_CHECK'), SEARCH_PMAX, false); 
     535        $objFormParam->addParam(t('c_Purchase amount (start)_01'), 'search_buy_total_from', PRICE_LEN, 'n', array('NUM_CHECK','MAX_LENGTH_CHECK')); 
     536        $objFormParam->addParam(t('c_Purchase amount (end)_01'), 'search_buy_total_to', PRICE_LEN, 'n', array('NUM_CHECK','MAX_LENGTH_CHECK')); 
     537        $objFormParam->addParam(t('c_Purchase frequency (start)_01'), 'search_buy_times_from', INT_LEN, 'n', array('NUM_CHECK','MAX_LENGTH_CHECK')); 
     538        $objFormParam->addParam(t('c_Purchase frequency (end)_01'), 'search_buy_times_to', INT_LEN, 'n', array('NUM_CHECK','MAX_LENGTH_CHECK')); 
     539        $objFormParam->addParam(t('c_Registration/update date (start year)_01'), 'search_start_year', 4, 'n', array('NUM_CHECK','MAX_LENGTH_CHECK')); 
     540        $objFormParam->addParam(t('c_Registration/update date (start month)_01'), 'search_start_month', 2, 'n', array('NUM_CHECK','MAX_LENGTH_CHECK')); 
     541        $objFormParam->addParam(t('c_Registration/update date (start date)_01'), 'search_start_day', 2, 'n', array('NUM_CHECK','MAX_LENGTH_CHECK')); 
     542        $objFormParam->addParam(t('c_Registration/update date (end year)_01'), 'search_end_year', 4, 'n', array('NUM_CHECK','MAX_LENGTH_CHECK')); 
     543        $objFormParam->addParam(t('c_Registration/update date (end month)_01'), 'search_end_month', 2, 'n', array('NUM_CHECK','MAX_LENGTH_CHECK')); 
     544        $objFormParam->addParam(t('c_Registration/update date (end date)_01'), 'search_end_day', 2, 'n', array('NUM_CHECK','MAX_LENGTH_CHECK')); 
     545        $objFormParam->addParam(t('c_Number of items displayed_01'), 'search_page_max', INT_LEN, 'n', array('NUM_CHECK','MAX_LENGTH_CHECK'), SEARCH_PMAX, false); 
    546546        $objFormParam->addParam(t('c_Page number_01'), 'search_pageno', INT_LEN, 'n', array('NUM_CHECK','MAX_LENGTH_CHECK'), 1, false); 
    547         $objFormParam->addParam(t('PARAM_LABEL_BUY_START_YEAR'), 'search_buy_start_year', 4, 'n', array('NUM_CHECK','MAX_LENGTH_CHECK')); 
    548         $objFormParam->addParam(t('PARAM_LABEL_BUY_START_MONTH'), 'search_buy_start_month', 2, 'n', array('NUM_CHECK','MAX_LENGTH_CHECK')); 
    549         $objFormParam->addParam(t('PARAM_LABEL_BUY_START_DAY'), 'search_buy_start_day', 2, 'n', array('NUM_CHECK','MAX_LENGTH_CHECK')); 
    550         $objFormParam->addParam(t('PARAM_LABEL_BUY_END_YEAR'), 'search_buy_end_year', 4, 'n', array('NUM_CHECK','MAX_LENGTH_CHECK')); 
    551         $objFormParam->addParam(t('PARAM_LABEL_BUY_END_MONTH'), 'search_buy_end_month', 2, 'n', array('NUM_CHECK','MAX_LENGTH_CHECK')); 
    552         $objFormParam->addParam(t('PARAM_LABEL_BUY_END_DAY'), 'search_buy_end_day', 2, 'n', array('NUM_CHECK','MAX_LENGTH_CHECK')); 
    553         $objFormParam->addParam(t('PARAM_LABEL_BUY_PRODUCT_CODE'), 'search_buy_product_code', STEXT_LEN, 'KVa', array('SPTAB_CHECK', 'MAX_LENGTH_CHECK')); 
    554         $objFormParam->addParam(t('PARAM_LABEL_BUY_PRODUCT_NAME'), 'search_buy_product_name', STEXT_LEN, 'KVa', array('SPTAB_CHECK', 'MAX_LENGTH_CHECK')); 
     547        $objFormParam->addParam(t('c_Final purchase date (start year)_01'), 'search_buy_start_year', 4, 'n', array('NUM_CHECK','MAX_LENGTH_CHECK')); 
     548        $objFormParam->addParam(t('c_Final purchase date (start month)_01'), 'search_buy_start_month', 2, 'n', array('NUM_CHECK','MAX_LENGTH_CHECK')); 
     549        $objFormParam->addParam(t('c_Final purchase date (start day)_01'), 'search_buy_start_day', 2, 'n', array('NUM_CHECK','MAX_LENGTH_CHECK')); 
     550        $objFormParam->addParam(t('c_Final purchase date (end year)_01'), 'search_buy_end_year', 4, 'n', array('NUM_CHECK','MAX_LENGTH_CHECK')); 
     551        $objFormParam->addParam(t('c_Final purchase date (end month)_01'), 'search_buy_end_month', 2, 'n', array('NUM_CHECK','MAX_LENGTH_CHECK')); 
     552        $objFormParam->addParam(t('c_Final purchase date (end day)_01'), 'search_buy_end_day', 2, 'n', array('NUM_CHECK','MAX_LENGTH_CHECK')); 
     553        $objFormParam->addParam(t('c_Purchased product code_01'), 'search_buy_product_code', STEXT_LEN, 'KVa', array('SPTAB_CHECK', 'MAX_LENGTH_CHECK')); 
     554        $objFormParam->addParam(t('c_Purchased product name_01'), 'search_buy_product_name', STEXT_LEN, 'KVa', array('SPTAB_CHECK', 'MAX_LENGTH_CHECK')); 
    555555        $objFormParam->addParam(t('c_Category_01'), 'search_category_id', INT_LEN, 'n', array('NUM_CHECK','MAX_LENGTH_CHECK')); 
    556556        $objFormParam->addParam(t('c_Gender_01'), 'search_sex', INT_LEN, 'n', array('MAX_LENGTH_CHECK')); 
     
    572572        $objErr = new SC_CheckError_Ex($objFormParam->getHashArray()); 
    573573        // 拡張エラーチェック 
    574         $objErr->doFunc(array(t('PARAM_LABEL_BD_START_DAY'), 'search_b_start_year', 'search_b_start_month', 'search_b_start_day'), array('CHECK_DATE')); 
    575         $objErr->doFunc(array(t('PARAM_LABEL_BD_END_DAY'), 'search_b_end_year', 'search_b_end_month', 'search_b_end_day'), array('CHECK_DATE')); 
    576  
    577         $objErr->doFunc(array(t('PARAM_LABEL_BD_START_DAY'),t('PARAM_LABEL_BD_END_DAY'), 'search_b_start_year', 'search_b_start_month', 'search_b_start_day', 'search_b_end_year', 'search_b_end_month', 'search_b_end_day'), array('CHECK_SET_TERM')); 
    578         $objErr->doFunc(array(t('PARAM_LABEL_UPDATE_START_DAY'), 'search_start_year', 'search_start_month', 'search_start_day',), array('CHECK_DATE')); 
    579         $objErr->doFunc(array(t('PARAM_LABEL_UPDATE_END_DAY'), 'search_end_year', 'search_end_month', 'search_end_day'), array('CHECK_DATE')); 
    580         $objErr->doFunc(array(t('PARAM_LABEL_UPDATE_START_DAY'),t('PARAM_LABEL_UPDATE_END_DAY'), 'search_start_year', 'search_start_month', 'search_start_day', 'search_end_year', 'search_end_month', 'search_end_day'), array('CHECK_SET_TERM')); 
    581         $objErr->doFunc(array(t('PARAM_LABEL_BUY_START_DAY'), 'search_buy_start_year', 'search_buy_start_month', 'search_buy_start_day',), array('CHECK_DATE')); 
    582         $objErr->doFunc(array(t('PARAM_LABEL_BUY_END_DAY'), 'search_buy_end_year', 'search_buy_end_month', 'search_buy_end_day'), array('CHECK_DATE')); 
     574        $objErr->doFunc(array(t('c_Birthday (start date)_01'), 'search_b_start_year', 'search_b_start_month', 'search_b_start_day'), array('CHECK_DATE')); 
     575        $objErr->doFunc(array(t('c_Birthday (end date)_01'), 'search_b_end_year', 'search_b_end_month', 'search_b_end_day'), array('CHECK_DATE')); 
     576 
     577        $objErr->doFunc(array(t('c_Birthday (start date)_01'),t('c_Birthday (end date)_01'), 'search_b_start_year', 'search_b_start_month', 'search_b_start_day', 'search_b_end_year', 'search_b_end_month', 'search_b_end_day'), array('CHECK_SET_TERM')); 
     578        $objErr->doFunc(array(t('c_Registration/update date (start date)_01'), 'search_start_year', 'search_start_month', 'search_start_day',), array('CHECK_DATE')); 
     579        $objErr->doFunc(array(t('c_Registration/update date (end date)_01'), 'search_end_year', 'search_end_month', 'search_end_day'), array('CHECK_DATE')); 
     580        $objErr->doFunc(array(t('c_Registration/update date (start date)_01'),t('c_Registration/update date (end date)_01'), 'search_start_year', 'search_start_month', 'search_start_day', 'search_end_year', 'search_end_month', 'search_end_day'), array('CHECK_SET_TERM')); 
     581        $objErr->doFunc(array(t('c_Final purchase date (start day)_01'), 'search_buy_start_year', 'search_buy_start_month', 'search_buy_start_day',), array('CHECK_DATE')); 
     582        $objErr->doFunc(array(t('c_Final purchase date (end day)_01'), 'search_buy_end_year', 'search_buy_end_month', 'search_buy_end_day'), array('CHECK_DATE')); 
    583583        // 開始 > 終了 の場合はエラーとする 
    584         $objErr->doFunc(array(t('PARAM_LABEL_BUY_START_DAY'),t('PARAM_LABEL_BUY_END_DAY'), 'search_buy_start_year', 'search_buy_start_month', 'search_buy_start_day', 'search_buy_end_year', 'search_buy_end_month', 'search_buy_end_day'), array('CHECK_SET_TERM')); 
     584        $objErr->doFunc(array(t('c_Final purchase date (start day)_01'),t('c_Final purchase date (end day)_01'), 'search_buy_start_year', 'search_buy_start_month', 'search_buy_start_day', 'search_buy_end_year', 'search_buy_end_month', 'search_buy_end_day'), array('CHECK_SET_TERM')); 
    585585 
    586586        if (SC_Utils_Ex::sfIsInt($array['search_buy_total_from']) 
Note: See TracChangeset for help on using the changeset viewer.