Initial commit: X-Server Mobile enterprise tool system
- Frontend: React 18 + TypeScript + Vite + Ant Design Mobile - Backend: PHP 8.5 + Webman 2.x + MySQL + Redis - i18n support: Chinese, English, Russian, Spanish, French - Approval workflow engine - Docker development environment - Feishu integration Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,75 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* 中文翻译文件
|
||||
*/
|
||||
return [
|
||||
'app' => [
|
||||
'name' => '企业工具系统',
|
||||
'title' => '企业内部工具平台',
|
||||
],
|
||||
'common' => [
|
||||
'success' => '操作成功',
|
||||
'error' => '操作失败',
|
||||
'confirm' => '确认',
|
||||
'cancel' => '取消',
|
||||
'submit' => '提交',
|
||||
'save' => '保存',
|
||||
'delete' => '删除',
|
||||
'edit' => '编辑',
|
||||
'search' => '搜索',
|
||||
'refresh' => '刷新',
|
||||
'back' => '返回',
|
||||
'close' => '关闭',
|
||||
'loading' => '加载中...',
|
||||
'no_data' => '暂无数据',
|
||||
'operation' => '操作',
|
||||
'status' => '状态',
|
||||
'create_time' => '创建时间',
|
||||
'update_time' => '更新时间',
|
||||
'remark' => '备注',
|
||||
],
|
||||
'auth' => [
|
||||
'login_success' => '登录成功',
|
||||
'login_failed' => '登录失败',
|
||||
'username_required' => '用户名不能为空',
|
||||
'password_required' => '密码不能为空',
|
||||
'invalid_credentials' => '用户名或密码错误',
|
||||
'token_expired' => '登录已过期,请重新登录',
|
||||
'unauthorized' => '未授权,请先登录',
|
||||
],
|
||||
'user' => [
|
||||
'not_found' => '用户不存在',
|
||||
'info_updated' => '个人信息更新成功',
|
||||
'company_switched' => '公司切换成功',
|
||||
],
|
||||
'approval' => [
|
||||
'submit_success' => '审批提交成功',
|
||||
'approve_success' => '审批通过',
|
||||
'reject_success' => '已拒绝',
|
||||
'cancel_success' => '已撤销',
|
||||
'not_found' => '审批单不存在',
|
||||
'cannot_approve' => '当前状态无法审批',
|
||||
'cannot_cancel' => '当前状态无法撤销',
|
||||
'not_owner' => '只有申请人可以撤销',
|
||||
'status' => [
|
||||
'pending' => '待审批',
|
||||
'approved' => '已通过',
|
||||
'rejected' => '已拒绝',
|
||||
'cancelled' => '已撤销',
|
||||
],
|
||||
],
|
||||
'business_trip' => [
|
||||
'submit_success' => '出差申请提交成功',
|
||||
'update_success' => '出差申请更新成功',
|
||||
'not_found' => '出差申请不存在',
|
||||
],
|
||||
'error' => [
|
||||
'network_error' => '网络错误,请稍后重试',
|
||||
'server_error' => '服务器错误',
|
||||
'not_found' => '页面不存在',
|
||||
'unknown_error' => '未知错误',
|
||||
'params_error' => '参数错误',
|
||||
'validation_error' => '数据验证失败',
|
||||
],
|
||||
];
|
||||
Reference in New Issue
Block a user