zh-cn.php 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <?php
  2. // +----------------------------------------------------------------------
  3. // | ThinkPHP [ WE CAN DO IT JUST THINK ]
  4. // +----------------------------------------------------------------------
  5. // | Copyright (c) 2006~2017 http://thinkphp.cn All rights reserved.
  6. // +----------------------------------------------------------------------
  7. // | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
  8. // +----------------------------------------------------------------------
  9. // | Author: liu21st <liu21st@gmail.com>
  10. // +----------------------------------------------------------------------
  11. // 核心中文语言包
  12. return [
  13. // 系统错误提示
  14. 'Undefined variable' => '未定义变量',
  15. 'Undefined index' => '未定义数组索引',
  16. 'Undefined offset' => '未定义数组下标',
  17. 'Parse error' => '语法解析错误',
  18. 'Type error' => '类型错误',
  19. 'Fatal error' => '致命错误',
  20. 'syntax error' => '语法错误',
  21. // 框架核心错误提示
  22. 'dispatch type not support' => '不支持的调度类型',
  23. 'method param miss' => '方法参数错误',
  24. 'method not exists' => '方法不存在',
  25. 'module not exists' => '模块不存在',
  26. 'controller not exists' => '控制器不存在',
  27. 'class not exists' => '类不存在',
  28. 'property not exists' => '类的属性不存在',
  29. 'template not exists' => '模板文件不存在',
  30. 'illegal controller name' => '非法的控制器名称',
  31. 'illegal action name' => '非法的操作名称',
  32. 'url suffix deny' => '禁止的URL后缀访问',
  33. 'Route Not Found' => '当前访问路由未定义',
  34. 'Undefined db type' => '未定义数据库类型',
  35. 'variable type error' => '变量类型错误',
  36. 'PSR-4 error' => 'PSR-4 规范错误',
  37. 'not support total' => '简洁模式下不能获取数据总数',
  38. 'not support last' => '简洁模式下不能获取最后一页',
  39. 'error session handler' => '错误的SESSION处理器类',
  40. 'not allow php tag' => '模板不允许使用PHP语法',
  41. 'not support' => '不支持',
  42. 'redisd master' => 'Redisd 主服务器错误',
  43. 'redisd slave' => 'Redisd 从服务器错误',
  44. 'must run at sae' => '必须在SAE运行',
  45. 'memcache init error' => '未开通Memcache服务,请在SAE管理平台初始化Memcache服务',
  46. 'KVDB init error' => '没有初始化KVDB,请在SAE管理平台初始化KVDB服务',
  47. 'fields not exists' => '数据表字段不存在',
  48. 'where express error' => '查询表达式错误',
  49. 'no data to update' => '没有任何数据需要更新',
  50. 'miss data to insert' => '缺少需要写入的数据',
  51. 'miss complex primary data' => '缺少复合主键数据',
  52. 'miss update condition' => '缺少更新条件',
  53. 'model data Not Found' => '模型数据不存在',
  54. 'table data not Found' => '表数据不存在',
  55. 'delete without condition' => '没有条件不会执行删除操作',
  56. 'miss relation data' => '缺少关联表数据',
  57. 'tag attr must' => '模板标签属性必须',
  58. 'tag error' => '模板标签错误',
  59. 'cache write error' => '缓存写入失败',
  60. 'sae mc write error' => 'SAE mc 写入错误',
  61. 'route name not exists' => '路由标识不存在(或参数不够)',
  62. 'invalid request' => '非法请求',
  63. 'bind attr has exists' => '模型的属性已经存在',
  64. 'relation data not exists' => '关联数据不存在',
  65. 'relation not support' => '关联不支持',
  66. ];