Skip to content

feat: add qr code to register nano contract #533

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Aug 26, 2024
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 34 additions & 28 deletions locale/da/texts.po
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ msgstr "Indtast dine seed-ord adskilt med mellemrum"
#: src/components/NanoContract/NanoContractDetails.js:238
#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionRequest.js:289
#: src/screens/LoadHistoryScreen.js:51 src/screens/LoadWalletErrorScreen.js:20
#: src/screens/NanoContract/NanoContractRegisterScreen.js:161
#: src/screens/NanoContract/NanoContractRegisterScreen.js:168
msgid "Try again"
msgstr ""

Expand Down Expand Up @@ -490,6 +490,22 @@ msgstr "Tilgængelig saldo"
msgid "Locked"
msgstr "Låst"

#. translator: Used when the QR Code Scanner is opened, and user will manually
#. enter the information.
#: src/screens/NanoContractRegisterQrCodeScreen.js:26
#: src/screens/RegisterToken.js:27 src/screens/SendScanQRCode.js:87
msgid "Manual info"
msgstr "Manuel information"

#: src/screens/NanoContract/NanoContractRegisterScreen.js:251
#: src/screens/NanoContractRegisterQrCodeScreen.js:48
msgid "Nano Contract Registration"
msgstr ""

#: src/screens/NanoContractRegisterQrCodeScreen.js:63
msgid "Scan the nano contract ID QR code"
msgstr ""

#: src/screens/PaymentRequestDetail.js:88
#, javascript-format
msgid "You've just received **${ amount } ${ symbol }**"
Expand Down Expand Up @@ -574,12 +590,6 @@ msgstr "Betalingsanmodning"
msgid "RECEIVE"
msgstr "MODTAG"

#. translator: Used when the QR Code Scanner is opened, and user will manually
#. enter the information.
#: src/screens/RegisterToken.js:27 src/screens/SendScanQRCode.js:87
msgid "Manual info"
msgstr "Manuel information"

#: src/screens/RegisterToken.js:42 src/screens/RegisterTokenManual.js:126
msgid "REGISTER TOKEN"
msgstr "REGISTRER TOKEN"
Expand Down Expand Up @@ -951,22 +961,22 @@ msgstr ""
msgid "Nano Contract ID is required."
msgstr ""

#: src/screens/NanoContract/NanoContractRegisterScreen.js:151
#: src/screens/NanoContract/NanoContractRegisterScreen.js:158
msgid "See contract"
msgstr ""

#: src/screens/NanoContract/NanoContractRegisterScreen.js:169
#: src/screens/NanoContract/NanoContractRegisterScreen.js:176
msgid "Load First Addresses Error"
msgstr ""

#: src/components/NanoContract/NanoContractDetails.js:202
#: src/components/NanoContract/SelectAddressModal.js:105
#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionRequest.js:209
#: src/screens/NanoContract/NanoContractRegisterScreen.js:177
#: src/screens/NanoContract/NanoContractRegisterScreen.js:184
msgid "Loading"
msgstr ""

#: src/screens/NanoContract/NanoContractRegisterScreen.js:178
#: src/screens/NanoContract/NanoContractRegisterScreen.js:185
msgid "Loading first wallet address."
msgstr ""

Expand All @@ -975,30 +985,26 @@ msgstr ""
#: src/components/NanoContract/NanoContractsListItem.js:57
#: src/components/TxDetailsModal.js:106
#: src/components/WalletConnect/NanoContract/NanoContractExecInfo.js:83
#: src/screens/NanoContract/NanoContractRegisterScreen.js:187
#: src/screens/NanoContract/NanoContractRegisterScreen.js:194
msgid "Nano Contract ID"
msgstr ""

#: src/screens/NanoContract/NanoContractRegisterScreen.js:195
#: src/screens/NanoContract/NanoContractRegisterScreen.js:202
msgid "Wallet Address"
msgstr ""

#: src/screens/NanoContract/NanoContractRegisterScreen.js:205
#: src/screens/NanoContract/NanoContractRegisterScreen.js:212
msgid "If you want to change the wallet address, you will be able to do"
msgstr ""

#: src/screens/NanoContract/NanoContractRegisterScreen.js:207
#: src/screens/NanoContract/NanoContractRegisterScreen.js:214
msgid "after the contract is registered."
msgstr ""

#: src/screens/NanoContract/NanoContractRegisterScreen.js:226
#: src/screens/NanoContract/NanoContractRegisterScreen.js:233
msgid "Register Nano Contract"
msgstr ""

#: src/screens/NanoContract/NanoContractRegisterScreen.js:244
msgid "Nano Contract Registration"
msgstr ""

#: src/screens/NanoContract/NanoContractTransactionScreen.js:39
msgid "Nano Contract Transaction"
msgstr ""
Expand Down Expand Up @@ -1043,37 +1049,37 @@ msgstr ""
msgid "Error while trying to download Nano Contract transactions history."
msgstr ""

#: src/sagas/networkSettings.js:86
#: src/sagas/networkSettings.js:85
msgid "Custom Network Settings cannot be empty."
msgstr ""

#: src/sagas/networkSettings.js:93
#: src/sagas/networkSettings.js:92
msgid "explorerUrl should be a valid URL."
msgstr ""

#: src/sagas/networkSettings.js:100
#: src/sagas/networkSettings.js:99
msgid "explorerServiceUrl should be a valid URL."
msgstr ""

#: src/sagas/networkSettings.js:107
#: src/sagas/networkSettings.js:106
msgid "txMiningServiceUrl should be a valid URL."
msgstr ""

#: src/sagas/networkSettings.js:114
#: src/sagas/networkSettings.js:113
msgid "nodeUrl should be a valid URL."
msgstr ""

#: src/sagas/networkSettings.js:121
#: src/sagas/networkSettings.js:120
msgid "walletServiceUrl should be a valid URL."
msgstr ""

#: src/sagas/networkSettings.js:128
#: src/sagas/networkSettings.js:127
msgid "walletServiceWsUrl should be a valid URL."
msgstr ""

#. If we fall into this situation, the app should be killed
#. for the custom new network settings take effect.
#: src/sagas/networkSettings.js:291
#: src/sagas/networkSettings.js:279
msgid "Wallet not found while trying to persist the custom network settings."
msgstr ""

Expand Down
63 changes: 34 additions & 29 deletions locale/pt-br/texts.po
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ msgstr "Digite suas palavras separadas por espaços"
#: src/components/NanoContract/NanoContractDetails.js:238
#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionRequest.js:289
#: src/screens/LoadHistoryScreen.js:51 src/screens/LoadWalletErrorScreen.js:20
#: src/screens/NanoContract/NanoContractRegisterScreen.js:161
#: src/screens/NanoContract/NanoContractRegisterScreen.js:168
msgid "Try again"
msgstr "Tente novamente"

Expand Down Expand Up @@ -503,6 +503,22 @@ msgstr "Saldo Disponível"
msgid "Locked"
msgstr "Bloqueado"

#. translator: Used when the QR Code Scanner is opened, and user will manually
#. enter the information.
#: src/screens/NanoContractRegisterQrCodeScreen.js:26
#: src/screens/RegisterToken.js:27 src/screens/SendScanQRCode.js:87
msgid "Manual info"
msgstr "Digitar"

#: src/screens/NanoContract/NanoContractRegisterScreen.js:251
#: src/screens/NanoContractRegisterQrCodeScreen.js:48
msgid "Nano Contract Registration"
msgstr "Registro do Nano Contract"

#: src/screens/NanoContractRegisterQrCodeScreen.js:63
msgid "Scan the nano contract ID QR code"
msgstr "Leia o QR code Nano Contract ID"
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
msgstr "Leia o QR code Nano Contract ID"
msgstr "Leia o QR code do Nano Contract ID"


#: src/screens/PaymentRequestDetail.js:88
#, javascript-format
msgid "You've just received **${ amount } ${ symbol }**"
Expand Down Expand Up @@ -589,12 +605,6 @@ msgstr "Requisição de Pagamento"
msgid "RECEIVE"
msgstr "RECEBER"

#. translator: Used when the QR Code Scanner is opened, and user will manually
#. enter the information.
#: src/screens/RegisterToken.js:27 src/screens/SendScanQRCode.js:87
msgid "Manual info"
msgstr "Digitar"

#: src/screens/RegisterToken.js:42 src/screens/RegisterTokenManual.js:126
msgid "REGISTER TOKEN"
msgstr "REGISTRAR UM TOKEN"
Expand Down Expand Up @@ -979,22 +989,22 @@ msgstr "Detalhes do Nano Contract"
msgid "Nano Contract ID is required."
msgstr "ID do Nano Contract é obrigatório."

#: src/screens/NanoContract/NanoContractRegisterScreen.js:151
#: src/screens/NanoContract/NanoContractRegisterScreen.js:158
msgid "See contract"
msgstr "Ver contrato"

#: src/screens/NanoContract/NanoContractRegisterScreen.js:169
#: src/screens/NanoContract/NanoContractRegisterScreen.js:176
msgid "Load First Addresses Error"
msgstr "Erro ao carregar primeiro endereço da wallet"

#: src/components/NanoContract/NanoContractDetails.js:202
#: src/components/NanoContract/SelectAddressModal.js:105
#: src/components/WalletConnect/NanoContract/NewNanoContractTransactionRequest.js:209
#: src/screens/NanoContract/NanoContractRegisterScreen.js:177
#: src/screens/NanoContract/NanoContractRegisterScreen.js:184
msgid "Loading"
msgstr "Carregando"

#: src/screens/NanoContract/NanoContractRegisterScreen.js:178
#: src/screens/NanoContract/NanoContractRegisterScreen.js:185
msgid "Loading first wallet address."
msgstr "Carregando primeiro endereço da wallet."

Expand All @@ -1003,30 +1013,26 @@ msgstr "Carregando primeiro endereço da wallet."
#: src/components/NanoContract/NanoContractsListItem.js:57
#: src/components/TxDetailsModal.js:106
#: src/components/WalletConnect/NanoContract/NanoContractExecInfo.js:83
#: src/screens/NanoContract/NanoContractRegisterScreen.js:187
#: src/screens/NanoContract/NanoContractRegisterScreen.js:194
msgid "Nano Contract ID"
msgstr "ID do Nano Contract"

#: src/screens/NanoContract/NanoContractRegisterScreen.js:195
#: src/screens/NanoContract/NanoContractRegisterScreen.js:202
msgid "Wallet Address"
msgstr "Endereço da Carteira"

#: src/screens/NanoContract/NanoContractRegisterScreen.js:205
#: src/screens/NanoContract/NanoContractRegisterScreen.js:212
msgid "If you want to change the wallet address, you will be able to do"
msgstr "Se deseja alterar o endereço de assinatura, você pode alterar"

#: src/screens/NanoContract/NanoContractRegisterScreen.js:207
#: src/screens/NanoContract/NanoContractRegisterScreen.js:214
msgid "after the contract is registered."
msgstr "depois do contrato ser registrado."

#: src/screens/NanoContract/NanoContractRegisterScreen.js:226
#: src/screens/NanoContract/NanoContractRegisterScreen.js:233
msgid "Register Nano Contract"
msgstr "Registrar Nano Contract"

#: src/screens/NanoContract/NanoContractRegisterScreen.js:244
msgid "Nano Contract Registration"
msgstr "Registro do Nano Contract"

#: src/screens/NanoContract/NanoContractTransactionScreen.js:39
msgid "Nano Contract Transaction"
msgstr "Transação do Nano Contract"
Expand Down Expand Up @@ -1071,37 +1077,37 @@ msgstr "Nano Contract não registrado."
msgid "Error while trying to download Nano Contract transactions history."
msgstr "Error ao fazer download do histórico de transações do Nano Contract."

#: src/sagas/networkSettings.js:86
#: src/sagas/networkSettings.js:85
msgid "Custom Network Settings cannot be empty."
msgstr "As Configurações de Rede não podem estar vazias."

#: src/sagas/networkSettings.js:93
#: src/sagas/networkSettings.js:92
msgid "explorerUrl should be a valid URL."
msgstr "explorerUrl deve ser uma URL válida."

#: src/sagas/networkSettings.js:100
#: src/sagas/networkSettings.js:99
msgid "explorerServiceUrl should be a valid URL."
msgstr "explorerServiceUrl deve ser uma URL válida."

#: src/sagas/networkSettings.js:107
#: src/sagas/networkSettings.js:106
msgid "txMiningServiceUrl should be a valid URL."
msgstr "txMiningServiceUrl deve ser uma URL válida."

#: src/sagas/networkSettings.js:114
#: src/sagas/networkSettings.js:113
msgid "nodeUrl should be a valid URL."
msgstr "nodeUrl deve ser uma URL válida."

#: src/sagas/networkSettings.js:121
#: src/sagas/networkSettings.js:120
msgid "walletServiceUrl should be a valid URL."
msgstr "walletServiceUrl deve ser uma URL válida."

#: src/sagas/networkSettings.js:128
#: src/sagas/networkSettings.js:127
msgid "walletServiceWsUrl should be a valid URL."
msgstr "walletServiceWsUrl deve ser uma URL válida."

#. If we fall into this situation, the app should be killed
#. for the custom new network settings take effect.
#: src/sagas/networkSettings.js:291
#: src/sagas/networkSettings.js:279
msgid "Wallet not found while trying to persist the custom network settings."
msgstr ""
"Wallet não encontrada ao persistir a configuração personalizada da rede."
Expand Down Expand Up @@ -1596,7 +1602,6 @@ msgid "Deposit ${ tokenSymbol }"
msgstr "Depósito ${ tokenSymbol }"

#: src/components/NanoContract/NanoContractTransactionActionListItem.js:109
#, javascript-format
msgid "Withdrawal ${ tokenSymbol }"
msgstr "Saque ${ tokenSymbol }"

Expand Down
Loading
Loading