move learn more

pull/4879/head
aniket-engg 5 months ago
parent d8d78d4169
commit 16cd5f4f9a
  1. 3
      apps/remix-ide/src/app/tabs/locales/en/udapp.json
  2. 5
      libs/remix-ui/run-tab/src/lib/components/universalDappUI.tsx

@ -82,7 +82,8 @@
"udapp.solScan.iconTooltip": "Click to scan this contract for vulnerabilities using third-party SolidityScan [BETA]", "udapp.solScan.iconTooltip": "Click to scan this contract for vulnerabilities using third-party SolidityScan [BETA]",
"udapp.solScan.modalTitle": "Permission to share code", "udapp.solScan.modalTitle": "Permission to share code",
"udapp.solScan.modalMessage": "To scan the contract for vulnerabilities & possible risks, smart contract code will be shared to third-party SolidityScan.\n\n Would you like to continue?", "udapp.solScan.modalMessage": "To scan the contract for vulnerabilities & possible risks, smart contract code will be shared to third-party SolidityScan. ",
"udapp.solScan.likeToContinue": "Would you like to continue?",
"udapp.solScan.modalOkLabel": "Continue", "udapp.solScan.modalOkLabel": "Continue",
"udapp.solScan.modalCancelLabel": "Cancel", "udapp.solScan.modalCancelLabel": "Cancel",
"udapp.solScan.errModalTitle": "Scan error", "udapp.solScan.errModalTitle": "Scan error",

@ -305,8 +305,9 @@ export function UniversalDappUI(props: UdappProps) {
id: 'SolidityScanPermissionHandler', id: 'SolidityScanPermissionHandler',
title: <FormattedMessage id="udapp.solScan.modalTitle" />, title: <FormattedMessage id="udapp.solScan.modalTitle" />,
message: <div className='d-flex flex-column'> message: <div className='d-flex flex-column'>
<FormattedMessage id="udapp.solScan.modalMessage" /> <span><FormattedMessage id="udapp.solScan.modalMessage" />
<a href={'https://solidityscan.com'} target="_blank" >Learn more</a> <a href={'https://solidityscan.com'} target="_blank" >Learn more</a></span><br/>
<FormattedMessage id="udapp.solScan.likeToContinue" />
</div>, </div>,
okLabel: <FormattedMessage id="udapp.solScan.modalOkLabel" />, okLabel: <FormattedMessage id="udapp.solScan.modalOkLabel" />,
okFn: handleScanContinue, okFn: handleScanContinue,

Loading…
Cancel
Save