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>
pull/21833/head
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

View File

@ -1138,9 +1138,7 @@
"e.g. my-space": "e.g. my-space",
"Address": "Address",
"Create a space": "Create a space",
"Spaces are a new way to group rooms and people.": "Spaces are a new way to group rooms and people.",
"What kind of Space do you want to create?": "What kind of Space do you want to create?",
"You can change this later.": "You can change this later.",
"Spaces are a new way to group rooms and people. What kind of Space do you want to create? You can change this later.": "Spaces are a new way to group rooms and people. What kind of Space do you want to create? You can change this later.",
"Public": "Public",
"Open space for anyone, best for communities": "Open space for anyone, best for communities",
"Private": "Private",