Merge branch 'develop' into germain-gg/fix-right-panel-member
This commit is contained in:
commit
159deec937
156 changed files with 17312 additions and 14272 deletions
|
@ -1240,10 +1240,10 @@ export default class MatrixChat extends React.PureComponent<IProps, IState> {
|
|||
<span>
|
||||
{isSpace
|
||||
? _t("Are you sure you want to leave the space '%(spaceName)s'?", {
|
||||
spaceName: roomToLeave?.name ?? _t("Unnamed Space"),
|
||||
spaceName: roomToLeave?.name ?? _t("common|unnamed_space"),
|
||||
})
|
||||
: _t("Are you sure you want to leave the room '%(roomName)s'?", {
|
||||
roomName: roomToLeave?.name ?? _t("Unnamed Room"),
|
||||
roomName: roomToLeave?.name ?? _t("common|unnamed_room"),
|
||||
})}
|
||||
{warnings}
|
||||
</span>
|
||||
|
|
|
@ -119,7 +119,7 @@ const Tile: React.FC<ITileProps> = ({
|
|||
room.name ||
|
||||
room.canonical_alias ||
|
||||
room.aliases?.[0] ||
|
||||
(room.room_type === RoomType.Space ? _t("Unnamed Space") : _t("Unnamed Room"));
|
||||
(room.room_type === RoomType.Space ? _t("common|unnamed_space") : _t("common|unnamed_room"));
|
||||
|
||||
const [showChildren, toggleShowChildren] = useStateToggle(true);
|
||||
const [onFocus, isActive, ref] = useRovingTabIndex();
|
||||
|
|
|
@ -160,14 +160,14 @@ export default class ViewSource extends React.Component<IProps, IState> {
|
|||
<BaseDialog className="mx_ViewSource" onFinished={this.props.onFinished} title={_t("action|view_source")}>
|
||||
<div className="mx_ViewSource_header">
|
||||
<CopyableText getTextToCopy={() => roomId} border={false}>
|
||||
{_t("Room ID: %(roomId)s", { roomId })}
|
||||
{_t("devtools|room_id", { roomId })}
|
||||
</CopyableText>
|
||||
<CopyableText getTextToCopy={() => eventId} border={false}>
|
||||
{_t("Event ID: %(eventId)s", { eventId })}
|
||||
{_t("devtools|event_id", { eventId })}
|
||||
</CopyableText>
|
||||
{mxEvent.threadRootId && (
|
||||
<CopyableText getTextToCopy={() => mxEvent.threadRootId!} border={false}>
|
||||
{_t("Thread root ID: %(threadRootId)s", {
|
||||
{_t("devtools|thread_root_id", {
|
||||
threadRootId: mxEvent.threadRootId,
|
||||
})}
|
||||
</CopyableText>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue