Migrate more strings to translation keys (#11637)

This commit is contained in:
Michael Telatynski
2023-09-21 09:11:26 +01:00
committed by GitHub
parent fc9caa3269
commit d77b871769
107 changed files with 7689 additions and 6497 deletions

View File

@@ -1232,9 +1232,9 @@ class CreationGrouper extends BaseGrouper {
const roomId = ev.getRoomId();
const creator = ev.sender?.name ?? ev.getSender();
if (roomId && DMRoomMap.shared().getUserIdForRoomId(roomId)) {
summaryText = _t("%(creator)s created this DM.", { creator });
summaryText = _t("timeline|creation_summary_dm", { creator });
} else {
summaryText = _t("%(creator)s created and configured the room.", { creator });
summaryText = _t("timeline|creation_summary_room", { creator });
}
ret.push(<NewRoomIntro key="newroomintro" />);