Skip to content

Commit

Permalink
Merge branch 'portuguese-translation' into 'development'
Browse files Browse the repository at this point in the history
Add portuguese language

See merge request pi-network/live/apps/blockexplorer/blockexplorer!78
  • Loading branch information
dev-king21 committed Dec 2, 2021
2 parents a229983 + a57bcfa commit ad35de7
Show file tree
Hide file tree
Showing 3 changed files with 205 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ import zh from 'react-intl/locale-data/zh'
import ha from 'react-intl/locale-data/ha'
import it from 'react-intl/locale-data/it'
import ne from 'react-intl/locale-data/ne'
import pt from 'react-intl/locale-data/pt'




Expand All @@ -37,7 +39,7 @@ import zhHantMessages from './languages/zh-Hant.json'
import haMessages from './languages/hau.json'
import itMessages from './languages/it'
import neMessages from './languages/ne'

import ptMessages from './languages/pt'


import Header from './components/layout/Header'
Expand Down Expand Up @@ -78,8 +80,9 @@ addLocaleData([
...ha,
...it,
...ne,
...pt,
])
const locales = ['en', 'fr', 'hi', 'id', 'ja', 'ru', 'ur', 'vi', 'zh-Hans', 'zh-Hant', 'ha', 'it', 'ne']
const locales = ['en', 'fr', 'hi', 'id', 'ja', 'ru', 'ur', 'vi', 'zh-Hans', 'zh-Hant', 'ha', 'it', 'ne', 'pt']
let initialLanguage =
storage.getItem('language') || navigator.language || 'en'
if(!locales.includes(initialLanguage) ){
Expand Down Expand Up @@ -118,6 +121,8 @@ const getMessages = locale => {
return itMessages
case 'ne':
return neMessages
case 'pt':
return ptMessages
default:
return enMessages
}
Expand Down
3 changes: 3 additions & 0 deletions src/components/layout/LanguageSelector.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,9 @@ const LanguageSelector = ({
<MenuItem lang="ne" onClick={switcher}>
नेपाली
</MenuItem>
<MenuItem lang="pt" onClick={switcher}>
Português
</MenuItem>
<MenuItem
onClick={onClickTranslateHelp}
style={{borderTop: '1px solid black'}}
Expand Down
195 changes: 195 additions & 0 deletions src/languages/pt.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,195 @@
{
"account": "Conta",
"accounts": "Contas",
"account.id": "ID da conta",
"account.network.label": "Rede",
"amount": "Quantia",
"anchor": "Âncora",
"anchors": "Âncoras",
"asset": "Ativo",
"assets": "Ativos",
"assetCode": "Código ativo",

"balance": "Saldo",
"balances": "Saldos",
"base.fee": "Taxa base",
"base.reserve": "Base reserva",
"bought": "Comprado",
"buy": "Comprar",
"buyer": "Comprador",
"code": "Código",
"contact.address.label": "Endereço",

"csv-export": "Exportar dados como CSV",
"csv-export.complete": "Buscando de {count} entradas completas",
"csv-export.no-records": "Não havia registros para serem buscados. ",
"csv-export.fetching": "Buscando…",
"csv-export.fetched": "Você atingiu o limite de exportação de {count} entradas. Existem mais registros para buscar, mas para evitar problemas de memória do navegador, não oferecemos mais suporte para exportação.",

"currency": "Moeda",

"data": "Dados",
"details": "Detalhes",
"distributers": "Distribuidores",

"effect": "Efeito",
"effects": "Efeitos",

"error.cant.find": "Não foi possível encontrar \"{searchStr} \"",
"error.nothing.found": "Não existe nada em \"{path}\"",
"error.network": "Network Ocorreu um erro de rede. Verifique sua conexão ou verifique se há mensagens no console do navegador. " ,
"error.unknown": "Desculpas, algo deu errado ...",
"error.occurred": "Ocorreu um erro: ",
"error.insecure-network": "O endereço do horizonte é inseguro!",
"error.insecure-network.uri": "O endereço do horizonte \"{uri}\" é inseguro!",
"error.insecure-network.reason": "Você provavelmente tentou definir um endereço de horizonte com o prefixo \"http\"em vez de \"https\" . Estelar permite \"http\" apenas para redes de teste.",

"exchanges": "Trocas",

"fed.protocol": "Protocolo de Federação",
"fed.url": "URL da federação",
"fee": "Taxa",
"fee.pool": "Pool de taxas",
"filter-active.for": "Filtro ativo para",
"filter.for-operation-type": "Filtro para o tipo de operação",
"filter.more-data-possibly-available": "Pode haver mais registros, mas o rastreamento foi interrompido após um determinado limite porque não há como saber se há mais correspondências. Vá para a próxima página para continuar o rastreamento.",
"flags": "Bandeiras",

"hash": "Hash",
"home": "Casa",
"home.domain": "Domínio Doméstico",

"inflation": "Destino da inflação",
"invalid.account": "conta inválida",
"issued": "Emitido",
"issuer": "Emissor",
"language.selector": "Seletor de idioma",
"latest.ledgers": "Últimos blocos",
"latest.operations": "Últimas Operações",
"latest.payments": "Últimos pagamentos",
"latest.txs": "Últimas transações",
"ledger": "Bloco",
"ledgers": "Blocos",
"limit": "Limite",
"logo": "Logo",

"key": "Chave",
"key.public": "Chave Pública",

"max.transactions": "Transações máximas",
"memo": "Memorando",
"memotype": "Modelo memorado",
"memotype.id": "ID",
"memotype.none": "Nenhum",
"memotype.return": "Retorno",
"memotype.text": "Texto",
"modal.trustline.anchor.label": "Âncora",
"modal.trustline.anchor.placeholder": "Domínio âncora ou endereço",
"modal.trustline.asset.label": "Ativo",
"modal.trustline.asset.placeholder": "Código ativo",
"more": "Mais",

"name": "Nome",
"network": "Rede",
"network.current": "Rede atual",
"network.set-custom": "Definir rede personalizada",
"network.address": "Endereço de rede",
"network.choose": "Escolha da lista:",
"network.or-custom": "…ou insira um endereço personalizado:",
"network.change-here": "Defina uma rede diferente",
"network.public": "No momento, você está usando esta instância pública do Horizon:",
"network.test": "No momento, você está usando esta instância Testnet Horizon:",
"network.local": "No momento, você está usando esta instância local do Horizon:",
"offer": "Oferta",
"offers": "Ofertas",

"operation": "Operação",
"operations": "Operações",
"ops": "Ops",

"operation.account.create": "Conta criada {account} com saldo {balance}",
"operation.account.merge": "Conta mesclada com {account}",
"operation.bump": "Sequência batida para {sequence}",
"operation.inflation": "Corrida da inflação",
"operation.manage.data.remove": "Remover chave {name}",
"operation.manage.data.set": "Definir chave {name}",
"operation.manage.data.set.to": "Para {value}",
"operation.offer.remove": "Remover oferta: {sellingAsset} para {buyingAsset} @ {price}",
"operation.offer.sell": "Oferta de venda: {amount} {sellingAsset} para {buyingAsset} @ {price}",
"operation.offer.update": "Atualizar oferta: {amount} {sellingAsset} para {buyingAsset} @ {price}",
"operation.options.set": "Definir opções: [{options}]",
"operation.options.set.clear.flags_s": "Apagar bandeira: {value}",
"operation.options.set.set.flags_s": "Definir bandeira: {value}",
"operation.options.set.home.domain": "Domínio doméstico: {value}",
"operation.options.set.inflation.dest": "Destino da inflação: {value}",
"operation.options.set.master.key_weight": "Peso da chave mestra: {value}",
"operation.options.set.signer.key": "Chave do Signatário: {value}",
"operation.options.set.signer.weight": "Peso do Signatário: {value}",
"operation.options.set.high.threshold": "Limiar Alto {value}",
"operation.options.set.low.threshold": "Limiar baixo: {value}",
"operation.options.set.med.threshold": "Limiar médio: {value}",
"operation.payment": "Pagar {amount} {asset} para {recipient}",
"operation.payment.path": " [Fonte: {amount} {asset}]",
"operation.trust": "Confiar {trustee} emissão {assetCode}",
"operation.trust.allow": " [Autorizar: {authorize}, fiador: {trustor}]",
"operation.trust.change": "com limite {limit}",
"operation.unrecognized": "Operação {type}",
"optional": "Opcional",
"order.amount": "Quantia",
"order.value": "Valor do pedido",

"paging.prev": "Pagina anterior",
"paging.next": "Próxima pagina",
"payment": "Pagamento",
"payments": "Pagamentos",
"prevHash": "Hash anterior",
"price": "Preço",
"protocolVersion": "Versão do protocolo",
"received": "Recebido",
"recipient": "Recebedor",
"remove": "Remover",

"save": "Salvar",
"search.placeHolder": "Pesquisa por conta / Transação / ...",
"sell": "Vender",
"seller": "Vendedor",
"sell.offers": "Vender ofertas",
"sequence": "Sequência",
"settings.federation": "Nome federado",
"settings.federation.label": "Nome",
"settings.federation.placeholder": "Nome federado",
"settings.inflation": "Destino da inflação",
"settings.language": "Linguagem",
"settings.signers": "Signatários",
"settings.trustlines": "Linhas de confiança",
"signers": "Signatários",
"signing": "Assinando",
"sold": "Vendido",
"source.account": "Fonte",
"stellar.address": "Endereço estelar",
"stellar": "Estelar",
"subentry.count": "Contagem de subentrada",

"thresholds": "Limiares",
"threshold.low": "Baixo",
"threshold.medium": "Médio",
"threshold.high": "Alto",
"time": "Tempo",
"title": "Explorador Estelar",
"total.coins": "Total de moedas",
"trade": "Comércio",
"trades": "Comércios",
"translate.help": "Ajude a Traduzir",
"transaction": "Transação",
"transactions": "Transações",
"transactions.failed": "Falha na Transação",
"transaction.details": "Detalhes da transação",
"trust": "Confiar",
"trust.limit": "Limite de confiança",
"type": "modelo",

"value": "Valor",
"version": "Versão",
"view.all": "Ver Tudo",
"weight": "Peso"
}

24 comments on commit ad35de7

@recolappe
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love

@Eliyasa
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice

@Abbamustaphasunusi
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I love this project pi coin

@asaocugdc
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tôi thích dự án pi coin này

@zjs271
Copy link

@zjs271 zjs271 commented on ad35de7 May 7, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Thienan007
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like pi

@Theindra87
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To mr.Nicolas@ help me please, my id @Theindra87 my name is rahmat indra hartono. My contact is +6285795668313

@gholamsodani01
Copy link

@gholamsodani01 gholamsodani01 commented on ad35de7 Oct 8, 2022 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@zjs271
Copy link

@zjs271 zjs271 commented on ad35de7 Oct 30, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@Suludvs1276
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kyc not completed

@Anil3781
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I want to complete my KYC

@Bourakkadi
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Je veux compléter mon kyc j'attends toujours l'invitation avec impatience

@Dshonj
Copy link

@Dshonj Dshonj commented on ad35de7 Nov 8, 2022 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@zjs271
Copy link

@zjs271 zjs271 commented on ad35de7 Feb 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@Anil3781
Copy link

@Anil3781 Anil3781 commented on ad35de7 Feb 11, 2023 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@zjs271
Copy link

@zjs271 zjs271 commented on ad35de7 Feb 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@Anil3781
Copy link

@Anil3781 Anil3781 commented on ad35de7 Feb 17, 2023 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fakhroshumailasabri786

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My KYC not open this mail not open what is help now guys

@ahmedaswad
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I want to re-apply for KYC

@zjs271
Copy link

@zjs271 zjs271 commented on ad35de7 Mar 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@Unoarumhi
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't gotten kyc

@Anil3781
Copy link

@Anil3781 Anil3781 commented on ad35de7 Mar 13, 2023 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Wajid1210
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have done my kyc ..and also become a validater
Still my pi did,nt transferrer into my wallet ...still show 0 onto my available balance ...kindly tranferred my into walllet account showed into my available balnce
Username id :WajidMalik222

@Daddi007
Copy link

@Daddi007 Daddi007 commented on ad35de7 Jun 10, 2024 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.