Migrate more strings to translation keys (#11672)
This commit is contained in:
parent
39c4e0c41f
commit
fa377cbade
81 changed files with 3985 additions and 3766 deletions
|
@ -387,7 +387,7 @@ const defaultRendererFactory =
|
|||
</div>
|
||||
);
|
||||
|
||||
export const defaultRoomsRenderer = defaultRendererFactory(_td("Rooms"));
|
||||
export const defaultRoomsRenderer = defaultRendererFactory(_td("common|rooms"));
|
||||
export const defaultSpacesRenderer = defaultRendererFactory(_td("common|spaces"));
|
||||
export const defaultDmsRenderer = defaultRendererFactory(_td("Direct Messages"));
|
||||
|
||||
|
|
|
@ -92,7 +92,7 @@ export function RoomResultContextMenus({ room }: Props): JSX.Element {
|
|||
const target = ev.target as HTMLElement;
|
||||
setGeneralMenuPosition(target.getBoundingClientRect());
|
||||
}}
|
||||
title={room.isSpaceRoom() ? _t("space|context_menu|options") : _t("Room options")}
|
||||
title={room.isSpaceRoom() ? _t("space|context_menu|options") : _t("room|context_menu|title")}
|
||||
isExpanded={generalMenuPosition !== null}
|
||||
/>
|
||||
)}
|
||||
|
|
|
@ -788,7 +788,7 @@ const SpotlightDialog: React.FC<IProps> = ({ initialText = "", initialFilter = n
|
|||
role="group"
|
||||
aria-labelledby="mx_SpotlightDialog_section_rooms"
|
||||
>
|
||||
<h4 id="mx_SpotlightDialog_section_rooms">{_t("Rooms")}</h4>
|
||||
<h4 id="mx_SpotlightDialog_section_rooms">{_t("common|rooms")}</h4>
|
||||
<div>{results[Section.Rooms].slice(0, SECTION_LIMIT).map(resultMapper)}</div>
|
||||
</div>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue