Ignore:
Timestamp:
2012/12/28 22:39:21 (14 years ago)
Author:
Seasoft
Message:

#1988 (国際化テンプレート:エスケープ処理) 現状コミット。

  • ja.po は、data/Smarty/templates/admin/ownersstore/plugin.tpl に対応する部分のみ、局所的に変更しています。
    • data/Smarty/templates/admin/ownersstore/plugin.tpl にコメントを記載している「案1」及び「案2」の方向性については協議中。
  • 上記以外では、po ファイルの改修が終わるまで、HTML エスケープが過剰に行なわれます。(主に、入力必須マークの出力が正しく行なわれないといった状況が生じます。)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-multilang/data/smarty_extends/function.t.php

    r22099 r22186  
    4545        unset($params['device_type_id']); 
    4646    } 
     47    // エスケープの指定がある場合、オプションに移す 
     48    if (isset($params['escape'])) { 
     49        $options['escape'] = $params['escape']; 
     50        unset($params['escape']); 
     51    } 
    4752 
    4853    return t($string, $params, $options); 
Note: See TracChangeset for help on using the changeset viewer.