mirror of https://github.com/vector-im/riot-web
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
parent
fb3e9eb56d
commit
930120823f
|
@ -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.") }
|
||||
|
||||
{ _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.") }
|
||||
</p>
|
||||
|
||||
<SpaceCreateMenuType
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue