Migrate more strings to translation keys (#11671)

This commit is contained in:
Michael Telatynski
2023-09-26 18:35:55 +01:00
committed by GitHub
parent 13aed62a91
commit 4d0d024e86
125 changed files with 7066 additions and 6607 deletions

View File

@@ -384,7 +384,7 @@ export const showRoom = (cli: MatrixClient, hierarchy: RoomHierarchy, roomId: st
oob_data: {
avatarUrl: room?.avatar_url,
// XXX: This logic is duplicated from the JS SDK which would normally decide what the name is.
name: room?.name || roomAlias || _t("Unnamed room"),
name: room?.name || roomAlias || _t("common|unnamed_room"),
roomType,
} as IOOBData,
metricsTrigger: "RoomDirectory",