Display button as inline in room directory dialog (#8164)

This commit is contained in:
Suguru Hirahara 2022-03-28 09:02:32 +00:00 committed by GitHub
parent 190968c73c
commit a7a0c55adf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -727,9 +727,9 @@ export default class RoomDirectory extends React.Component<IProps, IState> {
</div>;
}
const explanation =
_t("If you can't find the room you're looking for, ask for an invite or <a>Create a new room</a>.", null,
_t("If you can't find the room you're looking for, ask for an invite or <a>create a new room</a>.", null,
{ a: sub => (
<AccessibleButton kind="secondary" onClick={this.onCreateRoomClick}>
<AccessibleButton kind="link_inline" onClick={this.onCreateRoomClick}>
{ sub }
</AccessibleButton>
) },

View File

@ -3007,7 +3007,7 @@
"Try different words or check for typos. Some results may not be visible as they're private and you need an invite to join them.": "Try different words or check for typos. Some results may not be visible as they're private and you need an invite to join them.",
"Find a room…": "Find a room…",
"Find a room… (e.g. %(exampleRoom)s)": "Find a room… (e.g. %(exampleRoom)s)",
"If you can't find the room you're looking for, ask for an invite or <a>Create a new room</a>.": "If you can't find the room you're looking for, ask for an invite or <a>Create a new room</a>.",
"If you can't find the room you're looking for, ask for an invite or <a>create a new room</a>.": "If you can't find the room you're looking for, ask for an invite or <a>create a new room</a>.",
"Filter": "Filter",
"Filter rooms and people": "Filter rooms and people",
"Clear filter": "Clear filter",