mirror of
https://github.com/vector-im/element-web.git
synced 2025-11-29 22:41:44 +01:00
feat(room list): change *All rooms* meta space name to *All Chats* (#29498)
This commit is contained in:
parent
66d9d717c4
commit
c31f5521ec
@ -455,7 +455,7 @@
|
|||||||
"access_token": "Access Token",
|
"access_token": "Access Token",
|
||||||
"accessibility": "Accessibility",
|
"accessibility": "Accessibility",
|
||||||
"advanced": "Advanced",
|
"advanced": "Advanced",
|
||||||
"all_rooms": "All rooms",
|
"all_chats": "All Chats",
|
||||||
"analytics": "Analytics",
|
"analytics": "Analytics",
|
||||||
"and_n_others": {
|
"and_n_others": {
|
||||||
"one": "and one other...",
|
"one": "and one other...",
|
||||||
|
|||||||
@ -30,7 +30,7 @@ export enum MetaSpace {
|
|||||||
export const getMetaSpaceName = (spaceKey: MetaSpace, allRoomsInHome = false): string => {
|
export const getMetaSpaceName = (spaceKey: MetaSpace, allRoomsInHome = false): string => {
|
||||||
switch (spaceKey) {
|
switch (spaceKey) {
|
||||||
case MetaSpace.Home:
|
case MetaSpace.Home:
|
||||||
return allRoomsInHome ? _t("common|all_rooms") : _t("common|home");
|
return allRoomsInHome ? _t("common|all_chats") : _t("common|home");
|
||||||
case MetaSpace.Favourites:
|
case MetaSpace.Favourites:
|
||||||
return _t("common|favourites");
|
return _t("common|favourites");
|
||||||
case MetaSpace.People:
|
case MetaSpace.People:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user