text changes

pull/4774/head
Joseph Izang 6 months ago
parent b21799d203
commit 37a8c7e13f
  1. 2
      apps/remix-ide/src/app/tabs/locales/en/home.json
  2. 2
      libs/remix-ui/home-tab/src/lib/components/homeTabFile.tsx
  3. 7
      libs/remix-ui/statusbar/src/css/statusbar.css
  4. 3
      libs/remix-ui/statusbar/src/lib/components/scamDetails.tsx

@ -61,7 +61,7 @@
"home.startCodingPlayground": "Open a playground for prototyping and simple learning",
"home.openFile": "Open",
"home.openFileTooltip": "Open a File from your File System",
"home.accessFileSystem": "Connect to local filesystem",
"home.accessFileSystem": "Connect to Local Filesystem",
"home.loadFrom": "Load from",
"home.resources": "Resources",
"home.connectToLocalhost": "Connect to Localhost",

@ -249,7 +249,7 @@ contract HelloWorld {
{(state.recentWorkspaces[0] || state.recentWorkspaces[1] || state.recentWorkspaces[2]) && (
<div className="d-flex flex-column mb-5">
<label style={{ fontSize: '0.8rem' }} className="mt-3">
Recent workspaces
Recent Workspaces
</label>
{state.recentWorkspaces[0] && state.recentWorkspaces[0] !== '' && (
<a className="cursor-pointer mb-1 ml-2" href="#" onClick={(e) => handleSwichToRecentWorkspace(e, state.recentWorkspaces[0])}>

@ -14,3 +14,10 @@ remixui_statusbar:hover {
.remixui_statusbar_height {
height: 21px;
}
.remixui_statusbar_activelink {
text-decoration: none;
}
.remixui_statusbar_activelink:active {
color: var(--danger);
}

@ -2,6 +2,7 @@ import { ExtendedRefs, ReferenceType } from '@floating-ui/react'
import React, { CSSProperties } from 'react'
import { FormattedMessage } from 'react-intl'
import { ScamAlert } from '../remixui-statusbar-panel'
import '../../css/statusbar.css'
const _paq = (window._paq = window._paq || []) // eslint-disable-line
@ -29,7 +30,7 @@ export default function ScamDetails ({ refs, floatStyle, scamAlerts }: ScamDetai
{alert.url.length < 1 ? <FormattedMessage id={`home.scamAlertText${index + 1}`} defaultMessage={alert.message} />
: (<><FormattedMessage id={`home.scamAlertText${index + 1}`} defaultMessage={alert.message} /> : &nbsp;
<a
className={`remixui_home_text text-danger ${index === 1 ? 'pl-2' : ''}`}
className={`remixui_home_text text-decoration-none text-danger ${index === 1 ? 'pl-2' : ''}`}
onClick={() => {
index === 1 && _paq.push(['trackEvent', 'hometab', 'scamAlert', 'learnMore'])
index === 2 && _paq.push(['trackEvent', 'hometab', 'scamAlert', 'safetyTips'])

Loading…
Cancel
Save