Apply prettier formatting
This commit is contained in:
parent
1cac306093
commit
526645c791
1576 changed files with 65385 additions and 62478 deletions
|
@ -19,17 +19,17 @@ import { _t } from "../../languageHandler";
|
|||
// These are in their own file because of circular imports being a problem.
|
||||
export enum RightPanelPhases {
|
||||
// Room stuff
|
||||
RoomMemberList = 'RoomMemberList',
|
||||
FilePanel = 'FilePanel',
|
||||
NotificationPanel = 'NotificationPanel',
|
||||
RoomMemberInfo = 'RoomMemberInfo',
|
||||
EncryptionPanel = 'EncryptionPanel',
|
||||
RoomSummary = 'RoomSummary',
|
||||
Widget = 'Widget',
|
||||
RoomMemberList = "RoomMemberList",
|
||||
FilePanel = "FilePanel",
|
||||
NotificationPanel = "NotificationPanel",
|
||||
RoomMemberInfo = "RoomMemberInfo",
|
||||
EncryptionPanel = "EncryptionPanel",
|
||||
RoomSummary = "RoomSummary",
|
||||
Widget = "Widget",
|
||||
PinnedMessages = "PinnedMessages",
|
||||
Timeline = "Timeline",
|
||||
|
||||
Room3pidMemberInfo = 'Room3pidMemberInfo',
|
||||
Room3pidMemberInfo = "Room3pidMemberInfo",
|
||||
|
||||
// Space stuff
|
||||
SpaceMemberList = "SpaceMemberList",
|
||||
|
@ -43,11 +43,16 @@ export enum RightPanelPhases {
|
|||
|
||||
export function backLabelForPhase(phase: RightPanelPhases) {
|
||||
switch (phase) {
|
||||
case RightPanelPhases.ThreadPanel: return _t("Threads");
|
||||
case RightPanelPhases.Timeline: return _t("Back to chat");
|
||||
case RightPanelPhases.RoomSummary: return _t("Room information");
|
||||
case RightPanelPhases.RoomMemberList: return _t("Room members");
|
||||
case RightPanelPhases.ThreadView: return _t("Back to thread");
|
||||
case RightPanelPhases.ThreadPanel:
|
||||
return _t("Threads");
|
||||
case RightPanelPhases.Timeline:
|
||||
return _t("Back to chat");
|
||||
case RightPanelPhases.RoomSummary:
|
||||
return _t("Room information");
|
||||
case RightPanelPhases.RoomMemberList:
|
||||
return _t("Room members");
|
||||
case RightPanelPhases.ThreadView:
|
||||
return _t("Back to thread");
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue