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>; </div>;
} }
const explanation = 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 => ( { a: sub => (
<AccessibleButton kind="secondary" onClick={this.onCreateRoomClick}> <AccessibleButton kind="link_inline" onClick={this.onCreateRoomClick}>
{ sub } { sub }
</AccessibleButton> </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.", "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…": "Find a room…",
"Find a room… (e.g. %(exampleRoom)s)": "Find a room… (e.g. %(exampleRoom)s)", "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": "Filter",
"Filter rooms and people": "Filter rooms and people", "Filter rooms and people": "Filter rooms and people",
"Clear filter": "Clear filter", "Clear filter": "Clear filter",