text: // This file is part of Indico.
  // Copyright (C) 2002 - 2022 CERN
  //
  // Indico is free software; you can redistribute it and/or
  // modify it under the terms of the MIT License; see the
  // LICENSE file for more details.
  
  import {Translate} from 'indico/react/i18n';
  
  export const FinalRevisionState = {
    none: 'none',
    replaced: 'replaced',
    needs_submitter_confirmation: 'needs_submitter_confirmation',
    needs_submitter_changes: 'needs_submitter_changes',
    accepted: 'accepted',
    rejected: 'rejected',
  };
  
  export const InitialRevisionState = {
    ready_for_review: 'ready_for_review',
    needs_submitter_confirmation: 'needs_submitter_confirmation',
    new: 'new',
  };
  
  export const EditingReviewAction = {
    accept: 'accept',
    reject: 'reject',
    update: 'update',
    update_accept: 'update_accept',
    requestUpdate: 'request_update',
  };
  
  export const EditableType = {
    paper: 'paper',
    slides: 'slides',
    poster: 'poster',
  };
  
  export const EditableTypeTitles = {
    paper: Translate.string('Paper'),
    slides: Translate.string('Slides'),
    poster: Translate.string('Poster'),
  };
  
  export const editableTypeOrder = ['paper', 'slides', 'poster'];
  
  export const EditableStatus = {
    replaced: Translate.string('Replaced'),
    needs_submitter_confirmation: Translate.string('Needs submitter confirmation'),
    rejected: Translate.string('Rejected'),
    accepted: Translate.string('Accepted'),
    assigned: Translate.string('Assigned'),
    needs_submitter_changes: Translate.string('Needs submitter changes'),
    not_submitted: Translate.string('Not submitted'),
    ready_for_review: Translate.string('Ready for review'),
  };
  
  export const EditableEditingTitles = {
    paper: Translate.string('Paper Editing'),
    slides: Translate.string('Slides Editing'),
    poster: Translate.string('Poster Editing'),
  };
  
  export const GetNextEditableTitles = {
    paper: Translate.string('Get next paper'),
    poster: Translate.string('Get next poster'),
    slides: Translate.string('Get next slides'),
  };
  