feat: 初始化提交
笑笑 authored at 2025-05-13 21:25:06
2.02 KiB
cube-front
export default {
  // 通用
  'cube.notification.success': '操作成功',
  'cube.notification.failed': '操作失败',
  'cube.notification.warn': '操作异常',
  'cube.cancel': '取消',
  'cube.basicLayout.errorCode': '错误编码',
  'cube.basicLayout.errorDetail': '点击此处了解更多',
  'cube.basicLayout.viewMore': '查看更多',
  'cube.view.pleaseLoginAgain': '您的登录已过期,请手动保存正在编辑的内容,避免数据丢失。',
  'cube.view.logInAgain': '重新登录',

  // 菜单
  'menu.home': '首页',
  'menu.dashboard': '仪表盘',
  'menu.settings': '设置',
  'menu.profile': '个人中心',

  // 按钮
  'button.submit': '提交',
  'button.cancel': '取消',
  'button.save': '保存',
  'button.edit': '编辑',
  'button.delete': '删除',
  'button.add': '新增',
  'button.search': '搜索',
  'button.reset': '重置',
  'button.back': '返回',
  'button.confirm': '确认',

  // 表单
  'form.required': '必填项',
  'form.invalid': '格式不正确',
  'form.placeholder': '请输入{field}',
  'form.select.placeholder': '请选择{field}',

  // 认证
  'auth.login': '登录',
  'auth.logout': '退出登录',
  'auth.username': '用户名',
  'auth.password': '密码',
  'auth.rememberMe': '记住我',
  'auth.forgotPassword': '忘记密码',
  'auth.login.error': '用户名或密码错误',
  'auth.login.success': '登录成功',
  'auth.login.expired': '您已下线',

  // 权限
  'permission.denied': '权限不足',
  'permission.unauthorized': '未授权访问',

  // 错误
  'error.network': '网络错误,请检查您的网络连接',
  'error.server': '服务器错误,请稍后重试',
  'error.unknown': '未知错误',
  'error.notFound': '页面不存在',

  // 消息通知
  'notification.message': '消息',
  'notification.success': '成功',
  'notification.error': '错误',
  'notification.warning': '警告',
  'notification.info': '提示',
  'notification.network.typeError': '网络请求异常',
  'notification.typeError.description': '请稍后重试',
};