Improve tooltips on space quick actions and explore button

This commit is contained in:
Michael Telatynski 2021-09-08 10:16:20 +01:00
parent 3217ab26ff
commit 8bd1f384b9
3 changed files with 12 additions and 5 deletions

View file

@ -399,7 +399,9 @@ export default class LeftPanel extends React.Component<IProps, IState> {
mx_LeftPanel_exploreButton_space: !!this.state.activeSpace,
})}
onClick={this.onExplore}
title={_t("Explore rooms")}
title={this.state.activeSpace
? _t("Explore %(spaceName)s", { spaceName: this.state.activeSpace.name })
: _t("Explore rooms")}
/>
</div>
);