Create more common_* common strings (#11439)
This commit is contained in:
committed by
GitHub
parent
df4a2218d7
commit
aa6e3654b8
@@ -44,7 +44,7 @@ export enum RightPanelPhases {
|
||||
export function backLabelForPhase(phase: RightPanelPhases | null): string | null {
|
||||
switch (phase) {
|
||||
case RightPanelPhases.ThreadPanel:
|
||||
return _t("Threads");
|
||||
return _t("common|threads");
|
||||
case RightPanelPhases.Timeline:
|
||||
return _t("Back to chat");
|
||||
case RightPanelPhases.RoomSummary:
|
||||
|
||||
@@ -37,9 +37,9 @@ export enum MetaSpace {
|
||||
export const getMetaSpaceName = (spaceKey: MetaSpace, allRoomsInHome = false): string => {
|
||||
switch (spaceKey) {
|
||||
case MetaSpace.Home:
|
||||
return allRoomsInHome ? _t("All rooms") : _t("Home");
|
||||
return allRoomsInHome ? _t("All rooms") : _t("common|home");
|
||||
case MetaSpace.Favourites:
|
||||
return _t("Favourites");
|
||||
return _t("common|favourites");
|
||||
case MetaSpace.People:
|
||||
return _t("common|people");
|
||||
case MetaSpace.Orphans:
|
||||
|
||||
Reference in New Issue
Block a user