// Document Management Module - English Translation
export default {
  // Page Header
  header: {
    title: 'Document Management',
    backToList: 'Back to Project List'
  },
  // Buttons
  button: {
    newFolder: 'New Folder',
    submit: 'Submit',
    cancel: 'Cancel',
    search: 'Search',
    reset: 'Reset',
    audit: 'Audit',
    mark: 'Mark',
    download: 'Download',
    confirmSubmit: 'Confirm Submit',
    viewAuditLog: 'View Audit Log',
    archive: 'Archive',
    confirm: 'Confirm',
    next: 'Next',
    back: 'Back',
    specify: 'Specify'
  },
  // Menu
  menu: {
    add: 'Add',
    edit: 'Edit',
    delete: 'Delete',
    country: 'Country',
    center: 'Center',
    folder: 'Folder',
    document: 'Document'
  },
  // Dialog Titles
  dialog: {
    addFolder: 'Add Folder',
    addChild: 'Add Child Node',
    editFolder: 'Edit Folder',
    addCountry: 'Add Country',
    addCenter: 'Add Center',
    confirmEdit: 'Confirm Edit',
    addDocument: 'Add Document',
    markDocument: 'Mark Document',
    auditDocument: 'Audit Document',
    submitDocument: 'Submit Document',
    auditLog: 'Audit Log',
    specifyDocument: 'Specify Document',
    archiveDialog: {
      title: 'Archive Confirmation',
      confirmMessage: 'Confirm that the file has been successfully archived?',
      confirmTitle: 'Confirm Archive',
      documentName: 'Document Name',
      currentFolder: 'Current Folder',
      oldFolder: 'Old Folder',
      newFolder: 'New Folder',
      selectFolder: 'Select Target Folder'
    }
  },
  // Form
  form: {
    name: 'Name',
    namePlaceholder: 'Please enter name',
    type: 'Type',
    typePlaceholder: 'Please select type',
    restrictionLevel: 'Restriction Level',
    restrictionLevelPlaceholder: 'Please enter restriction level',
    noRestriction: 'No Restriction',
    restricted: 'Restricted',
    note: 'Note',
    notePlaceholder: 'Please enter note',
    keywords: 'Keywords',
    keywordsPlaceholder: 'Please select keywords',
    nameInvalidChar: 'Name cannot contain "-" character',
    getKeywordsFailed: 'Failed to get keywords list'
  },
  // Type Labels
  type: {
    folder: 'Folder',
    country: 'Country',
    center: 'Center'
  },
  // Confirm Info
  confirm: {
    nameLabel: 'Name: ',
    restrictionLevelLabel: 'Restriction Level: ',
    noteLabel: 'Note: ',
    noNote: 'None',
    noLimit: 'No Limit'
  },
  // Messages
  message: {
    projectIdNotExist: 'Project ID does not exist',
    getFolderListFailed: 'Failed to get folder list',
    getFolderInfoFailed: 'Failed to get folder information',
    editSuccess: 'Edit successfully',
    editFailed: 'Edit failed',
    addSuccess: 'Add successfully',
    addFailed: 'Add failed',
    deleteSuccess: 'Delete successfully',
    deleteFailed: 'Delete failed',
    hasChildren: 'This folder contains child nodes and cannot be deleted',
    deleteConfirm: 'Confirm to delete "{name}"?',
    deleteTitle: 'Confirm',
    confirmButton: 'Confirm',
    cancelButton: 'Cancel',
    addDocumentSuccess: 'Document added successfully',
    addDocumentFailed: 'Failed to add document',
    searchSubmitterFailed: 'Failed to search submitter',
    getDocumentListFailed: 'Failed to get document list',
    noFileToPreview: 'No file available for preview',
    noFileToDownload: 'No file available for download',
    markDocument: 'Marking document: {name}',
    markSuccess: 'Mark successfully',
    markFailed: 'Mark failed',
    auditSuccess: 'Audit successfully',
    auditFailed: 'Audit failed',
    submitSuccess: 'Submit successfully',
    submitFailed: 'Submit failed',
    archiveSuccess: 'Archive successfully',
    archiveFailed: 'Archive failed',
    confirmSubmitTitle: 'Confirm Operation',
    confirmSubmitMessage: 'Confirm that the file has been successfully submitted?',
    confirmSubmitSuccess: 'Confirm submit successfully',
    confirmSubmitFailed: 'Confirm submit failed',
    archiveConfirm: 'Are you sure you want to archive this document?',
    deleteTempConfirm: 'Are you sure you want to delete this temporary document?',
    deleteTempSuccess: 'Delete successfully',
    deleteTempFailed: 'Failed to delete temporary document'
  },
  // Validation Rules
  rule: {
    nameRequired: 'Please enter name',
    typeRequired: 'Please select type'
  },
  // Document Form
  documentForm: {
    name: 'Name',
    planName: 'Plan Name',
    namePlaceholder: 'Please enter name',
    type: 'Document Type',
    normalDocument: 'Normal Document',
    planDocument: 'Plan Document',
    submitter: 'Submitter',
    submitterPlaceholder: 'Search member by nickname',
    planSubmitter: 'Plan Submitter',
    planSubmitterPlaceholder: 'Search member by nickname',
    submitDeadline: 'Submit Deadline',
    submitDeadlinePlaceholder: 'Please select submit deadline',
    planType: 'Plan Document Type',
    planTypePlaceholder: 'Please select plan document type',
    file: 'File',
    actualFile: 'Actual File',
    submitTime: 'Submit Time',
    note: 'Note',
    notePlaceholder: 'Please enter note',
    sendFlag: 'Need Send',
    effectiveDate: 'Effective Date',
    effectiveDatePlaceholder: 'Please select effective date',
    fileTip: 'Only PDF files are supported, maximum size 5MB',
    dateLabel: 'Date',
    datePlaceholder: 'Please select date',
    nameInvalidChar: 'Document name cannot contain "-" character',
    projectCodeFailed: 'Failed to get project code',
    noProjectId: 'Project not specified, cannot query submitter',
    noFolderId: 'Folder not specified, cannot query submitter'
  },
  // Document Validation Rules
  documentRule: {
    nameRequired: 'Please enter name',
    submitterRequired: 'Please select submitter',
    planSubmitterRequired: 'Please select plan submitter',
    fileRequired: 'Please upload file'
  },
  // Mark Form
  markForm: {
    specification: 'Document Specification',
    specificationPlaceholder: 'Please select document specification',
    language: 'Language',
    languagePlaceholder: 'Please enter language',
    version: 'Version',
    versionPlaceholder: 'Please enter version',
    versionDate: 'Version Date',
    versionDatePlaceholder: 'Please select version date',
    ethicsSubmissionDate: 'Ethics Submission Date',
    ethicsSubmissionDatePlaceholder: 'Please select ethics submission date',
    ethicsApprovalDate: 'Ethics Approval Date',
    ethicsApprovalDatePlaceholder: 'Please select ethics approval date'
  },
  // Mark Validation Rules
  markRule: {
    typeRequired: 'Please select document specification'
  },
  // Audit Form
  auditForm: {
    result: 'Audit Result',
    pass: 'Pass',
    reject: 'Reject',
    reason: 'Rejection Reason',
    reasonPlaceholder: 'Please enter rejection reason',
    title: 'Document Audit',
    subtitle: 'Please review the document carefully before making an audit decision',
    loading: 'Loading...',
    noDocument: 'No document preview available',
    documentNotExist: 'Document does not exist',
    loadFailed: 'Failed to load document, please try again',
    previewError: 'Document preview failed, please check if the document format is correct'
  },
  // Audit Validation Rules
  auditRule: {
    resultRequired: 'Please select audit result',
    reasonRequired: 'Please enter rejection reason'
  },
  // Submit Form
  submitForm: {
    file: 'File',
    effectiveDate: 'Effective Date',
    effectiveDatePlaceholder: 'Please select effective date'
  },
  // Submit Validation Rules
  submitRule: {
    fileRequired: 'Please upload file'
  },
  // Specify Form
  specifyForm: {
    type: 'Specify Type',
    specifyMissing: 'Specify Missing Submission',
    specifyFolder: 'Specify Folder',
    searchPlaceholder: 'Search by file name',
    documentName: 'Document Name',
    folder: 'Folder',
    status: 'Status',
    deadline: 'Deadline',
    planSubmitter: 'Plan Submitter',
    createBy: 'Created By',
    createTime: 'Create Time',
    action: 'Action',
    select: 'Select',
    selected: 'Selected',
    language: 'Language',
    languagePlaceholder: 'Please enter language',
    version: 'Version',
    versionPlaceholder: 'Please enter version',
    versionDate: 'Version Date',
    versionDatePlaceholder: 'Please select version date',
    ethicsSubmissionDate: 'Ethics Submission Date',
    ethicsSubmissionDatePlaceholder: 'Please select ethics submission date',
    ethicsApprovalDate: 'Ethics Approval Date',
    ethicsApprovalDatePlaceholder: 'Please select ethics approval date',
    selectFolderTip: 'Please select the folder to specify:',
    selectDocumentWarning: 'Please select a document',
    selectFolderWarning: 'Please select a folder',
    specifySuccess: 'Specify successfully',
    specifyFailed: 'Specify failed',
    getDocumentListFailed: 'Failed to get document list'
  },
  // Specify Validation Rules
  specifyRule: {
    typeRequired: 'Please select specify type'
  },
  // Empty State
  empty: {
    description: 'Please select a folder to view documents'
  },
  // Document Audit Dialog
  documentAudit: {
    untitledDocument: 'Untitled Document',
    viewVersions: 'View History',
    viewVersionsTooltip: 'View document history versions',
    cleanComments: 'Clean Comments',
    cleanCommentsTooltip: 'Clean all comments in the document',
    copySignature: 'Copy Signature',
    copySignatureTooltip: 'Click to copy signature image to clipboard',
    dropImageHint: 'Release mouse to insert image',
    loadingEditor: 'Loading editor...',
    loadFailed: 'Load Failed',
    reload: 'Reload',
    noDocument: 'No Document',
    auditInfo: 'Audit Information',
    documentInfo: 'Document Information',
    documentName: 'Document Name',
    documentId: 'Document ID',
    passDesc: 'Document audit passed',
    rejectDesc: 'Document needs modification',
    passAlert: 'After approval, the document will proceed to the next process',
    rejectAlert: 'After rejection, the document will be returned to the submitter for modification',
    historyVersions: 'History Versions',
    versionNumber: 'Version Number',
    createTime: 'Create Time',
    updateTime: 'Update Time',
    action: 'Action',
    select: 'Select',
    cleanCommentsConfirm: 'Are you sure you want to clean all comments in the document? This operation cannot be undone.',
    cleanCommentsTitle: 'Clean Comments',
    cleanCommentsSuccess: 'Comments cleaned',
    cleanCommentsFailed: 'Failed to clean comments',
    switchVersionSuccess: 'Switched to version {version}',
    switchVersionFailed: 'Failed to switch version',
    getVersionsFailed: 'Failed to get history versions',
    documentInfoIncomplete: 'Document information incomplete',
    onlyImageSupported: 'Only image files are supported',
    imageInserted: 'Image inserted',
    insertImageFailed: 'Failed to insert image',
    readImageFailed: 'Failed to read image file',
    dropHandleFailed: 'Failed to handle drop',
    wpsNotInitialized: 'WPS editor not initialized',
    currentTypeNotSupported: 'Current document type does not support inserting images',
    documentSaved: 'Document saved',
    documentSaveFailed: 'Document save failed, will continue to submit audit',
    getFinalFileFailed: 'Failed to get final document information, will use original ossId',
    processFailed: 'Process failed'
  },
  // Document List
  documentList: {
    fileName: 'File Name',
    fileNamePlaceholder: 'Please enter file name',
    index: 'No.',
    name: 'Name',
    specification: 'Specification',
    planDocumentType: 'Plan Document Type',
    status: 'Status',
    submitter: 'Submitter',
    planSubmitter: 'Plan Submitter',
    submitDeadline: 'Submit Deadline',
    submitTime: 'Submit Time',
    url: 'Actual Document',
    download: 'Download',
    note: 'Note',
    createTime: 'Create Time',
    updateTime: 'Update Time',
    action: 'Action',
    statusOptions: {
      unUpload: 'Un Upload',
      unAudit: 'Un Audit',
      auditReject: 'Audit Reject',
      unFiling: 'Un Filing',
      filing: 'Filing',
      unQc: 'Un QC',
      qcPass: 'QC Pass',
      qcReject: 'QC Reject'
    }
  },
  // Audit Log
  auditLog: {
    result: 'Audit Result',
    selectResult: 'Please select audit result',
    pass: 'Pass',
    reject: 'Reject',
    auditTime: 'Audit Time',
    startTime: 'Start Time',
    endTime: 'End Time',
    documentName: 'Document Name',
    auditorType: 'Auditor Type',
    auditorName: 'Auditor',
    rejectReason: 'Reject Reason',
    operation: 'Operation'
  },
  // Copy Signature
  copySignature: {
    selectResult: 'Select Audit Result',
    selectResultMessage: 'Please select the audit result to generate',
    pass: 'Pass',
    reject: 'Reject',
    passText: 'Pass',
    rejectText: 'Reject',
    unknown: 'Unknown',
    timeFormat: '{month}/{day}/{year} {hour}:{minute}',
    reviewer: 'Reviewer: {name}',
    reviewTime: 'Review Time: {time}',
    canvasNotSupported: 'Browser does not support Canvas',
    generateFailed: 'Failed to generate image',
    copySuccess: 'Audit information copied to clipboard',
    copyFailed: 'Copy failed: {error}',
    unknownError: 'Unknown error',
    usageHint:
      '<div style="text-align: left;"><p style="margin: 0 0 8px 0; font-weight: bold;">Please follow these steps:</p><p style="margin: 0 0 4px 0;">• <strong>PDF</strong>: Use annotation tool → Select image → Paste</p><p style="margin: 0 0 4px 0;">• <strong>Word/Excel/PPT</strong>: Press Ctrl+V to paste</p><p style="margin: 0;">• Or drag and drop external images into the document</p></div>',
    browserNotSupported:
      '<div style="text-align: left;"><p style="margin: 0 0 4px 0;">Browser does not support copying images, please try:</p><p style="margin: 0 0 4px 0;">1. Use Chrome or Edge browser</p><p style="margin: 0;">2. Or use WPS insert image function</p></div>'
  }
};
