Create more common_* common strings (#11439)

This commit is contained in:
Michael Telatynski
2023-08-23 10:25:33 +01:00
committed by GitHub
parent df4a2218d7
commit aa6e3654b8
106 changed files with 1121 additions and 1069 deletions

View File

@@ -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:

View File

@@ -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: