Create more common_*
common strings (#11439)
This commit is contained in:
parent
df4a2218d7
commit
aa6e3654b8
106 changed files with 1121 additions and 1069 deletions
|
@ -99,7 +99,7 @@ const QuickSettingsButton: React.FC<{
|
|||
onChange={onMetaSpaceChangeFactory(MetaSpace.Favourites, "WebQuickSettingsPinToSidebarCheckbox")}
|
||||
>
|
||||
<FavoriteIcon className="mx_QuickSettingsButton_icon" />
|
||||
{_t("Favourites")}
|
||||
{_t("common|favourites")}
|
||||
</StyledCheckbox>
|
||||
<StyledCheckbox
|
||||
className="mx_QuickSettingsButton_peopleCheckbox"
|
||||
|
|
|
@ -80,7 +80,7 @@ const QuickThemeSwitcher: React.FC<Props> = ({ requestClose }) => {
|
|||
|
||||
return (
|
||||
<div className="mx_QuickThemeSwitcher">
|
||||
<h4 className="mx_QuickThemeSwitcher_heading">{_t("Theme")}</h4>
|
||||
<h4 className="mx_QuickThemeSwitcher_heading">{_t("common|theme")}</h4>
|
||||
<Dropdown
|
||||
id="mx_QuickSettingsButton_themePickerDropdown"
|
||||
onOptionChange={onOptionChange}
|
||||
|
|
|
@ -133,7 +133,7 @@ const SpaceBasicSettings: React.FC<IProps> = ({
|
|||
|
||||
<Field
|
||||
name="spaceName"
|
||||
label={_t("Name")}
|
||||
label={_t("common|name")}
|
||||
autoFocus={true}
|
||||
value={name}
|
||||
onChange={(ev: ChangeEvent<HTMLInputElement>) => setName(ev.target.value)}
|
||||
|
@ -143,7 +143,7 @@ const SpaceBasicSettings: React.FC<IProps> = ({
|
|||
<Field
|
||||
name="spaceTopic"
|
||||
element="textarea"
|
||||
label={_t("Description")}
|
||||
label={_t("common|description")}
|
||||
value={topic}
|
||||
onChange={(ev: ChangeEvent<HTMLTextAreaElement>) => setTopic(ev.target.value)}
|
||||
rows={3}
|
||||
|
|
|
@ -169,7 +169,7 @@ export const SpaceCreateForm: React.FC<ISpaceCreateFormProps> = ({
|
|||
|
||||
<Field
|
||||
name="spaceName"
|
||||
label={_t("Name")}
|
||||
label={_t("common|name")}
|
||||
autoFocus={true}
|
||||
value={name}
|
||||
onChange={(ev: ChangeEvent<HTMLInputElement>) => {
|
||||
|
@ -203,7 +203,7 @@ export const SpaceCreateForm: React.FC<ISpaceCreateFormProps> = ({
|
|||
<Field
|
||||
name="spaceTopic"
|
||||
element="textarea"
|
||||
label={_t("Description")}
|
||||
label={_t("common|description")}
|
||||
value={topic ?? ""}
|
||||
onChange={(ev) => setTopic(ev.target.value)}
|
||||
rows={3}
|
||||
|
@ -292,13 +292,13 @@ const SpaceCreateMenu: React.FC<{
|
|||
</p>
|
||||
|
||||
<SpaceCreateMenuType
|
||||
title={_t("Public")}
|
||||
title={_t("common|public")}
|
||||
description={_t("Open space for anyone, best for communities")}
|
||||
className="mx_SpaceCreateMenuType_public"
|
||||
onClick={() => setVisibility(Visibility.Public)}
|
||||
/>
|
||||
<SpaceCreateMenuType
|
||||
title={_t("Private")}
|
||||
title={_t("common|private")}
|
||||
description={_t("Invite only, best for yourself or teams")}
|
||||
className="mx_SpaceCreateMenuType_private"
|
||||
onClick={() => setVisibility(Visibility.Private)}
|
||||
|
|
|
@ -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")}
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue