From 7d5db4689c04bb3c012747db25ad11af7bf80b0b Mon Sep 17 00:00:00 2001
From: Jaiwanth
Date: Wed, 30 Jun 2021 10:03:33 +0530
Subject: [PATCH] Disable close icon during export
---
src/components/views/dialogs/ExportDialog.tsx | 5 +++--
src/i18n/strings/en_EN.json | 2 +-
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/components/views/dialogs/ExportDialog.tsx b/src/components/views/dialogs/ExportDialog.tsx
index 16d144c87b..ff542bfbf4 100644
--- a/src/components/views/dialogs/ExportDialog.tsx
+++ b/src/components/views/dialogs/ExportDialog.tsx
@@ -268,7 +268,7 @@ const ExportDialog: React.FC = ({ room, onFinished }) => {
{ _t("Format") }
setExportFormat(exportFormats[key])}
definitions={exportFormatOptions}
@@ -332,7 +332,7 @@ const ExportDialog: React.FC = ({ room, onFinished }) => {
)}
= ({ room, onFinished }) => {
title={_t("Exporting your data...")}
className="mx_ExportDialog"
contentId="mx_Dialog_content"
+ hasCancel={false}
onFinished={onFinished}
fixedWidth={true}
>
diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json
index 3929cfa1a6..c6a3e033ec 100644
--- a/src/i18n/strings/en_EN.json
+++ b/src/i18n/strings/en_EN.json
@@ -2273,7 +2273,7 @@
"Include Attachments": "Include Attachments",
"Export": "Export",
"Are you sure you want to stop exporting your data? If you do, you'll need to start over.": "Are you sure you want to stop exporting your data? If you do, you'll need to start over.",
- "Abort export process": "Abort export process",
+ "Stop": "Stop",
"Exporting your data...": "Exporting your data...",
"Feedback sent": "Feedback sent",
"Rate %(brand)s": "Rate %(brand)s",