Migrate more strings to translation keys (#11613)
This commit is contained in:
@@ -37,13 +37,13 @@ export enum MetaSpace {
|
||||
export const getMetaSpaceName = (spaceKey: MetaSpace, allRoomsInHome = false): string => {
|
||||
switch (spaceKey) {
|
||||
case MetaSpace.Home:
|
||||
return allRoomsInHome ? _t("All rooms") : _t("common|home");
|
||||
return allRoomsInHome ? _t("common|all_rooms") : _t("common|home");
|
||||
case MetaSpace.Favourites:
|
||||
return _t("common|favourites");
|
||||
case MetaSpace.People:
|
||||
return _t("common|people");
|
||||
case MetaSpace.Orphans:
|
||||
return _t("Other rooms");
|
||||
return _t("common|orphan_rooms");
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user