初始化本地仓库

This commit is contained in:
2026-08-31 11:33:59 +08:00
commit 663f74b633
2390 changed files with 402918 additions and 0 deletions
+148
View File
@@ -0,0 +1,148 @@
<?php
return [
// 操作反馈(成功/失败/确认)
'operation' => [
'success' => 'Success',
'fail' => 'Failed',
'save' => [
'success' => 'Saved successfully',
'fail' => 'Save failed',
'confirm' => 'Confirm save?',
],
'delete' => [
'success' => 'Deleted successfully',
'fail' => 'Delete failed',
'confirm' => 'Confirm delete?',
],
'update' => [
'success' => 'Updated successfully',
'fail' => 'Update failed',
],
'submit' => [
'success' => 'Submitted successfully',
'fail' => 'Submit failed',
'confirm' => 'Confirm submit?',
],
'upload' => [
'success' => 'Uploaded successfully',
'fail' => 'Upload failed',
'too_large' => 'File too large',
'invalid_type' => 'Invalid file type',
],
'download' => [
'success' => 'Downloaded successfully',
'fail' => 'Download failed',
],
],
// 通用交互动作(按钮/导航/数据操作)
'action' => [
'confirm' => 'Confirm',
'ensure' => 'Ensure',
'yes' => 'Yes',
'ok' => 'OK',
'no' => 'No',
'cancel' => 'Cancel',
'abort' => 'Abort',
'back' => 'Back',
'return' => 'Return',
'next' => 'Next',
'continue' => 'Continue',
'previous' => 'Previous',
'home' => 'Home',
'save' => 'Save',
'store' => 'Store',
'edit' => 'Edit',
'modify' => 'Modify',
'update' => 'Update',
'refresh' => 'Refresh',
'reset' => 'Reset',
'clear' => 'Clear',
'add' => 'Add',
'create' => 'Create',
'delete' => 'Delete',
'remove' => 'Remove',
'view' => 'View',
'detail' => 'Detail',
'search' => 'Search',
'filter' => 'Filter',
'import' => 'Import',
'export' => 'Export',
'print' => 'Print',
'help' => 'Help',
'settings' => 'Settings',
'close' => 'Close',
'exit' => 'Exit',
],
// 状态提示(加载/错误/成功等)
'status' => [
'loading' => 'Loading...',
'processing' => 'Processing...',
'please_wait' => 'Please wait...',
'success' => 'Success',
'completed' => 'Completed',
'failure' => 'Failure',
'fail' => 'Failed',
'error' => 'Error',
'warning' => 'Warning',
'info' => 'Information',
'no_data' => 'No data available',
'permission_denied' => 'Permission denied',
'login_expired' => 'Login expired',
'network_error' => 'Network connection error', // 原网络错误(泛化)
'server_error' => 'Internal server error', // 原服务器错误(泛化)
'request_timeout' => 'Request timed out', // 原请求超时(泛化)
],
// 网络异常(HTTP 状态码 + 具体网络错误)
'http' => [
// 状态码(语义化键名 + 数字键名双映射)
'bad_request_400' => 'Bad Request',
'400' => 'Bad Request',
'unauthorized_401' => 'Unauthorized',
'401' => 'Unauthorized',
'forbidden_403' => 'Forbidden',
'403' => 'Forbidden',
'not_found_404' => 'Not Found',
'404' => 'Not Found',
'method_not_allowed_405' => 'Method Not Allowed',
'405' => 'Method Not Allowed',
'request_timeout_408' => 'Request Timeout',
'408' => 'Request Timeout',
'too_many_requests_429' => 'Too Many Requests',
'429' => 'Too Many Requests',
'internal_server_error_500' => 'Internal Server Error',
'500' => 'Internal Server Error',
'bad_gateway_502' => 'Bad Gateway',
'502' => 'Bad Gateway',
'service_unavailable_503' => 'Service Unavailable',
'503' => 'Service Unavailable',
'gateway_timeout_504' => 'Gateway Timeout',
'504' => 'Gateway Timeout',
// 网络异常描述(非状态码)
'connection_refused' => 'Connection refused',
'dns_lookup_failed' => 'DNS lookup failed',
'ssl_handshake_failed' => 'SSL handshake failed',
'resource_unavailable' => 'Resource temporarily unavailable',
],
// 基础界面元素
'ui' => [
'dashboard' => 'Dashboard',
'profile' => 'Profile',
'account' => 'Account',
'notification' => 'Notification',
'message' => 'Message',
'log' => 'Log',
'history' => 'History',
'about' => 'About',
'contact' => 'Contact',
'language' => 'Language',
'theme' => 'Theme',
'version' => 'Version',
'copyright' => 'Copyright',
],
];
+97
View File
@@ -0,0 +1,97 @@
<?php
/**
*+------------------
* madong
*+------------------
* Copyright (c) https://gitee.com/motion-code All rights reserved.
*+------------------
* Author: Mr. April (405784684@qq.com)
*+------------------
* Official Website: https://madong.tech
*/
/**
* 菜单翻译
*/
return [
//首页
'首页' => 'Home',
'工作台' => 'Workspace',
'分析页' => 'Dashboard',
//公共
'编辑' => 'Edit',
'新增' => 'Add',
'删除' => 'Delete',
'详情' => 'Detail',
'导出' => 'Export',
//系统设置
'用户' => 'User',
'菜单管理' => 'Menu',
'职位管理' => 'Position',
'字典项列表' => 'DictList',
'字典项添加' => 'DictAdd',
'字典项删除' => 'DictDelete',
'字典项编辑' => 'DictEdit',
'数据中心' => 'DataCenter',
'角色管理' => 'Role',
'部门管理' => 'Department',
'登录日志' => 'LoginLog',
'冻结用户' => 'FreezeUser',
'取消冻结' => 'Unfreeze',
'通知公告' => 'Notice',
'数据回收' => 'RecycleBin',
'数据字典' => 'DataDict',
'授权' => 'Authorize',
'授权角色' => 'AssignRole',
'系统监控' => 'Monitor',
'系统参数' => 'SystemConfig',
'系统设置' => 'Setting',
'用户管理' => 'User',
'移除用户' => 'RemoveUser',
'附件管理' => 'Attachment',
//系统监控
'性能监控' => 'Performance',
'Redis监控' => 'RedisMonitor',
'操作日志' => 'OperationLog',
//系统工具
//业务流程
'业务流程' => 'Workflow',
'流程查询' => 'Query',
'流程设置' => 'Setting',
'流程设计' => 'Design',
'表单设计' => 'FormDesign',
'基础功能' => 'BasicFunc',
'流程类型' => 'Type',
'委托设置' => 'Delegate',
'流程定义' => 'Definition',
'我的申请' => 'MyRequest',
'我的收藏' => 'Bookmark',
'我的已办' => 'Completed',
'待阅' => 'PendingRead',
'待办' => 'Todo',
'发起' => 'Launch',
'恢复' => 'Restore',
//开发平台
'开发平台' => 'Dev',
'代码生成' => 'CodeGeneration',
'定时任务' => 'ScheduledTasks',
'网关管理' => 'Gateway',
'限流规则' => 'Rate Limiting Rules',
'限访名单' => 'Access Restriction List',
'在线开发' => 'Online Development',
//平台管理
'平台管理' => 'Platform',
'账套管理' => 'AccountManagement',
'账套中心' => 'AccountCenter',
'多数据源' => 'MultiDataSource',
//人工智能
'人工智能' => 'AI',
'智能问答' => 'Agent',
];
@@ -0,0 +1,330 @@
<?php
/**
*+------------------
* madong - System Default Language Package
*+------------------
* Copyright (c) https://gitee.com/motion-code All rights reserved.
*+------------------
* Author: Mr. April (405784684@qq.com)
*+------------------
* Official Website: https://madong.tech
*/
return [
// User Management
'user' => [
'title' => 'User Management',
'not_exist' => 'User does not exist',
'create_success' => 'User created successfully',
'create_fail' => 'User creation failed',
'update_success' => 'User updated successfully',
'update_fail' => 'User update failed',
'delete_success' => 'User deleted successfully',
'delete_fail' => 'User deletion failed',
'enable_success' => 'User enabled successfully',
'enable_fail' => 'User enable failed',
'disable_success' => 'User disabled successfully',
'disable_fail' => 'User disable failed',
'lock_success' => 'User locked successfully',
'lock_fail' => 'User lock failed',
'unlock_success' => 'User unlocked successfully',
'unlock_fail' => 'User unlock failed',
'password_reset_success' => 'Password reset successfully',
'password_reset_fail' => 'Password reset failed',
'username_exist' => 'Username already exists',
'email_exist' => 'Email already exists',
'mobile_exist' => 'Mobile number already exists',
'admin_not_editable' => 'Super admin cannot be edited',
'admin_not_deletable' => 'Super admin cannot be deleted',
],
// Role Management
'role' => [
'title' => 'Role Management',
'not_exist' => 'Role does not exist',
'create_success' => 'Role created successfully',
'create_fail' => 'Role creation failed',
'update_success' => 'Role updated successfully',
'update_fail' => 'Role update failed',
'delete_success' => 'Role deleted successfully',
'delete_fail' => 'Role deletion failed',
'assign_success' => 'Role assigned successfully',
'assign_fail' => 'Role assignment failed',
'admin_role_not_editable' => 'Admin role cannot be edited',
'admin_role_not_deletable' => 'Admin role cannot be deleted',
'in_use' => 'Role is in use, cannot be deleted',
'permission' => [
'assign_success' => 'Permission assigned successfully',
'assign_fail' => 'Permission assignment failed',
'update_success' => 'Permission updated successfully',
'update_fail' => 'Permission update failed',
],
],
// Menu Management
'menu' => [
'title' => 'Menu Management',
'not_exist' => 'Menu does not exist',
'create_success' => 'Menu created successfully',
'create_fail' => 'Menu creation failed',
'update_success' => 'Menu updated successfully',
'update_fail' => 'Menu update failed',
'delete_success' => 'Menu deleted successfully',
'delete_fail' => 'Menu deletion failed',
'move_success' => 'Menu moved successfully',
'move_fail' => 'Menu move failed',
'has_children' => 'Has submenus, cannot be deleted',
'type' => [
'directory' => 'Directory',
'menu' => 'Menu',
'button' => 'Button',
],
'status' => [
'enabled' => 'Enabled',
'disabled' => 'Disabled',
],
],
// Data Dictionary
'dict' => [
'title' => 'Data Dictionary',
'not_exist' => 'Dictionary does not exist',
'create_success' => 'Dictionary created successfully',
'create_fail' => 'Dictionary creation failed',
'update_success' => 'Dictionary updated successfully',
'update_fail' => 'Dictionary update failed',
'delete_success' => 'Dictionary deleted successfully',
'delete_fail' => 'Dictionary deletion failed',
'item' => [
'not_exist' => 'Dictionary item does not exist',
'create_success' => 'Dictionary item created successfully',
'create_fail' => 'Dictionary item creation failed',
'update_success' => 'Dictionary item updated successfully',
'update_fail' => 'Dictionary item update failed',
'delete_success' => 'Dictionary item deleted successfully',
'delete_fail' => 'Dictionary item deletion failed',
],
],
// Department Management
'dept' => [
'title' => 'Department Management',
'not_exist' => 'Department does not exist',
'create_success' => 'Department created successfully',
'create_fail' => 'Department creation failed',
'update_success' => 'Department updated successfully',
'update_fail' => 'Department update failed',
'delete_success' => 'Department deleted successfully',
'delete_fail' => 'Department deletion failed',
'has_children' => 'Has subdepartments, cannot be deleted',
'has_users' => 'Has users, cannot be deleted',
],
// Post Management
'post' => [
'title' => 'Post Management',
'not_exist' => 'Post does not exist',
'create_success' => 'Post created successfully',
'create_fail' => 'Post creation failed',
'update_success' => 'Post updated successfully',
'update_fail' => 'Post update failed',
'delete_success' => 'Post deleted successfully',
'delete_fail' => 'Post deletion failed',
'has_users' => 'Has users, cannot be deleted',
],
// System Configuration
'config' => [
'title' => 'System Configuration',
'not_exist' => 'Configuration does not exist',
'update_success' => 'Configuration updated successfully',
'update_fail' => 'Configuration update failed',
'group' => [
'system' => 'System Settings',
'security' => 'Security Settings',
'mail' => 'Mail Settings',
'sms' => 'SMS Settings',
'storage' => 'Storage Settings',
],
'cache_cleared' => 'Configuration cache cleared',
],
// Recycle Bin
'recycle' => [
'title' => 'Recycle Bin',
'not_exist' => 'Recycle item does not exist',
'recycle_success' => 'Data recycled successfully',
'recycle_fail' => 'Data recycle failed',
'restore_success' => 'Data restored successfully',
'restore_fail' => 'Data restore failed',
'delete_success' => 'Data permanently deleted successfully',
'delete_fail' => 'Data permanent deletion failed',
'empty_success' => 'Recycle bin emptied successfully',
'empty_fail' => 'Recycle bin empty failed',
'type' => [
'user' => 'User',
'role' => 'Role',
'menu' => 'Menu',
'dept' => 'Department',
'post' => 'Post',
'dict' => 'Dictionary',
'attachment' => 'Attachment',
],
],
// Operate Log
'operate_log' => [
'title' => 'Operate Log',
'not_exist' => 'Log does not exist',
'clear_success' => 'Log cleared successfully',
'clear_fail' => 'Log clear failed',
'export_success' => 'Log exported successfully',
'export_fail' => 'Log export failed',
'type' => [
'add' => 'Add',
'edit' => 'Edit',
'delete' => 'Delete',
'login' => 'Login',
'logout' => 'Logout',
'upload' => 'Upload',
'download' => 'Download',
],
'result' => [
'success' => 'Success',
'fail' => 'Fail',
],
],
// Login Log
'login_log' => [
'title' => 'Login Log',
'not_exist' => 'Log does not exist',
'clear_success' => 'Log cleared successfully',
'clear_fail' => 'Log clear failed',
'export_success' => 'Log exported successfully',
'export_fail' => 'Log export failed',
'status' => [
'success' => 'Success',
'fail' => 'Fail',
],
'type' => [
'web' => 'Web Login',
'mobile' => 'Mobile Login',
'api' => 'API Login',
'third_party' => 'Third Party Login',
],
],
// Crontab Task
'crontab' => [
'title' => 'Crontab Task',
'not_exist' => 'Task does not exist',
'create_success' => 'Task created successfully',
'create_fail' => 'Task creation failed',
'update_success' => 'Task updated successfully',
'update_fail' => 'Task update failed',
'delete_success' => 'Task deleted successfully',
'delete_fail' => 'Task deletion failed',
'start_success' => 'Task started successfully',
'start_fail' => 'Task start failed',
'stop_success' => 'Task stopped successfully',
'stop_fail' => 'Task stop failed',
'run_success' => 'Task executed successfully',
'run_fail' => 'Task execution failed',
'status' => [
'enabled' => 'Enabled',
'disabled' => 'Disabled',
'running' => 'Running',
],
'type' => [
'command' => 'Command',
'callback' => 'Callback',
'url' => 'URL Request',
],
'log' => [
'title' => 'Task Log',
'not_exist' => 'Log does not exist',
'clear_success' => 'Log cleared successfully',
'clear_fail' => 'Log clear failed',
],
],
// Message Management
'message' => [
'title' => 'Message Management',
'not_exist' => 'Message does not exist',
'create_success' => 'Message created successfully',
'create_fail' => 'Message creation failed',
'update_success' => 'Message updated successfully',
'update_fail' => 'Message update failed',
'delete_success' => 'Message deleted successfully',
'delete_fail' => 'Message deletion failed',
'send_success' => 'Message sent successfully',
'send_fail' => 'Message sending failed',
'read_success' => 'Message marked as read',
'type' => [
'system' => 'System Message',
'notification' => 'Notification',
'private' => 'Private Message',
],
'status' => [
'unread' => 'Unread',
'read' => 'Read',
'deleted' => 'Deleted',
],
],
// Notification Management
'notification' => [
'title' => 'Notification Management',
'not_exist' => 'Notification does not exist',
'create_success' => 'Notification created successfully',
'create_fail' => 'Notification creation failed',
'update_success' => 'Notification updated successfully',
'update_fail' => 'Notification update failed',
'delete_success' => 'Notification deleted successfully',
'delete_fail' => 'Notification deletion failed',
'publish_success' => 'Notification published successfully',
'publish_fail' => 'Notification publishing failed',
'type' => [
'system' => 'System Notification',
'announcement' => 'Announcement',
'reminder' => 'Reminder',
],
'status' => [
'draft' => 'Draft',
'published' => 'Published',
'expired' => 'Expired',
],
],
// Attachment Management
'attachment' => [
'title' => 'Attachment Management',
'not_exist' => 'Attachment does not exist',
'upload_success' => 'Attachment uploaded successfully',
'upload_fail' => 'Attachment upload failed',
'download_success' => 'Attachment downloaded successfully',
'download_fail' => 'Attachment download failed',
'delete_success' => 'Attachment deleted successfully',
'delete_fail' => 'Attachment deletion failed',
'type' => [
'image' => 'Image',
'document' => 'Document',
'video' => 'Video',
'audio' => 'Audio',
'other' => 'Other',
],
'size_exceed' => 'File size exceeds limit',
'type_not_allowed' => 'File type not allowed',
],
'plugin' => [
'error' => [
'repeat_install' => 'Plugin is already installed...',
'not_uninstall' => 'Plugin is not installed...',
'info_file_not_exist' => 'Plugin info.json file not found',
'dependency_missing' => 'Dependency plugin :name is missing',
'config_invalid' => 'Plugin config file is invalid',
],
],
];
@@ -0,0 +1,197 @@
<?php
/**
* @link https://raw.githubusercontent.com/laravel/framework/refs/heads/11.x/src/Illuminate/Translation/lang/en/validation.php
*/
return [
/*
|--------------------------------------------------------------------------
| Validation Language Lines
|--------------------------------------------------------------------------
|
| The following language lines contain the default error messages used by
| the validator class. Some of these rules have multiple versions such
| as the size rules. Feel free to tweak each of these messages here.
|
*/
'accepted' => 'The :attribute field must be accepted.',
'accepted_if' => 'The :attribute field must be accepted when :other is :value.',
'active_url' => 'The :attribute field must be a valid URL.',
'after' => 'The :attribute field must be a date after :date.',
'after_or_equal' => 'The :attribute field must be a date after or equal to :date.',
'alpha' => 'The :attribute field must only contain letters.',
'alpha_dash' => 'The :attribute field must only contain letters, numbers, dashes, and underscores.',
'alpha_num' => 'The :attribute field must only contain letters and numbers.',
'array' => 'The :attribute field must be an array.',
'ascii' => 'The :attribute field must only contain single-byte alphanumeric characters and symbols.',
'before' => 'The :attribute field must be a date before :date.',
'before_or_equal' => 'The :attribute field must be a date before or equal to :date.',
'between' => [
'array' => 'The :attribute field must have between :min and :max items.',
'file' => 'The :attribute field must be between :min and :max kilobytes.',
'numeric' => 'The :attribute field must be between :min and :max.',
'string' => 'The :attribute field must be between :min and :max characters.',
],
'boolean' => 'The :attribute field must be true or false.',
'can' => 'The :attribute field contains an unauthorized value.',
'confirmed' => 'The :attribute field confirmation does not match.',
'contains' => 'The :attribute field is missing a required value.',
'current_password' => 'The password is incorrect.',
'date' => 'The :attribute field must be a valid date.',
'date_equals' => 'The :attribute field must be a date equal to :date.',
'date_format' => 'The :attribute field must match the format :format.',
'decimal' => 'The :attribute field must have :decimal decimal places.',
'declined' => 'The :attribute field must be declined.',
'declined_if' => 'The :attribute field must be declined when :other is :value.',
'different' => 'The :attribute field and :other must be different.',
'digits' => 'The :attribute field must be :digits digits.',
'digits_between' => 'The :attribute field must be between :min and :max digits.',
'dimensions' => 'The :attribute field has invalid image dimensions.',
'distinct' => 'The :attribute field has a duplicate value.',
'doesnt_end_with' => 'The :attribute field must not end with one of the following: :values.',
'doesnt_start_with' => 'The :attribute field must not start with one of the following: :values.',
'email' => 'The :attribute field must be a valid email address.',
'ends_with' => 'The :attribute field must end with one of the following: :values.',
'enum' => 'The selected :attribute is invalid.',
'exists' => 'The selected :attribute is invalid.',
'extensions' => 'The :attribute field must have one of the following extensions: :values.',
'file' => 'The :attribute field must be a file.',
'filled' => 'The :attribute field must have a value.',
'gt' => [
'array' => 'The :attribute field must have more than :value items.',
'file' => 'The :attribute field must be greater than :value kilobytes.',
'numeric' => 'The :attribute field must be greater than :value.',
'string' => 'The :attribute field must be greater than :value characters.',
],
'gte' => [
'array' => 'The :attribute field must have :value items or more.',
'file' => 'The :attribute field must be greater than or equal to :value kilobytes.',
'numeric' => 'The :attribute field must be greater than or equal to :value.',
'string' => 'The :attribute field must be greater than or equal to :value characters.',
],
'hex_color' => 'The :attribute field must be a valid hexadecimal color.',
'image' => 'The :attribute field must be an image.',
'in' => 'The selected :attribute is invalid.',
'in_array' => 'The :attribute field must exist in :other.',
'integer' => 'The :attribute field must be an integer.',
'ip' => 'The :attribute field must be a valid IP address.',
'ipv4' => 'The :attribute field must be a valid IPv4 address.',
'ipv6' => 'The :attribute field must be a valid IPv6 address.',
'json' => 'The :attribute field must be a valid JSON string.',
'list' => 'The :attribute field must be a list.',
'lowercase' => 'The :attribute field must be lowercase.',
'lt' => [
'array' => 'The :attribute field must have less than :value items.',
'file' => 'The :attribute field must be less than :value kilobytes.',
'numeric' => 'The :attribute field must be less than :value.',
'string' => 'The :attribute field must be less than :value characters.',
],
'lte' => [
'array' => 'The :attribute field must not have more than :value items.',
'file' => 'The :attribute field must be less than or equal to :value kilobytes.',
'numeric' => 'The :attribute field must be less than or equal to :value.',
'string' => 'The :attribute field must be less than or equal to :value characters.',
],
'mac_address' => 'The :attribute field must be a valid MAC address.',
'max' => [
'array' => 'The :attribute field must not have more than :max items.',
'file' => 'The :attribute field must not be greater than :max kilobytes.',
'numeric' => 'The :attribute field must not be greater than :max.',
'string' => 'The :attribute field must not be greater than :max characters.',
],
'max_digits' => 'The :attribute field must not have more than :max digits.',
'mimes' => 'The :attribute field must be a file of type: :values.',
'mimetypes' => 'The :attribute field must be a file of type: :values.',
'min' => [
'array' => 'The :attribute field must have at least :min items.',
'file' => 'The :attribute field must be at least :min kilobytes.',
'numeric' => 'The :attribute field must be at least :min.',
'string' => 'The :attribute field must be at least :min characters.',
],
'min_digits' => 'The :attribute field must have at least :min digits.',
'missing' => 'The :attribute field must be missing.',
'missing_if' => 'The :attribute field must be missing when :other is :value.',
'missing_unless' => 'The :attribute field must be missing unless :other is :value.',
'missing_with' => 'The :attribute field must be missing when :values is present.',
'missing_with_all' => 'The :attribute field must be missing when :values are present.',
'multiple_of' => 'The :attribute field must be a multiple of :value.',
'not_in' => 'The selected :attribute is invalid.',
'not_regex' => 'The :attribute field format is invalid.',
'numeric' => 'The :attribute field must be a number.',
'password' => [
'letters' => 'The :attribute field must contain at least one letter.',
'mixed' => 'The :attribute field must contain at least one uppercase and one lowercase letter.',
'numbers' => 'The :attribute field must contain at least one number.',
'symbols' => 'The :attribute field must contain at least one symbol.',
'uncompromised' => 'The given :attribute has appeared in a data leak. Please choose a different :attribute.',
],
'present' => 'The :attribute field must be present.',
'present_if' => 'The :attribute field must be present when :other is :value.',
'present_unless' => 'The :attribute field must be present unless :other is :value.',
'present_with' => 'The :attribute field must be present when :values is present.',
'present_with_all' => 'The :attribute field must be present when :values are present.',
'prohibited' => 'The :attribute field is prohibited.',
'prohibited_if' => 'The :attribute field is prohibited when :other is :value.',
'prohibited_unless' => 'The :attribute field is prohibited unless :other is in :values.',
'prohibits' => 'The :attribute field prohibits :other from being present.',
'regex' => 'The :attribute field format is invalid.',
'required' => 'The :attribute field is required.',
'required_array_keys' => 'The :attribute field must contain entries for: :values.',
'required_if' => 'The :attribute field is required when :other is :value.',
'required_if_accepted' => 'The :attribute field is required when :other is accepted.',
'required_if_declined' => 'The :attribute field is required when :other is declined.',
'required_unless' => 'The :attribute field is required unless :other is in :values.',
'required_with' => 'The :attribute field is required when :values is present.',
'required_with_all' => 'The :attribute field is required when :values are present.',
'required_without' => 'The :attribute field is required when :values is not present.',
'required_without_all' => 'The :attribute field is required when none of :values are present.',
'same' => 'The :attribute field must match :other.',
'size' => [
'array' => 'The :attribute field must contain :size items.',
'file' => 'The :attribute field must be :size kilobytes.',
'numeric' => 'The :attribute field must be :size.',
'string' => 'The :attribute field must be :size characters.',
],
'starts_with' => 'The :attribute field must start with one of the following: :values.',
'string' => 'The :attribute field must be a string.',
'timezone' => 'The :attribute field must be a valid timezone.',
'unique' => 'The :attribute has already been taken.',
'uploaded' => 'The :attribute failed to upload.',
'uppercase' => 'The :attribute field must be uppercase.',
'url' => 'The :attribute field must be a valid URL.',
'ulid' => 'The :attribute field must be a valid ULID.',
'uuid' => 'The :attribute field must be a valid UUID.',
/*
|--------------------------------------------------------------------------
| Custom Validation Language Lines
|--------------------------------------------------------------------------
|
| Here you may specify custom validation messages for attributes using the
| convention "attribute.rule" to name the lines. This makes it quick to
| specify a specific custom language line for a given attribute rule.
|
*/
'custom' => [
'attribute-name' => [
'rule-name' => 'custom-message',
],
],
/*
|--------------------------------------------------------------------------
| Custom Validation Attributes
|--------------------------------------------------------------------------
|
| The following language lines are used to swap our attribute placeholder
| with something more reader friendly such as "E-Mail Address" instead
| of "email". This simply helps us make our message more expressive.
|
*/
'attributes' => [],
];
@@ -0,0 +1,163 @@
<?php
return [
// 操作反馈(成功/失败/确认)
'operation' => [
'success' => '成功',
'fail' => '失败',
'save' => [
'success' => '保存成功',
'fail' => '保存失败',
'confirm' => '确认保存吗?',
],
'delete' => [
'success' => '删除成功',
'fail' => '删除失败',
'confirm' => '确认删除吗?',
],
'update' => [
'success' => '更新成功',
'fail' => '更新失败',
],
'submit' => [
'success' => '提交成功',
'fail' => '提交失败',
'confirm' => '确认提交吗?',
],
'upload' => [
'success' => '上传成功',
'fail' => '上传失败',
'too_large' => '文件过大',
'invalid_type' => '无效文件类型',
],
'download' => [
'success' => '下载成功',
'fail' => '下载失败',
],
],
// 通用交互动作(按钮/导航/数据操作)
'action' => [
'confirm' => '确认',
'ensure' => '确保',
'yes' => '是',
'ok' => '确定',
'no' => '否',
'cancel' => '取消',
'abort' => '中止',
'back' => '返回',
'return' => '返回上一页',
'next' => '下一步',
'continue' => '继续',
'previous' => '上一步',
'home' => '首页',
'save' => '保存',
'store' => '存储',
'edit' => '编辑',
'modify' => '修改',
'update' => '更新',
'refresh' => '刷新',
'reset' => '重置',
'clear' => '清除',
'add' => '添加',
'create' => '创建',
'delete' => '删除',
'remove' => '移除',
'view' => '查看',
'detail' => '详情',
'search' => '搜索',
'filter' => '筛选',
'import' => '导入',
'export' => '导出',
'print' => '打印',
'help' => '帮助',
'settings' => '设置',
'close' => '关闭',
'exit' => '退出',
],
// 状态提示(加载/错误/成功等)
'status' => [
'loading' => '加载中...',
'processing' => '处理中...',
'please_wait' => '请稍候...',
'success' => '成功',
'completed' => '已完成',
'failure' => '失败',
'fail' => '已失败',
'error' => '错误',
'warning' => '警告',
'info' => '信息',
'no_data' => '暂无数据',
'permission_denied' => '权限不足',
'login_expired' => '登录已过期',
'network_error' => '网络连接错误', // 原网络错误(泛化)
'server_error' => '内部服务器错误', // 原服务器错误(泛化)
'request_timeout' => '请求超时', // 原请求超时(泛化)
],
// 网络异常(HTTP 状态码 + 具体网络错误)
'http' => [
// 状态码(语义化键名 + 数字键名双映射)
'bad_request_400' => '错误请求',
'400' => '错误请求',
'unauthorized_401' => '未授权',
'401' => '未授权',
'forbidden_403' => '禁止访问',
'403' => '禁止访问',
'not_found_404' => '页面未找到',
'404' => '页面未找到',
'method_not_allowed_405' => '方法不被允许',
'405' => '方法不被允许',
'request_timeout_408' => '请求超时',
'408' => '请求超时',
'too_many_requests_429' => '请求过于频繁',
'429' => '请求过于频繁',
'internal_server_error_500' => '服务器内部错误',
'500' => '服务器内部错误',
'bad_gateway_502' => '网关错误',
'502' => '网关错误',
'service_unavailable_503' => '服务不可用',
'503' => '服务不可用',
'gateway_timeout_504' => '网关超时',
'504' => '网关超时',
// 网络异常描述(非状态码)
'connection_refused' => '连接被拒绝',
'dns_lookup_failed' => 'DNS 解析失败',
'ssl_handshake_failed' => 'SSL 握手失败',
'resource_unavailable' => '资源暂时不可用',
],
// 基础界面元素(通用名词)
'ui' => [
'dashboard' => '仪表盘',
'profile' => '个人资料',
'account' => '账户',
'notification' => '通知',
'message' => '消息',
'log' => '日志',
'history' => '历史记录',
'about' => '关于',
'contact' => '联系我们',
'language' => '语言',
'theme' => '主题',
'version' => '版本',
'copyright' => '版权所有',
],
//插件管理
'plugin' => [
'error' => [
'repeat_install' => '插件已安装,不能重复安装', // 对应英文:Plugin is already installed...
'not_uninstall' => '当前插件未安装,不能进行卸载操作', // 对应英文:Plugin is not installed...
'info_file_not_exist' => '未找到:name插件的info.json文件', // 对应英文:Plugin info.json file not found
'dependency_missing' => '缺少依赖插件::name', // 补充:依赖插件缺失
'config_invalid' => '插件配置文件无效', // 补充:配置文件无效
'dir_not_exist' => ':name插件目录不存在',
'version_not_support' => ':name插件不支持当前框架版本',
'sql_fail' => '插件数据库操作失败',
'not_uninstall_delete' => ':name插件未卸载不能进行删除操作',
],
],
];
@@ -0,0 +1,98 @@
<?php
/**
*+------------------
* madong
*+------------------
* Copyright (c) https://gitee.com/motion-code All rights reserved.
*+------------------
* Author: Mr. April (405784684@qq.com)
*+------------------
* Official Website: https://madong.tech
*/
/**
* 菜单翻译
*/
return [
//首页
'首页' => '首页',
'工作台' => '工作台',
'分析页' => '分析页',
//公共
'编辑' => '编辑',
'新增' => '新增',
'删除' => '删除',
'详情' => '详情',
'导出' => '导出',
//系统设置
'用户' => '用户',
'菜单管理' => '菜单管理',
'职位管理' => '职位管理',
'字典项列表' => '字典项列表',
'字典项添加' => '字典项添加',
'字典项删除' => '字典项删除',
'字典项编辑' => '字典项编辑',
'数据中心' => '数据中心',
'角色管理' => '角色管理',
'部门管理' => '部门管理',
'登录日志' => '登录日志',
'冻结用户' => '冻结用户',
'取消冻结' => '取消冻结',
'通知公告' => '通知公告',
'数据回收' => '数据回收',
'数据字典' => '数据字典',
'授权' => '授权',
'授权角色' => '授权角色',
'系统监控' => '系统监控',
'系统参数' => '系统参数',
'系统设置' => '系统设置',
'用户管理' => '用户管理',
'移除用户' => '移除用户',
'附件管理' => '附件管理',
//系统监控
'性能监控' => '性能监控',
'Redis监控' => 'Redis监控',
'操作日志' => '操作日志',
//系统工具
'系统工具' => '系统工具',
//业务流程
'业务流程' => '业务流程',
'流程查询' => '流程查询',
'流程设置' => '流程设置',
'流程设计' => '流程设计',
'表单设计' => '表单设计',
'基础功能' => '基础功能',
'流程类型' => '流程类型',
'委托设置' => '委托设置',
'流程定义' => '流程定义',
'我的申请' => '我的申请',
'我的收藏' => '我的收藏',
'我的已办' => '我的已办',
'待阅' => '待阅',
'待办' => '待办',
'发起' => '发起',
'恢复' => '恢复',
//开发平台
'开发平台' => '开发平台',
'代码生成' => '代码生成',
'定时任务' => '定时任务',
'网关管理' => '网关管理',
'限流规则' => '限流规则',
'限访名单' => '限访名单',
'在线开发' => '在线开发',
//平台管理
'平台管理' => '平台管理',
'账套管理' => '账套管理',
'账套中心' => '账套中心',
'多数据源' => '多数据源',
//人工智能
'人工智能' => '人工智能',
'智能问答' => '智能问答',
];
@@ -0,0 +1,320 @@
<?php
/**
*+------------------
* madong - 系统默认语言包
*+------------------
* Copyright (c) https://gitee.com/motion-code All rights reserved.
*+------------------
* Author: Mr. April (405784684@qq.com)
*+------------------
* Official Website: https://madong.tech
*/
return [
// 用户管理
'user' => [
'title' => '用户管理',
'not_exist' => '用户不存在',
'create_success' => '用户创建成功',
'create_fail' => '用户创建失败',
'update_success' => '用户更新成功',
'update_fail' => '用户更新失败',
'delete_success' => '用户删除成功',
'delete_fail' => '用户删除失败',
'enable_success' => '用户启用成功',
'enable_fail' => '用户启用失败',
'disable_success' => '用户禁用成功',
'disable_fail' => '用户禁用失败',
'lock_success' => '用户锁定成功',
'lock_fail' => '用户锁定失败',
'unlock_success' => '用户解锁成功',
'unlock_fail' => '用户解锁失败',
'password_reset_success' => '密码重置成功',
'password_reset_fail' => '密码重置失败',
'username_exist' => '用户名已存在',
'email_exist' => '邮箱已存在',
'mobile_exist' => '手机号已存在',
'admin_not_editable' => '超级管理员不可编辑',
'admin_not_deletable' => '超级管理员不可删除',
],
// 角色管理
'role' => [
'title' => '角色管理',
'not_exist' => '角色不存在',
'create_success' => '角色创建成功',
'create_fail' => '角色创建失败',
'update_success' => '角色更新成功',
'update_fail' => '角色更新失败',
'delete_success' => '角色删除成功',
'delete_fail' => '角色删除失败',
'assign_success' => '角色分配成功',
'assign_fail' => '角色分配失败',
'admin_role_not_editable' => '管理员角色不可编辑',
'admin_role_not_deletable' => '管理员角色不可删除',
'in_use' => '角色正在使用中,不可删除',
'permission' => [
'assign_success' => '权限分配成功',
'assign_fail' => '权限分配失败',
'update_success' => '权限更新成功',
'update_fail' => '权限更新失败',
],
],
// 菜单管理
'menu' => [
'title' => '菜单管理',
'not_exist' => '菜单不存在',
'create_success' => '菜单创建成功',
'create_fail' => '菜单创建失败',
'update_success' => '菜单更新成功',
'update_fail' => '菜单更新失败',
'delete_success' => '菜单删除成功',
'delete_fail' => '菜单删除失败',
'move_success' => '菜单移动成功',
'move_fail' => '菜单移动失败',
'has_children' => '存在子菜单,不可删除',
'type' => [
'directory' => '目录',
'menu' => '菜单',
'button' => '按钮',
],
'status' => [
'enabled' => '启用',
'disabled' => '禁用',
],
],
// 数据字典
'dict' => [
'title' => '数据字典',
'not_exist' => '字典不存在',
'create_success' => '字典创建成功',
'create_fail' => '字典创建失败',
'update_success' => '字典更新成功',
'update_fail' => '字典更新失败',
'delete_success' => '字典删除成功',
'delete_fail' => '字典删除失败',
'item' => [
'not_exist' => '字典项不存在',
'create_success' => '字典项创建成功',
'create_fail' => '字典项创建失败',
'update_success' => '字典项更新成功',
'update_fail' => '字典项更新失败',
'delete_success' => '字典项删除成功',
'delete_fail' => '字典项删除失败',
],
],
// 部门管理
'dept' => [
'title' => '部门管理',
'not_exist' => '部门不存在',
'create_success' => '部门创建成功',
'create_fail' => '部门创建失败',
'update_success' => '部门更新成功',
'update_fail' => '部门更新失败',
'delete_success' => '部门删除成功',
'delete_fail' => '部门删除失败',
'has_children' => '存在子部门,不可删除',
'has_users' => '部门下存在用户,不可删除',
],
// 职位管理
'post' => [
'title' => '职位管理',
'not_exist' => '职位不存在',
'create_success' => '职位创建成功',
'create_fail' => '职位创建失败',
'update_success' => '职位更新成功',
'update_fail' => '职位更新失败',
'delete_success' => '职位删除成功',
'delete_fail' => '职位删除失败',
'has_users' => '职位下存在用户,不可删除',
],
// 系统参数
'config' => [
'title' => '系统参数',
'not_exist' => '参数不存在',
'update_success' => '参数更新成功',
'update_fail' => '参数更新失败',
'group' => [
'system' => '系统设置',
'security' => '安全设置',
'mail' => '邮件设置',
'sms' => '短信设置',
'storage' => '存储设置',
],
'cache_cleared' => '配置缓存已清除',
],
// 数据回收
'recycle' => [
'title' => '数据回收',
'not_exist' => '回收项不存在',
'recycle_success' => '数据回收成功',
'recycle_fail' => '数据回收失败',
'restore_success' => '数据恢复成功',
'restore_fail' => '数据恢复失败',
'delete_success' => '数据永久删除成功',
'delete_fail' => '数据永久删除失败',
'empty_success' => '回收站清空成功',
'empty_fail' => '回收站清空失败',
'type' => [
'user' => '用户',
'role' => '角色',
'menu' => '菜单',
'dept' => '部门',
'post' => '职位',
'dict' => '字典',
'attachment' => '附件',
],
],
// 操作日志
'operate_log' => [
'title' => '操作日志',
'not_exist' => '日志不存在',
'clear_success' => '日志清除成功',
'clear_fail' => '日志清除失败',
'export_success' => '日志导出成功',
'export_fail' => '日志导出失败',
'type' => [
'add' => '新增',
'edit' => '编辑',
'delete' => '删除',
'login' => '登录',
'logout' => '退出',
'upload' => '上传',
'download' => '下载',
],
'result' => [
'success' => '成功',
'fail' => '失败',
],
],
// 登录日志
'login_log' => [
'title' => '登录日志',
'not_exist' => '日志不存在',
'clear_success' => '日志清除成功',
'clear_fail' => '日志清除失败',
'export_success' => '日志导出成功',
'export_fail' => '日志导出失败',
'status' => [
'success' => '成功',
'fail' => '失败',
],
'type' => [
'web' => '网页登录',
'mobile' => '手机登录',
'api' => 'API登录',
'third_party' => '第三方登录',
],
],
// 定时任务
'crontab' => [
'title' => '定时任务',
'not_exist' => '任务不存在',
'create_success' => '任务创建成功',
'create_fail' => '任务创建失败',
'update_success' => '任务更新成功',
'update_fail' => '任务更新失败',
'delete_success' => '任务删除成功',
'delete_fail' => '任务删除失败',
'start_success' => '任务启动成功',
'start_fail' => '任务启动失败',
'stop_success' => '任务停止成功',
'stop_fail' => '任务停止失败',
'run_success' => '任务执行成功',
'run_fail' => '任务执行失败',
'status' => [
'enabled' => '启用',
'disabled' => '禁用',
'running' => '运行中',
],
'type' => [
'command' => '命令行',
'callback' => '回调函数',
'url' => 'URL请求',
],
'log' => [
'title' => '任务日志',
'not_exist' => '日志不存在',
'clear_success' => '日志清除成功',
'clear_fail' => '日志清除失败',
],
],
// 消息管理
'message' => [
'title' => '消息管理',
'not_exist' => '消息不存在',
'create_success' => '消息创建成功',
'create_fail' => '消息创建失败',
'update_success' => '消息更新成功',
'update_fail' => '消息更新失败',
'delete_success' => '消息删除成功',
'delete_fail' => '消息删除失败',
'send_success' => '消息发送成功',
'send_fail' => '消息发送失败',
'read_success' => '消息已读',
'type' => [
'system' => '系统消息',
'notification' => '通知消息',
'private' => '私信',
],
'status' => [
'unread' => '未读',
'read' => '已读',
'deleted' => '已删除',
],
],
// 通知管理
'notification' => [
'title' => '通知管理',
'not_exist' => '通知不存在',
'create_success' => '通知创建成功',
'create_fail' => '通知创建失败',
'update_success' => '通知更新成功',
'update_fail' => '通知更新失败',
'delete_success' => '通知删除成功',
'delete_fail' => '通知删除失败',
'publish_success' => '通知发布成功',
'publish_fail' => '通知发布失败',
'type' => [
'system' => '系统通知',
'announcement' => '公告',
'reminder' => '提醒',
],
'status' => [
'draft' => '草稿',
'published' => '已发布',
'expired' => '已过期',
],
],
// 附件管理
'attachment' => [
'title' => '附件管理',
'not_exist' => '附件不存在',
'upload_success' => '附件上传成功',
'upload_fail' => '附件上传失败',
'download_success' => '附件下载成功',
'download_fail' => '附件下载失败',
'delete_success' => '附件删除成功',
'delete_fail' => '附件删除失败',
'type' => [
'image' => '图片',
'document' => '文档',
'video' => '视频',
'audio' => '音频',
'other' => '其他',
],
'size_exceed' => '文件大小超出限制',
'type_not_allowed' => '文件类型不允许',
],
];
@@ -0,0 +1,160 @@
<?php
/**
* @link https://raw.githubusercontent.com/Laravel-Lang/lang/refs/heads/main/locales/zh_CN/php.json
*/
return [
'accepted' => '您必须接受 :attribute。',
'accepted_if' => '当 :other 为 :value 时,必须接受 :attribute。',
'active_url' => ':attribute 不是一个有效的网址。',
'after' => ':attribute 必须要晚于 :date。',
'after_or_equal' => ':attribute 必须要等于 :date 或更晚。',
'alpha' => ':attribute 只能由字母组成。',
'alpha_dash' => ':attribute 只能由字母、数字、短划线(-)和下划线(_)组成。',
'alpha_num' => ':attribute 只能由字母和数字组成。',
'array' => ':attribute 必须是一个数组。',
'ascii' => ':attribute 必须仅包含单字节字母数字字符和符号。',
'before' => ':attribute 必须要早于 :date。',
'before_or_equal' => ':attribute 必须要等于 :date 或更早。',
'between' => [
'array' => ':attribute 必须只有 :min - :max 个单元。',
'file' => ':attribute 必须介于 :min - :max KB 之间。',
'numeric' => ':attribute 必须介于 :min - :max 之间。',
'string' => ':attribute 必须介于 :min - :max 个字符之间。',
],
'boolean' => ':attribute 必须为布尔值。',
'can' => ':attribute 字段包含未经授权的值。',
'confirmed' => ':attribute 两次输入不一致。',
'contains' => ':attribute 字段缺少必填值。',
'current_password' => '密码错误。',
'date' => ':attribute 不是一个有效的日期。',
'date_equals' => ':attribute 必须要等于 :date。',
'date_format' => ':attribute 的格式必须为 :format。',
'decimal' => ':attribute 必须有 :decimal 位小数。',
'declined' => ':attribute 必须是拒绝的。',
'declined_if' => '当 :other 为 :value 时字段 :attribute 必须是拒绝的。',
'different' => ':attribute 和 :other 必须不同。',
'digits' => ':attribute 必须是 :digits 位数字。',
'digits_between' => ':attribute 必须是介于 :min 和 :max 位的数字。',
'dimensions' => ':attribute 图片尺寸不正确。',
'distinct' => ':attribute 已经存在。',
'doesnt_end_with' => ':attribute 不能以以下之一结尾: :values。',
'doesnt_start_with' => ':attribute 不能以下列之一开头: :values。',
'email' => ':attribute 不是一个合法的邮箱。',
'ends_with' => ':attribute 必须以 :values 为结尾。',
'enum' => ':attribute 值不正确。',
'exists' => ':attribute 不存在。',
'extensions' => ':attribute 字段必须具有以下扩展名之一::values。',
'file' => ':attribute 必须是文件。',
'filled' => ':attribute 不能为空。',
'gt' => [
'array' => ':attribute 必须多于 :value 个元素。',
'file' => ':attribute 必须大于 :value KB。',
'numeric' => ':attribute 必须大于 :value。',
'string' => ':attribute 必须多于 :value 个字符。',
],
'gte' => [
'array' => ':attribute 必须多于或等于 :value 个元素。',
'file' => ':attribute 必须大于或等于 :value KB。',
'numeric' => ':attribute 必须大于或等于 :value。',
'string' => ':attribute 必须多于或等于 :value 个字符。',
],
'hex_color' => ':attribute 字段必须是有效的十六进制颜色。',
'image' => ':attribute 必须是图片。',
'in' => '已选的属性 :attribute 无效。',
'in_array' => ':attribute 必须在 :other 中。',
'integer' => ':attribute 必须是整数。',
'ip' => ':attribute 必须是有效的 IP 地址。',
'ipv4' => ':attribute 必须是有效的 IPv4 地址。',
'ipv6' => ':attribute 必须是有效的 IPv6 地址。',
'json' => ':attribute 必须是正确的 JSON 格式。',
'list' => ':attribute 字段必须是一个列表。',
'lowercase' => ':attribute 必须小写。',
'lt' => [
'array' => ':attribute 必须少于 :value 个元素。',
'file' => ':attribute 必须小于 :value KB。',
'numeric' => ':attribute 必须小于 :value。',
'string' => ':attribute 必须少于 :value 个字符。',
],
'lte' => [
'array' => ':attribute 必须少于或等于 :value 个元素。',
'file' => ':attribute 必须小于或等于 :value KB。',
'numeric' => ':attribute 必须小于或等于 :value。',
'string' => ':attribute 必须少于或等于 :value 个字符。',
],
'mac_address' => ':attribute 必须是一个有效的 MAC 地址。',
'max' => [
'array' => ':attribute 最多只有 :max 个单元。',
'file' => ':attribute 不能大于 :max KB。',
'numeric' => ':attribute 不能大于 :max。',
'string' => ':attribute 不能大于 :max 个字符。',
],
'max_digits' => ':attribute 不能超过 :max 位数。',
'mimes' => ':attribute 必须是一个 :values 类型的文件。',
'mimetypes' => ':attribute 必须是一个 :values 类型的文件。',
'min' => [
'array' => ':attribute 至少有 :min 个单元。',
'file' => ':attribute 大小不能小于 :min KB。',
'numeric' => ':attribute 必须大于等于 :min。',
'string' => ':attribute 至少为 :min 个字符。',
],
'min_digits' => ':attribute 必须至少有 :min 位数。',
'missing' => '必须缺少 :attribute 字段。',
'missing_if' => '当 :other 为 :value 时,必须缺少 :attribute 字段。',
'missing_unless' => '必须缺少 :attribute 字段,除非 :other 是 :value。',
'missing_with' => '存在 :values 时,必须缺少 :attribute 字段。',
'missing_with_all' => '存在 :values 时,必须缺少 :attribute 字段。',
'multiple_of' => ':attribute 必须是 :value 中的多个值。',
'not_in' => '已选的属性 :attribute 非法。',
'not_regex' => ':attribute 的格式错误。',
'numeric' => ':attribute 必须是一个数字。',
'password' => [
'letters' => ':attribute 必须至少包含一个字母。',
'mixed' => ':attribute 必须至少包含一个大写字母和一个小写字母。',
'numbers' => ':attribute 必须至少包含一个数字。',
'symbols' => ':attribute 必须至少包含一个符号。',
'uncompromised' => '给定的 :attribute 出现在已经泄漏的密码中。请选择不同的 :attribute。',
],
'present' => ':attribute 必须存在。',
'present_if' => '当 :other 等于 :value 时,必须存在 :attribute 字段。',
'present_unless' => '除非 :other 等于 :value,否则 :attribute 字段必须存在。',
'present_with' => '当 :values 存在时,:attribute 字段必须存在。',
'present_with_all' => '当存在 :values 时,必须存在 :attribute 字段。',
'prohibited' => ':attribute 字段被禁止。',
'prohibited_if' => '当 :other 为 :value 时,禁止 :attribute 字段。',
'prohibited_unless' => ':attribute 字段被禁止,除非 :other 位于 :values 中。',
'prohibits' => ':attribute 字段禁止出现 :other。',
'regex' => ':attribute 格式不正确。',
'required' => ':attribute 不能为空。',
'required_array_keys' => ':attribute 至少包含指定的键::values.',
'required_if' => '当 :other 为 :value 时 :attribute 不能为空。',
'required_if_accepted' => '当 :other 存在时,:attribute 不能为空。',
'required_if_declined' => '当 :other 不存在时,:attribute 不能为空。',
'required_unless' => '当 :other 不为 :values 时 :attribute 不能为空。',
'required_with' => '当 :values 存在时 :attribute 不能为空。',
'required_with_all' => '当 :values 存在时 :attribute 不能为空。',
'required_without' => '当 :values 不存在时 :attribute 不能为空。',
'required_without_all' => '当 :values 都不存在时 :attribute 不能为空。',
'same' => ':attribute 和 :other 必须相同。',
'size' => [
'array' => ':attribute 必须为 :size 个单元。',
'file' => ':attribute 大小必须为 :size KB。',
'numeric' => ':attribute 大小必须为 :size。',
'string' => ':attribute 必须是 :size 个字符。',
],
'starts_with' => ':attribute 必须以 :values 为开头。',
'string' => ':attribute 必须是一个字符串。',
'timezone' => ':attribute 必须是一个合法的时区值。',
'unique' => ':attribute 已经存在。',
'uploaded' => ':attribute 上传失败。',
'uppercase' => ':attribute 必须大写',
'url' => ':attribute 格式不正确。',
'ulid' => ':attribute 必须是有效的 ULID。',
'uuid' => ':attribute 必须是有效的 UUID。',
'custom' => [
'attribute-name' => [
'rule-name' => 'custom-message',
],
],
'attributes' => [],
];