feat: 初始化提交
笑笑 authored at 2025-05-13 21:25:06
2.09 KiB
cube-front
export default {
  // Common
  'cube.notification.success': 'Operation successful',
  'cube.notification.failed': 'Operation failed',
  'cube.notification.warn': 'Operation warning',
  'cube.cancel': 'Cancel',
  'cube.basicLayout.errorCode': 'Error code',
  'cube.basicLayout.errorDetail': 'Click here to learn more',
  'cube.basicLayout.viewMore': 'View more',
  'cube.view.pleaseLoginAgain':
    'Your login has expired. Please manually save the content you are editing to avoid data loss.',
  'cube.view.logInAgain': 'Log in again',

  // Menu
  'menu.home': 'Home',
  'menu.dashboard': 'Dashboard',
  'menu.settings': 'Settings',
  'menu.profile': 'Profile',

  // Buttons
  'button.submit': 'Submit',
  'button.cancel': 'Cancel',
  'button.save': 'Save',
  'button.edit': 'Edit',
  'button.delete': 'Delete',
  'button.add': 'Add',
  'button.search': 'Search',
  'button.reset': 'Reset',
  'button.back': 'Back',
  'button.confirm': 'Confirm',

  // Forms
  'form.required': 'Required',
  'form.invalid': 'Invalid format',
  'form.placeholder': 'Please enter {field}',
  'form.select.placeholder': 'Please select {field}',

  // Authentication
  'auth.login': 'Login',
  'auth.logout': 'Logout',
  'auth.username': 'Username',
  'auth.password': 'Password',
  'auth.rememberMe': 'Remember me',
  'auth.forgotPassword': 'Forgot password',
  'auth.login.error': 'Incorrect username or password',
  'auth.login.success': 'Login successful',
  'auth.login.expired': 'You are offline',

  // Permissions
  'permission.denied': 'Permission denied',
  'permission.unauthorized': 'Unauthorized access',

  // Errors
  'error.network': 'Network error, please check your connection',
  'error.server': 'Server error, please try again later',
  'error.unknown': 'Unknown error',
  'error.notFound': 'Page not found',

  // Notifications
  'notification.message': 'Message',
  'notification.success': 'Success',
  'notification.error': 'Error',
  'notification.warning': 'Warning',
  'notification.info': 'Info',
  'notification.network.typeError': 'Network request exception',
  'notification.typeError.description': 'Please try again later',
};