+
+ {t("publish.heading")}
+
+
+
+ {STEPS.map((step, i) => (
+
+ {t(`visibility.${step}`)}
+
+ ))}
+
+
+
+ {back && (
+
+ )}
+ {forward === "internal" && (
+
+ )}
+ {forward === "public" && (
+
+
+ {t("publish.publish")}
+
+ }
+ />
+
+ {t("publish.confirmTitle")}
+ {t("publish.confirmBody")}
+
+ {t("form.cancel")}
+ go("public")}>
+ {t("publish.confirm")}
+
+
+
+
+ )}
+
+
+ {errorKind === "gate" && (
+
+ {t("publish.gateError")}{" "}
+
+ {t("publish.editLink")}
+
+
+ )}
+ {errorKind === "illegal" && (
+
+ {t("publish.illegalError")}
+
+ )}
+ {errorKind === "other" && (
+
+ {t("form.rejected")}
+
+ )}
+
+ );
+}