• Formats publication status string to human-readable label.

    Parameters

    • status: string

      Status string (FINISHED, RELEASING, NOT_YET_RELEASED, etc.).

    Returns string

    Human-readable label for the status.

    export function formatPublicationStatusLabel(status: string): string {
    switch (status) {
    case "FINISHED":
    return "Finished";
    case "RELEASING":
    return "Releasing";
    case "NOT_YET_RELEASED":
    return "Not Yet Released";
    case "CANCELLED":
    return "Cancelled";
    case "HIATUS":
    return "Hiatus";
    default:
    return status;
    }
    }