$hashSource = sha1_file( $srcPath );
$hashDest = sha1_file( $dstPath );
if ( $hashSource != $hashDest ) {
- $status->fatal( 'fileexists', $dstPath );
+ $status->fatal( 'fileexistserror', $dstPath );
}
} else {
- $status->fatal( 'fileexists', $dstPath );
+ $status->fatal( 'fileexistserror', $dstPath );
}
}
}
'filedeleteerror' => 'Could not delete file "$1".',
'directorycreateerror' => 'Could not create directory "$1".',
'filenotfound' => 'Could not find file "$1".',
-'fileexists' => 'Unable to write to file "$1": file exists',
+'fileexistserror' => 'Unable to write to file "$1": file exists',
'unexpected' => 'Unexpected value: "$1"="$2".',
'formerror' => 'Error: could not submit form',
'badarticleerror' => 'This action cannot be performed on this page.',
'filedeleteerror' => 'מחיקת "$1" נכשלה.',
'directorycreateerror' => 'יצירת התיקייה "$1" נכשלה.',
'filenotfound' => 'הקובץ "$1" לא נמצא.',
-'fileexists' => 'הכתיבה לקובץ "$1" נכשלה: הקובץ קיים',
+'fileexistserror' => 'הכתיבה לקובץ "$1" נכשלה: הקובץ קיים',
'unexpected' => 'ערך לא צפוי: "$1"="$2"',
'formerror' => 'שגיאה: לא יכול לשלוח טופס.',
'badarticleerror' => 'לא ניתן לבצע פעולה זו בדף זה.',
'filedeleteerror',
'directorycreateerror',
'filenotfound',
- 'fileexists',
+ 'fileexistserror',
'unexpected',
'formerror',
'badarticleerror',