From 8c54f6330f8bca117f09c9c5ec3b182a2618b1af Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Mon, 2 Jan 2023 10:39:49 -0500 Subject: [PATCH] chore: Clarify import/export options --- app/hooks/useSettingsConfig.ts | 8 ++++---- app/scenes/Settings/Import.tsx | 8 ++++---- app/scenes/Settings/components/ImportNotionDialog.tsx | 3 +-- app/scenes/Settings/components/ImportOutlineDialog.tsx | 7 +++---- shared/i18n/locales/en_US/translation.json | 4 ++-- 5 files changed, 14 insertions(+), 16 deletions(-) diff --git a/app/hooks/useSettingsConfig.ts b/app/hooks/useSettingsConfig.ts index 6b99b03cd..6fdbc739a 100644 --- a/app/hooks/useSettingsConfig.ts +++ b/app/hooks/useSettingsConfig.ts @@ -1,5 +1,4 @@ import { - NewDocumentIcon, EmailIcon, ProfileIcon, PadlockIcon, @@ -10,9 +9,10 @@ import { TeamIcon, BeakerIcon, BuildingBlocksIcon, - DownloadIcon, WebhooksIcon, SettingsIcon, + ExportIcon, + ImportIcon, } from "outline-icons"; import React from "react"; import { useTranslation } from "react-i18next"; @@ -167,7 +167,7 @@ const useSettingsConfig = () => { component: Import, enabled: can.createImport, group: t("Team"), - icon: NewDocumentIcon, + icon: ImportIcon, }, Export: { name: t("Export"), @@ -175,7 +175,7 @@ const useSettingsConfig = () => { component: Export, enabled: can.createExport, group: t("Team"), - icon: DownloadIcon, + icon: ExportIcon, }, // Integrations Webhooks: { diff --git a/app/scenes/Settings/Import.tsx b/app/scenes/Settings/Import.tsx index f73891bba..c7af91c1a 100644 --- a/app/scenes/Settings/Import.tsx +++ b/app/scenes/Settings/Import.tsx @@ -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() {
} - title="Outline" + image={} + 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={