Skip to content

Commit

Permalink
Merge branch 'develop' into fix/remove-dollar-symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
banklesss authored Jan 10, 2024
2 parents 5ce8c63 + e76a14c commit af13c20
Show file tree
Hide file tree
Showing 28 changed files with 225 additions and 170 deletions.
7 changes: 5 additions & 2 deletions apps/wallet-mobile/src/TxHistory/TxHistoryNavigator.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import {useNavigation} from '@react-navigation/native'
import {createStackNavigator} from '@react-navigation/stack'
import {useStorage} from '@yoroi/common'
import {resolverApiMaker, resolverManagerMaker, ResolverProvider, resolverStorageMaker} from '@yoroi/resolver'
import {
milkTokenId,
Expand Down Expand Up @@ -66,6 +67,7 @@ export const TxHistoryNavigator = () => {
const strings = useStrings()
const wallet = useSelectedWallet()
const walletName = useWalletName(wallet)
const storage = useStorage()

// modal
const [isModalInfoVisible, setIsModalInfoVisible] = React.useState(false)
Expand Down Expand Up @@ -98,9 +100,10 @@ export const TxHistoryNavigator = () => {
},
csl: CardanoMobile,
})
const resolverStorage = resolverStorageMaker()
const walletStorage = storage.join(`wallet/${wallet.id}/`)
const resolverStorage = resolverStorageMaker({storage: walletStorage})
return resolverManagerMaker(resolverStorage, resolverApi)
}, [])
}, [storage, wallet.id])

// claim
const claimApi = React.useMemo(() => {
Expand Down
10 changes: 6 additions & 4 deletions apps/wallet-mobile/src/i18n/locales/bn-BD.json
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@
"components.send.confirmscreen.confirmButton": "Confirm",
"components.send.confirmscreen.fees": "Fees",
"components.send.confirmscreen.noActiveCollateral": "You don't have an active collateral utxo",
"components.send.confirmscreen.collateralTxPending": "Collateral transaction is pending. Try again later",
"components.send.confirmscreen.password": "Spending password",
"components.send.confirmscreen.receiver": "Receiver address, ADA Handle or domains",
"components.send.confirmscreen.sendingModalTitle": "Submitting transaction",
Expand Down Expand Up @@ -288,7 +289,8 @@
"components.send.sendscreen.feeNotAvailable": "-",
"components.send.sendscreen.receiver": "Receiver",
"components.send.sendscreen.resolvedAddress": "Resolved address",
"components.send.sendscreen.resolverNoticeTitle": "Yoroi Supports",
"components.send.sendscreen.resolverNoticeTitle": "Yoroi supports more addresses",
"components.send.sendscreen.resolverNoticeText": "Yoroi offers a unique chance to use custom and lightning-fast alternatives to the traditional wallet address, such as",
"components.send.sendscreen.searchTokens": "Search assets",
"components.send.sendscreen.sendAllWarningAlert1": "All your {assetNameOrId} balance will be transferred in this transaction.",
"components.send.sendscreen.sendAllWarningAlert2": "All your tokens, including NFTs and any other native assets in your wallet, will also be transferred in this transaction.",
Expand Down Expand Up @@ -607,6 +609,7 @@
"global.actions.dialogs.walletSynchronizing": "Wallet is synchronizing",
"global.actions.dialogs.wrongPinError.message": "PIN is incorrect.",
"global.actions.dialogs.wrongPinError.title": "Invalid PIN",
"global.actions.dialogs.insufficientCollateral.message": "Collateral amount is insufficient. Please go back and assign collateral.",
"global.all": "All",
"global.apply": "Apply",
"global.assets.assetLabel": "Asset",
Expand Down Expand Up @@ -765,11 +768,10 @@
"scan.linksErrorUnsupportedVersion.help": "The link authority version is not yet supported by the app'",
"scan.linksErrorUnsupportedVersion.title": "Unsupported version",
"scan.title": "Scan the QR code",
"send.helper.addressError.invalid": "Please enter a valid address",
"send.helper.addressError.invalid": "Please enter a valid receiver address, ADA Handle or domain",
"send.helper.addressError.wrongNetwork": "Please enter an address for the current wallet network",
"send.helper.resolver.resolvedAddress": "Resolved address",
"send.helper.resolverError.unsupportedDomain": "Please enter a supported domain",
"send.helper.resolverError.domainNotFound": "Domain not found (check the supported versions)",
"send.helper.resolverError.domainNotFound": "Receiver address, ADA Handle or domain you entered doesn't exist. Please double-check it and try again",
"send.warning.resolver.manyNameServers": "There are more than one address for this domain. Please choose the desired name server.",
"swap.listOrders.card.buttonText": "Cancel order",
"swap.listOrders.completed": "completed orders",
Expand Down
10 changes: 6 additions & 4 deletions apps/wallet-mobile/src/i18n/locales/cs-CZ.json
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@
"components.send.confirmscreen.confirmButton": "Potvrdit",
"components.send.confirmscreen.fees": "Poplatky",
"components.send.confirmscreen.noActiveCollateral": "You don't have an active collateral utxo",
"components.send.confirmscreen.collateralTxPending": "Collateral transaction is pending. Try again later",
"components.send.confirmscreen.password": "Spending heslo",
"components.send.confirmscreen.receiver": "Receiver address, ADA Handle or domains",
"components.send.confirmscreen.sendingModalTitle": "Odesílání transakce",
Expand Down Expand Up @@ -288,7 +289,8 @@
"components.send.sendscreen.feeNotAvailable": "-",
"components.send.sendscreen.receiver": "Receiver",
"components.send.sendscreen.resolvedAddress": "Resolved address",
"components.send.sendscreen.resolverNoticeTitle": "Yoroi Supports",
"components.send.sendscreen.resolverNoticeTitle": "Yoroi supports more addresses",
"components.send.sendscreen.resolverNoticeText": "Yoroi offers a unique chance to use custom and lightning-fast alternatives to the traditional wallet address, such as",
"components.send.sendscreen.searchTokens": "Search assets",
"components.send.sendscreen.sendAllWarningAlert1": "Všechen {assetNameOrId} zůstatek bude během této transakce použit.",
"components.send.sendscreen.sendAllWarningAlert2": "Všechny vlastněné tokeny, včetně NFT a jakékoli jiné nativní asety v peněžence budou také přeneseny v rámci této transakce.",
Expand Down Expand Up @@ -607,6 +609,7 @@
"global.actions.dialogs.walletSynchronizing": "Wallet is synchronizing",
"global.actions.dialogs.wrongPinError.message": "Neplatný PIN",
"global.actions.dialogs.wrongPinError.title": "Neplatný PIN",
"global.actions.dialogs.insufficientCollateral.message": "Collateral amount is insufficient. Please go back and assign collateral.",
"global.all": "All",
"global.apply": "Apply",
"global.assets.assetLabel": "Asset",
Expand Down Expand Up @@ -765,11 +768,10 @@
"scan.linksErrorUnsupportedVersion.help": "The link authority version is not yet supported by the app'",
"scan.linksErrorUnsupportedVersion.title": "Unsupported version",
"scan.title": "Scan the QR code",
"send.helper.addressError.invalid": "Please enter a valid address",
"send.helper.addressError.invalid": "Please enter a valid receiver address, ADA Handle or domain",
"send.helper.addressError.wrongNetwork": "Please enter an address for the current wallet network",
"send.helper.resolver.resolvedAddress": "Resolved address",
"send.helper.resolverError.unsupportedDomain": "Please enter a supported domain",
"send.helper.resolverError.domainNotFound": "Domain not found (check the supported versions)",
"send.helper.resolverError.domainNotFound": "Receiver address, ADA Handle or domain you entered doesn't exist. Please double-check it and try again",
"send.warning.resolver.manyNameServers": "There are more than one address for this domain. Please choose the desired name server.",
"swap.listOrders.card.buttonText": "Cancel order",
"swap.listOrders.completed": "completed orders",
Expand Down
10 changes: 6 additions & 4 deletions apps/wallet-mobile/src/i18n/locales/de-DE.json
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@
"components.send.confirmscreen.confirmButton": "Bestätigen",
"components.send.confirmscreen.fees": "Gebühren",
"components.send.confirmscreen.noActiveCollateral": "You don't have an active collateral utxo",
"components.send.confirmscreen.collateralTxPending": "Collateral transaction is pending. Try again later",
"components.send.confirmscreen.password": "Ausgabekennwort",
"components.send.confirmscreen.receiver": "Receiver address, ADA Handle or domains",
"components.send.confirmscreen.sendingModalTitle": "Überweisung versenden",
Expand Down Expand Up @@ -288,7 +289,8 @@
"components.send.sendscreen.feeNotAvailable": "-",
"components.send.sendscreen.receiver": "Receiver",
"components.send.sendscreen.resolvedAddress": "Resolved address",
"components.send.sendscreen.resolverNoticeTitle": "Yoroi Supports",
"components.send.sendscreen.resolverNoticeTitle": "Yoroi supports more addresses",
"components.send.sendscreen.resolverNoticeText": "Yoroi offers a unique chance to use custom and lightning-fast alternatives to the traditional wallet address, such as",
"components.send.sendscreen.searchTokens": "Search assets",
"components.send.sendscreen.sendAllWarningAlert1": "Deine gesamte {assetNameOrId} Balance wird in dieser Transaktion übertragen.",
"components.send.sendscreen.sendAllWarningAlert2": "Alle deine Token, inklusive NFTs und jeglicher anderer nativen Assets in deiner Wallet werden ebenfalls in dieser Transaktion übertragen.",
Expand Down Expand Up @@ -607,6 +609,7 @@
"global.actions.dialogs.walletSynchronizing": "Die Wallet wird synchronisiert",
"global.actions.dialogs.wrongPinError.message": "Ungültige PIN.",
"global.actions.dialogs.wrongPinError.title": "Ungültige PIN",
"global.actions.dialogs.insufficientCollateral.message": "Collateral amount is insufficient. Please go back and assign collateral.",
"global.all": "All",
"global.apply": "Apply",
"global.assets.assetLabel": "Asset",
Expand Down Expand Up @@ -765,11 +768,10 @@
"scan.linksErrorUnsupportedVersion.help": "The link authority version is not yet supported by the app'",
"scan.linksErrorUnsupportedVersion.title": "Unsupported version",
"scan.title": "Scan the QR code",
"send.helper.addressError.invalid": "Please enter a valid address",
"send.helper.addressError.invalid": "Please enter a valid receiver address, ADA Handle or domain",
"send.helper.addressError.wrongNetwork": "Please enter an address for the current wallet network",
"send.helper.resolver.resolvedAddress": "Resolved address",
"send.helper.resolverError.unsupportedDomain": "Please enter a supported domain",
"send.helper.resolverError.domainNotFound": "Domain not found (check the supported versions)",
"send.helper.resolverError.domainNotFound": "Receiver address, ADA Handle or domain you entered doesn't exist. Please double-check it and try again",
"send.warning.resolver.manyNameServers": "There are more than one address for this domain. Please choose the desired name server.",
"swap.listOrders.card.buttonText": "Cancel order",
"swap.listOrders.completed": "completed orders",
Expand Down
10 changes: 6 additions & 4 deletions apps/wallet-mobile/src/i18n/locales/el-GR.json
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@
"components.send.confirmscreen.confirmButton": "Επιβεβαίωση",
"components.send.confirmscreen.fees": "Fees",
"components.send.confirmscreen.noActiveCollateral": "You don't have an active collateral utxo",
"components.send.confirmscreen.collateralTxPending": "Collateral transaction is pending. Try again later",
"components.send.confirmscreen.password": "Spending password",
"components.send.confirmscreen.receiver": "Receiver address, ADA Handle or domains",
"components.send.confirmscreen.sendingModalTitle": "Submitting transaction",
Expand Down Expand Up @@ -288,7 +289,8 @@
"components.send.sendscreen.feeNotAvailable": "-",
"components.send.sendscreen.receiver": "Receiver",
"components.send.sendscreen.resolvedAddress": "Resolved address",
"components.send.sendscreen.resolverNoticeTitle": "Yoroi Supports",
"components.send.sendscreen.resolverNoticeTitle": "Yoroi supports more addresses",
"components.send.sendscreen.resolverNoticeText": "Yoroi offers a unique chance to use custom and lightning-fast alternatives to the traditional wallet address, such as",
"components.send.sendscreen.searchTokens": "Search assets",
"components.send.sendscreen.sendAllWarningAlert1": "All your {assetNameOrId} balance will be transferred in this transaction.",
"components.send.sendscreen.sendAllWarningAlert2": "All your tokens, including NFTs and any other native assets in your wallet, will also be transferred in this transaction.",
Expand Down Expand Up @@ -607,6 +609,7 @@
"global.actions.dialogs.walletSynchronizing": "Wallet is synchronizing",
"global.actions.dialogs.wrongPinError.message": "PIN is incorrect.",
"global.actions.dialogs.wrongPinError.title": "Invalid PIN",
"global.actions.dialogs.insufficientCollateral.message": "Collateral amount is insufficient. Please go back and assign collateral.",
"global.all": "All",
"global.apply": "Apply",
"global.assets.assetLabel": "Asset",
Expand Down Expand Up @@ -765,11 +768,10 @@
"scan.linksErrorUnsupportedVersion.help": "The link authority version is not yet supported by the app'",
"scan.linksErrorUnsupportedVersion.title": "Unsupported version",
"scan.title": "Scan the QR code",
"send.helper.addressError.invalid": "Please enter a valid address",
"send.helper.addressError.invalid": "Please enter a valid receiver address, ADA Handle or domain",
"send.helper.addressError.wrongNetwork": "Please enter an address for the current wallet network",
"send.helper.resolver.resolvedAddress": "Resolved address",
"send.helper.resolverError.unsupportedDomain": "Please enter a supported domain",
"send.helper.resolverError.domainNotFound": "Domain not found (check the supported versions)",
"send.helper.resolverError.domainNotFound": "Receiver address, ADA Handle or domain you entered doesn't exist. Please double-check it and try again",
"send.warning.resolver.manyNameServers": "There are more than one address for this domain. Please choose the desired name server.",
"swap.listOrders.card.buttonText": "Cancel order",
"swap.listOrders.completed": "completed orders",
Expand Down
10 changes: 6 additions & 4 deletions apps/wallet-mobile/src/i18n/locales/es-ES.json
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@
"components.send.confirmscreen.confirmButton": "Confirmar",
"components.send.confirmscreen.fees": "Comisiones",
"components.send.confirmscreen.noActiveCollateral": "You don't have an active collateral utxo",
"components.send.confirmscreen.collateralTxPending": "Collateral transaction is pending. Try again later",
"components.send.confirmscreen.password": "Contraseña de gastos",
"components.send.confirmscreen.receiver": "Receiver address, ADA Handle or domains",
"components.send.confirmscreen.sendingModalTitle": "Enviando la transacción",
Expand Down Expand Up @@ -288,7 +289,8 @@
"components.send.sendscreen.feeNotAvailable": "-",
"components.send.sendscreen.receiver": "Receiver",
"components.send.sendscreen.resolvedAddress": "Resolved address",
"components.send.sendscreen.resolverNoticeTitle": "Yoroi Supports",
"components.send.sendscreen.resolverNoticeTitle": "Yoroi supports more addresses",
"components.send.sendscreen.resolverNoticeText": "Yoroi offers a unique chance to use custom and lightning-fast alternatives to the traditional wallet address, such as",
"components.send.sendscreen.searchTokens": "Search assets",
"components.send.sendscreen.sendAllWarningAlert1": "Todo tu saldo de {assetNameOrId} será transferido en esta transacción.",
"components.send.sendscreen.sendAllWarningAlert2": "Todos tus tokens, incluidos los NFT y cualquier otro activo nativo en tu wallet, también se transferirán en esta transacción.",
Expand Down Expand Up @@ -607,6 +609,7 @@
"global.actions.dialogs.walletSynchronizing": "Wallet is synchronizing",
"global.actions.dialogs.wrongPinError.message": "PIN incorrecto.",
"global.actions.dialogs.wrongPinError.title": "PIN inválido",
"global.actions.dialogs.insufficientCollateral.message": "Collateral amount is insufficient. Please go back and assign collateral.",
"global.all": "All",
"global.apply": "Apply",
"global.assets.assetLabel": "Asset",
Expand Down Expand Up @@ -765,11 +768,10 @@
"scan.linksErrorUnsupportedVersion.help": "The link authority version is not yet supported by the app'",
"scan.linksErrorUnsupportedVersion.title": "Unsupported version",
"scan.title": "Scan the QR code",
"send.helper.addressError.invalid": "Please enter a valid address",
"send.helper.addressError.invalid": "Please enter a valid receiver address, ADA Handle or domain",
"send.helper.addressError.wrongNetwork": "Please enter an address for the current wallet network",
"send.helper.resolver.resolvedAddress": "Resolved address",
"send.helper.resolverError.unsupportedDomain": "Please enter a supported domain",
"send.helper.resolverError.domainNotFound": "Domain not found (check the supported versions)",
"send.helper.resolverError.domainNotFound": "Receiver address, ADA Handle or domain you entered doesn't exist. Please double-check it and try again",
"send.warning.resolver.manyNameServers": "There are more than one address for this domain. Please choose the desired name server.",
"swap.listOrders.card.buttonText": "Cancel order",
"swap.listOrders.completed": "completed orders",
Expand Down
10 changes: 6 additions & 4 deletions apps/wallet-mobile/src/i18n/locales/fil-PH.json
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@
"components.send.confirmscreen.confirmButton": "Confirm",
"components.send.confirmscreen.fees": "Fees",
"components.send.confirmscreen.noActiveCollateral": "You don't have an active collateral utxo",
"components.send.confirmscreen.collateralTxPending": "Collateral transaction is pending. Try again later",
"components.send.confirmscreen.password": "Spending password",
"components.send.confirmscreen.receiver": "Receiver address, ADA Handle or domains",
"components.send.confirmscreen.sendingModalTitle": "Submitting transaction",
Expand Down Expand Up @@ -288,7 +289,8 @@
"components.send.sendscreen.feeNotAvailable": "-",
"components.send.sendscreen.receiver": "Receiver",
"components.send.sendscreen.resolvedAddress": "Resolved address",
"components.send.sendscreen.resolverNoticeTitle": "Yoroi Supports",
"components.send.sendscreen.resolverNoticeTitle": "Yoroi supports more addresses",
"components.send.sendscreen.resolverNoticeText": "Yoroi offers a unique chance to use custom and lightning-fast alternatives to the traditional wallet address, such as",
"components.send.sendscreen.searchTokens": "Search assets",
"components.send.sendscreen.sendAllWarningAlert1": "All your {assetNameOrId} balance will be transferred in this transaction.",
"components.send.sendscreen.sendAllWarningAlert2": "All your tokens, including NFTs and any other native assets in your wallet, will also be transferred in this transaction.",
Expand Down Expand Up @@ -607,6 +609,7 @@
"global.actions.dialogs.walletSynchronizing": "Wallet is synchronizing",
"global.actions.dialogs.wrongPinError.message": "PIN is incorrect.",
"global.actions.dialogs.wrongPinError.title": "Invalid PIN",
"global.actions.dialogs.insufficientCollateral.message": "Collateral amount is insufficient. Please go back and assign collateral.",
"global.all": "All",
"global.apply": "Apply",
"global.assets.assetLabel": "Asset",
Expand Down Expand Up @@ -765,11 +768,10 @@
"scan.linksErrorUnsupportedVersion.help": "The link authority version is not yet supported by the app'",
"scan.linksErrorUnsupportedVersion.title": "Unsupported version",
"scan.title": "Scan the QR code",
"send.helper.addressError.invalid": "Please enter a valid address",
"send.helper.addressError.invalid": "Please enter a valid receiver address, ADA Handle or domain",
"send.helper.addressError.wrongNetwork": "Please enter an address for the current wallet network",
"send.helper.resolver.resolvedAddress": "Resolved address",
"send.helper.resolverError.unsupportedDomain": "Please enter a supported domain",
"send.helper.resolverError.domainNotFound": "Domain not found (check the supported versions)",
"send.helper.resolverError.domainNotFound": "Receiver address, ADA Handle or domain you entered doesn't exist. Please double-check it and try again",
"send.warning.resolver.manyNameServers": "There are more than one address for this domain. Please choose the desired name server.",
"swap.listOrders.card.buttonText": "Cancel order",
"swap.listOrders.completed": "completed orders",
Expand Down
Loading

0 comments on commit af13c20

Please sign in to comment.