import { OrderStatus as t } from "@accelbyte/sdk-platform";
import e from "react";
import { Trans as n } from "react-i18next";
const s = (a) => {
  const { status: r } = a;
  switch (!0) {
    case r === t.enum.INIT:
      return /* @__PURE__ */ e.createElement(n, { i18nKey: "OrderStatus.init" }, "Initialized");
    case r === t.enum.CHARGEBACK:
      return /* @__PURE__ */ e.createElement(n, { i18nKey: "OrderStatus.chargeback" }, "Chargeback");
    case r === t.enum.CHARGEBACK_REVERSED:
      return /* @__PURE__ */ e.createElement(n, { i18nKey: "OrderStatus.chargebackReversed" }, "Chargeback Reversed");
    case r === t.enum.CHARGED:
      return /* @__PURE__ */ e.createElement(n, { i18nKey: "OrderStatus.charged" }, "Charged");
    case r === t.enum.FULFILLED:
      return /* @__PURE__ */ e.createElement(n, { i18nKey: "OrderStatus.fulfilled" }, "Fulfilled");
    case r === t.enum.FULFILL_FAILED:
      return /* @__PURE__ */ e.createElement(n, { i18nKey: "OrderStatus.fulfillFailed" }, "Fulfill Failed");
    case r === t.enum.REFUNDING:
      return /* @__PURE__ */ e.createElement(n, { i18nKey: "OrderStatus.refunding" }, "Refunding");
    case r === t.enum.REFUNDED:
      return /* @__PURE__ */ e.createElement(n, { i18nKey: "OrderStatus.refunded" }, "Refunded");
    case r === t.enum.REFUND_FAILED:
      return /* @__PURE__ */ e.createElement(n, { i18nKey: "OrderStatus.refundFailed" }, "Refund Failed");
    case r === t.enum.CLOSED:
      return /* @__PURE__ */ e.createElement(n, { i18nKey: "OrderStatus.closed" }, "Closed");
    case r === t.enum.DELETED:
      return /* @__PURE__ */ e.createElement(n, { i18nKey: "OrderStatus.deleted" }, "Deleted");
    default:
      return /* @__PURE__ */ e.createElement("span", null, "status");
  }
};
export {
  s as OrderStatusTranslation
};
