chore: Clarify import/export options
This commit is contained in:
@@ -7,7 +7,7 @@ import { cdnPath } from "@shared/utils/urls";
|
||||
import FileOperation from "~/models/FileOperation";
|
||||
import Button from "~/components/Button";
|
||||
import Heading from "~/components/Heading";
|
||||
import OutlineIcon from "~/components/Icons/OutlineIcon";
|
||||
import MarkdownIcon from "~/components/Icons/MarkdownIcon";
|
||||
import Item from "~/components/List/Item";
|
||||
import PaginatedList from "~/components/PaginatedList";
|
||||
import Scene from "~/components/Scene";
|
||||
@@ -35,10 +35,10 @@ function Import() {
|
||||
<div>
|
||||
<Item
|
||||
border={false}
|
||||
image={<OutlineIcon size={28} cover />}
|
||||
title="Outline"
|
||||
image={<MarkdownIcon size={28} />}
|
||||
title={t("Markdown")}
|
||||
subtitle={t(
|
||||
"Import a backup file that was previously exported from Outline"
|
||||
"Import a zip file of Markdown documents (exported from Outline 0.67.0 or earlier)"
|
||||
)}
|
||||
actions={
|
||||
<Button
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import { observer } from "mobx-react";
|
||||
import * as React from "react";
|
||||
import { Trans } from "react-i18next";
|
||||
import Flex from "~/components/Flex";
|
||||
@@ -32,4 +31,4 @@ function ImportNotionDialog() {
|
||||
);
|
||||
}
|
||||
|
||||
export default observer(ImportNotionDialog);
|
||||
export default ImportNotionDialog;
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import { observer } from "mobx-react";
|
||||
import * as React from "react";
|
||||
import { Trans } from "react-i18next";
|
||||
import Flex from "~/components/Flex";
|
||||
@@ -18,8 +17,8 @@ function ImportOutlineDialog() {
|
||||
format="outline-markdown"
|
||||
>
|
||||
<Trans>
|
||||
Drag and drop the zip file from Outline's export option, or click to
|
||||
upload
|
||||
Drag and drop the zip file from Outline's Markdown export option, or
|
||||
click to upload
|
||||
</Trans>
|
||||
</DropToImport>
|
||||
</Text>
|
||||
@@ -35,4 +34,4 @@ function ImportOutlineDialog() {
|
||||
);
|
||||
}
|
||||
|
||||
export default observer(ImportOutlineDialog);
|
||||
export default ImportOutlineDialog;
|
||||
|
||||
Reference in New Issue
Block a user