This commit is contained in:
2023-03-08 09:16:04 +08:00
commit e78454540f
1318 changed files with 210569 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
<?php
/*
* This file is part of the overtrue/laravel-ueditor.
*
* (c) overtrue <i@overtrue.me>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
return [
UPLOAD_ERR_INI_SIZE => 'file size exceeds MAX_FILE_SIZE in php.ini limit',
UPLOAD_ERR_FORM_SIZE => 'file size exceeds MAX_FILE_SIZE in form limit',
UPLOAD_ERR_PARTIAL => 'upload file is not complete',
UPLOAD_ERR_NO_FILE => 'no files uploaded',
UPLOAD_ERR_NO_TMP_DIR => 'no temporary directory found',
UPLOAD_ERR_CANT_WRITE => 'fail to write file',
'ERROR_TMP_FILE' => 'create temporary file error',
'ERROR_TMP_FILE_NOT_FOUND' => 'can\'t find a temporary file',
'ERROR_SIZE_EXCEED' => 'file size beyond the site restrictions',
'ERROR_TYPE_NOT_ALLOWED' => 'file type does not allowed',
'ERROR_CREATE_DIR' => 'directory creation fails',
'ERROR_DIR_NOT_WRITEABLE' => 'directory does not have write permission',
'ERROR_FILE_MOVE' => 'file save error',
'ERROR_FILE_NOT_FOUND' => 'can\'t find the uploaded file',
'ERROR_WRITE_CONTENT' => 'error writing file content',
'ERROR_UNKNOWN' => 'An unknown error',
'ERROR_DEAD_LINK' => 'link is not available',
'ERROR_HTTP_LINK' => 'not a HTTP link',
'ERROR_HTTP_CONTENTTYPE' => 'link contentType incorrect',
'ERROR_UNKNOWN_MODE' => 'Please Config the core.mode',
];

View File

@@ -0,0 +1,31 @@
<?php
/*
* This file is part of the overtrue/laravel-ueditor.
*
* (c) overtrue <i@overtrue.me>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
return [
UPLOAD_ERR_INI_SIZE => '上传的文件超过了 php.ini 中 upload_max_filesize 选项限制的值',
UPLOAD_ERR_FORM_SIZE => '上传文件的大小超过了 HTML 表单中 MAX_FILE_SIZE 选项指定的值',
UPLOAD_ERR_PARTIAL => '文件只有部分被上传',
UPLOAD_ERR_NO_FILE => '没有文件被上传',
UPLOAD_ERR_NO_TMP_DIR => '找不到临时文件夹',
UPLOAD_ERR_CANT_WRITE => '文件写入失败',
'ERROR_SIZE_EXCEED' => '文件大小超出网站限制',
'ERROR_TYPE_NOT_ALLOWED' => '文件类型不允许',
'ERROR_CREATE_DIR' => '目录创建失败',
'ERROR_DIR_NOT_WRITEABLE' => '目录没有写权限',
'ERROR_FILE_MOVE' => '文件保存时出错',
'ERROR_WRITE_CONTENT' => '写入文件内容错误',
'ERROR_UNKNOWN' => '未知错误',
'ERROR_DEAD_LINK' => '链接不可用',
'ERROR_HTTP_LINK' => '链接不是http链接',
'ERROR_HTTP_CONTENTTYPE' => '链接contentType不正确',
'ERROR_UNKNOWN_MODE' => '文件上传模式错误',
];

View File

@@ -0,0 +1,33 @@
<?php
/*
* This file is part of the overtrue/laravel-ueditor.
*
* (c) overtrue <i@overtrue.me>
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
return [
UPLOAD_ERR_INI_SIZE => '文件大小超出php.ini中MAX_FILE_SIZE限制',
UPLOAD_ERR_FORM_SIZE => '文件大小超出表单中MAX_FILE_SIZE限制',
UPLOAD_ERR_PARTIAL => '文件未被完整上傳',
UPLOAD_ERR_NO_FILE => '沒有文件被上傳',
UPLOAD_ERR_NO_TMP_DIR => '找不到臨時文件夹',
UPLOAD_ERR_CANT_WRITE => '文件写入失败',
'ERROR_TMP_FILE' => '臨時文件錯誤',
'ERROR_TMP_FILE_NOT_FOUND' => '找不到臨時文件',
'ERROR_SIZE_EXCEED' => '文件大小超出網站限制',
'ERROR_TYPE_NOT_ALLOWED' => '文件類型不允許',
'ERROR_CREATE_DIR' => '目錄創建失敗',
'ERROR_DIR_NOT_WRITEABLE' => '目錄沒有寫許可權',
'ERROR_FILE_MOVE' => '文件保存時出錯',
'ERROR_FILE_NOT_FOUND' => '找不到上傳文件',
'ERROR_WRITE_CONTENT' => '寫入文件內容錯誤',
'ERROR_UNKNOWN' => '未知錯誤',
'ERROR_DEAD_LINK' => '鏈接不可用',
'ERROR_HTTP_LINK' => '鏈接不是http鏈接',
'ERROR_HTTP_CONTENTTYPE' => '鏈接contentType不正確',
'ERROR_UNKNOWN_MODE' => '文件上傳模式錯誤',
];