Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
fix hover label "Minimise widget"->"Close"
Browse files Browse the repository at this point in the history
  • Loading branch information
toger5 committed Nov 11, 2021
1 parent 21b9549 commit 38f8cfe
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/views/elements/AppTile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ export default class AppTile extends React.Component<IProps, IState> {
: " mx_AppTileMenuBar_iconButton_maxWidget")
}
title={
widgetIsMaximised ? _t('Minimise widget'): _t('Maximise widget')
widgetIsMaximised ? _t('Close'): _t('Maximise widget')
}
onClick={this.onMaxMinWidgetClick}
/>;
Expand Down
2 changes: 1 addition & 1 deletion src/components/views/right_panel/RoomSummaryCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ const AppRow: React.FC<IAppRowProps> = ({ app, room }) => {
? () => { WidgetLayoutStore.instance.moveToContainer(room, app, Container.Right); }
: () => { WidgetLayoutStore.instance.moveToContainer(room, app, Container.Center); };

const maximiseTitle = isMaximised ? _t("Minimise widget") : _t("Maximise widget");
const maximiseTitle = isMaximised ? _t("Close") : _t("Maximise widget");

return <div className={classes} ref={handle}>
<AccessibleTooltipButton
Expand Down
1 change: 0 additions & 1 deletion src/i18n/strings/en_EN.json
Original file line number Diff line number Diff line change
Expand Up @@ -1853,7 +1853,6 @@
"Threads": "Threads",
"Room Info": "Room Info",
"You can only pin up to %(count)s widgets|other": "You can only pin up to %(count)s widgets",
"Minimise widget": "Minimise widget",
"Maximise widget": "Maximise widget",
"Unpin a widget to view it in this panel": "Unpin a widget to view it in this panel",
"Set my room layout for everyone": "Set my room layout for everyone",
Expand Down

0 comments on commit 38f8cfe

Please sign in to comment.