From bc87dc3c56427314081aa49392ad8430a63e06f1 Mon Sep 17 00:00:00 2001
From: Michael Telatynski <7t3chguy@gmail.com>
Date: Wed, 21 Jul 2021 10:17:09 +0100
Subject: [PATCH] remove duplicated content
---
src/components/views/dialogs/LeaveSpaceDialog.tsx | 6 +-----
src/i18n/strings/en_EN.json | 1 -
2 files changed, 1 insertion(+), 6 deletions(-)
diff --git a/src/components/views/dialogs/LeaveSpaceDialog.tsx b/src/components/views/dialogs/LeaveSpaceDialog.tsx
index ffad4a22a2..af29f18fdb 100644
--- a/src/components/views/dialogs/LeaveSpaceDialog.tsx
+++ b/src/components/views/dialogs/LeaveSpaceDialog.tsx
@@ -109,11 +109,7 @@ const LeaveRoomsPicker = ({ space, roomsToLeave, setRoomsToLeave }) => {
}
if (spaceChildren.length < 1) {
- return
- BOLD:
- { _t("Are you sure you want to leave %(spaceName)s? " +
- "You won't be able to rejoin unless you are re-invited", { spaceName: space.name }) }
-
;
+ return null;
}
return
diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json
index 101e8b088d..e317a0c071 100644
--- a/src/i18n/strings/en_EN.json
+++ b/src/i18n/strings/en_EN.json
@@ -2334,7 +2334,6 @@
"You will leave all subspaces and rooms in .": "You will leave all subspaces and rooms in .",
"You'll still be a part of all rooms and subspaces in you've joined.": "You'll still be a part of all rooms and subspaces in you've joined.",
"Pick which rooms and subspaces you want to leave.": "Pick which rooms and subspaces you want to leave.",
- "Are you sure you want to leave %(spaceName)s? You won't be able to rejoin unless you are re-invited": "Are you sure you want to leave %(spaceName)s? You won't be able to rejoin unless you are re-invited",
"Choose which rooms you wish to leave": "Choose which rooms you wish to leave",
"Leave all subspaces and rooms": "Leave all subspaces and rooms",
"Don't leave any": "Don't leave any",