diff --git a/locale/da/texts.po b/locale/da/texts.po index 8cfdc6331..f1f5acd59 100644 --- a/locale/da/texts.po +++ b/locale/da/texts.po @@ -57,7 +57,7 @@ msgid "[Last] dddd [•] HH:mm" msgstr "[Sidste] dddd [•] HH:mm" #. See https://momentjs.com/docs/#/displaying/calendar-time/ -#: src/models.js:107 src/utils.js:752 +#: src/models.js:107 src/utils.js:834 msgid "DD MMM YYYY [•] HH:mm" msgstr "DD MMM YYYY [•] HH:mm" @@ -65,17 +65,17 @@ msgstr "DD MMM YYYY [•] HH:mm" msgid "Invalid address" msgstr "Ugyldig adresse" -#: src/utils.js:737 +#: src/utils.js:819 msgid "CREATE DEPOSIT TOKEN" msgstr "" -#: src/utils.js:739 +#: src/utils.js:821 msgid "CREATE FEE TOKEN" msgstr "" #: src/screens/CreateTokenAmount.js:36 src/screens/CreateTokenConfirm.js:87 #: src/screens/CreateTokenDepositNotice.js:42 -#: src/screens/CreateTokenTypeNotice.js:94 src/utils.js:741 +#: src/screens/CreateTokenTypeNotice.js:94 src/utils.js:823 msgid "CREATE TOKEN" msgstr "OPRET TOKEN" @@ -83,7 +83,7 @@ msgstr "OPRET TOKEN" #. * @example #. * You have received 10 T2, 5 T1 and 2 other token on a new transaction. #. -#: src/workers/pushNotificationHandler.js:92 +#: src/workers/pushNotificationHandler.js:97 #, javascript-format msgid "" "You have received ${ firstToken }, ${ secondToken } and ${ otherCount } " @@ -98,7 +98,7 @@ msgstr[1] "" #. * @example #. * You have received 10 T2 and 5 T1 on a new transaction. #. -#: src/workers/pushNotificationHandler.js:105 +#: src/workers/pushNotificationHandler.js:110 #, javascript-format msgid "" "You have received ${ _firstToken } and ${ _secondToken } on a new " @@ -109,27 +109,27 @@ msgstr "" #. * @example #. * You have received 10 T2 on a new transaction. #. -#: src/workers/pushNotificationHandler.js:113 +#: src/workers/pushNotificationHandler.js:118 msgid "You have received ${ _firstToken2 } on a new transaction." msgstr "" -#: src/workers/pushNotificationHandler.js:116 +#: src/workers/pushNotificationHandler.js:121 msgid "There is a new transaction in your wallet." msgstr "" -#: src/workers/pushNotificationHandler.js:118 +#: src/workers/pushNotificationHandler.js:123 msgid "New transaction received" msgstr "" -#: src/utils/tokenSwap.js:447 +#: src/utils/tokenSwap.js:459 msgid "Insufficient HTR balance to cover the network fee." msgstr "" -#: src/utils/tokenSwap.js:450 +#: src/utils/tokenSwap.js:462 msgid "Insufficient balance to execute the swap." msgstr "" -#: src/utils/tokenSwap.js:453 +#: src/utils/tokenSwap.js:465 msgid "Could not build the swap transaction. Please try again." msgstr "" @@ -157,112 +157,112 @@ msgstr "" #: src/screens/About.js:107 msgid "" -"For further information, check out the |link1:Terms of Service| and |" -"link2:Privacy Policy|, or our website |link3:https://hathor.network/|." +"For further information, check out the |link1:Terms of Service| and |link2:" +"Privacy Policy|, or our website |link3:https://hathor.network/|." msgstr "" -#: src/screens/AddressMode.js:122 +#: src/screens/AddressMode.js:123 msgid "Error" msgstr "" -#: src/screens/AddressMode.js:123 +#: src/screens/AddressMode.js:124 msgid "Failed to change address mode. Please try again." msgstr "" -#: src/screens/AddressMode.js:184 src/screens/AddressMode.js:197 +#: src/screens/AddressMode.js:137 src/screens/AddressMode.js:150 msgid "ADDRESS MODE" msgstr "" -#: src/screens/AddressMode.js:203 +#: src/screens/AddressMode.js:156 msgid "You can set your wallet to " msgstr "" -#: src/screens/AddressMode.js:205 +#: src/screens/AddressMode.js:158 msgid "single or multi address mode" msgstr "" -#: src/screens/AddressMode.js:210 +#: src/screens/AddressMode.js:163 msgid "You can switch anytime in the settings." msgstr "" -#: src/screens/AddressMode.js:217 +#: src/screens/AddressMode.js:173 msgid "Single Address" msgstr "" -#: src/screens/AddressMode.js:218 +#: src/screens/AddressMode.js:174 msgid "Your wallet will use only one address (index 0)." msgstr "" -#: src/screens/AddressMode.js:219 +#: src/screens/AddressMode.js:175 msgid "Easier to manage and compatible with all dApps." msgstr "" -#: src/screens/AddressMode.js:224 +#: src/screens/AddressMode.js:180 msgid "Multi Address" msgstr "" -#: src/screens/AddressMode.js:225 +#: src/screens/AddressMode.js:181 msgid "Your wallet will let you generate multiple addresses." msgstr "" -#: src/screens/AddressMode.js:226 +#: src/screens/AddressMode.js:182 msgid "Useful for advanced users." msgstr "" -#: src/screens/AddressMode.js:237 +#: src/screens/AddressMode.js:192 msgid "" "You can't switch to single address mode because other addresses in your " "wallet are already in use." msgstr "" -#: src/screens/AddressMode.js:261 src/screens/AmountFormat.js:145 -msgid "SAVE PREFERENCES" +#: src/screens/AddressMode.js:202 src/screens/AmountFormat.js:99 +msgid "Save preferences" msgstr "" -#: src/screens/AddressMode.js:281 +#: src/screens/AddressMode.js:223 msgid "" "Changing\n" "address mode..." msgstr "" -#: src/screens/AmountFormat.js:83 -msgid "Default" -msgstr "" - -#: src/screens/AmountFormat.js:96 +#: src/screens/AmountFormat.js:59 msgid "AMOUNT FORMAT" msgstr "" -#: src/screens/AmountFormat.js:102 +#: src/screens/AmountFormat.js:65 msgid "" "Choose how amounts are displayed across your wallet. You can change your " "default anytime." msgstr "" -#: src/screens/AmountFormat.js:108 +#: src/screens/AmountFormat.js:75 msgid "Expanded" msgstr "" -#: src/screens/AmountFormat.js:109 +#: src/screens/AmountFormat.js:76 msgid "" "Standard notation. Leading zeros are written out in full (ex: 0.0000005195)." msgstr "" -#: src/screens/AmountFormat.js:115 +#: src/screens/AmountFormat.js:77 +msgid "Default" +msgstr "" + +#: src/screens/AmountFormat.js:81 msgid "Compressed" msgstr "" -#: src/screens/AmountFormat.js:116 +#: src/screens/AmountFormat.js:82 msgid "" "Compresses leading zeros into a subscript count for shorter, easier-to-read " "small values (ex: 0.0₆5195)." msgstr "" -#: src/screens/AmountFormat.js:121 +#: src/screens/AmountFormat.js:88 msgid "PREVIEW" msgstr "" -#: src/screens/AmountFormat.js:123 +#: src/screens/AmountFormat.js:90 msgid "Full amount" msgstr "" @@ -343,24 +343,24 @@ msgstr "PIN-koder stemmer ikke overens. Prøv igen." msgid "Start the Wallet" msgstr "Start Wallet" -#: src/screens/ConfirmImportScreen.js:91 src/screens/ImportTokensScreen.js:199 +#: src/screens/ConfirmImportScreen.js:92 src/screens/ImportTokensScreen.js:200 msgid "IMPORT TOKENS" msgstr "" -#: src/screens/ConfirmImportScreen.js:105 +#: src/screens/ConfirmImportScreen.js:106 msgid "Confirm Import" msgstr "" -#: src/screens/ConfirmImportScreen.js:107 +#: src/screens/ConfirmImportScreen.js:108 msgid "You are about to add these tokens to your wallet:" msgstr "" #: src/components/TokenImportBanner.js:77 -#: src/screens/ConfirmImportScreen.js:120 src/screens/Settings.js:129 +#: src/screens/ConfirmImportScreen.js:121 src/screens/Settings.js:131 msgid "Import tokens" msgstr "" -#: src/screens/ConfirmImportScreen.js:129 +#: src/screens/ConfirmImportScreen.js:130 #: src/screens/Reown/RegisterTokenAfterSuccess.js:80 #: src/screens/Reown/SuccessFeedbackScreen.js:39 msgid "Back" @@ -470,9 +470,9 @@ msgid "" "When creating new tokens, a |fn:deposit of ${ depositPercentage }%| in HTR " "is required - e.g. if you create 1000 NewCoins, 10 HTR are needed as deposit." msgstr "" -"Når du opretter nye tokens, kræves der et |fn: depositum på $" -"{ depositPercentage }%| i HTR - f.eks. hvis du opretter 1000 NewCoins, er 10 " -"HTR nødvendige som depositum." +"Når du opretter nye tokens, kræves der et |fn: depositum på " +"${ depositPercentage }%| i HTR - f.eks. hvis du opretter 1000 NewCoins, er " +"10 HTR nødvendige som depositum." #: src/screens/CreateTokenDepositNotice.js:55 msgid "" @@ -586,50 +586,50 @@ msgid "FEE TOKEN" msgstr "" #. Only show the toggle button when Nano Contract is enabled to the wallet -#: src/screens/Dashboard.js:140 src/screens/Dashboard.js:202 +#: src/screens/Dashboard.js:142 src/screens/Dashboard.js:207 msgid "Tokens" msgstr "Tokens" #. Only show the toggle button when Nano Contract is enabled to the wallet #: src/components/NanoContract/NanoContractsList.js:75 -#: src/screens/Dashboard.js:141 +#: src/screens/Dashboard.js:143 msgid "Nano Contracts" msgstr "" -#: src/screens/ImportTokensScreen.js:134 +#: src/screens/ImportTokensScreen.js:135 msgid "No tokens available to import" msgstr "" -#: src/screens/ImportTokensScreen.js:137 +#: src/screens/ImportTokensScreen.js:138 msgid "We didn't find any unregistered tokens linked to your wallet." msgstr "" -#: src/screens/ImportTokensScreen.js:140 +#: src/screens/ImportTokensScreen.js:141 msgid "You can register a new one manually." msgstr "" -#: src/screens/ImportTokensScreen.js:144 src/screens/Settings.js:121 +#: src/screens/ImportTokensScreen.js:145 src/screens/Settings.js:123 msgid "Register a token" msgstr "Registrer en token" -#: src/screens/ImportTokensScreen.js:166 +#: src/screens/ImportTokensScreen.js:167 msgid "Select the tokens you want to add to your wallet." msgstr "" -#: src/screens/ImportTokensScreen.js:173 +#: src/screens/ImportTokensScreen.js:174 msgid "Check before import tokens" msgstr "" -#: src/screens/ImportTokensScreen.js:176 +#: src/screens/ImportTokensScreen.js:177 msgid "" "Adding tokens is your responsibility. Make sure you recognize the source." msgstr "" -#: src/screens/ImportTokensScreen.js:182 +#: src/screens/ImportTokensScreen.js:183 msgid "Tokens found" msgstr "" -#: src/screens/ImportTokensScreen.js:208 +#: src/screens/ImportTokensScreen.js:209 msgid "Continue" msgstr "" @@ -639,8 +639,8 @@ msgstr "Velkommen til Hathor Wallet!" #: src/screens/InitWallet.js:73 msgid "" -"For further information, check out our website |link:https://" -"hathor.network/|." +"For further information, check out our website |link:https://hathor." +"network/|." msgstr "" "For yderligere information, se vores websted |link:https://hathor.network/|." @@ -745,7 +745,7 @@ msgid "There's been an error connecting to the server." msgstr "" #: src/screens/LoadWalletErrorScreen.js:28 src/screens/PinScreen.js:318 -#: src/screens/Settings.js:181 +#: src/screens/Settings.js:186 msgid "Reset wallet" msgstr "Nulstil wallet" @@ -753,31 +753,31 @@ msgstr "Nulstil wallet" msgid "Connect to mainnet" msgstr "" -#: src/screens/MainScreen.js:138 +#: src/screens/MainScreen.js:142 msgid "No transactions" msgstr "Ingen transaktioner" -#: src/screens/MainScreen.js:141 +#: src/screens/MainScreen.js:145 msgid "|share:Share your address| with friends and start exchanging tokens" msgstr "|share:Del din adresse| med venner og begynd at udveksle tokens" -#: src/screens/MainScreen.js:158 +#: src/screens/MainScreen.js:162 msgid "Loading transactions" msgstr "Indlæser dine transaktioner" -#: src/screens/MainScreen.js:167 +#: src/screens/MainScreen.js:171 msgid "There was an error loading your transaction history" msgstr "" -#: src/screens/MainScreen.js:170 +#: src/screens/MainScreen.js:174 msgid "Please |tryAgain:try again|" msgstr "" -#: src/screens/MainScreen.js:564 src/screens/MainScreen.js:597 +#: src/screens/MainScreen.js:582 src/screens/MainScreen.js:616 msgid "Available Balance" msgstr "Tilgængelig saldo" -#: src/screens/MainScreen.js:573 +#: src/screens/MainScreen.js:591 msgid "Locked" msgstr "Låst" @@ -820,7 +820,7 @@ msgstr "Annuller" msgid "Biometry failed or canceled." msgstr "Biometri mislykkedes eller blev annulleret." -#: src/screens/PushNotification.js:58 src/screens/Settings.js:147 +#: src/screens/PushNotification.js:58 src/screens/Settings.js:149 msgid "Push Notification" msgstr "" @@ -1123,51 +1123,51 @@ msgstr "Ugyldig QR-kode" msgid "Scan the QR code" msgstr "Scan QR-koden" -#: src/screens/Settings.js:108 +#: src/screens/Settings.js:110 msgid "You are connected to" msgstr "Du er tilsluttet til" -#: src/screens/Settings.js:117 +#: src/screens/Settings.js:119 msgid "General Settings" msgstr "" -#: src/screens/Settings.js:136 +#: src/screens/Settings.js:138 msgid "Create a new token" msgstr "Opret en ny token" -#: src/screens/Settings.js:141 +#: src/screens/Settings.js:143 msgid "Security" msgstr "" -#: src/screens/Settings.js:154 +#: src/screens/Settings.js:156 msgid "Reown" msgstr "" -#: src/screens/Settings.js:161 +#: src/screens/Settings.js:163 msgid "Advanced Settings" msgstr "" -#: src/screens/Settings.js:165 +#: src/screens/Settings.js:167 msgid "Network Settings" msgstr "" -#: src/screens/Settings.js:172 +#: src/screens/Settings.js:174 msgid "Address Mode" msgstr "" -#: src/screens/Settings.js:177 +#: src/screens/Settings.js:181 msgid "Amount format" msgstr "" -#: src/screens/Settings.js:189 +#: src/screens/Settings.js:194 msgid "About" msgstr "Om" -#: src/screens/Settings.js:197 +#: src/screens/Settings.js:202 msgid "Unique app identifier" msgstr "" -#: src/screens/Settings.js:210 +#: src/screens/Settings.js:215 msgid "Connected to" msgstr "Forbundet til" @@ -1560,7 +1560,7 @@ msgstr "" #: src/components/NanoContract/NanoContractTransactionHeader.js:85 #: src/components/NanoContract/NanoContractsListItem.js:57 #: src/components/Reown/NanoContract/NanoContractExecInfo.js:82 -#: src/components/TxDetailsModal.js:129 +#: src/components/TxDetailsModal.js:135 #: src/screens/NanoContract/NanoContractRegisterScreen.js:202 msgid "Nano Contract ID" msgstr "" @@ -1665,21 +1665,21 @@ msgstr "Transaktion" msgid "Open" msgstr "Åben" -#: src/sagas/wallet.js:917 +#: src/sagas/wallet.js:916 msgid "Wallet is not ready to load addresses." msgstr "" #. This will show the message in the feedback content at SelectAddressModal -#: src/sagas/wallet.js:931 +#: src/sagas/wallet.js:930 msgid "There was an error while loading wallet addresses. Try again." msgstr "" -#: src/sagas/wallet.js:941 +#: src/sagas/wallet.js:940 msgid "Wallet is not ready to load the first address." msgstr "" #. This will show the message in the feedback content -#: src/sagas/wallet.js:957 +#: src/sagas/wallet.js:956 msgid "There was an error while loading first wallet address. Try again." msgstr "" @@ -1807,15 +1807,15 @@ msgstr "Ingen internetforbindelse" msgid "Public Explorer" msgstr "Public Explorer" -#: src/components/PushTxDetailsModal.js:77 src/components/TxDetailsModal.js:114 +#: src/components/PushTxDetailsModal.js:82 src/components/TxDetailsModal.js:120 msgid "Date & Time" msgstr "Dato & Tid" -#: src/components/PushTxDetailsModal.js:78 +#: src/components/PushTxDetailsModal.js:83 msgid "ID" msgstr "ID" -#: src/components/PushTxDetailsModal.js:102 +#: src/components/PushTxDetailsModal.js:107 msgid "New Transaction" msgstr "" @@ -1916,45 +1916,45 @@ msgstr "" msgid "Fee Based" msgstr "" -#: src/components/TxDetailsModal.js:112 +#: src/components/TxDetailsModal.js:118 msgid "Token" msgstr "Token" -#: src/components/TxDetailsModal.js:113 +#: src/components/TxDetailsModal.js:119 msgid "Description" msgstr "Beskrivelse" -#: src/components/TxDetailsModal.js:115 +#: src/components/TxDetailsModal.js:121 msgid "Fee Model" msgstr "" #: src/components/NanoContract/NanoContractTransactionHeader.js:44 #: src/components/Reown/SendTransactionRequest.js:300 -#: src/components/TxDetailsModal.js:116 +#: src/components/TxDetailsModal.js:122 msgid "Transaction ID" msgstr "" -#: src/components/TxDetailsModal.js:119 +#: src/components/TxDetailsModal.js:125 msgid "Nano Contract Status" msgstr "" #: src/components/NanoContract/NanoContractTransactionHeader.js:89 #: src/components/Reown/NanoContract/NanoContractExecInfo.js:115 -#: src/components/TxDetailsModal.js:128 +#: src/components/TxDetailsModal.js:134 msgid "Blueprint Method" msgstr "" -#: src/components/TxDetailsModal.js:130 +#: src/components/TxDetailsModal.js:136 msgid "Nano Contract Caller" msgstr "" #: src/components/NanoContract/NanoContractDetailsHeader.js:100 -#: src/components/TxDetailsModal.js:131 +#: src/components/TxDetailsModal.js:137 msgid "Nano Contract" msgstr "" #: src/components/Reown/CreateTokenRequest.js:103 -#: src/components/TxDetailsModal.js:174 +#: src/components/TxDetailsModal.js:180 msgid "Amount" msgstr "Antal" diff --git a/locale/pt-br/texts.po b/locale/pt-br/texts.po index 6b3c352d3..9da686649 100644 --- a/locale/pt-br/texts.po +++ b/locale/pt-br/texts.po @@ -57,7 +57,7 @@ msgid "[Last] dddd [•] HH:mm" msgstr "[Última] dddd [•] HH:mm" #. See https://momentjs.com/docs/#/displaying/calendar-time/ -#: src/models.js:107 src/utils.js:752 +#: src/models.js:107 src/utils.js:834 msgid "DD MMM YYYY [•] HH:mm" msgstr "DD MMM YYYY [•] HH:mm" @@ -65,17 +65,17 @@ msgstr "DD MMM YYYY [•] HH:mm" msgid "Invalid address" msgstr "Endereço inválido" -#: src/utils.js:737 +#: src/utils.js:819 msgid "CREATE DEPOSIT TOKEN" msgstr "CRIAR TOKEN DE DEPÓSITO" -#: src/utils.js:739 +#: src/utils.js:821 msgid "CREATE FEE TOKEN" msgstr "CRIAR TOKEN DE TAXA" #: src/screens/CreateTokenAmount.js:36 src/screens/CreateTokenConfirm.js:87 #: src/screens/CreateTokenDepositNotice.js:42 -#: src/screens/CreateTokenTypeNotice.js:94 src/utils.js:741 +#: src/screens/CreateTokenTypeNotice.js:94 src/utils.js:823 msgid "CREATE TOKEN" msgstr "CRIAR TOKEN" @@ -83,7 +83,7 @@ msgstr "CRIAR TOKEN" #. * @example #. * You have received 10 T2, 5 T1 and 2 other token on a new transaction. #. -#: src/workers/pushNotificationHandler.js:92 +#: src/workers/pushNotificationHandler.js:97 #, javascript-format msgid "" "You have received ${ firstToken }, ${ secondToken } and ${ otherCount } " @@ -102,7 +102,7 @@ msgstr[1] "" #. * @example #. * You have received 10 T2 and 5 T1 on a new transaction. #. -#: src/workers/pushNotificationHandler.js:105 +#: src/workers/pushNotificationHandler.js:110 #, javascript-format msgid "" "You have received ${ _firstToken } and ${ _secondToken } on a new " @@ -114,27 +114,27 @@ msgstr "" #. * @example #. * You have received 10 T2 on a new transaction. #. -#: src/workers/pushNotificationHandler.js:113 +#: src/workers/pushNotificationHandler.js:118 msgid "You have received ${ _firstToken2 } on a new transaction." msgstr "Você recebeu ${ _firstToken2 } em uma nova transação." -#: src/workers/pushNotificationHandler.js:116 +#: src/workers/pushNotificationHandler.js:121 msgid "There is a new transaction in your wallet." msgstr "Há uma nova transação na sua carteira." -#: src/workers/pushNotificationHandler.js:118 +#: src/workers/pushNotificationHandler.js:123 msgid "New transaction received" msgstr "Nova transação recebida" -#: src/utils/tokenSwap.js:447 +#: src/utils/tokenSwap.js:459 msgid "Insufficient HTR balance to cover the network fee." msgstr "Saldo insuficiente de HTR para cobrir a taxa da rede." -#: src/utils/tokenSwap.js:450 +#: src/utils/tokenSwap.js:462 msgid "Insufficient balance to execute the swap." msgstr "Saldo insuficiente para executar o swap." -#: src/utils/tokenSwap.js:453 +#: src/utils/tokenSwap.js:465 msgid "Could not build the swap transaction. Please try again." msgstr "" "Não foi possível construir a transação de swap. Por favor, tente novamente." @@ -164,61 +164,61 @@ msgstr "" #: src/screens/About.js:107 msgid "" -"For further information, check out the |link1:Terms of Service| and |" -"link2:Privacy Policy|, or our website |link3:https://hathor.network/|." +"For further information, check out the |link1:Terms of Service| and |link2:" +"Privacy Policy|, or our website |link3:https://hathor.network/|." msgstr "" "Para mais informações, veja os |link1:Termos de Serviço| e |link2:Política " "de Privacidade|, ou visite nosso site |link3:https://hathor.network/|." -#: src/screens/AddressMode.js:122 +#: src/screens/AddressMode.js:123 msgid "Error" msgstr "Erro" -#: src/screens/AddressMode.js:123 +#: src/screens/AddressMode.js:124 msgid "Failed to change address mode. Please try again." msgstr "Falha ao alterar o modo de endereço. Por favor, tente novamente." -#: src/screens/AddressMode.js:184 src/screens/AddressMode.js:197 +#: src/screens/AddressMode.js:137 src/screens/AddressMode.js:150 msgid "ADDRESS MODE" msgstr "MODO DE ENDEREÇO" -#: src/screens/AddressMode.js:203 +#: src/screens/AddressMode.js:156 msgid "You can set your wallet to " msgstr "Você pode configurar sua carteira para " -#: src/screens/AddressMode.js:205 +#: src/screens/AddressMode.js:158 msgid "single or multi address mode" msgstr "modo de endereço único ou múltiplos" -#: src/screens/AddressMode.js:210 +#: src/screens/AddressMode.js:163 msgid "You can switch anytime in the settings." msgstr "Você pode trocar a qualquer momento nas configurações." -#: src/screens/AddressMode.js:217 +#: src/screens/AddressMode.js:173 msgid "Single Address" msgstr "Endereço Único" -#: src/screens/AddressMode.js:218 +#: src/screens/AddressMode.js:174 msgid "Your wallet will use only one address (index 0)." msgstr "Sua carteira usará apenas um endereço (índice 0)." -#: src/screens/AddressMode.js:219 +#: src/screens/AddressMode.js:175 msgid "Easier to manage and compatible with all dApps." msgstr "Mais fácil de gerenciar e compatível com todos os dApps." -#: src/screens/AddressMode.js:224 +#: src/screens/AddressMode.js:180 msgid "Multi Address" msgstr "Múltiplos Endereços" -#: src/screens/AddressMode.js:225 +#: src/screens/AddressMode.js:181 msgid "Your wallet will let you generate multiple addresses." msgstr "Sua carteira permitirá gerar múltiplos endereços." -#: src/screens/AddressMode.js:226 +#: src/screens/AddressMode.js:182 msgid "Useful for advanced users." msgstr "Útil para usuários avançados." -#: src/screens/AddressMode.js:237 +#: src/screens/AddressMode.js:192 msgid "" "You can't switch to single address mode because other addresses in your " "wallet are already in use." @@ -226,11 +226,11 @@ msgstr "" "Você não pode mudar para o modo de endereço único porque outros endereços da " "sua carteira já estão em uso." -#: src/screens/AddressMode.js:261 src/screens/AmountFormat.js:145 -msgid "SAVE PREFERENCES" -msgstr "SALVAR PREFERÊNCIAS" +#: src/screens/AddressMode.js:202 src/screens/AmountFormat.js:99 +msgid "Save preferences" +msgstr "Salvar preferências" -#: src/screens/AddressMode.js:281 +#: src/screens/AddressMode.js:223 msgid "" "Changing\n" "address mode..." @@ -238,15 +238,11 @@ msgstr "" "Alterando\n" "modo de endereço..." -#: src/screens/AmountFormat.js:83 -msgid "Default" -msgstr "Padrão" - -#: src/screens/AmountFormat.js:96 +#: src/screens/AmountFormat.js:59 msgid "AMOUNT FORMAT" msgstr "FORMATO DE VALOR" -#: src/screens/AmountFormat.js:102 +#: src/screens/AmountFormat.js:65 msgid "" "Choose how amounts are displayed across your wallet. You can change your " "default anytime." @@ -254,22 +250,26 @@ msgstr "" "Escolha como os valores são exibidos em toda a sua carteira. Você pode " "alterar seu padrão a qualquer momento." -#: src/screens/AmountFormat.js:108 +#: src/screens/AmountFormat.js:75 msgid "Expanded" msgstr "Expandido" -#: src/screens/AmountFormat.js:109 +#: src/screens/AmountFormat.js:76 msgid "" "Standard notation. Leading zeros are written out in full (ex: 0.0000005195)." msgstr "" "Notação padrão. Os zeros à esquerda são escritos por extenso (ex: " "0.0000005195)." -#: src/screens/AmountFormat.js:115 +#: src/screens/AmountFormat.js:77 +msgid "Default" +msgstr "Padrão" + +#: src/screens/AmountFormat.js:81 msgid "Compressed" msgstr "Comprimido" -#: src/screens/AmountFormat.js:116 +#: src/screens/AmountFormat.js:82 msgid "" "Compresses leading zeros into a subscript count for shorter, easier-to-read " "small values (ex: 0.0₆5195)." @@ -277,11 +277,11 @@ msgstr "" "Comprime os zeros à esquerda em uma contagem em subscrito, tornando valores " "pequenos mais curtos e fáceis de ler (ex: 0.0₆5195)." -#: src/screens/AmountFormat.js:121 +#: src/screens/AmountFormat.js:88 msgid "PREVIEW" msgstr "PRÉVIA" -#: src/screens/AmountFormat.js:123 +#: src/screens/AmountFormat.js:90 msgid "Full amount" msgstr "Valor completo" @@ -362,24 +362,24 @@ msgstr "Os PINs estão diferentes. Tente novamente." msgid "Start the Wallet" msgstr "Iniciar a Wallet" -#: src/screens/ConfirmImportScreen.js:91 src/screens/ImportTokensScreen.js:199 +#: src/screens/ConfirmImportScreen.js:92 src/screens/ImportTokensScreen.js:200 msgid "IMPORT TOKENS" msgstr "IMPORTAR TOKENS" -#: src/screens/ConfirmImportScreen.js:105 +#: src/screens/ConfirmImportScreen.js:106 msgid "Confirm Import" msgstr "Confirmar importação" -#: src/screens/ConfirmImportScreen.js:107 +#: src/screens/ConfirmImportScreen.js:108 msgid "You are about to add these tokens to your wallet:" msgstr "Você está prestes a adicionar esses tokens à sua carteira:" #: src/components/TokenImportBanner.js:77 -#: src/screens/ConfirmImportScreen.js:120 src/screens/Settings.js:129 +#: src/screens/ConfirmImportScreen.js:121 src/screens/Settings.js:131 msgid "Import tokens" msgstr "Importar tokens" -#: src/screens/ConfirmImportScreen.js:129 +#: src/screens/ConfirmImportScreen.js:130 #: src/screens/Reown/RegisterTokenAfterSuccess.js:80 #: src/screens/Reown/SuccessFeedbackScreen.js:39 msgid "Back" @@ -600,8 +600,8 @@ msgid "" "Once selected, the token type cannot be changed later. |link:Learn more " "about deposits and fees here|" msgstr "" -"Uma vez selecionado, o tipo de token não pode ser alterado depois. |" -"link:Saiba mais sobre depósitos e taxas aqui|" +"Uma vez selecionado, o tipo de token não pode ser alterado depois. |link:" +"Saiba mais sobre depósitos e taxas aqui|" #: src/screens/CreateTokenTypeNotice.js:133 msgid "DEPOSIT TOKEN" @@ -612,52 +612,52 @@ msgid "FEE TOKEN" msgstr "TOKEN DE TAXA" #. Only show the toggle button when Nano Contract is enabled to the wallet -#: src/screens/Dashboard.js:140 src/screens/Dashboard.js:202 +#: src/screens/Dashboard.js:142 src/screens/Dashboard.js:207 msgid "Tokens" msgstr "Tokens" #. Only show the toggle button when Nano Contract is enabled to the wallet #: src/components/NanoContract/NanoContractsList.js:75 -#: src/screens/Dashboard.js:141 +#: src/screens/Dashboard.js:143 msgid "Nano Contracts" msgstr "Nano Contracts" -#: src/screens/ImportTokensScreen.js:134 +#: src/screens/ImportTokensScreen.js:135 msgid "No tokens available to import" msgstr "Nenhum token disponível para ser importado" -#: src/screens/ImportTokensScreen.js:137 +#: src/screens/ImportTokensScreen.js:138 msgid "We didn't find any unregistered tokens linked to your wallet." msgstr "Não encontramos nenhum token não registrado vinculado à sua carteira." -#: src/screens/ImportTokensScreen.js:140 +#: src/screens/ImportTokensScreen.js:141 msgid "You can register a new one manually." msgstr "Você pode registrar um novo token manualmente." -#: src/screens/ImportTokensScreen.js:144 src/screens/Settings.js:121 +#: src/screens/ImportTokensScreen.js:145 src/screens/Settings.js:123 msgid "Register a token" msgstr "Registrar um token" -#: src/screens/ImportTokensScreen.js:166 +#: src/screens/ImportTokensScreen.js:167 msgid "Select the tokens you want to add to your wallet." msgstr "Selecione os tokens que você quer adicionar à sua carteira." -#: src/screens/ImportTokensScreen.js:173 +#: src/screens/ImportTokensScreen.js:174 msgid "Check before import tokens" msgstr "Atenção antes de importar tokens" -#: src/screens/ImportTokensScreen.js:176 +#: src/screens/ImportTokensScreen.js:177 msgid "" "Adding tokens is your responsibility. Make sure you recognize the source." msgstr "" "Adicionar tokens é sua responsabilidade. Tenha certeza de que reconhece a " "fonte." -#: src/screens/ImportTokensScreen.js:182 +#: src/screens/ImportTokensScreen.js:183 msgid "Tokens found" msgstr "Tokens encontrados" -#: src/screens/ImportTokensScreen.js:208 +#: src/screens/ImportTokensScreen.js:209 msgid "Continue" msgstr "Continuar" @@ -667,8 +667,8 @@ msgstr "Bem vindo à Hathor Wallet!" #: src/screens/InitWallet.js:73 msgid "" -"For further information, check out our website |link:https://" -"hathor.network/|." +"For further information, check out our website |link:https://hathor." +"network/|." msgstr "" "Para mais informações, visite nosso site |link:https://hathor.network/|." @@ -775,7 +775,7 @@ msgid "There's been an error connecting to the server." msgstr "Ocorreu um erro ao conectar com o servidor." #: src/screens/LoadWalletErrorScreen.js:28 src/screens/PinScreen.js:318 -#: src/screens/Settings.js:181 +#: src/screens/Settings.js:186 msgid "Reset wallet" msgstr "Resetar Wallet" @@ -783,33 +783,33 @@ msgstr "Resetar Wallet" msgid "Connect to mainnet" msgstr "Conectar à mainnet" -#: src/screens/MainScreen.js:138 +#: src/screens/MainScreen.js:142 msgid "No transactions" msgstr "Nenhuma transação" -#: src/screens/MainScreen.js:141 +#: src/screens/MainScreen.js:145 msgid "|share:Share your address| with friends and start exchanging tokens" msgstr "" "|share:Compartilhe seu endereço| com seus amigos e comece a trocar seus " "tokens" -#: src/screens/MainScreen.js:158 +#: src/screens/MainScreen.js:162 msgid "Loading transactions" msgstr "Carregando transações" -#: src/screens/MainScreen.js:167 +#: src/screens/MainScreen.js:171 msgid "There was an error loading your transaction history" msgstr "Ocorreu um erro ao carregar seu histórico de transações" -#: src/screens/MainScreen.js:170 +#: src/screens/MainScreen.js:174 msgid "Please |tryAgain:try again|" msgstr "Por favor |tryAgain:tente novamente|" -#: src/screens/MainScreen.js:564 src/screens/MainScreen.js:597 +#: src/screens/MainScreen.js:582 src/screens/MainScreen.js:616 msgid "Available Balance" msgstr "Saldo Disponível" -#: src/screens/MainScreen.js:573 +#: src/screens/MainScreen.js:591 msgid "Locked" msgstr "Bloqueado" @@ -852,7 +852,7 @@ msgstr "Cancelar" msgid "Biometry failed or canceled." msgstr "Biometria falhou ou foi cancelada." -#: src/screens/PushNotification.js:58 src/screens/Settings.js:147 +#: src/screens/PushNotification.js:58 src/screens/Settings.js:149 msgid "Push Notification" msgstr "Notificação" @@ -1158,51 +1158,51 @@ msgstr "QR code inválido" msgid "Scan the QR code" msgstr "Leia o QR code" -#: src/screens/Settings.js:108 +#: src/screens/Settings.js:110 msgid "You are connected to" msgstr "Você está conectado à" -#: src/screens/Settings.js:117 +#: src/screens/Settings.js:119 msgid "General Settings" msgstr "Configurações Gerais" -#: src/screens/Settings.js:136 +#: src/screens/Settings.js:138 msgid "Create a new token" msgstr "Criar um novo token" -#: src/screens/Settings.js:141 +#: src/screens/Settings.js:143 msgid "Security" msgstr "Segurança" -#: src/screens/Settings.js:154 +#: src/screens/Settings.js:156 msgid "Reown" msgstr "Reown" -#: src/screens/Settings.js:161 +#: src/screens/Settings.js:163 msgid "Advanced Settings" msgstr "Configurações Avançadas" -#: src/screens/Settings.js:165 +#: src/screens/Settings.js:167 msgid "Network Settings" msgstr "Configurações de Rede" -#: src/screens/Settings.js:172 +#: src/screens/Settings.js:174 msgid "Address Mode" msgstr "Modo de Endereço" -#: src/screens/Settings.js:177 +#: src/screens/Settings.js:181 msgid "Amount format" msgstr "Formato de Valor" -#: src/screens/Settings.js:189 +#: src/screens/Settings.js:194 msgid "About" msgstr "Sobre" -#: src/screens/Settings.js:197 +#: src/screens/Settings.js:202 msgid "Unique app identifier" msgstr "Identificador único do aplicativo" -#: src/screens/Settings.js:210 +#: src/screens/Settings.js:215 msgid "Connected to" msgstr "Conectado ao servidor" @@ -1609,7 +1609,7 @@ msgstr "Carregando primeiro endereço da wallet." #: src/components/NanoContract/NanoContractTransactionHeader.js:85 #: src/components/NanoContract/NanoContractsListItem.js:57 #: src/components/Reown/NanoContract/NanoContractExecInfo.js:82 -#: src/components/TxDetailsModal.js:129 +#: src/components/TxDetailsModal.js:135 #: src/screens/NanoContract/NanoContractRegisterScreen.js:202 msgid "Nano Contract ID" msgstr "ID do Nano Contract" @@ -1714,21 +1714,21 @@ msgstr "Transação" msgid "Open" msgstr "Abrir" -#: src/sagas/wallet.js:917 +#: src/sagas/wallet.js:916 msgid "Wallet is not ready to load addresses." msgstr "A wallet não está pronta para carregar os endereços." #. This will show the message in the feedback content at SelectAddressModal -#: src/sagas/wallet.js:931 +#: src/sagas/wallet.js:930 msgid "There was an error while loading wallet addresses. Try again." msgstr "Ocorreu um erro ao carregar os endereços da wallet. Tente novamente." -#: src/sagas/wallet.js:941 +#: src/sagas/wallet.js:940 msgid "Wallet is not ready to load the first address." msgstr "A wallet não está pronta para carregar o primeiro endereço." #. This will show the message in the feedback content -#: src/sagas/wallet.js:957 +#: src/sagas/wallet.js:956 msgid "There was an error while loading first wallet address. Try again." msgstr "" "Ocorreu um erro ao carregar o primeiro endereço da wallet. Tente novamente." @@ -1860,15 +1860,15 @@ msgstr "Sem conexão com a internet" msgid "Public Explorer" msgstr "Explorer Público" -#: src/components/PushTxDetailsModal.js:77 src/components/TxDetailsModal.js:114 +#: src/components/PushTxDetailsModal.js:82 src/components/TxDetailsModal.js:120 msgid "Date & Time" msgstr "Data & Hora" -#: src/components/PushTxDetailsModal.js:78 +#: src/components/PushTxDetailsModal.js:83 msgid "ID" msgstr "ID" -#: src/components/PushTxDetailsModal.js:102 +#: src/components/PushTxDetailsModal.js:107 msgid "New Transaction" msgstr "Transação" @@ -1971,45 +1971,45 @@ msgstr "Depósito" msgid "Fee Based" msgstr "Token com taxa" -#: src/components/TxDetailsModal.js:112 +#: src/components/TxDetailsModal.js:118 msgid "Token" msgstr "Token" -#: src/components/TxDetailsModal.js:113 +#: src/components/TxDetailsModal.js:119 msgid "Description" msgstr "Descrição" -#: src/components/TxDetailsModal.js:115 +#: src/components/TxDetailsModal.js:121 msgid "Fee Model" msgstr "Modelo de taxa" #: src/components/NanoContract/NanoContractTransactionHeader.js:44 #: src/components/Reown/SendTransactionRequest.js:300 -#: src/components/TxDetailsModal.js:116 +#: src/components/TxDetailsModal.js:122 msgid "Transaction ID" msgstr "ID da Transação" -#: src/components/TxDetailsModal.js:119 +#: src/components/TxDetailsModal.js:125 msgid "Nano Contract Status" msgstr "Status do Nano Contract" #: src/components/NanoContract/NanoContractTransactionHeader.js:89 #: src/components/Reown/NanoContract/NanoContractExecInfo.js:115 -#: src/components/TxDetailsModal.js:128 +#: src/components/TxDetailsModal.js:134 msgid "Blueprint Method" msgstr "Método do Blueprint" -#: src/components/TxDetailsModal.js:130 +#: src/components/TxDetailsModal.js:136 msgid "Nano Contract Caller" msgstr "Endereço de assinatura do Nano Contract" #: src/components/NanoContract/NanoContractDetailsHeader.js:100 -#: src/components/TxDetailsModal.js:131 +#: src/components/TxDetailsModal.js:137 msgid "Nano Contract" msgstr "Nano Contract" #: src/components/Reown/CreateTokenRequest.js:103 -#: src/components/TxDetailsModal.js:174 +#: src/components/TxDetailsModal.js:180 msgid "Amount" msgstr "Quantidade" @@ -2861,6 +2861,9 @@ msgstr "${ tokenSymbol } Conceder Authority" msgid "${ tokenSymbol } Acquire Authority" msgstr "${ tokenSymbol } Obter Authority" +#~ msgid "SAVE PREFERENCES" +#~ msgstr "SALVAR PREFERÊNCIAS" + #~ msgid "Calculating network fee..." #~ msgstr "Calculando taxa da rede..." diff --git a/locale/ru-ru/texts.po b/locale/ru-ru/texts.po index ebabbd04c..80ed9af0f 100644 --- a/locale/ru-ru/texts.po +++ b/locale/ru-ru/texts.po @@ -58,7 +58,7 @@ msgid "[Last] dddd [•] HH:mm" msgstr "[Последний] dddd [•] HH:mm" #. See https://momentjs.com/docs/#/displaying/calendar-time/ -#: src/models.js:107 src/utils.js:752 +#: src/models.js:107 src/utils.js:834 msgid "DD MMM YYYY [•] HH:mm" msgstr "DD MMM YYYY [•] HH:mm" @@ -66,17 +66,17 @@ msgstr "DD MMM YYYY [•] HH:mm" msgid "Invalid address" msgstr "Неправильный адрес" -#: src/utils.js:737 +#: src/utils.js:819 msgid "CREATE DEPOSIT TOKEN" msgstr "" -#: src/utils.js:739 +#: src/utils.js:821 msgid "CREATE FEE TOKEN" msgstr "" #: src/screens/CreateTokenAmount.js:36 src/screens/CreateTokenConfirm.js:87 #: src/screens/CreateTokenDepositNotice.js:42 -#: src/screens/CreateTokenTypeNotice.js:94 src/utils.js:741 +#: src/screens/CreateTokenTypeNotice.js:94 src/utils.js:823 msgid "CREATE TOKEN" msgstr "СОЗДАТЬ ТОКЕН" @@ -84,7 +84,7 @@ msgstr "СОЗДАТЬ ТОКЕН" #. * @example #. * You have received 10 T2, 5 T1 and 2 other token on a new transaction. #. -#: src/workers/pushNotificationHandler.js:92 +#: src/workers/pushNotificationHandler.js:97 #, javascript-format msgid "" "You have received ${ firstToken }, ${ secondToken } and ${ otherCount } " @@ -100,7 +100,7 @@ msgstr[2] "" #. * @example #. * You have received 10 T2 and 5 T1 on a new transaction. #. -#: src/workers/pushNotificationHandler.js:105 +#: src/workers/pushNotificationHandler.js:110 #, javascript-format msgid "" "You have received ${ _firstToken } and ${ _secondToken } on a new " @@ -111,27 +111,27 @@ msgstr "" #. * @example #. * You have received 10 T2 on a new transaction. #. -#: src/workers/pushNotificationHandler.js:113 +#: src/workers/pushNotificationHandler.js:118 msgid "You have received ${ _firstToken2 } on a new transaction." msgstr "" -#: src/workers/pushNotificationHandler.js:116 +#: src/workers/pushNotificationHandler.js:121 msgid "There is a new transaction in your wallet." msgstr "" -#: src/workers/pushNotificationHandler.js:118 +#: src/workers/pushNotificationHandler.js:123 msgid "New transaction received" msgstr "" -#: src/utils/tokenSwap.js:447 +#: src/utils/tokenSwap.js:459 msgid "Insufficient HTR balance to cover the network fee." msgstr "" -#: src/utils/tokenSwap.js:450 +#: src/utils/tokenSwap.js:462 msgid "Insufficient balance to execute the swap." msgstr "" -#: src/utils/tokenSwap.js:453 +#: src/utils/tokenSwap.js:465 msgid "Could not build the swap transaction. Please try again." msgstr "" @@ -158,112 +158,112 @@ msgstr "" #: src/screens/About.js:107 msgid "" -"For further information, check out the |link1:Terms of Service| and |" -"link2:Privacy Policy|, or our website |link3:https://hathor.network/|." +"For further information, check out the |link1:Terms of Service| and |link2:" +"Privacy Policy|, or our website |link3:https://hathor.network/|." msgstr "" -#: src/screens/AddressMode.js:122 +#: src/screens/AddressMode.js:123 msgid "Error" msgstr "" -#: src/screens/AddressMode.js:123 +#: src/screens/AddressMode.js:124 msgid "Failed to change address mode. Please try again." msgstr "" -#: src/screens/AddressMode.js:184 src/screens/AddressMode.js:197 +#: src/screens/AddressMode.js:137 src/screens/AddressMode.js:150 msgid "ADDRESS MODE" msgstr "" -#: src/screens/AddressMode.js:203 +#: src/screens/AddressMode.js:156 msgid "You can set your wallet to " msgstr "" -#: src/screens/AddressMode.js:205 +#: src/screens/AddressMode.js:158 msgid "single or multi address mode" msgstr "" -#: src/screens/AddressMode.js:210 +#: src/screens/AddressMode.js:163 msgid "You can switch anytime in the settings." msgstr "" -#: src/screens/AddressMode.js:217 +#: src/screens/AddressMode.js:173 msgid "Single Address" msgstr "" -#: src/screens/AddressMode.js:218 +#: src/screens/AddressMode.js:174 msgid "Your wallet will use only one address (index 0)." msgstr "" -#: src/screens/AddressMode.js:219 +#: src/screens/AddressMode.js:175 msgid "Easier to manage and compatible with all dApps." msgstr "" -#: src/screens/AddressMode.js:224 +#: src/screens/AddressMode.js:180 msgid "Multi Address" msgstr "" -#: src/screens/AddressMode.js:225 +#: src/screens/AddressMode.js:181 msgid "Your wallet will let you generate multiple addresses." msgstr "" -#: src/screens/AddressMode.js:226 +#: src/screens/AddressMode.js:182 msgid "Useful for advanced users." msgstr "" -#: src/screens/AddressMode.js:237 +#: src/screens/AddressMode.js:192 msgid "" "You can't switch to single address mode because other addresses in your " "wallet are already in use." msgstr "" -#: src/screens/AddressMode.js:261 src/screens/AmountFormat.js:145 -msgid "SAVE PREFERENCES" +#: src/screens/AddressMode.js:202 src/screens/AmountFormat.js:99 +msgid "Save preferences" msgstr "" -#: src/screens/AddressMode.js:281 +#: src/screens/AddressMode.js:223 msgid "" "Changing\n" "address mode..." msgstr "" -#: src/screens/AmountFormat.js:83 -msgid "Default" -msgstr "" - -#: src/screens/AmountFormat.js:96 +#: src/screens/AmountFormat.js:59 msgid "AMOUNT FORMAT" msgstr "" -#: src/screens/AmountFormat.js:102 +#: src/screens/AmountFormat.js:65 msgid "" "Choose how amounts are displayed across your wallet. You can change your " "default anytime." msgstr "" -#: src/screens/AmountFormat.js:108 +#: src/screens/AmountFormat.js:75 msgid "Expanded" msgstr "" -#: src/screens/AmountFormat.js:109 +#: src/screens/AmountFormat.js:76 msgid "" "Standard notation. Leading zeros are written out in full (ex: 0.0000005195)." msgstr "" -#: src/screens/AmountFormat.js:115 +#: src/screens/AmountFormat.js:77 +msgid "Default" +msgstr "" + +#: src/screens/AmountFormat.js:81 msgid "Compressed" msgstr "" -#: src/screens/AmountFormat.js:116 +#: src/screens/AmountFormat.js:82 msgid "" "Compresses leading zeros into a subscript count for shorter, easier-to-read " "small values (ex: 0.0₆5195)." msgstr "" -#: src/screens/AmountFormat.js:121 +#: src/screens/AmountFormat.js:88 msgid "PREVIEW" msgstr "" -#: src/screens/AmountFormat.js:123 +#: src/screens/AmountFormat.js:90 msgid "Full amount" msgstr "" @@ -344,24 +344,24 @@ msgstr "PIN-коды не совпадают. Попробуйте еще раз msgid "Start the Wallet" msgstr "Запустить кошелек" -#: src/screens/ConfirmImportScreen.js:91 src/screens/ImportTokensScreen.js:199 +#: src/screens/ConfirmImportScreen.js:92 src/screens/ImportTokensScreen.js:200 msgid "IMPORT TOKENS" msgstr "" -#: src/screens/ConfirmImportScreen.js:105 +#: src/screens/ConfirmImportScreen.js:106 msgid "Confirm Import" msgstr "" -#: src/screens/ConfirmImportScreen.js:107 +#: src/screens/ConfirmImportScreen.js:108 msgid "You are about to add these tokens to your wallet:" msgstr "" #: src/components/TokenImportBanner.js:77 -#: src/screens/ConfirmImportScreen.js:120 src/screens/Settings.js:129 +#: src/screens/ConfirmImportScreen.js:121 src/screens/Settings.js:131 msgid "Import tokens" msgstr "" -#: src/screens/ConfirmImportScreen.js:129 +#: src/screens/ConfirmImportScreen.js:130 #: src/screens/Reown/RegisterTokenAfterSuccess.js:80 #: src/screens/Reown/SuccessFeedbackScreen.js:39 msgid "Back" @@ -587,50 +587,50 @@ msgid "FEE TOKEN" msgstr "" #. Only show the toggle button when Nano Contract is enabled to the wallet -#: src/screens/Dashboard.js:140 src/screens/Dashboard.js:202 +#: src/screens/Dashboard.js:142 src/screens/Dashboard.js:207 msgid "Tokens" msgstr "ТокенЫ" #. Only show the toggle button when Nano Contract is enabled to the wallet #: src/components/NanoContract/NanoContractsList.js:75 -#: src/screens/Dashboard.js:141 +#: src/screens/Dashboard.js:143 msgid "Nano Contracts" msgstr "" -#: src/screens/ImportTokensScreen.js:134 +#: src/screens/ImportTokensScreen.js:135 msgid "No tokens available to import" msgstr "" -#: src/screens/ImportTokensScreen.js:137 +#: src/screens/ImportTokensScreen.js:138 msgid "We didn't find any unregistered tokens linked to your wallet." msgstr "" -#: src/screens/ImportTokensScreen.js:140 +#: src/screens/ImportTokensScreen.js:141 msgid "You can register a new one manually." msgstr "" -#: src/screens/ImportTokensScreen.js:144 src/screens/Settings.js:121 +#: src/screens/ImportTokensScreen.js:145 src/screens/Settings.js:123 msgid "Register a token" msgstr "Зарегистрировать токен" -#: src/screens/ImportTokensScreen.js:166 +#: src/screens/ImportTokensScreen.js:167 msgid "Select the tokens you want to add to your wallet." msgstr "" -#: src/screens/ImportTokensScreen.js:173 +#: src/screens/ImportTokensScreen.js:174 msgid "Check before import tokens" msgstr "" -#: src/screens/ImportTokensScreen.js:176 +#: src/screens/ImportTokensScreen.js:177 msgid "" "Adding tokens is your responsibility. Make sure you recognize the source." msgstr "" -#: src/screens/ImportTokensScreen.js:182 +#: src/screens/ImportTokensScreen.js:183 msgid "Tokens found" msgstr "" -#: src/screens/ImportTokensScreen.js:208 +#: src/screens/ImportTokensScreen.js:209 msgid "Continue" msgstr "" @@ -640,8 +640,8 @@ msgstr "Добро пожаловать в Hathor Wallet!" #: src/screens/InitWallet.js:73 msgid "" -"For further information, check out our website |link:https://" -"hathor.network/|." +"For further information, check out our website |link:https://hathor." +"network/|." msgstr "" "Для получения дополнительной информации, посетите наш веб-сайт |link:https://" "hathor.network/|." @@ -746,7 +746,7 @@ msgid "There's been an error connecting to the server." msgstr "" #: src/screens/LoadWalletErrorScreen.js:28 src/screens/PinScreen.js:318 -#: src/screens/Settings.js:181 +#: src/screens/Settings.js:186 msgid "Reset wallet" msgstr "Сбросить кошелек" @@ -754,32 +754,32 @@ msgstr "Сбросить кошелек" msgid "Connect to mainnet" msgstr "" -#: src/screens/MainScreen.js:138 +#: src/screens/MainScreen.js:142 msgid "No transactions" msgstr "Нет транзакций" -#: src/screens/MainScreen.js:141 +#: src/screens/MainScreen.js:145 msgid "|share:Share your address| with friends and start exchanging tokens" msgstr "" "|share:Поделитесь своим адресом| с друзьями и начните обменивать свои токены" -#: src/screens/MainScreen.js:158 +#: src/screens/MainScreen.js:162 msgid "Loading transactions" msgstr "Загрузка ваших транзакций" -#: src/screens/MainScreen.js:167 +#: src/screens/MainScreen.js:171 msgid "There was an error loading your transaction history" msgstr "" -#: src/screens/MainScreen.js:170 +#: src/screens/MainScreen.js:174 msgid "Please |tryAgain:try again|" msgstr "" -#: src/screens/MainScreen.js:564 src/screens/MainScreen.js:597 +#: src/screens/MainScreen.js:582 src/screens/MainScreen.js:616 msgid "Available Balance" msgstr "Доступный Баланс" -#: src/screens/MainScreen.js:573 +#: src/screens/MainScreen.js:591 msgid "Locked" msgstr "Заблокированный" @@ -822,7 +822,7 @@ msgstr "Отмена" msgid "Biometry failed or canceled." msgstr "Биометрия не удалась или была отменена." -#: src/screens/PushNotification.js:58 src/screens/Settings.js:147 +#: src/screens/PushNotification.js:58 src/screens/Settings.js:149 msgid "Push Notification" msgstr "" @@ -1126,51 +1126,51 @@ msgstr "Неверный QR-код" msgid "Scan the QR code" msgstr "Сканировать QR-код" -#: src/screens/Settings.js:108 +#: src/screens/Settings.js:110 msgid "You are connected to" msgstr "Вы подключены к" -#: src/screens/Settings.js:117 +#: src/screens/Settings.js:119 msgid "General Settings" msgstr "" -#: src/screens/Settings.js:136 +#: src/screens/Settings.js:138 msgid "Create a new token" msgstr "Создать новый токен" -#: src/screens/Settings.js:141 +#: src/screens/Settings.js:143 msgid "Security" msgstr "Безопасность" -#: src/screens/Settings.js:154 +#: src/screens/Settings.js:156 msgid "Reown" msgstr "" -#: src/screens/Settings.js:161 +#: src/screens/Settings.js:163 msgid "Advanced Settings" msgstr "" -#: src/screens/Settings.js:165 +#: src/screens/Settings.js:167 msgid "Network Settings" msgstr "" -#: src/screens/Settings.js:172 +#: src/screens/Settings.js:174 msgid "Address Mode" msgstr "" -#: src/screens/Settings.js:177 +#: src/screens/Settings.js:181 msgid "Amount format" msgstr "" -#: src/screens/Settings.js:189 +#: src/screens/Settings.js:194 msgid "About" msgstr "О нас" -#: src/screens/Settings.js:197 +#: src/screens/Settings.js:202 msgid "Unique app identifier" msgstr "" -#: src/screens/Settings.js:210 +#: src/screens/Settings.js:215 msgid "Connected to" msgstr "Подключены к" @@ -1565,7 +1565,7 @@ msgstr "" #: src/components/NanoContract/NanoContractTransactionHeader.js:85 #: src/components/NanoContract/NanoContractsListItem.js:57 #: src/components/Reown/NanoContract/NanoContractExecInfo.js:82 -#: src/components/TxDetailsModal.js:129 +#: src/components/TxDetailsModal.js:135 #: src/screens/NanoContract/NanoContractRegisterScreen.js:202 msgid "Nano Contract ID" msgstr "" @@ -1670,21 +1670,21 @@ msgstr "" msgid "Open" msgstr "Открыть" -#: src/sagas/wallet.js:917 +#: src/sagas/wallet.js:916 msgid "Wallet is not ready to load addresses." msgstr "" #. This will show the message in the feedback content at SelectAddressModal -#: src/sagas/wallet.js:931 +#: src/sagas/wallet.js:930 msgid "There was an error while loading wallet addresses. Try again." msgstr "" -#: src/sagas/wallet.js:941 +#: src/sagas/wallet.js:940 msgid "Wallet is not ready to load the first address." msgstr "" #. This will show the message in the feedback content -#: src/sagas/wallet.js:957 +#: src/sagas/wallet.js:956 msgid "There was an error while loading first wallet address. Try again." msgstr "" @@ -1798,15 +1798,15 @@ msgstr "Нет соединения с интернетом" msgid "Public Explorer" msgstr "Public Explorer" -#: src/components/PushTxDetailsModal.js:77 src/components/TxDetailsModal.js:114 +#: src/components/PushTxDetailsModal.js:82 src/components/TxDetailsModal.js:120 msgid "Date & Time" msgstr "Дата и Время" -#: src/components/PushTxDetailsModal.js:78 +#: src/components/PushTxDetailsModal.js:83 msgid "ID" msgstr "ID" -#: src/components/PushTxDetailsModal.js:102 +#: src/components/PushTxDetailsModal.js:107 msgid "New Transaction" msgstr "" @@ -1906,45 +1906,45 @@ msgstr "" msgid "Fee Based" msgstr "" -#: src/components/TxDetailsModal.js:112 +#: src/components/TxDetailsModal.js:118 msgid "Token" msgstr "Токен" -#: src/components/TxDetailsModal.js:113 +#: src/components/TxDetailsModal.js:119 msgid "Description" msgstr "Описание" -#: src/components/TxDetailsModal.js:115 +#: src/components/TxDetailsModal.js:121 msgid "Fee Model" msgstr "" #: src/components/NanoContract/NanoContractTransactionHeader.js:44 #: src/components/Reown/SendTransactionRequest.js:300 -#: src/components/TxDetailsModal.js:116 +#: src/components/TxDetailsModal.js:122 msgid "Transaction ID" msgstr "" -#: src/components/TxDetailsModal.js:119 +#: src/components/TxDetailsModal.js:125 msgid "Nano Contract Status" msgstr "" #: src/components/NanoContract/NanoContractTransactionHeader.js:89 #: src/components/Reown/NanoContract/NanoContractExecInfo.js:115 -#: src/components/TxDetailsModal.js:128 +#: src/components/TxDetailsModal.js:134 msgid "Blueprint Method" msgstr "" -#: src/components/TxDetailsModal.js:130 +#: src/components/TxDetailsModal.js:136 msgid "Nano Contract Caller" msgstr "" #: src/components/NanoContract/NanoContractDetailsHeader.js:100 -#: src/components/TxDetailsModal.js:131 +#: src/components/TxDetailsModal.js:137 msgid "Nano Contract" msgstr "" #: src/components/Reown/CreateTokenRequest.js:103 -#: src/components/TxDetailsModal.js:174 +#: src/components/TxDetailsModal.js:180 msgid "Amount" msgstr "Количество" diff --git a/locale/texts.pot b/locale/texts.pot index 1b889287a..66f37c9a5 100644 --- a/locale/texts.pot +++ b/locale/texts.pot @@ -49,7 +49,7 @@ msgid "[Last] dddd [•] HH:mm" msgstr "" #: src/models.js:107 -#: src/utils.js:752 +#: src/utils.js:834 #. See https://momentjs.com/docs/#/displaying/calendar-time/ msgid "DD MMM YYYY [•] HH:mm" msgstr "" @@ -58,11 +58,11 @@ msgstr "" msgid "Invalid address" msgstr "" -#: src/utils.js:737 +#: src/utils.js:819 msgid "CREATE DEPOSIT TOKEN" msgstr "" -#: src/utils.js:739 +#: src/utils.js:821 msgid "CREATE FEE TOKEN" msgstr "" @@ -70,11 +70,11 @@ msgstr "" #: src/screens/CreateTokenConfirm.js:87 #: src/screens/CreateTokenDepositNotice.js:42 #: src/screens/CreateTokenTypeNotice.js:94 -#: src/utils.js:741 +#: src/utils.js:823 msgid "CREATE TOKEN" msgstr "" -#: src/workers/pushNotificationHandler.js:92 +#: src/workers/pushNotificationHandler.js:97 #. * #. * @example #. * You have received 10 T2, 5 T1 and 2 other token on a new transaction. @@ -89,7 +89,7 @@ msgid_plural "" msgstr[0] "" msgstr[1] "" -#: src/workers/pushNotificationHandler.js:105 +#: src/workers/pushNotificationHandler.js:110 #. * #. * @example #. * You have received 10 T2 and 5 T1 on a new transaction. @@ -100,7 +100,7 @@ msgid "" "transaction." msgstr "" -#: src/workers/pushNotificationHandler.js:113 +#: src/workers/pushNotificationHandler.js:118 #. * #. * @example #. * You have received 10 T2 on a new transaction. @@ -108,23 +108,23 @@ msgstr "" msgid "You have received ${ _firstToken2 } on a new transaction." msgstr "" -#: src/workers/pushNotificationHandler.js:116 +#: src/workers/pushNotificationHandler.js:121 msgid "There is a new transaction in your wallet." msgstr "" -#: src/workers/pushNotificationHandler.js:118 +#: src/workers/pushNotificationHandler.js:123 msgid "New transaction received" msgstr "" -#: src/utils/tokenSwap.js:447 +#: src/utils/tokenSwap.js:459 msgid "Insufficient HTR balance to cover the network fee." msgstr "" -#: src/utils/tokenSwap.js:450 +#: src/utils/tokenSwap.js:462 msgid "Insufficient balance to execute the swap." msgstr "" -#: src/utils/tokenSwap.js:453 +#: src/utils/tokenSwap.js:465 msgid "Could not build the swap transaction. Please try again." msgstr "" @@ -155,109 +155,109 @@ msgid "" "|link2:Privacy Policy|, or our website |link3:https://hathor.network/|." msgstr "" -#: src/screens/AddressMode.js:122 +#: src/screens/AddressMode.js:123 msgid "Error" msgstr "" -#: src/screens/AddressMode.js:123 +#: src/screens/AddressMode.js:124 msgid "Failed to change address mode. Please try again." msgstr "" -#: src/screens/AddressMode.js:184 -#: src/screens/AddressMode.js:197 +#: src/screens/AddressMode.js:137 +#: src/screens/AddressMode.js:150 msgid "ADDRESS MODE" msgstr "" -#: src/screens/AddressMode.js:203 +#: src/screens/AddressMode.js:156 msgid "You can set your wallet to " msgstr "" -#: src/screens/AddressMode.js:205 +#: src/screens/AddressMode.js:158 msgid "single or multi address mode" msgstr "" -#: src/screens/AddressMode.js:210 +#: src/screens/AddressMode.js:163 msgid "You can switch anytime in the settings." msgstr "" -#: src/screens/AddressMode.js:217 +#: src/screens/AddressMode.js:173 msgid "Single Address" msgstr "" -#: src/screens/AddressMode.js:218 +#: src/screens/AddressMode.js:174 msgid "Your wallet will use only one address (index 0)." msgstr "" -#: src/screens/AddressMode.js:219 +#: src/screens/AddressMode.js:175 msgid "Easier to manage and compatible with all dApps." msgstr "" -#: src/screens/AddressMode.js:224 +#: src/screens/AddressMode.js:180 msgid "Multi Address" msgstr "" -#: src/screens/AddressMode.js:225 +#: src/screens/AddressMode.js:181 msgid "Your wallet will let you generate multiple addresses." msgstr "" -#: src/screens/AddressMode.js:226 +#: src/screens/AddressMode.js:182 msgid "Useful for advanced users." msgstr "" -#: src/screens/AddressMode.js:237 +#: src/screens/AddressMode.js:192 msgid "" "You can't switch to single address mode because other addresses in your " "wallet are already in use." msgstr "" -#: src/screens/AddressMode.js:261 -#: src/screens/AmountFormat.js:145 -msgid "SAVE PREFERENCES" +#: src/screens/AddressMode.js:202 +#: src/screens/AmountFormat.js:99 +msgid "Save preferences" msgstr "" -#: src/screens/AddressMode.js:281 +#: src/screens/AddressMode.js:223 msgid "" "Changing\n" "address mode..." msgstr "" -#: src/screens/AmountFormat.js:83 -msgid "Default" -msgstr "" - -#: src/screens/AmountFormat.js:96 +#: src/screens/AmountFormat.js:59 msgid "AMOUNT FORMAT" msgstr "" -#: src/screens/AmountFormat.js:102 +#: src/screens/AmountFormat.js:65 msgid "" "Choose how amounts are displayed across your wallet. You can change your " "default anytime." msgstr "" -#: src/screens/AmountFormat.js:108 +#: src/screens/AmountFormat.js:75 msgid "Expanded" msgstr "" -#: src/screens/AmountFormat.js:109 +#: src/screens/AmountFormat.js:76 msgid "Standard notation. Leading zeros are written out in full (ex: 0.0000005195)." msgstr "" -#: src/screens/AmountFormat.js:115 +#: src/screens/AmountFormat.js:77 +msgid "Default" +msgstr "" + +#: src/screens/AmountFormat.js:81 msgid "Compressed" msgstr "" -#: src/screens/AmountFormat.js:116 +#: src/screens/AmountFormat.js:82 msgid "" "Compresses leading zeros into a subscript count for shorter, easier-to-read " "small values (ex: 0.0₆5195)." msgstr "" -#: src/screens/AmountFormat.js:121 +#: src/screens/AmountFormat.js:88 msgid "PREVIEW" msgstr "" -#: src/screens/AmountFormat.js:123 +#: src/screens/AmountFormat.js:90 msgid "Full amount" msgstr "" @@ -338,26 +338,26 @@ msgstr "" msgid "Start the Wallet" msgstr "" -#: src/screens/ConfirmImportScreen.js:91 -#: src/screens/ImportTokensScreen.js:199 +#: src/screens/ConfirmImportScreen.js:92 +#: src/screens/ImportTokensScreen.js:200 msgid "IMPORT TOKENS" msgstr "" -#: src/screens/ConfirmImportScreen.js:105 +#: src/screens/ConfirmImportScreen.js:106 msgid "Confirm Import" msgstr "" -#: src/screens/ConfirmImportScreen.js:107 +#: src/screens/ConfirmImportScreen.js:108 msgid "You are about to add these tokens to your wallet:" msgstr "" #: src/components/TokenImportBanner.js:77 -#: src/screens/ConfirmImportScreen.js:120 -#: src/screens/Settings.js:129 +#: src/screens/ConfirmImportScreen.js:121 +#: src/screens/Settings.js:131 msgid "Import tokens" msgstr "" -#: src/screens/ConfirmImportScreen.js:129 +#: src/screens/ConfirmImportScreen.js:130 #: src/screens/Reown/RegisterTokenAfterSuccess.js:80 #: src/screens/Reown/SuccessFeedbackScreen.js:39 msgid "Back" @@ -585,52 +585,52 @@ msgstr "" msgid "FEE TOKEN" msgstr "" -#: src/screens/Dashboard.js:140 -#: src/screens/Dashboard.js:202 +#: src/screens/Dashboard.js:142 +#: src/screens/Dashboard.js:207 #. Only show the toggle button when Nano Contract is enabled to the wallet msgid "Tokens" msgstr "" #: src/components/NanoContract/NanoContractsList.js:75 -#: src/screens/Dashboard.js:141 +#: src/screens/Dashboard.js:143 #. Only show the toggle button when Nano Contract is enabled to the wallet msgid "Nano Contracts" msgstr "" -#: src/screens/ImportTokensScreen.js:134 +#: src/screens/ImportTokensScreen.js:135 msgid "No tokens available to import" msgstr "" -#: src/screens/ImportTokensScreen.js:137 +#: src/screens/ImportTokensScreen.js:138 msgid "We didn't find any unregistered tokens linked to your wallet." msgstr "" -#: src/screens/ImportTokensScreen.js:140 +#: src/screens/ImportTokensScreen.js:141 msgid "You can register a new one manually." msgstr "" -#: src/screens/ImportTokensScreen.js:144 -#: src/screens/Settings.js:121 +#: src/screens/ImportTokensScreen.js:145 +#: src/screens/Settings.js:123 msgid "Register a token" msgstr "" -#: src/screens/ImportTokensScreen.js:166 +#: src/screens/ImportTokensScreen.js:167 msgid "Select the tokens you want to add to your wallet." msgstr "" -#: src/screens/ImportTokensScreen.js:173 +#: src/screens/ImportTokensScreen.js:174 msgid "Check before import tokens" msgstr "" -#: src/screens/ImportTokensScreen.js:176 +#: src/screens/ImportTokensScreen.js:177 msgid "Adding tokens is your responsibility. Make sure you recognize the source." msgstr "" -#: src/screens/ImportTokensScreen.js:182 +#: src/screens/ImportTokensScreen.js:183 msgid "Tokens found" msgstr "" -#: src/screens/ImportTokensScreen.js:208 +#: src/screens/ImportTokensScreen.js:209 msgid "Continue" msgstr "" @@ -742,7 +742,7 @@ msgstr "" #: src/screens/LoadWalletErrorScreen.js:28 #: src/screens/PinScreen.js:318 -#: src/screens/Settings.js:181 +#: src/screens/Settings.js:186 msgid "Reset wallet" msgstr "" @@ -750,32 +750,32 @@ msgstr "" msgid "Connect to mainnet" msgstr "" -#: src/screens/MainScreen.js:138 +#: src/screens/MainScreen.js:142 msgid "No transactions" msgstr "" -#: src/screens/MainScreen.js:141 +#: src/screens/MainScreen.js:145 msgid "|share:Share your address| with friends and start exchanging tokens" msgstr "" -#: src/screens/MainScreen.js:158 +#: src/screens/MainScreen.js:162 msgid "Loading transactions" msgstr "" -#: src/screens/MainScreen.js:167 +#: src/screens/MainScreen.js:171 msgid "There was an error loading your transaction history" msgstr "" -#: src/screens/MainScreen.js:170 +#: src/screens/MainScreen.js:174 msgid "Please |tryAgain:try again|" msgstr "" -#: src/screens/MainScreen.js:564 -#: src/screens/MainScreen.js:597 +#: src/screens/MainScreen.js:582 +#: src/screens/MainScreen.js:616 msgid "Available Balance" msgstr "" -#: src/screens/MainScreen.js:573 +#: src/screens/MainScreen.js:591 msgid "Locked" msgstr "" @@ -822,7 +822,7 @@ msgid "Biometry failed or canceled." msgstr "" #: src/screens/PushNotification.js:58 -#: src/screens/Settings.js:147 +#: src/screens/Settings.js:149 msgid "Push Notification" msgstr "" @@ -1134,51 +1134,51 @@ msgstr "" msgid "Scan the QR code" msgstr "" -#: src/screens/Settings.js:108 +#: src/screens/Settings.js:110 msgid "You are connected to" msgstr "" -#: src/screens/Settings.js:117 +#: src/screens/Settings.js:119 msgid "General Settings" msgstr "" -#: src/screens/Settings.js:136 +#: src/screens/Settings.js:138 msgid "Create a new token" msgstr "" -#: src/screens/Settings.js:141 +#: src/screens/Settings.js:143 msgid "Security" msgstr "" -#: src/screens/Settings.js:154 +#: src/screens/Settings.js:156 msgid "Reown" msgstr "" -#: src/screens/Settings.js:161 +#: src/screens/Settings.js:163 msgid "Advanced Settings" msgstr "" -#: src/screens/Settings.js:165 +#: src/screens/Settings.js:167 msgid "Network Settings" msgstr "" -#: src/screens/Settings.js:172 +#: src/screens/Settings.js:174 msgid "Address Mode" msgstr "" -#: src/screens/Settings.js:177 +#: src/screens/Settings.js:181 msgid "Amount format" msgstr "" -#: src/screens/Settings.js:189 +#: src/screens/Settings.js:194 msgid "About" msgstr "" -#: src/screens/Settings.js:197 +#: src/screens/Settings.js:202 msgid "Unique app identifier" msgstr "" -#: src/screens/Settings.js:210 +#: src/screens/Settings.js:215 msgid "Connected to" msgstr "" @@ -1573,7 +1573,7 @@ msgstr "" #: src/components/NanoContract/NanoContractTransactionHeader.js:85 #: src/components/NanoContract/NanoContractsListItem.js:57 #: src/components/Reown/NanoContract/NanoContractExecInfo.js:82 -#: src/components/TxDetailsModal.js:129 +#: src/components/TxDetailsModal.js:135 #: src/screens/NanoContract/NanoContractRegisterScreen.js:202 msgid "Nano Contract ID" msgstr "" @@ -1678,20 +1678,20 @@ msgstr "" msgid "Open" msgstr "" -#: src/sagas/wallet.js:917 +#: src/sagas/wallet.js:916 msgid "Wallet is not ready to load addresses." msgstr "" -#: src/sagas/wallet.js:931 +#: src/sagas/wallet.js:930 #. This will show the message in the feedback content at SelectAddressModal msgid "There was an error while loading wallet addresses. Try again." msgstr "" -#: src/sagas/wallet.js:941 +#: src/sagas/wallet.js:940 msgid "Wallet is not ready to load the first address." msgstr "" -#: src/sagas/wallet.js:957 +#: src/sagas/wallet.js:956 #. This will show the message in the feedback content msgid "There was an error while loading first wallet address. Try again." msgstr "" @@ -1806,16 +1806,16 @@ msgstr "" msgid "Public Explorer" msgstr "" -#: src/components/PushTxDetailsModal.js:77 -#: src/components/TxDetailsModal.js:114 +#: src/components/PushTxDetailsModal.js:82 +#: src/components/TxDetailsModal.js:120 msgid "Date & Time" msgstr "" -#: src/components/PushTxDetailsModal.js:78 +#: src/components/PushTxDetailsModal.js:83 msgid "ID" msgstr "" -#: src/components/PushTxDetailsModal.js:102 +#: src/components/PushTxDetailsModal.js:107 msgid "New Transaction" msgstr "" @@ -1915,45 +1915,45 @@ msgstr "" msgid "Fee Based" msgstr "" -#: src/components/TxDetailsModal.js:112 +#: src/components/TxDetailsModal.js:118 msgid "Token" msgstr "" -#: src/components/TxDetailsModal.js:113 +#: src/components/TxDetailsModal.js:119 msgid "Description" msgstr "" -#: src/components/TxDetailsModal.js:115 +#: src/components/TxDetailsModal.js:121 msgid "Fee Model" msgstr "" #: src/components/NanoContract/NanoContractTransactionHeader.js:44 #: src/components/Reown/SendTransactionRequest.js:300 -#: src/components/TxDetailsModal.js:116 +#: src/components/TxDetailsModal.js:122 msgid "Transaction ID" msgstr "" -#: src/components/TxDetailsModal.js:119 +#: src/components/TxDetailsModal.js:125 msgid "Nano Contract Status" msgstr "" #: src/components/NanoContract/NanoContractTransactionHeader.js:89 #: src/components/Reown/NanoContract/NanoContractExecInfo.js:115 -#: src/components/TxDetailsModal.js:128 +#: src/components/TxDetailsModal.js:134 msgid "Blueprint Method" msgstr "" -#: src/components/TxDetailsModal.js:130 +#: src/components/TxDetailsModal.js:136 msgid "Nano Contract Caller" msgstr "" #: src/components/NanoContract/NanoContractDetailsHeader.js:100 -#: src/components/TxDetailsModal.js:131 +#: src/components/TxDetailsModal.js:137 msgid "Nano Contract" msgstr "" #: src/components/Reown/CreateTokenRequest.js:103 -#: src/components/TxDetailsModal.js:174 +#: src/components/TxDetailsModal.js:180 msgid "Amount" msgstr "" diff --git a/src/components/Radio/RadioButton.js b/src/components/Radio/RadioButton.js new file mode 100644 index 000000000..8f54aade0 --- /dev/null +++ b/src/components/Radio/RadioButton.js @@ -0,0 +1,43 @@ +/** + * Copyright (c) Hathor Labs and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +import React from 'react'; +import { View, StyleSheet } from 'react-native'; +import { COLORS } from '../../styles/themes'; + +/** + * A single radio circle: outer ring plus an inner dot when selected. + * + * @param {Object} props + * @param {boolean} props.selected - If true, the radio is selected. + * @param {boolean} [props.disabled] - If true, the radio is disabled. + */ +export default function RadioButton({ selected, disabled = false }) { + const selectedColor = disabled ? COLORS.borderColorDark : COLORS.primary; + const borderColor = selected ? selectedColor : COLORS.borderColorDark; + return ( + + {selected && } + + ); +} + +const styles = StyleSheet.create({ + outer: { + width: 24, + height: 24, + borderRadius: 12, + borderWidth: 2, + justifyContent: 'center', + alignItems: 'center', + }, + inner: { + width: 12, + height: 12, + borderRadius: 6, + }, +}); diff --git a/src/components/Radio/RadioGroup.js b/src/components/Radio/RadioGroup.js new file mode 100644 index 000000000..bfeb101c4 --- /dev/null +++ b/src/components/Radio/RadioGroup.js @@ -0,0 +1,63 @@ +/** + * Copyright (c) Hathor Labs and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +import React from 'react'; +import { View, StyleSheet } from 'react-native'; +import { COLORS } from '../../styles/themes'; +import RadioOption from './RadioOption'; + +/** + * A bordered card grouping radio options, separated by dividers. Controlled: + * the caller owns the selected `value` and receives it back via `onChange`. + * + * @param {Object} props + * @param {string|number} props.value - The currently selected option value. + * @param {Function} props.onChange - Called with an option's `value` on press. + * @param {Array<{ + * value: string|number, title: string, description?: string, hint?: string, + * badge?: string, disabled?: boolean + * }>} props.options + */ +export default function RadioGroup({ value, onChange, options }) { + return ( + + {options.map((option, index) => ( + + {index > 0 && } + { + // Deliberately redundant with the touchable's `disabled`: keeps + // the guard in JS rather than RN's touch-responder layer. + if (!option.disabled) onChange(option.value); + }} + disabled={option.disabled} + title={option.title} + badge={option.badge} + description={option.description} + hint={option.hint} + /> + + ))} + + ); +} + +const styles = StyleSheet.create({ + card: { + borderWidth: 1, + borderColor: COLORS.borderColor, + borderRadius: 16, + paddingHorizontal: 16, + paddingVertical: 24, + }, + divider: { + height: 1, + backgroundColor: COLORS.borderColor, + marginVertical: 24, + }, +}); diff --git a/src/components/Radio/RadioOption.js b/src/components/Radio/RadioOption.js new file mode 100644 index 000000000..86647223d --- /dev/null +++ b/src/components/Radio/RadioOption.js @@ -0,0 +1,114 @@ +/** + * Copyright (c) Hathor Labs and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +import React from 'react'; +import { + View, + Text, + StyleSheet, + TouchableOpacity, +} from 'react-native'; +import { COLORS } from '../../styles/themes'; +import RadioButton from './RadioButton'; + +/** + * A selectable row: a radio circle beside a title (with an optional badge), + * an optional description, and an optional muted italic hint. + * + * @param {Object} props + * @param {boolean} props.selected - If true, the option is selected. + * @param {Function} props.onPress + * @param {boolean} [props.disabled] - If true, the option is disabled. + * @param {string} props.title + * @param {string} [props.badge] - Pill text shown at the right of the title row. + * @param {string} [props.description] + * @param {string} [props.hint] - Muted italic line below the description. + */ +export default function RadioOption({ + selected, + onPress, + disabled = false, + title, + badge, + description, + hint, +}) { + return ( + + + {/* Fade the block, not each element, so the text keeps its hierarchy. */} + + + {title} + {badge != null && ( + + {badge} + + )} + + {description != null && ( + {description} + )} + {hint != null && {hint}} + + + ); +} + +const styles = StyleSheet.create({ + option: { + flexDirection: 'row', + alignItems: 'flex-start', + }, + textWrapper: { + flex: 1, + marginLeft: 16, + }, + textWrapperDisabled: { + opacity: 0.5, + }, + titleRow: { + flexDirection: 'row', + alignItems: 'center', + justifyContent: 'space-between', + }, + title: { + fontSize: 16, + fontWeight: '600', + color: COLORS.black, + }, + badge: { + backgroundColor: COLORS.lowContrastDetail, + borderRadius: 12, + paddingHorizontal: 10, + paddingVertical: 2, + }, + badgeText: { + fontSize: 12, + color: COLORS.darkContrastDetail, + }, + description: { + marginTop: 4, + fontSize: 12, + lineHeight: 20, + color: COLORS.midContrastDetail, + }, + hint: { + marginTop: 4, + fontSize: 12, + lineHeight: 20, + fontStyle: 'italic', + color: COLORS.darkContrastDetail, + }, +}); diff --git a/src/components/Radio/index.js b/src/components/Radio/index.js new file mode 100644 index 000000000..ab358139c --- /dev/null +++ b/src/components/Radio/index.js @@ -0,0 +1,8 @@ +/** + * Copyright (c) Hathor Labs and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +export { default as RadioGroup } from './RadioGroup'; diff --git a/src/screens/AddressMode.js b/src/screens/AddressMode.js index 78a69fb8b..3ae301a01 100644 --- a/src/screens/AddressMode.js +++ b/src/screens/AddressMode.js @@ -10,7 +10,6 @@ import { View, Text, StyleSheet, - TouchableOpacity, ActivityIndicator, Modal, Alert, @@ -18,6 +17,8 @@ import { import { useSelector, useDispatch } from 'react-redux'; import { t } from 'ttag'; import HathorHeader from '../components/HathorHeader'; +import { RadioGroup } from '../components/Radio'; +import NewHathorButton from '../components/NewHathorButton'; import { COLORS } from '../styles/themes'; import { STORE } from '../store'; import { ADDRESS_MODE, addressModeKey } from '../constants'; @@ -98,7 +99,7 @@ export default function AddressMode({ navigation }) { const isSaveDisabled = selectedMode === currentMode; const onSave = useCallback(async () => { - if (isSaveDisabled) return; + if (isSaveDisabled || saving) return; setSaving(true); try { @@ -110,7 +111,7 @@ export default function AddressMode({ navigation }) { // Persist optimistically. The saga's post-start sync (startWallet) // overwrites this value after reload with the wallet-lib's - // authoritative scan policy — the lib may silently changes + // authoritative scan policy — the lib may silently change // SINGLE → GAP_LIMIT if it detects tx on addresses past index 0. STORE.setItem(addressModeKey(network), selectedMode); dispatch(setAddressMode(selectedMode)); @@ -125,58 +126,10 @@ export default function AddressMode({ navigation }) { } finally { setSaving(false); } - }, [selectedMode, wallet, dispatch, isSaveDisabled, network]); + }, [selectedMode, wallet, dispatch, isSaveDisabled, saving, network]); const singleDisabled = hasTxOutside; - const renderRadioIcon = (isSelected, isDisabled) => { - const outerColor = isDisabled ? COLORS.borderColorDark : COLORS.primary; - return ( - - {isSelected && !isDisabled && ( - - )} - - ); - }; - - const renderCard = (mode, label, body, hint, isDisabled) => { - const isSelected = selectedMode === mode; - const labelColor = isDisabled ? COLORS.borderColorDark : COLORS.primary; - const bodyColor = isDisabled ? COLORS.midContrastDetail : COLORS.black; - - return ( - { - if (!isDisabled) { - setSelectedMode(mode); - } - }} - style={styles.card} - disabled={isDisabled} - > - - {renderRadioIcon(isSelected, isDisabled)} - - {label} - - - - {body} - - - {hint} - - - ); - }; - if (checking) { return ( @@ -198,69 +151,58 @@ export default function AddressMode({ navigation }) { onBackPress={() => navigation.goBack()} /> - - + + {t`You can set your wallet to `} - + {t`single or multi address mode`} . - + {t`You can switch anytime in the settings.`} - - - {renderCard( - ADDRESS_MODE.SINGLE, - t`Single Address`, - t`Your wallet will use only one address (index 0).`, - t`Easier to manage and compatible with all dApps.`, - singleDisabled, - )} - {renderCard( - ADDRESS_MODE.MULTI, - t`Multi Address`, - t`Your wallet will let you generate multiple addresses.`, - t`Useful for advanced users.`, - false, + + + + + {singleDisabled && ( + + + + {t`You can't switch to single address mode because other addresses in your wallet are already in use.`} + + )} - {singleDisabled && ( - - - ⚠ - - - {t`You can't switch to single address mode because other addresses in your wallet are already in use.`} - - - )} - - - - {t`SAVE PREFERENCES`} - - + disabled={isSaveDisabled || saving} + /> ( - - {isSelected && } - - ); - - const renderOption = (format, label, description, showDefaultBadge) => { - const isSelected = selectedFormat === format; - return ( - setSelectedFormat(format)} - style={styles.option} - > - {renderRadioIcon(isSelected)} - - - {label} - {showDefaultBadge && ( - - {t`Default`} - - )} - - {description} - - - ); - }; - return ( - - {renderOption( - AMOUNT_FORMAT.EXPANDED, - t`Expanded`, - t`Standard notation. Leading zeros are written out in full (ex: 0.0000005195).`, - true, - )} - - {renderOption( - AMOUNT_FORMAT.COMPRESSED, - t`Compressed`, - t`Compresses leading zeros into a subscript count for shorter, easier-to-read small values (ex: 0.0₆5195).`, - false, - )} + + {t`PREVIEW`} @@ -129,23 +95,11 @@ export default function AmountFormat({ navigation }) { - - - {t`SAVE PREFERENCES`} - - + /> ); @@ -165,52 +119,8 @@ const styles = StyleSheet.create({ lineHeight: 20, color: COLORS.black, }, - card: { + groupWrapper: { marginTop: 24, - borderWidth: 1, - borderColor: COLORS.borderColor, - borderRadius: 16, - paddingHorizontal: 16, - paddingVertical: 24, - }, - option: { - flexDirection: 'row', - alignItems: 'flex-start', - }, - optionTextWrapper: { - flex: 1, - marginLeft: 16, - }, - optionTitleRow: { - flexDirection: 'row', - alignItems: 'center', - justifyContent: 'space-between', - }, - optionTitle: { - fontSize: 16, - fontWeight: '600', - color: COLORS.black, - }, - defaultBadge: { - backgroundColor: COLORS.lowContrastDetail, - borderRadius: 12, - paddingHorizontal: 10, - paddingVertical: 2, - }, - defaultBadgeText: { - fontSize: 12, - color: COLORS.darkContrastDetail, - }, - optionDescription: { - marginTop: 4, - fontSize: 12, - lineHeight: 20, - color: COLORS.midContrastDetail, - }, - divider: { - height: 1, - backgroundColor: COLORS.borderColor, - marginVertical: 24, }, previewHeader: { marginTop: 24, @@ -243,40 +153,4 @@ const styles = StyleSheet.create({ marginHorizontal: 16, marginBottom: 32, }, - saveButton: { - borderRadius: 8, - paddingVertical: 16, - alignItems: 'center', - justifyContent: 'center', - }, - saveButtonDisabled: { - backgroundColor: COLORS.borderColorMid, - }, - saveButtonActive: { - backgroundColor: COLORS.black, - }, - saveButtonText: { - fontSize: 14, - fontWeight: '600', - }, - saveButtonTextDisabled: { - color: COLORS.darkContrastDetail, - }, - saveButtonTextActive: { - color: COLORS.white, - }, - radioOuter: { - width: 24, - height: 24, - borderRadius: 12, - borderWidth: 2, - justifyContent: 'center', - alignItems: 'center', - }, - radioInner: { - width: 12, - height: 12, - borderRadius: 6, - backgroundColor: COLORS.primary, - }, });