Changeset 22420


Ignore:
Timestamp:
2013/01/27 17:24:49 (8 years ago)
Author:
h_yoshimoto
Message:

#2060 IDの振り直し(SC_Helper_Address,SC_Helper_Transform_,LC_Page_Admin_Home,LC_Page_Admin_Index)

Location:
branches/version-2_12-multilang/data
Files:
7 edited

Legend:

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

    r22102 r22420  
    4444        // 顧客IDのチェック 
    4545        if (is_null($customer_id) || !is_numeric($customer_id) || !preg_match("/^\d+$/", $customer_id)) { 
    46             SC_Utils_Ex::sfDispSiteError(FREE_ERROR_MSG, '', false, t("SC_Helper_Address_001")); 
     46            SC_Utils_Ex::sfDispSiteError(FREE_ERROR_MSG, '', false, t("c_Correctly designate the customer ID_01")); 
    4747                         
    4848        } 
     
    5353            // 別のお届け先最大登録数に達している場合、エラー 
    5454            if ($deliv_count >= DELIV_ADDR_MAX) { 
    55                 SC_Utils_Ex::sfDispSiteError(FREE_ERROR_MSG, '', false, t("SC_Helper_Address_002")); 
     55                SC_Utils_Ex::sfDispSiteError(FREE_ERROR_MSG, '', false, t("c_The maximum number of separate shipping destinations registered has been met._01")); 
    5656            } 
    5757 
     
    6464            $deliv_count = $objQuery->count('dtb_other_deliv','other_deliv_id = ?' ,array($other_deliv_id)); 
    6565            if ($deliv_count != 1) { 
    66                 SC_Utils_Ex::sfDispSiteError(FREE_ERROR_MSG, '', false, t("SC_Helper_Address_003")); 
     66                SC_Utils_Ex::sfDispSiteError(FREE_ERROR_MSG, '', false, t("c_There is no separate delivery destination that matches._01")); 
    6767            } 
    6868 
  • branches/version-2_12-multilang/data/class/helper/SC_Helper_Transform.php

    r22102 r22420  
    6565        if (!in_array($encoding, array('ASCII', 'UTF-8'))) { 
    6666            if ($encoding === false) { 
    67                 $encoding = t("SC_Helper_Transform_001"); 
     67                $encoding = t("c_Not detectable_01"); 
    6868            } 
    6969            $msg = t('SC_Helper_Transform_002', array('T_FIELD' => $encoding)); 
     
    327327            } 
    328328            // エラー画面表示 
    329             SC_Utils_Ex::sfDispSiteError(FREE_ERROR_MSG, '', true, t('SC_Helper_Transform_004', array('T_FIELD' => $err_msg))); 
     329            SC_Utils_Ex::sfDispSiteError(FREE_ERROR_MSG, '', true, t('c_Template operation failed. T_FIELD_01', array('T_FIELD' => $err_msg))); 
    330330        } elseif ($this->snip_count) { 
    331331            $html = $this->objDOM->saveHTML(); 
     
    620620        } 
    621621        catch (Exception $e) { 
    622             SC_Utils_Ex::sfDispSiteError(FREE_ERROR_MSG, '', true, t("SC_Helper_Transform_005")); 
     622            SC_Utils_Ex::sfDispSiteError(FREE_ERROR_MSG, '', true, t("c_Template operation failed._01")); 
    623623        } 
    624624 
  • branches/version-2_12-multilang/data/class/pages/admin/LC_Page_Admin_Home.php

    r22100 r22420  
    4646        parent::init(); 
    4747        $this->tpl_mainpage = 'home.tpl'; 
    48         $this->tpl_subtitle = t('LC_Page_Admin_Home_001'); 
     48        $this->tpl_subtitle = t('c_Home_01'); 
    4949    } 
    5050 
     
    325325 
    326326        if (empty($arrTmpData)) { 
    327             SC_Utils_Ex::sfErrorHeader(t('LC_Page_Admin_Home_002')); 
     327            SC_Utils_Ex::sfErrorHeader(t('c_>> Update information was not obtained._01')); 
    328328            return array(); 
    329329        } 
  • branches/version-2_12-multilang/data/class/pages/admin/LC_Page_Admin_Index.php

    r22100 r22420  
    130130            // ログインチェック 
    131131            if (!$this->lfIsLoginMember($arrForm['login_id'], $arrForm['password'])) { 
    132                 $arrErr['password'] = t('LC_Page_Admin_Index_001'); 
     132                $arrErr['password'] = t('c_You cannot log in._01'); 
    133133                $this->lfSetIncorrectData($arrForm['login_id']); 
    134134            } 
  • branches/version-2_12-multilang/data/class/pages/mypage/LC_Page_Mypage_DeliveryAddr.php

    r22100 r22420  
    183183        } 
    184184        if (count($_SESSION['shipping']) >= DELIV_ADDR_MAX) { 
    185             SC_Utils_Ex::sfDispSiteError(FREE_ERROR_MSG, '', false, t('LC_Page_Mypage_DeliveryAddr_004')); 
     185            SC_Utils_Ex::sfDispSiteError(FREE_ERROR_MSG, '', false, t('c_The maximum number of separate shipping destinations registered has been met._01')); 
    186186        } else { 
    187187            $_SESSION['shipping'][] = $arrRegist; 
  • branches/version-2_12-multilang/data/locales/en-US.po

    r22419 r22420  
    21462146msgstr "Add or change delivery destination" 
    21472147 
    2148 msgid "LC_Page_Mypage_DeliveryAddr_002" 
    2149 msgstr "The maximum number of separate shipping destinations has been met." 
    2150  
    2151 msgid "LC_Page_Mypage_DeliveryAddr_003" 
    2152 msgstr "There is no separate delivery destination that matches." 
    2153  
    2154 msgid "LC_Page_Mypage_DeliveryAddr_004" 
    2155 msgstr "The maximum number of separate shipping destinations has been met." 
    2156  
    21572148msgid "LC_Page_MyPage_Favorite_001" 
    21582149msgstr "List of Favorites" 
     
    34663457msgstr "(Sales ratio)" 
    34673458 
    3468 msgid "LC_Page_Admin_Home_001" 
     3459msgid "c_Home_01" 
    34693460msgstr "Home" 
    34703461 
    3471 msgid "LC_Page_Admin_Home_002" 
     3462msgid "c_>> Update information was not obtained._01" 
    34723463msgstr ">> Update information was not obtained." 
    34733464 
    3474 msgid "LC_Page_Admin_Index_001" 
     3465msgid "c_You cannot log in._01" 
    34753466msgstr "You cannot log in." 
    34763467 
    3477 msgid "SC_Helper_Address_001" 
     3468msgid "c_Correctly designate the customer ID_01" 
    34783469msgstr "Correctly designate the customer ID" 
    34793470 
    3480 msgid "SC_Helper_Address_002" 
     3471msgid "c_The maximum number of separate shipping destinations registered has been met._01" 
    34813472msgstr "" 
    34823473"The maximum number of separate shipping destinations registered has been met." 
    34833474 
    3484 msgid "SC_Helper_Address_003" 
     3475msgid "c_There is no separate delivery destination that matches._01" 
    34853476msgstr "There is no separate delivery destination that matches." 
    34863477 
    3487 msgid "SC_Helper_Transform_001" 
     3478msgid "c_Not detectable_01" 
    34883479msgstr "Not detectable" 
    34893480 
    3490 msgid "C_Helper_Transform_003" 
     3481msgid "c_<br />T_FIELD does not exist_01" 
    34913482msgstr "<br />T_FIELD does not exist" 
    34923483 
    3493 msgid "SC_Helper_Transform_004" 
     3484msgid "c_Template operation failed. T_FIELD_01" 
    34943485msgstr "Template operation failed. T_FIELD" 
    34953486 
    3496 msgid "SC_Helper_Transform_005" 
     3487msgid "c_Template operation failed._01" 
    34973488msgstr "Template operation failed." 
    34983489 
  • branches/version-2_12-multilang/data/locales/ja.po

    r22419 r22420  
    21352135msgstr "お届け先の追加・変更" 
    21362136 
    2137 msgid "LC_Page_Mypage_DeliveryAddr_002" 
    2138 msgstr "別のお届け先最大登録数に達しています。" 
    2139  
    2140 msgid "LC_Page_Mypage_DeliveryAddr_003" 
    2141 msgstr "一致する別のお届け先がありません。" 
    2142  
    2143 msgid "LC_Page_Mypage_DeliveryAddr_004" 
    2144 msgstr "別のお届け先最大登録数に達しています。" 
    2145  
    21462137msgid "LC_Page_MyPage_Favorite_001" 
    21472138msgstr "お気に入り一覧" 
     
    34313422msgstr "(売上比率)" 
    34323423 
    3433 msgid "LC_Page_Admin_Home_001" 
     3424msgid "c_Home_01" 
    34343425msgstr "ホーム" 
    34353426 
    3436 msgid "LC_Page_Admin_Home_002" 
     3427msgid "c_>> Update information was not obtained._01" 
    34373428msgstr ">> 更新情報の取得に失敗しました。" 
    34383429 
    3439 msgid "LC_Page_Admin_Index_001" 
     3430msgid "c_You cannot log in._01" 
    34403431msgstr "ログイン出来ません。" 
    34413432 
    3442 msgid "SC_Helper_Address_001" 
     3433msgid "Correctly designate the customer ID" 
    34433434msgstr "顧客IDを正しく指定して下さい" 
    34443435 
    3445 msgid "SC_Helper_Address_002" 
     3436msgid "c_The maximum number of separate shipping destinations registered has been met._01" 
    34463437msgstr "別のお届け先最大登録数に達しています。" 
    34473438 
    3448 msgid "SC_Helper_Address_003" 
     3439msgid "c_There is no separate delivery destination that matches._01" 
    34493440msgstr "一致する別のお届け先がありません。" 
    34503441 
    3451 msgid "SC_Helper_Transform_001" 
     3442msgid "c_Not detectable_01" 
    34523443msgstr "検出不能" 
    34533444 
    3454 msgid "C_Helper_Transform_003" 
     3445msgid "c_<br />T_FIELD does not exist_01" 
    34553446msgstr "<br />T_FIELD が存在しません" 
    34563447 
    3457 msgid "SC_Helper_Transform_004" 
     3448msgid "c_Template operation failed. T_FIELD_01" 
    34583449msgstr "テンプレートの操作に失敗しました。T_FIELD" 
    34593450 
    3460 msgid "SC_Helper_Transform_005" 
     3451msgid "c_Template operation failed._01" 
    34613452msgstr "テンプレートの操作に失敗しました。" 
    34623453 
Note: See TracChangeset for help on using the changeset viewer.