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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
111 changed files with 8214 additions and 6766 deletions

View file

@ -243,7 +243,7 @@ function textForTopicEvent(ev: MatrixEvent): (() => string) | null {
function textForRoomAvatarEvent(ev: MatrixEvent): (() => string) | null {
const senderDisplayName = ev?.sender?.name || ev.getSender();
return () => _t("timeline|m.room.avatar", { senderDisplayName });
return () => _t("timeline|m.room.avatar|changed", { senderDisplayName });
}
function textForRoomNameEvent(ev: MatrixEvent): (() => string) | null {
@ -821,7 +821,7 @@ function textForMjolnirEvent(event: MatrixEvent): (() => string) | null {
export function textForLocationEvent(event: MatrixEvent): () => string {
return () =>
_t("timeline|m.location", {
_t("timeline|m.location|full", {
senderName: getSenderName(event),
});
}