en.ts 20.8 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698
export default {
  app: {
    seo: {
      title: 'Robot Production Dashboard',
      description: 'A production dashboard for robot assembly, testing, exception handling, rework, and traceability.'
    },
    error: {
      title: 'Page not found',
      description: 'We are sorry but this page could not be found.'
    }
  },
  common: {
    error: 'Error',
    requestFailed: 'Request failed. Please try again later.',
    language: 'Language',
    english: 'English',
    chinese: 'Chinese',
    saveChanges: 'Save changes',
    choose: 'Choose',
    cancel: 'Cancel',
    create: 'Create',
    delete: 'Delete',
    update: 'Update',
    send: 'Send',
    saveDraft: 'Save draft',
    accept: 'Accept',
    optOut: 'Opt out',
    invitePeople: 'Invite people',
    newCustomer: 'New customer',
    advancedQuery: 'Advanced Query',
    collapseQuery: 'Collapse Filters'
  },
  layout: {
    nav: {
      home: 'Home',
      production: 'Production',
      workOrders: 'Work Orders',
      snManagement: 'SN Management',
      operations: 'Operations Console',
      inbox: 'Inbox',
      customers: 'Customers',
      baseInfo: 'Base Info',
      deviceTypes: 'Device Types',
      settings: 'Settings',
      general: 'General',
      members: 'Members',
      notifications: 'Notifications',
      security: 'Security',
      feedback: 'Feedback',
      helpSupport: 'Help & Support'
    },
    search: {
      goTo: 'Go to',
      code: 'Code',
      viewPageSource: 'View page source'
    },
    cookie: {
      title: 'We use first-party cookies to enhance your experience on our website.'
    }
  },
  notifications: {
    title: 'Notifications',
    messageMap: {
      sentMessage: 'sent you a message',
      subscribedEmailList: 'subscribed to your email list',
      addedProject: 'added you to a project',
      abandonedCart: 'abandoned cart',
      purchasedProduct: 'purchased your product',
      requestedRefund: 'requested a refund'
    }
  },
  teams: {
    createTeam: 'Create team',
    manageTeams: 'Manage teams'
  },
  userMenu: {
    profile: 'Profile',
    billing: 'Billing',
    settings: 'Settings',
    theme: 'Theme',
    primary: 'Primary',
    neutral: 'Neutral',
    appearance: 'Appearance',
    light: 'Light',
    dark: 'Dark',
    templates: 'Templates',
    starter: 'Starter',
    landing: 'Landing',
    docs: 'Docs',
    saas: 'SaaS',
    dashboard: 'Dashboard',
    chat: 'Chat',
    portfolio: 'Portfolio',
    changelog: 'Changelog',
    documentation: 'Documentation',
    githubRepository: 'GitHub repository',
    defaultName: 'Guest User',
    logout: 'Log out',
    logoutSuccessTitle: 'Logged out',
    logoutSuccessDescription: 'Your current session has ended.'
  },
  login: {
    badge: 'Production Access',
    title: 'Sign in to Robot Production System',
    description: 'Use your account credentials to access work orders, operations, testing, exceptions, and traceability modules.',
    form: {
      title: 'Account sign in',
      description: 'After sign in, menus and pages are loaded based on your role permissions.',
      username: 'Username',
      usernamePlaceholder: 'Enter username',
      password: 'Password',
      passwordPlaceholder: 'Enter password',
      submit: 'Sign in'
    },
    demo: {
      title: 'Demo accounts (Mock)',
      admin: 'Admin: admin / 123456',
      operator: 'Operator: operator / 123456'
    },
    validation: {
      usernameRequired: 'Please enter username',
      passwordRequired: 'Please enter password'
    },
    errors: {
      title: 'Sign in failed',
      validation: 'Username and password are required.',
      invalidCredentials: 'Invalid username or password.',
      requestFailed: 'Sign in request failed. Please try again later.'
    },
    toast: {
      successTitle: 'Sign in successful',
      successDescription: 'Welcome back, {name}.'
    }
  },
  home: {
    title: 'Production Overview',
    actions: {
      refresh: 'Refresh',
      export: 'Export Summary'
    },
    dateRange: {
      pickDate: 'Pick a date',
      last7Days: 'Last 7 days',
      last14Days: 'Last 14 days',
      last30Days: 'Last 30 days',
      last3Months: 'Last 3 months',
      last6Months: 'Last 6 months',
      lastYear: 'Last year'
    },
    filters: {
      lineAll: 'All Lines',
      workOrderStatusAll: 'All Work Order Status'
    },
    workOrderStatus: {
      pending_dispatch: 'Pending Dispatch',
      running: 'Running',
      pending_qc: 'Pending QC',
      in_exception: 'In Exception',
      completed: 'Completed'
    },
    metrics: {
      workOrders: {
        total: 'Total Work Orders',
        running: 'Running',
        pendingQc: 'Pending QC',
        inException: 'In Exception'
      },
      sn: {
        completed: 'SN Completed',
        inProcess: 'SN In Process',
        frozen: 'SN Frozen'
      },
      quality: {
        firstPassRate: 'First Pass Rate',
        retestPassRate: 'Retest Pass Rate',
        exceptionRate: 'Exception Rate'
      }
    },
    table: {
      title: 'Latest Work Order Progress',
      description: 'Shows the latest work order execution under current filters.',
      count: '{count} items',
      orderNo: 'Work Order',
      line: 'Line',
      status: 'Status',
      plannedDate: 'Planned Date',
      progress: 'Progress',
      empty: 'No work orders for the selected filters.'
    },
    export: {
      successTitle: 'Export Ready',
      successDescription: 'Summary file has been generated and download started.'
    }
  },
  workOrders: {
    title: 'Work Order Management',
    actions: {
      new: 'New Work Order',
      editDraft: 'Edit Draft',
      dispatch: 'Dispatch',
      pause: 'Pause',
      resume: 'Resume',
      close: 'Close'
    },
    status: {
      draft: 'Draft',
      pending_dispatch: 'Pending Dispatch',
      running: 'Running',
      paused: 'Paused',
      pending_qc: 'Pending QC',
      completed: 'Completed',
      closed: 'Closed'
    },
    filters: {
      orderNo: 'Work order no.',
      deviceCode: 'Device code',
      deviceCodeAll: 'All device types',
      batchNo: 'Batch no.',
      owner: 'Owner',
      ownerAll: 'All owners',
      status: 'Status',
      statusAll: 'All status',
      plannedStart: 'Planned start',
      plannedEnd: 'Planned end'
    },
    table: {
      actions: 'Actions',
      selectAll: 'Select all',
      selectRow: 'Select row',
      orderNo: 'Work Order',
      deviceCode: 'Device code',
      batchNo: 'Batch',
      line: 'Line',
      owner: 'Owner',
      status: 'Status',
      progress: 'Progress',
      plannedDate: 'Planned Date',
      audit: 'Audit',
      selectedRows: '{selected} of {total} row(s) selected.'
    },
    form: {
      createTitle: 'Create Work Order',
      createDescription: 'Create a draft work order that can be edited then dispatched.',
      editTitle: 'Edit Work Order Draft',
      editDescription: 'Only draft status can be edited and all changes are audited.',
      fields: {
        orderNo: 'Work order no.',
        deviceCode: 'Device code',
        batchNo: 'Batch no.',
        line: 'Line',
        owner: 'Owner',
        plannedDate: 'Planned date',
        totalSn: 'Total SN'
      },
      validation: {
        required: 'This field is required',
        orderNoMax: 'Work order no. must be {max} characters or fewer',
        deviceCodeMax: 'Device code must be {max} characters or fewer',
        batchNoMax: 'Batch no. must be {max} characters or fewer',
        lineMax: 'Line must be {max} characters or fewer',
        totalSnPositive: 'Total SN must be greater than 0'
      }
    }
  },
  snManagement: {
    title: 'SN Management',
    actions: {
      import: 'Bulk Import',
      freeze: 'Freeze',
      unfreeze: 'Unfreeze',
      scrap: 'Scrap',
      flowDetail: 'Flow Details',
      reasonRequired: 'Please provide a reason.',
      reasonLabel: 'Reason',
      reasonPlaceholder: 'Enter reason for freeze / unfreeze / scrap'
    },
    status: {
      pending: 'Pending',
      in_process: 'In Process',
      completed: 'Completed',
      frozen: 'Frozen',
      scrapped: 'Scrapped'
    },
    exceptionStatus: {
      none: 'No Exception',
      open: 'Open',
      rework: 'Rework',
      closed: 'Closed'
    },
    filters: {
      sn: 'SN',
      workOrderNo: 'Work order no.',
      status: 'Status',
      statusAll: 'All status',
      currentStep: 'Current step',
      exceptionStatus: 'Exception status',
      exceptionStatusAll: 'All exception status'
    },
    table: {
      actions: 'Actions',
      selectAll: 'Select all',
      selectRow: 'Select row',
      sn: 'SN',
      workOrderNo: 'Work Order',
      status: 'Status',
      currentStep: 'Current Step',
      exceptionStatus: 'Exception',
      reason: 'Reason',
      audit: 'Audit',
      selectedRows: '{selected} of {total} row(s) selected.'
    },
    import: {
      title: 'Bulk SN Import',
      description: 'Import SNs by lines or delimiters. Duplicates are skipped automatically.',
      workOrderNo: 'Work order no.',
      currentStep: 'Current step',
      snList: 'SN list',
      workOrderPlaceholder: 'e.g. WO-202605-001',
      currentStepPlaceholder: 'e.g. Assembly',
      snListPlaceholder: 'One SN per line, or split by comma/space',
      validation: 'Work order no., current step and SN list are required.'
    },
    flow: {
      title: 'SN Flow Details',
      operatorLabel: 'Operator',
      timeLabel: 'Time',
      directionLabel: 'Status Flow Direction',
      initialStatus: 'Initial Status',
      empty: 'No flow events.'
    }
  },
  operations: {
    title: 'Operations Console',
    filters: {
      workstation: 'Workstation',
      stepName: 'Step',
      operator: 'Operator',
      status: 'Task status',
      statusAll: 'All status',
      sn: 'SN'
    },
    status: {
      pending: 'Pending',
      in_progress: 'In Progress',
      pending_test: 'Pending Test',
      failed: 'Failed',
      rework: 'Rework',
      completed: 'Completed',
      skipped: 'Skipped'
    },
    result: {
      pending: 'Pending',
      pass: 'Pass',
      fail: 'Fail'
    },
    actions: {
      start: 'Start',
      complete_assembly: 'Complete Assembly',
      complete_rework: 'Complete Rework',
      complete_repair: 'Complete Repair',
      submit_test: 'Submit Test',
      skip: 'Skip Step',
      audit: 'Task Audit Trail',
      testResult: 'Test Result',
      remarkLabel: 'Remark',
      remarkPlaceholder: 'Enter remark or skip reason',
      skipReasonRequired: 'A reason is required when skipping a step.'
    },
    table: {
      actions: 'Actions',
      selectAll: 'Select all',
      selectRow: 'Select row',
      taskId: 'Task ID',
      workOrderSn: 'Work Order / SN',
      stepName: 'Step',
      workstationDevice: 'Workstation / Device',
      operator: 'Operator',
      timeRange: 'Start ~ End',
      result: 'Result',
      status: 'Status',
      nextAction: 'Next Action',
      selectedRows: '{selected} of {total} row(s) selected.'
    },
    nextAction: {
      start: 'Ready to Start',
      complete_assembly: 'Ready to Complete Assembly',
      complete_rework: 'Ready to Complete Rework',
      submit_test: 'Ready to Submit Test',
      create_exception: 'Create Exception Required',
      go_next_step: 'Move to Next Step',
      audit_review: 'Audit Review Required'
    },
    audit: {
      title: 'Task Audit Trail',
      operatorLabel: 'Operator',
      timeLabel: 'Time',
      directionLabel: 'Status Flow Direction',
      initialStatus: 'Initial Status',
      empty: 'No audit events.'
    }
  },
  inbox: {
    title: 'Inbox',
    tabs: {
      all: 'All',
      unread: 'Unread'
    },
    actions: {
      archive: 'Archive',
      reply: 'Reply',
      attachFile: 'Attach file',
      markAsUnread: 'Mark as unread',
      markAsImportant: 'Mark as important',
      starThread: 'Star thread',
      muteThread: 'Mute thread'
    },
    compose: {
      replyTo: 'Reply to {name} ({email})',
      placeholder: 'Write your reply...'
    },
    toast: {
      sentTitle: 'Email sent',
      sentDescription: 'Your email has been sent successfully'
    }
  },
  customers: {
    title: 'Customers',
    table: {
      actions: 'Actions',
      copyCustomerId: 'Copy customer ID',
      copiedTitle: 'Copied to clipboard',
      copiedDescription: 'Customer ID copied to clipboard',
      viewDetails: 'View customer details',
      viewPayments: 'View customer payments',
      deleteCustomer: 'Delete customer',
      deletedTitle: 'Customer deleted',
      deletedDescription: 'The customer has been deleted.',
      selectAll: 'Select all',
      selectRow: 'Select row',
      id: 'ID',
      name: 'Name',
      email: 'Email',
      location: 'Location',
      status: 'Status',
      display: 'Display',
      filterEmails: 'Filter emails...',
      filterStatus: 'Filter status',
      selectedRows: '{selected} of {total} row(s) selected.'
    },
    status: {
      all: 'All',
      subscribed: 'Subscribed',
      unsubscribed: 'Unsubscribed',
      bounced: 'Bounced'
    },
    addModal: {
      title: 'New customer',
      description: 'Add a new customer to the database',
      name: 'Name',
      email: 'Email',
      namePlaceholder: 'John Doe',
      emailPlaceholder: 'john.doe@example.com',
      successTitle: 'Success',
      successDescription: 'New customer {name} added'
    },
    deleteModal: {
      title: 'Delete {count} customer{suffix}',
      description: 'Are you sure? This action cannot be undone.'
    }
  },
  deviceTypes: {
    title: 'Device Type Management',
    actions: {
      new: 'New Device Type',
      edit: 'Edit Device Type',
      delete: 'Delete Device Type'
    },
    filters: {
      searchPlaceholder: 'Search by device name / model / category',
      allCategoryEnums: 'All enum classes',
      categoryEnumPlaceholder: 'Enum Class',
      allBattery: 'Battery: All',
      hasBattery: 'With Battery',
      noBattery: 'Without Battery',
      batteryPlaceholder: 'Battery'
    },
    categoryEnum: {
      robot: 'Robot',
      controller: 'Controller',
      vision: 'Vision',
      chassis: 'Chassis',
      communication: 'Communication',
      power: 'Power',
      sensor: 'Sensor',
      actuator: 'Actuator',
      other: 'Other'
    },
    battery: {
      yes: 'With Battery',
      no: 'Without Battery'
    },
    table: {
      actions: 'Actions',
      selectAll: 'Select all',
      selectRow: 'Select row',
      id: 'ID',
      name: 'Device Name',
      model: 'Model',
      categoryEnum: 'Enum Class',
      size: 'L×W×H(mm)',
      weightKg: 'Weight(kg)',
      hasBattery: 'Has Battery',
      updatedAt: 'Updated At',
      display: 'Display',
      selectedRows: '{selected} of {total} row(s) selected.'
    },
    form: {
      createTitle: 'Create Device Type',
      createDescription: 'Create master data for process and traceability workflows.',
      editTitle: 'Edit Device Type',
      editDescription: 'Update device attributes for future work order setup.',
      fields: {
        name: 'Device Name',
        model: 'Model',
        categoryEnum: 'Enum Class',
        lengthMm: 'Length(mm)',
        widthMm: 'Width(mm)',
        heightMm: 'Height(mm)',
        weightKg: 'Weight(kg)',
        hasBattery: 'Has Battery',
        dimensionPreview: 'Dimension Preview',
        batterySpec: 'Battery Spec',
        description: 'Description'
      },
      placeholders: {
        name: 'e.g. Collaborative Arm Control Cabinet',
        model: 'e.g. RPS-CB-500',
        categoryEnum: 'Select enum class',
        lengthMm: 'Enter length',
        widthMm: 'Enter width',
        heightMm: 'Enter height',
        weightKg: 'Enter weight',
        batterySpec: 'e.g. 48V 40Ah LiFePO4',
        description: 'Usage notes, constraints, and remarks'
      },
      hints: {
        name: 'Keep naming consistent with process/testing specs.',
        model: 'Use the standardized internal model code.',
        categoryEnum: 'Used for standardization, filtering, and analytics.',
        weightKg: 'Unit: kg, supports 1 decimal place.',
        hasBattery: 'Enable if the device has built-in/external battery.',
        batterySpec: 'Example: 24V 15Ah lithium battery.',
        description: 'Additional identification notes, up to {max} chars.',
        noChanges: 'No fields have been changed.'
      },
      validation: {
        required: 'This field is required',
        positive: 'Please enter a value greater than 0',
        batterySpecRequired: 'Battery spec is required when battery is included',
        nameTooLong: 'Device name must be {max} characters or fewer',
        modelTooLong: 'Model must be {max} characters or fewer',
        batterySpecTooLong: 'Battery spec must be {max} characters or fewer',
        descriptionTooLong: 'Description must be {max} characters or fewer',
        sizeTooLarge: 'Dimension must be {max} mm or less',
        weightTooLarge: 'Weight must be {max} kg or less'
      }
    },
    deleteModal: {
      title: 'Delete {count} device type(s)',
      description: 'This action cannot be undone and may affect downstream references.'
    },
    toast: {
      batchDeleted: '{count} device type(s) deleted.'
    }
  },
  permission: {
    denied: 'You are not allowed to perform this action.',
    pageNotManaged: 'This page is not included in the permission matrix.',
    pageDenied: 'You do not have permission to access this page.',
    buttonDenied: 'You do not have permission to perform this action.',
    toast: {
      title: 'Permission denied'
    },
    forbidden: {
      badge: '403 Restricted',
      title: 'No access to this page',
      description: 'Your role is not authorized for this page. Please contact an administrator.',
      fromTitle: 'Attempted path',
      backHome: 'Back to Home',
      goBack: 'Go Back'
    }
  },
  settings: {
    title: 'Settings',
    nav: {
      general: 'General',
      members: 'Members',
      notifications: 'Notifications',
      security: 'Security',
      documentation: 'Documentation'
    },
    profile: {
      title: 'Profile',
      description: 'This information will be displayed publicly.',
      name: 'Name',
      nameDesc: 'Will appear on receipts, invoices, and other communication.',
      email: 'Email',
      emailDesc: 'Used to sign in, for email receipts and product updates.',
      username: 'Username',
      usernameDesc: 'Your unique username for logging in and your profile URL.',
      avatar: 'Avatar',
      avatarDesc: 'JPG, GIF or PNG. 1MB Max.',
      bio: 'Bio',
      bioDesc: 'Brief description for your profile. URLs are hyperlinked.',
      toastTitle: 'Success',
      toastDesc: 'Your settings have been updated.',
      validation: {
        tooShort: 'Too short',
        invalidEmail: 'Invalid email'
      }
    },
    members: {
      title: 'Members',
      description: 'Invite new members by email address.',
      searchPlaceholder: 'Search members',
      editMember: 'Edit member',
      removeMember: 'Remove member',
      inviteModal: {
        title: 'Invite member',
        description: 'Fill in member information and assign a role.',
        submit: 'Send invite'
      },
      editModal: {
        title: 'Edit member',
        description: 'Update member profile and role.',
        submit: 'Save member'
      },
      roleLabel: 'Role',
      role: {
        member: 'Member',
        admin: 'Admin',
        customer: 'Customer'
      }
    },
    notifications: {
      sections: {
        channels: {
          title: 'Notification channels',
          description: 'Where can we notify you?'
        },
        account: {
          title: 'Account updates',
          description: 'Receive updates about Nuxt UI.'
        }
      },
      fields: {
        email: {
          label: 'Email',
          description: 'Receive a daily email digest.'
        },
        desktop: {
          label: 'Desktop',
          description: 'Receive desktop notifications.'
        },
        weeklyDigest: {
          label: 'Weekly digest',
          description: 'Receive a weekly digest of news.'
        },
        productUpdates: {
          label: 'Product updates',
          description: 'Receive a monthly email with all new features and updates.'
        },
        importantUpdates: {
          label: 'Important updates',
          description: 'Receive emails about important updates like security fixes, maintenance, etc.'
        }
      }
    },
    security: {
      password: {
        title: 'Password',
        description: 'Confirm your current password before setting a new one.',
        currentPlaceholder: 'Current password',
        newPlaceholder: 'New password',
        update: 'Update',
        validation: {
          minLength: 'Must be at least 8 characters',
          different: 'Passwords must be different'
        }
      },
      account: {
        title: 'Account',
        description: 'No longer want to use our service? You can delete your account here. This action is not reversible. All information related to this account will be deleted permanently.',
        delete: 'Delete account'
      }
    }
  }
} as const