add more keys

pull/5591/head
Joseph Izang 4 weeks ago
parent cea87553b1
commit ce1f512183
  1. 8
      apps/contract-verification/src/app/components/NavMenu.tsx
  2. 7
      apps/contract-verification/src/app/views/VerifyView.tsx
  3. 14
      apps/remix-ide/src/app/tabs/locales/en/contractverification.json
  4. 11
      apps/remix-ide/src/app/tabs/locales/es/contractverification.json
  5. 8
      apps/remix-ide/src/app/tabs/locales/fr/contractverification.json
  6. 8
      apps/remix-ide/src/app/tabs/locales/it/contractverification.json
  7. 8
      apps/remix-ide/src/app/tabs/locales/ko/contractverification.json
  8. 8
      apps/remix-ide/src/app/tabs/locales/ru/contractverification.json
  9. 8
      apps/remix-ide/src/app/tabs/locales/zh/contractverification.json

@ -27,10 +27,10 @@ const NavItem: React.FC<NavItemProps> = ({ to, icon, title }) => {
export const NavMenu = () => {
return (
<nav className="d-flex medium flex-row w-100" style={{ backgroundColor: 'var(--body-bg)!important' }}>
<NavItem to="/" icon={<i className="fas fa-home"></i>} title={ <FormattedMessage id="contractverification.verifyNavTitle" /> } />
<NavItem to="/receipts" icon={<i className="fas fa-receipt"></i>} title={ <FormattedMessage id="contractverification.receiptsNavTitle" /> } />
<NavItem to="/lookup" icon={<i className="fas fa-search"></i>} title={ <FormattedMessage id="contractverification.lookupNavTitle" /> } />
<NavItem to="/settings" icon={<i className="fas fa-cog"></i>} title={ <FormattedMessage id="contractverification.settingsNavTitle" /> } />
<NavItem to="/" icon={<i className="fas fa-home"></i>} title={ <FormattedMessage id="contract-verification.verifyNavTitle" /> } />
<NavItem to="/receipts" icon={<i className="fas fa-receipt"></i>} title={ <FormattedMessage id="contract-verification.receiptsNavTitle" /> } />
<NavItem to="/lookup" icon={<i className="fas fa-search"></i>} title={ <FormattedMessage id="contract-verification.lookupNavTitle" /> } />
<NavItem to="/settings" icon={<i className="fas fa-cog"></i>} title={ <FormattedMessage id="contract-verification.settingsNavTitle" /> } />
</nav>
)
}

@ -11,6 +11,7 @@ import { CustomTooltip } from '@remix-ui/helper'
import { AbstractVerifier, getVerifier } from '../Verifiers'
import { VerifyFormContext } from '../VerifyFormContext'
import { useSourcifySupported } from '../hooks/useSourcifySupported'
import { FormattedMessage } from 'react-intl'
export const VerifyView = () => {
const { compilationOutput, setSubmittedContracts, settings, clientInstance } = useContext(AppContext)
@ -179,7 +180,7 @@ export const VerifyView = () => {
<form onSubmit={handleVerify}>
<SearchableChainDropdown label="Chain" id="network-dropdown" selectedChain={selectedChain} setSelectedChain={setSelectedChain} />
<ContractAddressInput
label="Contract Address"
label={<FormattedMessage id="contract-verification.contractAddressInput" />}
id="contract-address"
contractAddress={contractAddress}
setContractAddress={setContractAddress}
@ -200,11 +201,11 @@ export const VerifyView = () => {
<div className="d-flex py-1 align-items-center custom-control custom-checkbox">
<input id="has-proxy" className="form-check-input custom-control-input" type="checkbox" checked={!!hasProxy} onChange={(e) => setHasProxy(e.target.checked)} />
<label htmlFor="has-proxy" className="m-0 form-check-label custom-control-label" style={{ paddingTop: '2px' }}>
The deployed contract is behind a proxy
<FormattedMessage id="contract-verification.proxyInputLabel" />
</label>
</div>
{hasProxy && <ContractAddressInput
label="Proxy Address"
label={<FormattedMessage id="contract-verification.proxyContractAddressInput" />}
id="proxy-address"
contractAddress={proxyAddress}
setContractAddress={setProxyAddress}

@ -1,7 +1,11 @@
{
"contractverification.verifyNavTitle": "Verify",
"contractverification.receiptsNavTitle": "Receipts",
"contractverification.lookupNavTitle": "Lookup",
"contractverification.settingsNavTitle": "Settings",
"contractverification.contractAddressInput": "Contract Address"
"contract-verification.verifyNavTitle": "Verify",
"contract-verification.receiptsNavTitle": "Receipts",
"contract-verification.lookupNavTitle": "Lookup",
"contract-verification.settingsNavTitle": "Settings",
"contract-verification.contractAddressInput": "Contract Address",
"contract-verification.proxyContractAddressInput": "Proxy Address",
"contract-verification.proxyInputLabel": "The deployed contract is behind a proxy"
}

@ -1,6 +1,9 @@
{
"contractverification.verifyNavTitle": "Verificar",
"contractverification.receiptsNavTitle": "Receipts",
"contractverification.lookupNavTitle": "Lookups",
"contractverification.settingsNavTitle": "Settings"
"contract-verification.verifyNavTitle": "Verify",
"contract-verification.receiptsNavTitle": "Receipts",
"contract-verification.lookupNavTitle": "Lookup",
"contract-verification.settingsNavTitle": "Settings",
"contract-verification.contractAddressInput": "Contract Address",
"contract-verification.proxyContractAddressInput": "Proxy Address",
"contract-verification.proxyInputLabel": "El contrato implementado está detrás de un proxy."
}

@ -1,6 +1,6 @@
{
"contractverification.verifyNavTitle": "Verifiers",
"contractverification.receiptsNavTitle": "Receipts",
"contractverification.lookupNavTitle": "Lookups",
"contractverification.settingsNavTitle": "Settings"
"contract-verification.verifyNavTitle": "Verifiers",
"contract-verification.receiptsNavTitle": "Receipts",
"contract-verification.lookupNavTitle": "Lookups",
"contract-verification.settingsNavTitle": "Settings"
}

@ -1,6 +1,6 @@
{
"contractverification.verifyNavTitle": "Verifiers",
"contractverification.receiptsNavTitle": "Receipts",
"contractverification.lookupNavTitle": "Lookups",
"contractverification.settingsNavTitle": "Settings"
"contract-verification.verifyNavTitle": "Verifiers",
"contract-verification.receiptsNavTitle": "Receipts",
"contract-verification.lookupNavTitle": "Lookups",
"contract-verification.settingsNavTitle": "Settings"
}

@ -1,6 +1,6 @@
{
"contractverification.verifyNavTitle": "Verifiers",
"contractverification.receiptsNavTitle": "Receipts",
"contractverification.lookupNavTitle": "Lookups",
"contractverification.settingsNavTitle": "Settings"
"contract-verification.verifyNavTitle": "Verifiers",
"contract-verification.receiptsNavTitle": "Receipts",
"contract-verification.lookupNavTitle": "Lookups",
"contract-verification.settingsNavTitle": "Settings"
}

@ -1,6 +1,6 @@
{
"contractverification.verifyNavTitle": "Verifiers",
"contractverification.receiptsNavTitle": "Receipts",
"contractverification.lookupNavTitle": "Lookups",
"contractverification.settingsNavTitle": "Settings"
"contract-verification.verifyNavTitle": "Verifiers",
"contract-verification.receiptsNavTitle": "Receipts",
"contract-verification.lookupNavTitle": "Lookups",
"contract-verification.settingsNavTitle": "Settings"
}

@ -1,6 +1,6 @@
{
"contractverification.verifyNavTitle": "Verifiers",
"contractverification.receiptsNavTitle": "Receipts",
"contractverification.lookupNavTitle": "Lookups",
"contractverification.settingsNavTitle": "Settings"
"contract-verification.verifyNavTitle": "Verifiers",
"contract-verification.receiptsNavTitle": "Receipts",
"contract-verification.lookupNavTitle": "Lookups",
"contract-verification.settingsNavTitle": "Settings"
}

Loading…
Cancel
Save