mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-30 16:18:07 +01:00
f519fa1ed3
* add PermissionsController remove provider approval controller integrate rpc-cap create PermissionsController move provider approval functionality to permissions controller add permissions approval ui, settings page add permissions activity and history move some functionality to metamask-inpage-provider rename siteMetadata -> domainMetadata add accountsChange notification to inpage provider move functionality to inpage provider update inpage provider Remove 'Connections' settings page (#7369) add hooks for exposing accounts in settings rename unused messages in non-English locales Add external extension id to metadata (#7396) update inpage provider, rpc-cap add eth_requestAccounts handling to background prevent notifying connections if extension is locked update inpage provider Fix lint errors add migration review fixes transaction controller review updates removed unused messages * Login Per Site UI (#7368) * LoginPerSite original UI changes to keep * First commit * Get necessary connected tab info for redirect and icon display for permissioned sites * Fix up designs and add missing features * Some lint fixes * More lint fixes * Ensures the tx controller + tx-state-manager orders transactions in the order they are received * Code cleanup for LoginPerSite-ui * Update e2e tests to use new connection flow * Fix display of connect screen and app header after login when connect request present * Update metamask-responsive-ui.spec for new item in accounts dropdown * Fix approve container by replacing approvedOrigins with domainMetaData * Adds test/e2e/permissions.spec.js * Correctly handle cancellation of a permissions request * Redirect to home after disconnecting all sites / cancelling all permissions * Fix display of site icons in menu * Fix height of permissions page container * Remove unused locale messages * Set default values for openExternalTabs and tabIdOrigins in account-menu.container * More code cleanup for LoginPerSite-ui * Use extensions api to close tab in permissions-connect * Remove unnecessary change in domIsReady() in contentscript * Remove unnecessary private function markers and class methods (for background tab info) in metamask-controller. * Adds getOriginOfCurrentTab selector * Adds IconWithFallback component and substitutes for appropriate cases * Add and utilize font mixins * Remove unused method in disconnect-all.container.js * Simplify buttonSizeLarge code in page-container-footer.component.js * Add and utilize getAccountsWithLabels selector * Remove console.log in ui/app/store/actions.js * Change last connected time format to yyyy-M-d * Fix css associated with IconWithFallback change * Ensure tracked openNonMetamaskTabsIDs are correctly set to inactive on tab changes * Code cleanup for LoginPerSite-ui * Use reusable function for modifying openNonMetamaskTabsIDs in background.js * Enables automatic switching to connected account when connected domain is open * Prevent exploit of tabIdOriginMap in background.js * Remove unneeded code from contentscript.js * Simplify current tab origin and window opener logic using remotePort listener tabs.queryTabs * Design and styling fixes for LoginPerSite-ui * Fix permissionHistory and permission logging for eth_requestAccounts and eth_accounts * Front end changes to support display of lastConnected time in connected and permissions screens * Fix lint errors * Refactor structure of permissionsHistory * Fix default values and object modifications for domain and permissionsHistory related data * Fix connecting to new accounts from modal * Replace retweet.svg with connect-white.svg * Fix signature-request.spec * Update metamask-inpage-provider version * Fix permissions e2e tests * Remove unneeded delay from test/e2e/signature-request.spec.js * Add delay before attempting to retrieve network id in dapp in ethereum-on=.spec * Use requestAccountTabIds strategy for determining tab id that opened a given window * Improve default values for permissions requests * Add some message descriptions to app/_locales/en/messages.json * Code clean up in permission controller * Stopped deep cloning object in mapObjectValues * Bump metamask-inpage-provider version * Add missing description in app/_locales/en/messages.json * Return promises from queryTabs and switchToTab of extension.js * Remove unused getAllPermissions function * Use default props in icon-with-fallback.component.js * Stop passing to permissions controller * Delete no longer used clear-approved-origins modal code * Remove duplicate imports in ui/app/components/app/index.scss * Use URL instead of regex in getOriginFromUrl() * Add runtime error checking to platform, promise based extension.tab methods * Support permission requests from external extensions * Improve font size and colour of the domain origin on the permission confirmation screen * Add support for toggling permissions * Ensure getRenderablePermissionsDomains only returns domains with exposedAccount caveat permissions * Remove unused code from LoginPerSite-ui branch * Ensure modal closes on Enter press for new-account-modal.component.js * Lint fix * fixup! Login Per Site UI (#7368) * Some code cleanup for LoginPerSite * Adds UX for connecting to dapps via the connected sites screen (#7593) * Adds UX for connecting to dapps via the connected sites screen * Use openMetaMaskTabIds from background.js to determine if current active tab is MetaMask * Delete unused permissions controller methods * Fixes two small bugs in the LoginPerSite ui (#7595) * Restore `providerRequest` message translations (#7600) This message was removed, but it was replaced with a very similar message called `likeToConnect`. The only difference is that the new message has "MetaMask" in it. Preserving these messages without "MetaMask" is probably better than deleting them, so these messages have all been restored and renamed to `likeToConnect`. * Login per site no sitemetadata fix (#7610) * Support connected sites for which we have no site metadata. * Change property containing subtitle info often populated by origin to a more accurate of purpose name * Lint fix * Improve disconnection modal messages (#7612) * Improve disconnectAccountModalDescription and disconnectAllModalDescription messages * Update disconnectAccountModalDescription app/_locales/en/messages.json Co-Authored-By: Mark Stacey <markjstacey@gmail.com> * Improve disconnectAccount modal message clarity * Adds cancel button to the account selection screen of the permissions request flow (#7613) * Fix eth_accounts permission language & selectability (#7614) * fix eth_accounts language & selectability * fix MetaMask capitalization in all messages * Close sidebar when opening connected sites (#7611) The 'Connected Sites' button in the accounts details now closes the sidebar, if it is open. This was accomplished by pulling the click handler for that button up to the wallet view component, where another button already followed a similar pattern of closing the sidebar. It seemed confusing to me that one handler was in the `AccountsDetails` container component, and one was handed down from above, so I added PropTypes to the container component. I'm not sure that the WalletView component is the best place for this logic, but I've put it there for now to be consistent with the add token button. * Reject permissions request upon tab close (#7618) Permissions requests are now rejected when the page is closed. This only applies to the full-screen view, as that is the view permission requests should be handled in. The case where the user deals with the request through a different view is handled in #7617 * Handle tab update failure (#7619) `extension.tabs.update` can sometimes fail if the user interacts with the tabs directly around the same time. The redirect flow has been updated to ensure that the permissions tab is still closed in that case. The user is on their own to find the dapp tab again in that case. * Login per site tab popup fixes (#7617) * Handle redirect in response to state update in permissions-connect * Ensure origin is available to permissions-connect subcomponents during redirect * Hide app bar whenever on redirect route * Improvements to handling of redirects in permissions-connect * Ensure permission request id change handling only happens when page is not null * Lint fix * Decouple confirm transaction screen from the selected address (#7622) * Avoid race condtion that could prevent contextual account switching (#7623) There was a race condition in the logic responsible for switching the selected account based upon the active tab. It was asynchronously querying the active tab, then assuming it had been retrieved later. The active tab info itself was already in the redux store in another spot, one that is guaranteed to be set before the UI renders. The race condition was avoided by deleting the duplicate state, and using the other active tab state. * Only redirect back to dapp if current tab is active (#7621) The "redirect back to dapp" behaviour can be disruptive when the permissions connect tab is not active. The purpose of the redirect was to maintain context between the dapp and the permissions request, but if the user has already moved to another tab, that no longer applies. * Fix JSX style lint errors * Remove unused state
483 lines
12 KiB
JSON
483 lines
12 KiB
JSON
{
|
|
"reject": {
|
|
"message": "Rejeitar"
|
|
},
|
|
"account": {
|
|
"message": "Conta"
|
|
},
|
|
"accountDetails": {
|
|
"message": "Detalhes da Conta"
|
|
},
|
|
"accountName": {
|
|
"message": "Nome da Conta"
|
|
},
|
|
"addToken": {
|
|
"message": "Adicionar Token"
|
|
},
|
|
"addTokens": {
|
|
"message": "Adicionar Tokens"
|
|
},
|
|
"amount": {
|
|
"message": "Valor"
|
|
},
|
|
"appDescription": {
|
|
"message": "Extensão para o browser de Ethereum",
|
|
"description": "The description of the application"
|
|
},
|
|
"appName": {
|
|
"message": "MetaMask",
|
|
"description": "The name of the application"
|
|
},
|
|
"approve": {
|
|
"message": "Aprovar"
|
|
},
|
|
"attemptingConnect": {
|
|
"message": "A tentar ligar à blockchain."
|
|
},
|
|
"attributions": {
|
|
"message": "Atribuições"
|
|
},
|
|
"back": {
|
|
"message": "Voltar"
|
|
},
|
|
"balance": {
|
|
"message": "Saldo:"
|
|
},
|
|
"balanceIsInsufficientGas": {
|
|
"message": "Saldo insuficiente para a quantidade de gas total"
|
|
},
|
|
"blockiesIdenticon": {
|
|
"message": "Usar Blockies Identicon"
|
|
},
|
|
"builtInCalifornia": {
|
|
"message": "MetaMask é desenhada e construída na California."
|
|
},
|
|
"buyCoinSwitch": {
|
|
"message": "Comprar no CoinSwitch"
|
|
},
|
|
"buyCoinSwitchExplainer": {
|
|
"message": "CoinSwitch é o destino único para trocar mais de 300 moedas criptográficas com a melhor taxa."
|
|
},
|
|
"cancel": {
|
|
"message": "Cancelar"
|
|
},
|
|
"confirm": {
|
|
"message": "Confirmar"
|
|
},
|
|
"confirmPassword": {
|
|
"message": "Confirmar Palavra-passe"
|
|
},
|
|
"continueToCoinSwitch": {
|
|
"message": "Continuar para o CoinSwitch"
|
|
},
|
|
"contractDeployment": {
|
|
"message": "Distribuição do Contrato"
|
|
},
|
|
"conversionProgress": {
|
|
"message": "Conversão em progresso"
|
|
},
|
|
"copiedButton": {
|
|
"message": "Copiado"
|
|
},
|
|
"copiedExclamation": {
|
|
"message": "Copiado!"
|
|
},
|
|
"copyToClipboard": {
|
|
"message": "Copiar para o clipboard"
|
|
},
|
|
"copyButton": {
|
|
"message": " Copiar "
|
|
},
|
|
"copyPrivateKey": {
|
|
"message": "Esta é a sua chave privada (carregue para copiar)"
|
|
},
|
|
"create": {
|
|
"message": "Criar"
|
|
},
|
|
"createAccount": {
|
|
"message": "Criar Conta"
|
|
},
|
|
"customGas": {
|
|
"message": "Customizar Gas"
|
|
},
|
|
"customRPC": {
|
|
"message": "Customizar RPC"
|
|
},
|
|
"decimalsMustZerotoTen": {
|
|
"message": "Decimais devem ser no mínimo 0 e não passar de 36."
|
|
},
|
|
"decimal": {
|
|
"message": "Precisão em Decimais"
|
|
},
|
|
"defaultNetwork": {
|
|
"message": "A rede pré definida para transações em Ether é a Main Net."
|
|
},
|
|
"deposit": {
|
|
"message": "Depósito"
|
|
},
|
|
"depositEther": {
|
|
"message": "Depositar Ether"
|
|
},
|
|
"details": {
|
|
"message": "Detalhes"
|
|
},
|
|
"directDepositEther": {
|
|
"message": "Depositar Diretamente Ether"
|
|
},
|
|
"directDepositEtherExplainer": {
|
|
"message": "Se já tem Ether, a forma mais rápida de ficar com Ether na sua carteira é através de depósito direto."
|
|
},
|
|
"done": {
|
|
"message": "Finalizado"
|
|
},
|
|
"downloadStateLogs": {
|
|
"message": "Descarregar Registos de Estado"
|
|
},
|
|
"edit": {
|
|
"message": "Editar"
|
|
},
|
|
"emailUs": {
|
|
"message": "Fale connosco!"
|
|
},
|
|
"enterPassword": {
|
|
"message": "Introduza palavra-passe"
|
|
},
|
|
"etherscanView": {
|
|
"message": "Ver conta no Etherscan"
|
|
},
|
|
"exportPrivateKey": {
|
|
"message": "Exportar Chave Privada"
|
|
},
|
|
"failed": {
|
|
"message": "Falhou"
|
|
},
|
|
"fiat": {
|
|
"message": "FIAT",
|
|
"description": "Exchange type"
|
|
},
|
|
"fileImportFail": {
|
|
"message": "A importação de ficheiro não está a funcionar? Carregue aqui!",
|
|
"description": "Helps user import their account from a JSON file"
|
|
},
|
|
"from": {
|
|
"message": "De"
|
|
},
|
|
"fromShapeShift": {
|
|
"message": "De ShapeShift"
|
|
},
|
|
"gasLimit": {
|
|
"message": "Limite de Gas"
|
|
},
|
|
"gasLimitCalculation": {
|
|
"message": "Calculamos o limite sugerido do gas com base nas taxas de sucesso da rede."
|
|
},
|
|
"gasLimitTooLow": {
|
|
"message": "Limite de Gas deve ser no mínimo 21000"
|
|
},
|
|
"gasPrice": {
|
|
"message": "Preço Gas (GWEI)"
|
|
},
|
|
"gasPriceCalculation": {
|
|
"message": "Calculamos o gas sugerido com base nas taxas de sucesso da rede."
|
|
},
|
|
"getEther": {
|
|
"message": "Obter Ether"
|
|
},
|
|
"getEtherFromFaucet": {
|
|
"message": "Obter Ether de um faucet por $1",
|
|
"description": "Displays network name for Ether faucet"
|
|
},
|
|
"here": {
|
|
"message": "aqui",
|
|
"description": "as in -click here- for more information (goes with troubleTokenBalances)"
|
|
},
|
|
"hide": {
|
|
"message": "Ocultar"
|
|
},
|
|
"hideToken": {
|
|
"message": "Ocultar Token"
|
|
},
|
|
"hideTokenPrompt": {
|
|
"message": "Ocultar Token?"
|
|
},
|
|
"import": {
|
|
"message": "Importar",
|
|
"description": "Button to import an account from a selected file"
|
|
},
|
|
"importAccount": {
|
|
"message": "Importar Conta"
|
|
},
|
|
"importAccountMsg": {
|
|
"message": "Contas importadas não irão ser associadas com a frase seed da conta criada originalmente pelo MetaMask. Saiba mais sobre contas importadas."
|
|
},
|
|
"imported": {
|
|
"message": "Importado",
|
|
"description": "status showing that an account has been fully loaded into the keyring"
|
|
},
|
|
"infoHelp": {
|
|
"message": "Informação & Ajuda"
|
|
},
|
|
"insufficientFunds": {
|
|
"message": "Fundos insuficientes."
|
|
},
|
|
"insufficientTokens": {
|
|
"message": "Tokens insuficientes."
|
|
},
|
|
"invalidAddress": {
|
|
"message": "Endereço inválido"
|
|
},
|
|
"invalidAddressRecipient": {
|
|
"message": "O endereço do destinatário é inválido "
|
|
},
|
|
"invalidInput": {
|
|
"message": "Campo inválido."
|
|
},
|
|
"invalidRPC": {
|
|
"message": "RPC URI Inválido"
|
|
},
|
|
"invalidBlockExplorerURL": {
|
|
"message": "Block Explorer URI Inválido"
|
|
},
|
|
"jsonFile": {
|
|
"message": "Ficheiro JSON",
|
|
"description": "format for importing an account"
|
|
},
|
|
"kovan": {
|
|
"message": "Rede de Teste Kovan"
|
|
},
|
|
"likeToAddTokens": {
|
|
"message": "Gostaria de adicionar estes tokens?"
|
|
},
|
|
"loading": {
|
|
"message": "A carregar..."
|
|
},
|
|
"loadingTokens": {
|
|
"message": "A carregar Tokens..."
|
|
},
|
|
"login": {
|
|
"message": "Entrar"
|
|
},
|
|
"logout": {
|
|
"message": "Sair"
|
|
},
|
|
"mainnet": {
|
|
"message": "Rede Principal de Ethereum"
|
|
},
|
|
"message": {
|
|
"message": "Mensagem"
|
|
},
|
|
"metamaskDescription": {
|
|
"message": "O MetaMask é um lugar seguro para guardar a sua identidade em em Ethereum."
|
|
},
|
|
"myAccounts": {
|
|
"message": "As minhas contas"
|
|
},
|
|
"mustSelectOne": {
|
|
"message": "Deve escolher no mínimo 1 token."
|
|
},
|
|
"needEtherInWallet": {
|
|
"message": "Para interagir com applicações descentralizadas usando MetaMask tem de ter Ether na sua carteira."
|
|
},
|
|
"needImportFile": {
|
|
"message": "Deve selecionar um ficheiro para importar.",
|
|
"description": "User is important an account and needs to add a file to continue"
|
|
},
|
|
"negativeETH": {
|
|
"message": "Não é possível enviar valores negativos de ETH."
|
|
},
|
|
"networks": {
|
|
"message": "Redes"
|
|
},
|
|
"newAccount": {
|
|
"message": "Conta Nova"
|
|
},
|
|
"newAccountNumberName": {
|
|
"message": "Conta $1",
|
|
"description": "Default name of next account to be created on create account screen"
|
|
},
|
|
"newContract": {
|
|
"message": "Contrato Novo"
|
|
},
|
|
"newPassword": {
|
|
"message": "Nova Palavra-passe (min 8 caracteres)"
|
|
},
|
|
"next": {
|
|
"message": "Próximo"
|
|
},
|
|
"noAddressForName": {
|
|
"message": "Nenhum endereço foi estabelecido para este nome."
|
|
},
|
|
"noDeposits": {
|
|
"message": "Sem depósitos recebidos"
|
|
},
|
|
"noTransactions": {
|
|
"message": "Sem Transações"
|
|
},
|
|
"pastePrivateKey": {
|
|
"message": "Cole aqui a sua chave privada:",
|
|
"description": "For importing an account from a private key"
|
|
},
|
|
"personalAddressDetected": {
|
|
"message": "Endereço pessoal detectado. Introduza o endereço do contrato do token."
|
|
},
|
|
"privacyMsg": {
|
|
"message": "Política de Privacidade"
|
|
},
|
|
"privateKey": {
|
|
"message": "Chave Privada",
|
|
"description": "select this type of file to use to import an account"
|
|
},
|
|
"privateKeyWarning": {
|
|
"message": "Atenção: Nunca revele esta chave. Qualquer pessoa com acesso à sua chave privada pode roubar os bens que esta contém."
|
|
},
|
|
"privateNetwork": {
|
|
"message": "Rede Privada"
|
|
},
|
|
"qrCode": {
|
|
"message": "Mostrar Código QR"
|
|
},
|
|
"readdToken": {
|
|
"message": "Pode adicionar este token de novo clicando na opção “Adicionar token” no menu de opções da sua conta."
|
|
},
|
|
"recipientAddress": {
|
|
"message": "Endereço do Destinatário"
|
|
},
|
|
"rejected": {
|
|
"message": "Rejeitado"
|
|
},
|
|
"resetAccount": {
|
|
"message": "Reinicializar Conta"
|
|
},
|
|
"restoreFromSeed": {
|
|
"message": "Restaurar a partir da frase seed"
|
|
},
|
|
"required": {
|
|
"message": "Necessário"
|
|
},
|
|
"revealSeedWords": {
|
|
"message": "Revelar Palavras Seed"
|
|
},
|
|
"revealSeedWordsWarning": {
|
|
"message": "Não revele as palavras seed num espaço público! Estas palavras podem ser usadas para roubar todas as suas contas."
|
|
},
|
|
"revert": {
|
|
"message": "Reverter"
|
|
},
|
|
"rinkeby": {
|
|
"message": "Rede de Teste Rinkeby"
|
|
},
|
|
"ropsten": {
|
|
"message": "Rede de Teste Ropsten"
|
|
},
|
|
"save": {
|
|
"message": "Guardar"
|
|
},
|
|
"search": {
|
|
"message": "Procurar"
|
|
},
|
|
"secretPhrase": {
|
|
"message": "Introduza a sua frase secreta de 12 palavras para recuperar o seu ."
|
|
},
|
|
"seedPhraseReq": {
|
|
"message": "seed phrases are 12 words long"
|
|
},
|
|
"selectCurrency": {
|
|
"message": "Selecionar Moeda"
|
|
},
|
|
"selectType": {
|
|
"message": "Selecionar Tipo"
|
|
},
|
|
"send": {
|
|
"message": "Enviar"
|
|
},
|
|
"sendETH": {
|
|
"message": "Enviar ETH"
|
|
},
|
|
"sendTokens": {
|
|
"message": "Enviar Tokens"
|
|
},
|
|
"settings": {
|
|
"message": "Definições"
|
|
},
|
|
"showPrivateKeys": {
|
|
"message": "Mostrar Chaves Privadas"
|
|
},
|
|
"sign": {
|
|
"message": "Assinar"
|
|
},
|
|
"signatureRequest": {
|
|
"message": "Pedido de Assinatura"
|
|
},
|
|
"signNotice": {
|
|
"message": "Assinar esta mensagem pode ter \nefeitos laterais perigosos. Apenas assine mensagens de sites que \ntotalmente confia com a sua conta total.\n Este método perigoso será removido numa versão posterior."
|
|
},
|
|
"sigRequest": {
|
|
"message": "Pedido de Assinatura"
|
|
},
|
|
"stateLogs": {
|
|
"message": "Registos de Estado"
|
|
},
|
|
"stateLogsDescription": {
|
|
"message": "Registo de estado podem conter o seu endereço e transações enviadas da sua conta pública."
|
|
},
|
|
"supportCenter": {
|
|
"message": "Visitar o nosso Centro de Suporte"
|
|
},
|
|
"symbolBetweenZeroTwelve": {
|
|
"message": "Símbolo deve conter entre 0 e 12 characters."
|
|
},
|
|
"terms": {
|
|
"message": "Termos de Uso"
|
|
},
|
|
"testFaucet": {
|
|
"message": "Faucet de Teste"
|
|
},
|
|
"to": {
|
|
"message": "Para"
|
|
},
|
|
"toETHviaShapeShift": {
|
|
"message": "$1 para ETH via ShapeShift",
|
|
"description": "system will fill in deposit type in start of message"
|
|
},
|
|
"tokenAlreadyAdded": {
|
|
"message": "Token já foi adicionado."
|
|
},
|
|
"tokenSymbol": {
|
|
"message": "Símbolo do Token"
|
|
},
|
|
"troubleTokenBalances": {
|
|
"message": "Tivemos um problema a carregar o balanço dos seus tokens. Pode vê-los em ",
|
|
"description": "Followed by a link (here) to view token balances"
|
|
},
|
|
"typePassword": {
|
|
"message": "Digite a sua Palavra-passe"
|
|
},
|
|
"unknown": {
|
|
"message": "Desconhecido"
|
|
},
|
|
"unknownNetwork": {
|
|
"message": "Rede Privada Desconhecida"
|
|
},
|
|
"urlErrorMsg": {
|
|
"message": "Links requerem o prefixo HTTP/HTTPS apropriado."
|
|
},
|
|
"usedByClients": {
|
|
"message": "Utilizado por vários tipos de clientes"
|
|
},
|
|
"viewAccount": {
|
|
"message": "Ver Conta"
|
|
},
|
|
"visitWebSite": {
|
|
"message": "Visite o nosso site"
|
|
},
|
|
"welcome": {
|
|
"message": "Bem-vindo ao MetaMask"
|
|
},
|
|
"yourSigRequested": {
|
|
"message": "A sua assinatura está a ser pedida"
|
|
},
|
|
"youSign": {
|
|
"message": "Está a assinar"
|
|
}
|
|
}
|