- Timestamp:
- 2012/11/16 16:20:45 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-multilang/data/class/helper/SC_Helper_Transform.php
r21991 r22102 65 65 if (!in_array($encoding, array('ASCII', 'UTF-8'))) { 66 66 if ($encoding === false) { 67 $encoding = '検出不能';67 $encoding = t("SC_Helper_Transform_001"); 68 68 } 69 $msg = 'テンプレートの文字コードが「' . $encoding . '」です。「UTF-8」のみ利用できます。';69 $msg = t('SC_Helper_Transform_002', array('T_FIELD' => $encoding)); 70 70 SC_Utils_Ex::sfDispSiteError(FREE_ERROR_MSG, '', true, $msg); 71 71 } … … 327 327 } 328 328 // エラー画面表示 329 SC_Utils_Ex::sfDispSiteError(FREE_ERROR_MSG, '', true, 'テンプレートの操作に失敗しました。' . $err_msg);329 SC_Utils_Ex::sfDispSiteError(FREE_ERROR_MSG, '', true, t('SC_Helper_Transform_004', array('T_FIELD' => $err_msg))); 330 330 } elseif ($this->snip_count) { 331 331 $html = $this->objDOM->saveHTML(); … … 620 620 } 621 621 catch (Exception $e) { 622 SC_Utils_Ex::sfDispSiteError(FREE_ERROR_MSG, '', true, 'テンプレートの操作に失敗しました。');622 SC_Utils_Ex::sfDispSiteError(FREE_ERROR_MSG, '', true, t("SC_Helper_Transform_005")); 623 623 } 624 624
Note: See TracChangeset
for help on using the changeset viewer.
