fix: Spelling on collection export modal

This commit is contained in:
Tom Moor
2022-09-11 15:54:49 +01:00
parent ad3e880491
commit 9f17b4a545
3 changed files with 10 additions and 2 deletions

View File

@@ -65,6 +65,7 @@ function CollectionMenu({
const handleExport = React.useCallback(() => {
dialogs.openModal({
title: t("Export collection"),
isCentered: true,
content: (
<CollectionExport
collection={collection}

View File

@@ -39,7 +39,7 @@ function CollectionExport({ collection, onSubmit }: Props) {
<form onSubmit={handleSubmit}>
<Text type="secondary">
<Trans
defaults="Exporting the collection <em>{{collectionName}}</em> may take a few seconds. Your documents will be a zip of folders with files in Markdown format. Please visit the Export section on settings to get the zip."
defaults="Exporting the collection <em>{{collectionName}}</em> may take some time."
values={{
collectionName: collection.name,
}}
@@ -48,6 +48,12 @@ function CollectionExport({ collection, onSubmit }: Props) {
}}
/>
</Text>
<Text type="secondary">
<Trans>
Your documents will be a zip of folders with files in Markdown
format. Please visit the Export section in Settings to get the zip.
</Trans>
</Text>
<Button type="submit" disabled={isLoading} primary>
{isLoading ? `${t("Exporting")}` : t("Export Collection")}
</Button>