Tweak language, remove original attachment once complete

This commit is contained in:
Tom Moor committed 2021-02-18 23:08:48 -08:00
1 parent c5f9412ac0
commit fabfa6a491
2 files changed
+5 -3

No files matched your search

+3 -3
View File
@@ -128,8 +128,8 @@ function ImportExport() {
{isImported && (
<Notice>
<Trans>
Your file has been uploaded and the import is being processed, you
can safely leave this page.
Your file has been uploaded and the import is currently being
processed, you can safely leave this page while it completes.
</Trans>
</Notice>
)}
@@ -167,7 +167,7 @@ function ImportExport() {
disabled={isImporting}
primary
>
{isImporting ? `${t("Importing")}…` : t("Confirm & Import")}
{isImporting ? `${t("Uploading")}…` : t("Confirm & Import")}
</Button>
</>
) : (
+2
View File
@@ -32,6 +32,8 @@ export default class Importer {
ip: event.ip,
});
await attachment.destroy();
return;
}
default: