Translate create room buttons

Signed-off-by: Robin Townsend <robintown@tcakoi.dev>
This commit is contained in:
Robin Townsend 2020-07-22 02:58:22 +00:00
parent 5dd5d4922f
commit 83ab151d96

View file

@ -308,7 +308,7 @@ export default class RoomList extends React.Component<IProps, IState> {
startAsHidden={aesthetics.defaultHidden}
label={aesthetics.sectionLabelRaw ? aesthetics.sectionLabelRaw : _t(aesthetics.sectionLabel)}
onAddRoom={onAddRoomFn}
addRoomLabel={aesthetics.addRoomLabel}
addRoomLabel={aesthetics.addRoomLabel ? _t(aesthetics.addRoomLabel) : aesthetics.addRoomLabel}
isMinimized={this.props.isMinimized}
onResize={this.props.onResize}
extraBadTilesThatShouldntExist={extraTiles}