Changeset 22048


Ignore:
Timestamp:
2012/10/01 12:29:10 (12 years ago)
Author:
pineray
Message:

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

エラーメッセージにオプションを指定し、定数を使用しないように変更.

File:
1 edited

Legend:

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

    r22047 r22048  
    190190 
    191191            $mtb_constants = file_get_contents(CACHE_REALDIR . '../mtb_constants_init.php'); 
    192             $errorMessage = SC_I18n_Ex::t('SC_INITIAL_ERROR_UNWRITABLE', array('T_CACHE_REALDIR' => CACHE_REALDIR)); 
     192            $errorMessage = SC_I18n_Ex::t('SC_INITIAL_ERROR_UNWRITABLE', array('T_CACHE_REALDIR' => CACHE_REALDIR), array('lang_code' => 'ja', 'device_type_id' => FALSE)); 
    193193            if (is_writable(CACHE_REALDIR)) { 
    194194                $handle = fopen(CACHE_REALDIR . 'mtb_constants.php', 'w'); 
Note: See TracChangeset for help on using the changeset viewer.