Create more common_* common strings (#11439)

This commit is contained in:
Michael Telatynski 2023-08-23 10:25:33 +01:00 committed by GitHub
parent df4a2218d7
commit aa6e3654b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
106 changed files with 1121 additions and 1069 deletions

View file

@ -97,7 +97,7 @@ export const HomeButtonContextMenu: React.FC<ComponentProps<typeof SpaceContextM
return (
<IconizedContextMenu {...props} onFinished={onFinished} className="mx_SpacePanel_contextMenu" compact>
{!hideHeader && <div className="mx_SpacePanel_contextMenu_header">{_t("Home")}</div>}
{!hideHeader && <div className="mx_SpacePanel_contextMenu_header">{_t("common|home")}</div>}
<IconizedContextMenuOptionList first>
<IconizedContextMenuCheckbox
iconClassName="mx_SpacePanel_noIcon"
@ -159,7 +159,7 @@ const HomeButton: React.FC<MetaSpaceButtonProps> = ({ selected, isPanelCollapsed
label={getMetaSpaceName(MetaSpace.Home, allRoomsInHome)}
notificationState={notificationState}
ContextMenuComponent={HomeButtonContextMenu}
contextMenuTooltip={_t("Options")}
contextMenuTooltip={_t("common|options")}
/>
);
};