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 <luixxiul@users.noreply.github.com>
This commit is contained in:
Suguru Hirahara 2022-03-08 21:41:27 +00:00 committed by GitHub
parent fb3e9eb56d
commit 930120823f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 8 deletions

View file

@ -278,11 +278,8 @@ const SpaceCreateMenu = ({ onFinished }) => {
body = <React.Fragment>
<h2>{ _t("Create a space") }</h2>
<p>
{ _t("Spaces are a new way to group rooms and people.") }
&nbsp;
{ _t("What kind of Space do you want to create?") }
&nbsp;
{ _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.") }
</p>
<SpaceCreateMenuType