fix label for hamburger menu

pull/5179/head
Joseph Izang 2 months ago committed by ryestew
parent 6d132320c6
commit 4fd1cf5696
  1. 1
      apps/remix-ide/src/app/tabs/locales/en/filePanel.json
  2. 2
      libs/remix-ui/workspace/src/lib/components/workspace-hamburger-item.tsx

@ -2,6 +2,7 @@
"filePanel.displayName": "File explorer",
"filePanel.workspace": "WORKSPACES",
"filePanel.create": "Create",
"filePanel.createLabel": "Create using Template",
"filePanel.createBlank":"Create Blank",
"filePanel.create.desktop": "Create Project",
"filePanel.clone": "Clone",

@ -32,7 +32,7 @@ export function HamburgerMenuItem(props: HamburgerMenuItemProps) {
>
<span hidden={hideOption} id={uid} data-id={uid} className={props.fa + ' pl-2'} style={{ width: '1.4rem' }}></span>
<span className="px-2">
<FormattedMessage id={'filePanel.' + props.kind} />
{props.kind === 'create' ? <FormattedMessage id={'filePanel.createLabel'} /> :<FormattedMessage id={'filePanel.' + props.kind} />}
</span>
</div>
</CustomTooltip>

Loading…
Cancel
Save