{importer.state === "running" && (
{translate("crm.contact.import.running")}
{translate("crm.contact.import.status", {
count: importer.importCount,
total: importer.rowCount,
errors: importer.errorCount,
})}
{importer.remainingTime !== null && (
<>
{" "}
{translate("crm.contact.import.remaining_time", {
time: millisecondsToTime(importer.remainingTime),
})}
.{" "}
>
)}
)}
{importer.state === "error" && (
{translate("crm.contact.import.error")}
)}
{importer.state === "complete" && (
{translate("crm.contact.import.complete", {
count: importer.importCount,
errors: importer.errorCount,
})}
)}
{importer.state === "idle" && (
<>
{translate("crm.contact.import.template_hint")}
{" "}
>
)}