Ignore:
Timestamp:
2013/01/31 18:39:05 (11 years ago)
Author:
m_uehara
Message:

#2084 r22432 - r22433 の逆マージを行いました。

File:
1 edited

Legend:

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

    r22433 r22489  
    6464 
    6565        if (!is_writable($bkupPath) || !is_writable($bkupPathFile)) { 
    66             $msg = t('SC_Batch_Update_001'); 
     66            $msg = t('c_Creation of backup directory failed_01'); 
    6767            $arrLog['err'][] = $msg; 
    6868            $this->printLog($msg); 
     
    9494                if (in_array($fileName, $excludeArray)) { 
    9595                    //$arrLog['ok'][] = '次のファイルは除外されました: ' . $path; 
    96                     $msg = t('SC_Batch_Update_002') . $path; 
     96                    $msg = t('c_The following file was excluded: _01') . $path; 
    9797                    $this->printLog($msg); 
    9898                    continue; 
     
    115115                            $out = $distinfo[$sha1]; 
    116116                        } else { 
    117                             $msg = t('SC_Batch_Update_003') . $path; 
     117                            $msg = t('c_The hash value does not match and the copy destination cannot be retrieved: _01') . $path; 
    118118                            $arrLog['err'][] = $msg; 
    119119                            $this->printLog($msg); 
     
    122122 
    123123                        if (file_exists($out) && $sha1 == sha1_file($out)) { 
    124                             $msg = t('SC_Batch_Update_004') . $out; 
     124                            $msg = t('c_Files with the same contents were skipped: _01') . $out; 
    125125                            $this->printLog($msg); 
    126126                            continue; 
     
    133133 
    134134                            if (!@copy($out, $bkupTo)) { 
    135                                 $msg = t('SC_Batch_Update_005') . $out . ' -> ' . $bkupTo; 
     135                                $msg = t('c_Creation of backup file failed: _01') . $out . ' -> ' . $bkupTo; 
    136136                                $arrLog['err'][] = $msg; 
    137137                                $this->printLog($msg); 
    138138                                break 2; 
    139139                            } 
    140                             $msg = t('SC_Batch_Update_005') . $out . ' -> ' . $bkupTo; 
     140                            $msg = t('c_Creation of backup file failed: _01') . $out . ' -> ' . $bkupTo; 
    141141                            $this->printLog($msg); 
    142142                        } 
     
    149149                            $handle = @fopen($out, 'w'); 
    150150                            if (!$handle) { 
    151                                 $msg = t('SC_Batch_Update_006') . $out; 
     151                                $msg = t('c_The copying destination does not have write access: _01') . $out; 
    152152                                $arrLog['err'][] = $msg; 
    153153                                $this->printLog($msg); 
     
    158158                        // 取得した内容を書き込む 
    159159                        if (fwrite($handle, $contents) === false) { 
    160                             $msg = t('SC_Batch_Update_006') . $out; 
     160                            $msg = t('c_The copying destination does not have write access: _01') . $out; 
    161161                            $arrLog['err'][] = $msg; 
    162162                            $this->printLog($msg); 
     
    164164                        } 
    165165 
    166                         $msg = t('SC_Batch_Update_007') . $out; 
     166                        $msg = t('c_File copying was successful: _01') . $out; 
    167167                        $arrLog['ok'][] = $msg; 
    168168                        $this->printLog($msg); 
     
    178178            @fwrite($handle, $src); 
    179179            @fclose($handle); 
    180             $msg = t('SC_Batch_Update_008') . $bkupPath . 'distinfo.php'; 
     180            $msg = t('c_distinfo file creation was successful: _01') . $bkupPath . 'distinfo.php'; 
    181181            $this->printLog($msg); 
    182182        } else { 
    183             $msg = t('SC_Batch_Update_009') . $bkupPath . 'distinfo.php'; 
     183            $msg = t('c_distinfo file creation failed: _01') . $bkupPath . 'distinfo.php'; 
    184184            $arrLog['err'][] = $msg; 
    185185            $this->printLog($msg); 
Note: See TracChangeset for help on using the changeset viewer.