Migrate more strings to translation keys (#11613)

This commit is contained in:
Michael Telatynski
2023-09-19 17:16:38 +01:00
committed by GitHub
parent d46d4b3d04
commit 5cb8cbd893
111 changed files with 8214 additions and 6766 deletions
+2 -2
View File
@@ -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");
}
};