// src/utils/translations.ts

export const translateStatus = (status: string): string => {
  const map: Record<string, string> = {
    'Published': 'Publicado',
    'Pending': 'Pendiente',
    'Rejected': 'Rechazado',
    'Draft': 'Borrador',
    'Drafted': 'Borrador',
    'Review': 'En Revisión',
  };
  return map[status] || status;
};

export const translateOrigin = (origin: string): string => {
  const map: Record<string, string> = {
    'Web': 'Web',
    'Mostrador': 'Mostrador',
    'All': 'Todos',
  };
  return map[origin] || origin;
};
