From 930120823fb0d970aa217f6b9ac7f9b769e138d1 Mon Sep 17 00:00:00 2001 From: Suguru Hirahara Date: Tue, 8 Mar 2022 21:41:27 +0000 Subject: [PATCH] Remove hard-coded whitespace characters from SpaceCreateMenu.tsx (#7885) Whitespace characters should not be hard-coded as some languages do not have the concept of whitespace in the first place. Fixes https://github.com/vector-im/element-web/issues/21187 Signed-off-by: Suguru Hirahara --- src/components/views/spaces/SpaceCreateMenu.tsx | 7 ++----- src/i18n/strings/en_EN.json | 4 +--- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/src/components/views/spaces/SpaceCreateMenu.tsx b/src/components/views/spaces/SpaceCreateMenu.tsx index 32de314483..c6f2443265 100644 --- a/src/components/views/spaces/SpaceCreateMenu.tsx +++ b/src/components/views/spaces/SpaceCreateMenu.tsx @@ -278,11 +278,8 @@ const SpaceCreateMenu = ({ onFinished }) => { body =

{ _t("Create a space") }

- { _t("Spaces are a new way to group rooms and people.") } -   - { _t("What kind of Space do you want to create?") } -   - { _t("You can change this later.") } + { _t("Spaces are a new way to group rooms and people. What kind of Space do you want to create? " + + "You can change this later.") }