Ignore:
Timestamp:
2012/11/16 14:56:04 (11 years ago)
Author:
pineray
Message:

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

グローバル化に伴い、不要となった SC_I18n を削除.

File:
1 edited

Legend:

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

    r22059 r22100  
    4242        $this->width_cell = array(110.3,12,21.7,24.5); 
    4343 
    44         $this->label_cell[] = SC_I18n_Ex::t('SC_Fpdf_001'); 
    45         $this->label_cell[] = SC_I18n_Ex::t('SC_Fpdf_002'); 
    46         $this->label_cell[] = SC_I18n_Ex::t('SC_Fpdf_003'); 
    47         $this->label_cell[] = SC_I18n_Ex::t('SC_Fpdf_004'); 
     44        $this->label_cell[] = t('SC_Fpdf_001'); 
     45        $this->label_cell[] = t('SC_Fpdf_002'); 
     46        $this->label_cell[] = t('SC_Fpdf_003'); 
     47        $this->label_cell[] = t('SC_Fpdf_004'); 
    4848 
    4949        $this->arrMessage = array( 
    50             SC_I18n_Ex::t('SC_Fpdf_014'), 
    51             SC_I18n_Ex::t('SC_Fpdf_015'), 
    52             SC_I18n_Ex::t('SC_Fpdf_016') 
     50            t('SC_Fpdf_014'), 
     51            t('SC_Fpdf_015'), 
     52            t('SC_Fpdf_016') 
    5353        ); 
    5454 
     
    140140            'T_DAY' => $this->arrData['day'] 
    141141        ); 
    142         $text = SC_I18n_Ex::t('SC_Fpdf_017', $tokens); 
     142        $text = t('SC_Fpdf_017', $tokens); 
    143143        $this->lfText(158, 288, $text, 8);  //作成日 
    144144    } 
     
    170170        $tokens = array( 
    171171            'T_PRICE' => number_format($this->arrDisp['payment_total']), 
    172             'T_UNIT' => SC_I18n_Ex::t('SC_Fpdf_019') 
     172            'T_UNIT' => t('SC_Fpdf_019') 
    173173        ); 
    174         $this->Cell(67, 8, SC_I18n_Ex::t('SC_Fpdf_018', $tokens), 0, 2, 'R', 0, ''); 
     174        $this->Cell(67, 8, t('SC_Fpdf_018', $tokens), 0, 2, 'R', 0, ''); 
    175175        $this->Cell(0, 45, '', 0, 2, '', 0, ''); 
    176176 
    177177        $this->SetFont('SJIS', '', 8); 
    178178 
    179         $monetary_unit = SC_I18n_Ex::t('SC_Fpdf_019'); 
    180         $point_unit = SC_I18n_Ex::t('SC_Fpdf_020'); 
     179        $monetary_unit = t('SC_Fpdf_019'); 
     180        $point_unit = t('SC_Fpdf_020'); 
    181181 
    182182        // 購入商品情報 
     
    216216        $arrOrder[$i][0] = ''; 
    217217        $arrOrder[$i][1] = ''; 
    218         $arrOrder[$i][2] = SC_I18n_Ex::t('SC_Fpdf_005'); 
     218        $arrOrder[$i][2] = t('SC_Fpdf_005'); 
    219219        $arrOrder[$i][3] = number_format($this->arrDisp['subtotal']).$monetary_unit; 
    220220 
     
    222222        $arrOrder[$i][0] = ''; 
    223223        $arrOrder[$i][1] = ''; 
    224         $arrOrder[$i][2] = SC_I18n_Ex::t('SC_Fpdf_006'); 
     224        $arrOrder[$i][2] = t('SC_Fpdf_006'); 
    225225        $arrOrder[$i][3] = number_format($this->arrDisp['deliv_fee']).$monetary_unit; 
    226226 
     
    228228        $arrOrder[$i][0] = ''; 
    229229        $arrOrder[$i][1] = ''; 
    230         $arrOrder[$i][2] = SC_I18n_Ex::t('SC_Fpdf_007'); 
     230        $arrOrder[$i][2] = t('SC_Fpdf_007'); 
    231231        $arrOrder[$i][3] = number_format($this->arrDisp['charge']).$monetary_unit; 
    232232 
     
    234234        $arrOrder[$i][0] = ''; 
    235235        $arrOrder[$i][1] = ''; 
    236         $arrOrder[$i][2] = SC_I18n_Ex::t('SC_Fpdf_008'); 
     236        $arrOrder[$i][2] = t('SC_Fpdf_008'); 
    237237        $arrOrder[$i][3] = '- '.number_format(($this->arrDisp['use_point'] * POINT_VALUE) + $this->arrDisp['discount']).$monetary_unit; 
    238238 
     
    240240        $arrOrder[$i][0] = ''; 
    241241        $arrOrder[$i][1] = ''; 
    242         $arrOrder[$i][2] = SC_I18n_Ex::t('SC_Fpdf_009'); 
     242        $arrOrder[$i][2] = t('SC_Fpdf_009'); 
    243243        $arrOrder[$i][3] = number_format($this->arrDisp['payment_total']).$monetary_unit; 
    244244 
     
    254254            $arrOrder[$i][0] = ''; 
    255255            $arrOrder[$i][1] = ''; 
    256             $arrOrder[$i][2] = SC_I18n_Ex::t('SC_Fpdf_010'); 
     256            $arrOrder[$i][2] = t('SC_Fpdf_010'); 
    257257            $arrOrder[$i][3] = number_format($this->arrDisp['use_point']).$point_unit; 
    258258 
     
    260260            $arrOrder[$i][0] = ''; 
    261261            $arrOrder[$i][1] = ''; 
    262             $arrOrder[$i][2] = SC_I18n_Ex::t('SC_Fpdf_011'); 
     262            $arrOrder[$i][2] = t('SC_Fpdf_011'); 
    263263            $arrOrder[$i][3] = number_format($this->arrDisp['add_point']).$point_unit; 
    264264        } 
     
    276276        $this->Cell(0, 10, '', 0, 1, 'C', 0, ''); 
    277277        $this->SetFont('Gothic', 'B', 9); 
    278         $this->MultiCell(0, 6, SC_I18n_Ex::t('SC_Fpdf_012'), 'T', 2, 'L', 0, '');  //備考 
     278        $this->MultiCell(0, 6, t('SC_Fpdf_012'), 'T', 2, 'L', 0, '');  //備考 
    279279        $this->SetFont('SJIS', '', 8); 
    280280        $text = SC_Utils_Ex::rtrim($this->arrData['etc1'] . "\n" . $this->arrData['etc2'] . "\n" . $this->arrData['etc3']); 
     
    333333                $this->arrDisp['payment_info'] = unserialize($this->arrDisp['memo02']); 
    334334            } 
    335             $this->arrDisp['payment_type'] = SC_I18n_Ex::t('SC_Fpdf_013'); 
     335            $this->arrDisp['payment_type'] = t('SC_Fpdf_013'); 
    336336        } 
    337337    } 
Note: See TracChangeset for help on using the changeset viewer.