"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CANONICAL_WORKFLOW_COMMENT_LABEL_KEYS = exports.CANONICAL_WORKFLOW_STATE_HEADING_KEY = void 0;
exports.getCanonicalWorkflowStateHeading = getCanonicalWorkflowStateHeading;
exports.getCanonicalWorkflowLocaleLabels = getCanonicalWorkflowLocaleLabels;
const catalog_1 = require("../../i18n/catalog");
exports.CANONICAL_WORKFLOW_STATE_HEADING_KEY = "canonicalWorkflowComment.heading";
exports.CANONICAL_WORKFLOW_COMMENT_LABEL_KEYS = {
    goalHeading: "canonicalWorkflowComment.goalHeading",
    actionRequiredHeading: "canonicalWorkflowComment.actionRequiredHeading",
    workflowTreeHeading: "canonicalWorkflowComment.workflowTreeHeading",
    debugMetadataHeading: "canonicalWorkflowComment.debugMetadataHeading",
    machineStateHeading: "canonicalWorkflowComment.machineStateHeading",
    currentStatusStateLabel: "canonicalWorkflowComment.currentStatusStateLabel",
    currentStatusWorkflowLabel: "canonicalWorkflowComment.currentStatusWorkflowLabel",
    currentLabel: "canonicalWorkflowComment.currentLabel",
    pathLabel: "canonicalWorkflowComment.pathLabel",
    topLevelProgressLabel: "canonicalWorkflowComment.topLevelProgressLabel",
    currentStatusNextLabel: "canonicalWorkflowComment.currentStatusNextLabel",
    currentStatusLastUpdatedLabel: "canonicalWorkflowComment.currentStatusLastUpdatedLabel",
    followupStatusLabel: "canonicalWorkflowComment.followupStatusLabel",
    followupWorkflowAutoLabel: "canonicalWorkflowComment.followupWorkflowAutoLabel",
    followupStatusOffLabel: "canonicalWorkflowComment.followupStatusOffLabel",
    followupProposalPolicyLabel: "canonicalWorkflowComment.followupProposalPolicyLabel",
    followupProposalApprovalLabel: "canonicalWorkflowComment.followupProposalApprovalLabel",
    followupProposalPendingLabel: "canonicalWorkflowComment.followupProposalPendingLabel",
    followupStatusAutoLabel: "canonicalWorkflowComment.followupStatusAutoLabel",
    followupStatusRequestedLabel: "canonicalWorkflowComment.followupStatusRequestedLabel",
    followupRecommendedLabel: "canonicalWorkflowComment.followupRecommendedLabel",
    followupNotRecommendedLabel: "canonicalWorkflowComment.followupNotRecommendedLabel",
    followupCreatedLabel: "canonicalWorkflowComment.followupCreatedLabel",
    followupReusedLabel: "canonicalWorkflowComment.followupReusedLabel",
    followupFailedLabel: "canonicalWorkflowComment.followupFailedLabel",
    followupSkippedLabel: "canonicalWorkflowComment.followupSkippedLabel",
    currentStatusDoneLabel: "canonicalWorkflowComment.currentStatusDoneLabel",
    currentStatusInProgressLabel: "canonicalWorkflowComment.currentStatusInProgressLabel",
    currentStatusPendingLabel: "canonicalWorkflowComment.currentStatusPendingLabel",
    currentStatusPlanningLabel: "canonicalWorkflowComment.currentStatusPlanningLabel",
    currentStatusPlanningNextLabel: "canonicalWorkflowComment.currentStatusPlanningNextLabel",
    currentStatusPlanningTreeUnavailableLabel: "canonicalWorkflowComment.currentStatusPlanningTreeUnavailableLabel",
    currentStatusAssigneeApprovalLabel: "canonicalWorkflowComment.currentStatusAssigneeApprovalLabel",
    currentStatusPlanExecutionPendingLabel: "canonicalWorkflowComment.currentStatusPlanExecutionPendingLabel",
    currentStatusNeedFromYouLabel: "canonicalWorkflowComment.currentStatusNeedFromYouLabel",
    currentStatusFailedLabel: "canonicalWorkflowComment.currentStatusFailedLabel",
    currentStatusWorkflowCompleteLabel: "canonicalWorkflowComment.currentStatusWorkflowCompleteLabel",
    currentStatusWorkflowPlanUnavailableLabel: "canonicalWorkflowComment.currentStatusWorkflowPlanUnavailableLabel",
    currentStatusCurrentStepUnavailableLabel: "canonicalWorkflowComment.currentStatusCurrentStepUnavailableLabel",
    currentStatusAiWillRunSentence: "canonicalWorkflowComment.currentStatusAiWillRunSentence",
    currentStatusAiWillRunPrefix: "canonicalWorkflowComment.currentStatusAiWillRunPrefix",
    recurringScheduleCurrentLabel: "canonicalWorkflowComment.recurringScheduleCurrentLabel",
    recurringScheduleWaitingLabel: "canonicalWorkflowComment.recurringScheduleWaitingLabel",
    recurringScheduleLabel: "canonicalWorkflowComment.recurringScheduleLabel",
    recurringLastRunLabel: "canonicalWorkflowComment.recurringLastRunLabel",
    recurringNextRunLabel: "canonicalWorkflowComment.recurringNextRunLabel",
    recurringLastOutcomeLabel: "canonicalWorkflowComment.recurringLastOutcomeLabel",
    recurringAutoStopLabel: "canonicalWorkflowComment.recurringAutoStopLabel",
    recurringAutoStopAtLabel: "canonicalWorkflowComment.recurringAutoStopAtLabel",
    recurringAutoStopRunsLabel: "canonicalWorkflowComment.recurringAutoStopRunsLabel",
    scheduledRunCurrentLabel: "canonicalWorkflowComment.scheduledRunCurrentLabel",
    scheduledRunWaitingLabel: "canonicalWorkflowComment.scheduledRunWaitingLabel",
    scheduledRunAtLabel: "canonicalWorkflowComment.scheduledRunAtLabel",
    scheduledRunRequestedAtLabel: "canonicalWorkflowComment.scheduledRunRequestedAtLabel",
    cooldownCurrentLabel: "canonicalWorkflowComment.cooldownCurrentLabel",
    cooldownWaitingLabel: "canonicalWorkflowComment.cooldownWaitingLabel",
    cooldownRetryAtLabel: "canonicalWorkflowComment.cooldownRetryAtLabel",
    cooldownReasonLabel: "canonicalWorkflowComment.cooldownReasonLabel",
    cooldownReasonQuotaExhausted: "canonicalWorkflowComment.cooldownReasonQuotaExhausted",
    cooldownReasonCapacity: "canonicalWorkflowComment.cooldownReasonCapacity",
    planObjectiveLabel: "canonicalWorkflowComment.planObjectiveLabel",
    subtreeTemplateLabel: "canonicalWorkflowComment.subtreeTemplateLabel",
    openSubtreeSummary: "canonicalWorkflowComment.openSubtreeSummary",
    openStepDetailsSummary: "canonicalWorkflowComment.openStepDetailsSummary",
    stepInstructionsHeading: "canonicalWorkflowComment.stepInstructionsHeading",
    stepDoneWhenHeading: "canonicalWorkflowComment.stepDoneWhenHeading",
    openDebugMetadataSummary: "canonicalWorkflowComment.openDebugMetadataSummary",
    replannedLabel: "canonicalWorkflowComment.replannedLabel",
    finalResultHeading: "canonicalWorkflowComment.finalResultHeading",
    finalResultOutcomeLabel: "canonicalWorkflowComment.finalResultOutcomeLabel",
    finalResultSummaryLabel: "canonicalWorkflowComment.finalResultSummaryLabel",
    resultOutcomeProceedLabel: "canonicalWorkflowComment.resultOutcomeProceedLabel",
    resultOutcomeWaitHumanLabel: "canonicalWorkflowComment.resultOutcomeWaitHumanLabel",
    resultOutcomeFailLabel: "canonicalWorkflowComment.resultOutcomeFailLabel",
};
function getCanonicalWorkflowStateHeading(locale) {
    return (0, catalog_1.translate)(locale, exports.CANONICAL_WORKFLOW_STATE_HEADING_KEY);
}
function getCanonicalWorkflowLocaleLabels(locale) {
    return Object.fromEntries(Object.entries(exports.CANONICAL_WORKFLOW_COMMENT_LABEL_KEYS).map(([labelKey, messageKey]) => [labelKey, (0, catalog_1.translate)(locale, messageKey)]));
}
