// QC Task Module - English Translation
export default {
    // Page Header
    header: {
        title: 'QC Task List'
    },
    // Buttons
    button: {
        search: 'Search',
        reset: 'Reset',
        add: 'Add',
        delete: 'Delete',
        view: 'View',
        start: 'Start',
        cancel: 'Cancel',
        confirm: 'Confirm'
    },
    // Search Form
    search: {
        taskName: 'Task Name',
        taskNamePlaceholder: 'Please enter task name',
        initiator: 'Initiator',
        initiatorPlaceholder: 'Please enter initiator',
        projectId: 'QC Project',
        projectIdPlaceholder: 'Please enter QC project',
        deadline: 'Deadline',
        rangeSeparator: '-',
        startDate: 'Start Date',
        endDate: 'End Date',
        createBy: 'Creator',
        createByPlaceholder: 'Please enter creator',
        createTime: 'Create Time',
        updateBy: 'Updater',
        updateByPlaceholder: 'Please enter updater',
        updateTime: 'Update Time'
    },
    // Table Columns
    table: {
        index: 'No.',
        taskName: 'Task Name',
        initiator: 'Initiator',
        projectId: 'QC Project',
        deadline: 'Deadline',
        status: 'Task Status',
        completion: 'Completion',
        note: 'Note',
        createBy: 'Creator',
        createTime: 'Create Time',
        updateBy: 'Updater',
        updateTime: 'Update Time',
        action: 'Action'
    },
    // Task Status
    status: {
        notStarted: 'Not Started',
        inProgress: 'In Progress',
        completed: 'Completed',
        unknown: 'Unknown'
    },
    // Dialog
    dialog: {
        addTask: 'Add QC Task',
        editTask: 'Edit QC Task'
    },
    // Form
    form: {
        taskName: 'Task Name',
        taskNamePlaceholder: 'Please enter task name',
        projectId: 'QC Project',
        projectIdPlaceholder: 'Please select QC project',
        deadline: 'Deadline',
        deadlinePlaceholder: 'Please select deadline',
        proportion: 'Sampling Proportion',
        proportionPlaceholder: 'Please enter sampling proportion',
        proportionUnit: '%',
        note: 'Note',
        notePlaceholder: 'Please enter note'
    },
    // Validation Rules
    rule: {
        taskNameRequired: 'Please enter task name',
        projectIdRequired: 'Please select QC project',
        deadlineRequired: 'Please select deadline',
        proportionRequired: 'Please enter sampling proportion'
    },
    // Messages
    message: {
        addSuccess: 'Add successfully',
        addFailed: 'Add failed',
        editSuccess: 'Edit successfully',
        editFailed: 'Edit failed',
        deleteSuccess: 'Delete successfully',
        deleteFailed: 'Delete failed',
        deleteConfirm: 'Are you sure you want to delete the QC task with ID "{ids}"?',
        startConfirm: 'Are you sure you want to start task "{name}"?',
        startSuccess: 'Task started successfully',
        startFailed: 'Failed to start task',
        loadProjectFailed: 'Failed to load project list',
        submitFailed: 'Submit failed',
        getDetailFailed: 'Failed to get task details',
        getTaskItemsFailed: 'Failed to get task list',
        auditSuccess: 'Audit successfully',
        auditFailed: 'Audit failed',
        searchDealerFailed: 'Failed to search dealer',
        noFileToDownload: 'No file available for download'
    },
    // Detail Page
    detail: {
        title: 'Task Details',
        backToList: 'Back to List',
        basicInfo: 'Basic Information',
        taskList: 'Task List',
        errorTitle: 'Failed to Get Task Details',
        errorSubtitle: 'Please try again or return to list',
        qcProject: 'QC Project',
        completion: 'Completion',
        createTime: 'Create Time',
        deadline: 'Deadline',
        note: 'Note',
        noNote: '-',
        documentName: 'Document Name',
        executor: 'QC Person',
        status: 'Status',
        executionTime: 'Execution Time',
        finishTime: 'Finish Time',
        action: 'Action',
        audit: 'Audit',
        download: 'Download',
        viewLog: 'View Audit Log',
        index: 'No.'
    },
    // Detail Status
    detailStatus: {
        pending: 'Pending',
        approved: 'Approved',
        rejected: 'Rejected',
        unknown: 'Unknown'
    },
    // Audit Dialog
    auditDialog: {
        title: 'Audit',
        result: 'Result',
        pass: 'Pass',
        reject: 'Reject',
        rejectionType: 'Issue Type',
        rejectionTypePlaceholder: 'Please select issue type',
        opinion: 'Opinion',
        opinionPlaceholder: 'Please enter opinion',
        designatedDealer: 'Designated Dealer',
        designatedDealerPlaceholder: 'Search member by nickname',
        deadline: 'Deadline',
        deadlinePlaceholder: 'Please select deadline',
        cancel: 'Cancel',
        confirm: 'Confirm',
        documentInfo: 'Document Information',
        documentInfoDesc: 'View detailed information of the document to be audited',
        auditInfo: 'Audit Information',
        auditInfoDesc: 'Please carefully review the document 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',
        rejectionTypeRequired: 'Please select issue type',
        opinionRequired: 'Please enter opinion',
        designatedDealerRequired: 'Please select designated dealer',
        deadlineRequired: 'Please select deadline'
    },
    // QC Log Dialog
    qcLog: {
        title: 'Audit Log',
        result: 'Audit Result',
        resultPlaceholder: 'Please select audit result',
        pass: 'Pass',
        reject: 'Reject',
        unknown: 'Unknown',
        executeTime: 'Execution Time',
        executeTimeRange: 'Execution Time',
        rangeSeparator: '-',
        startDate: 'Start Date',
        endDate: 'End Date',
        search: 'Search',
        reset: 'Reset',
        index: 'No.',
        questionType: 'Issue Type',
        opinion: 'Opinion',
        designatedDealer: 'Designated Dealer',
        deadline: 'Deadline',
        actualDealer: 'Actual Dealer',
        dealTime: 'Deal Time',
        createBy: 'Creator',
        createTime: 'Create Time',
        action: 'Action',
        downloadQcVersion: 'Download QC Version',
        downloadDealVersion: 'Download Deal Version',
        noQcVersion: 'No QC version file available',
        noDealVersion: 'No deal version file available',
        downloadQcVersionFailed: 'Failed to download QC version',
        downloadDealVersionFailed: 'Failed to download deal version',
        getLogsFailed: 'Failed to get audit logs'
    }
};
