mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-14 12:18:00 +03:00
Disable close icon during export
This commit is contained in:
parent
b0be7d2861
commit
7d5db4689c
2 changed files with 4 additions and 3 deletions
|
@ -268,7 +268,7 @@ const ExportDialog: React.FC<IProps> = ({ room, onFinished }) => {
|
||||||
<span className="mx_ExportDialog_subheading">{ _t("Format") }</span>
|
<span className="mx_ExportDialog_subheading">{ _t("Format") }</span>
|
||||||
|
|
||||||
<StyledRadioGroup
|
<StyledRadioGroup
|
||||||
name="feedbackRating"
|
name="exportFormat"
|
||||||
value={exportFormat}
|
value={exportFormat}
|
||||||
onChange={(key) => setExportFormat(exportFormats[key])}
|
onChange={(key) => setExportFormat(exportFormats[key])}
|
||||||
definitions={exportFormatOptions}
|
definitions={exportFormatOptions}
|
||||||
|
@ -332,7 +332,7 @@ const ExportDialog: React.FC<IProps> = ({ room, onFinished }) => {
|
||||||
)}
|
)}
|
||||||
</p>
|
</p>
|
||||||
<DialogButtons
|
<DialogButtons
|
||||||
primaryButton={_t("Abort export process")}
|
primaryButton={_t("Stop")}
|
||||||
primaryButtonClass="danger"
|
primaryButtonClass="danger"
|
||||||
hasCancel={true}
|
hasCancel={true}
|
||||||
cancelButton={_t("Continue")}
|
cancelButton={_t("Continue")}
|
||||||
|
@ -348,6 +348,7 @@ const ExportDialog: React.FC<IProps> = ({ room, onFinished }) => {
|
||||||
title={_t("Exporting your data...")}
|
title={_t("Exporting your data...")}
|
||||||
className="mx_ExportDialog"
|
className="mx_ExportDialog"
|
||||||
contentId="mx_Dialog_content"
|
contentId="mx_Dialog_content"
|
||||||
|
hasCancel={false}
|
||||||
onFinished={onFinished}
|
onFinished={onFinished}
|
||||||
fixedWidth={true}
|
fixedWidth={true}
|
||||||
>
|
>
|
||||||
|
|
|
@ -2273,7 +2273,7 @@
|
||||||
"Include Attachments": "Include Attachments",
|
"Include Attachments": "Include Attachments",
|
||||||
"Export": "Export",
|
"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.",
|
"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...",
|
"Exporting your data...": "Exporting your data...",
|
||||||
"Feedback sent": "Feedback sent",
|
"Feedback sent": "Feedback sent",
|
||||||
"Rate %(brand)s": "Rate %(brand)s",
|
"Rate %(brand)s": "Rate %(brand)s",
|
||||||
|
|
Loading…
Reference in a new issue