Ignore:
Timestamp:
2013/01/27 21:07:20 (11 years ago)
Author:
kim
Message:

#2060 r22372,r22381,r22382,r22386-r22390,r22397-r22400,r22407-r22411,r22416,r22417,r22420,r22421,r22423,r22425,r22426 を差し戻す。

File:
1 edited

Legend:

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

    r22416 r22433  
    5757                'T_TO' => $to_path 
    5858            ); 
    59             GC_Utils_Ex::gfDebugLog(t('c_Copying of T_FROM->T_TO failed._01', $tokens)); 
     59            GC_Utils_Ex::gfDebugLog(t('SC_Image_002', $tokens)); 
    6060        } 
    6161    } 
     
    9999 
    100100        if (empty($FromImgPath) || empty($ToImgPath)) { 
    101             return array(0,  t('c_The output source image path or the output destination folder has not been designated._01')); 
     101            return array(0,  t('SC_Image_003')); 
    102102        } 
    103103 
    104104        if (!file_exists($FromImgPath)) { 
    105             return array(0,  t('c_The output source image was not found._01')); 
     105            return array(0,  t('SC_Image_004')); 
    106106        } 
    107107 
     
    111111        // 画像の種類が不明 or swf 
    112112        if (!$size[2] || $size[2] > 3) { 
    113             return array(0,  t('c_The image format is not supported._01')); 
     113            return array(0,  t('SC_Image_005')); 
    114114        } 
    115115 
     
    156156                    } 
    157157                    if (!@copy($FromImgPath , $ToImgPath.$ToFile)) { // エラー処理 
    158                         return array(0,  t('c_File copying failed._01')); 
     158                        return array(0,  t('SC_Image_001')); 
    159159                    } 
    160160                    ImageDestroy($ImgNew); 
     
    179179                // 画像が作成されていない場合 
    180180                if (!@file_exists($TmpPath)) { 
    181                     return array(0,  t('c_Image output failed._01')); 
     181                    return array(0,  t('SC_Image_006')); 
    182182                } 
    183183                ImageDestroy($ImgNew); 
     
    206206                // 画像が作成されていない場合 
    207207                if (!@file_exists($TmpPath)) { 
    208                     return array(0,  t('c_Image output failed._01')."<br>${ImgNew}<br>${TmpPath}"); 
     208                    return array(0,  t('SC_Image_006')."<br>${ImgNew}<br>${TmpPath}"); 
    209209                } 
    210210                $RetVal = $ToFile; 
     
    227227                // 画像が作成されていない場合 
    228228                if (!@file_exists($TmpPath)) { 
    229                     return array(0,  t('c_Image output failed._01')); 
     229                    return array(0,  t('SC_Image_006')); 
    230230                } 
    231231                $RetVal = $ToFile; 
Note: See TracChangeset for help on using the changeset viewer.