1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00
metamask-extension/app/_locales/pt_PT/messages.json
Mark Stacey 48bf2f8731
Remove unused locale messages (#7190)
* Switch to using string literals for locale keys

Various message keys were being specified with a string template
instead of a string literal. They have been switched to use string
literals so that the script for detecting unused messages can find
them.

* Remove unused locale messages

A number of unused locale messages have been removed - probably
leftover from old UI elements that have since been removed.

The `verify_locale_strings` script has been augmented to search the UI
for string literals, and match those against the locale message keys in
the `en` locale. Any messages without a corresponding string literal
are assumed to be unused.

The script has also been updated with an optional `--fix` parameter,
which will automatically delete any unused messages from locales.

148 unused messages were found in this case, out of a total of about
650 messages. Another 70 messages are _potentially_ unused and require
further investigation, but weren't as easy to rule out because they
were found in string literals.

* Remove additional unused locale messages

The following messages were more difficult to rule out because they
were present as string literals in the UI. They do appear to be
unused as locale keys though.
2019-09-18 20:29:46 -03:00

184 lines
3.1 KiB
JSON

{
"appName": {
"message": "MetaMask",
"description": "The name of the application"
},
"reject": {
"message": "Rejeitar"
},
"about": {
"message": "Acerca de"
},
"account": {
"message": "Conta"
},
"advanced": {
"message": "Avançadas"
},
"amount": {
"message": "Quantia"
},
"back": {
"message": "Anterior"
},
"basic": {
"message": "Básico"
},
"off": {
"message": "Desativado"
},
"ok": {
"message": "OK"
},
"on": {
"message": "Ativado"
},
"cancel": {
"message": "Cancelar"
},
"close": {
"message": "Fechar"
},
"confirm": {
"message": "Confirmar"
},
"connect": {
"message": "Ligar"
},
"copiedExclamation": {
"message": "Copiado!"
},
"copy": {
"message": "Copiar"
},
"copyToClipboard": {
"message": "Copiar para a área de transferência"
},
"create": {
"message": "Criar"
},
"delete": {
"message": "Eliminar"
},
"deposit": {
"message": "Depósito"
},
"details": {
"message": "Detalhes"
},
"dismiss": {
"message": "Ignorar"
},
"done": {
"message": "Concluído"
},
"edit": {
"message": "Editar"
},
"endOfFlowMessage9": {
"message": "Obtenha mais informações."
},
"fast": {
"message": "Rápido"
},
"forgetDevice": {
"message": "Esquecer este dispositivo"
},
"getStarted": {
"message": "Começar"
},
"here": {
"message": "aqui",
"description": "as in -click here- for more information (goes with troubleTokenBalances)"
},
"hide": {
"message": "Ocultar"
},
"history": {
"message": "Histórico"
},
"import": {
"message": "Importar",
"description": "Button to import an account from a selected file"
},
"imported": {
"message": "Importado",
"description": "status showing that an account has been fully loaded into the keyring"
},
"learnMore": {
"message": "Aprenda mais"
},
"loading": {
"message": "A carregar..."
},
"next": {
"message": "Seguinte"
},
"origin": {
"message": "Origem"
},
"password": {
"message": "Palavra-passe"
},
"privacyMsg": {
"message": "Política de Privacidade"
},
"qrCode": {
"message": "Mostre o código QR"
},
"queue": {
"message": "Fila"
},
"reset": {
"message": "Repor"
},
"restore": {
"message": "Restaurar"
},
"remove": {
"message": "Remover"
},
"removeAccount": {
"message": "Remover conta"
},
"save": {
"message": "Guardar"
},
"slow": {
"message": "Lento"
},
"search": {
"message": "Pesquisar"
},
"send": {
"message": "Enviar"
},
"settings": {
"message": "Definições"
},
"submit": {
"message": "Submeter"
},
"tips": {
"message": "Doações"
},
"tryAgain": {
"message": "Tentar novamente"
},
"unknown": {
"message": "Desconhecido"
},
"unlock": {
"message": "Desbloquear"
},
"userName": {
"message": "Nome de utilizador"
},
"viewAccount": {
"message": "Ver Conta"
},
"welcomeBack": {
"message": "Bem-vindo de volta!"
}
}