diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 87696dd0..3ec59690 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -5,6 +5,7 @@ module.exports = { 'eslint:recommended', 'plugin:@typescript-eslint/recommended', 'plugin:react-hooks/recommended', + 'plugin:lingui/recommended', ], ignorePatterns: ['dist', '.eslintrc.cjs'], parser: '@typescript-eslint/parser', diff --git a/package.json b/package.json index 54bec178..afb05e6a 100644 --- a/package.json +++ b/package.json @@ -74,6 +74,7 @@ "@vitejs/plugin-react-swc": "^3.7.0", "autoprefixer": "^10.4.20", "eslint": "^8.57.0", + "eslint-plugin-lingui": "^0.9.0", "eslint-plugin-react-hooks": "^4.6.2", "eslint-plugin-react-refresh": "^0.4.9", "postcss": "^8.4.47", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e6b521f4..ac19241d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -177,6 +177,9 @@ importers: eslint: specifier: ^8.57.0 version: 8.57.0 + eslint-plugin-lingui: + specifier: ^0.9.0 + version: 0.9.0(eslint@8.57.0)(typescript@5.5.4) eslint-plugin-react-hooks: specifier: ^4.6.2 version: 4.6.2(eslint@8.57.0) @@ -1681,6 +1684,10 @@ packages: resolution: {integrity: sha512-jjhdIE/FPF2B7Z1uzc6i3oWKbGcHb87Qw7AWj6jmEqNOfDFbJWtjt/XfwCpvNkpGWlcJaog5vTR+VV8+w9JflA==} engines: {node: ^18.18.0 || >=20.0.0} + '@typescript-eslint/scope-manager@8.18.2': + resolution: {integrity: sha512-YJFSfbd0CJjy14r/EvWapYgV4R5CHzptssoag2M7y3Ra7XNta6GPAJPPP5KGB9j14viYXyrzRO5GkX7CRfo8/g==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@typescript-eslint/type-utils@7.18.0': resolution: {integrity: sha512-XL0FJXuCLaDuX2sYqZUUSOJ2sG5/i1AAze+axqmLnSkNEVMVYLF+cbwlB2w8D1tinFuSikHmFta+P+HOofrLeA==} engines: {node: ^18.18.0 || >=20.0.0} @@ -1695,6 +1702,10 @@ packages: resolution: {integrity: sha512-iZqi+Ds1y4EDYUtlOOC+aUmxnE9xS/yCigkjA7XpTKV6nCBd3Hp/PRGGmdwnfkV2ThMyYldP1wRpm/id99spTQ==} engines: {node: ^18.18.0 || >=20.0.0} + '@typescript-eslint/types@8.18.2': + resolution: {integrity: sha512-Z/zblEPp8cIvmEn6+tPDIHUbRu/0z5lqZ+NvolL5SvXWT5rQy7+Nch83M0++XzO0XrWRFWECgOAyE8bsJTl1GQ==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@typescript-eslint/typescript-estree@7.18.0': resolution: {integrity: sha512-aP1v/BSPnnyhMHts8cf1qQ6Q1IFwwRvAQGRvBFkWlo3/lH29OXA3Pts+c10nxRxIBrDnoMqzhgdwVe5f2D6OzA==} engines: {node: ^18.18.0 || >=20.0.0} @@ -1704,16 +1715,33 @@ packages: typescript: optional: true + '@typescript-eslint/typescript-estree@8.18.2': + resolution: {integrity: sha512-WXAVt595HjpmlfH4crSdM/1bcsqh+1weFRWIa9XMTx/XHZ9TCKMcr725tLYqWOgzKdeDrqVHxFotrvWcEsk2Tg==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + typescript: '>=4.8.4 <5.8.0' + '@typescript-eslint/utils@7.18.0': resolution: {integrity: sha512-kK0/rNa2j74XuHVcoCZxdFBMF+aq/vH83CXAOHieC+2Gis4mF8jJXT5eAfyD3K0sAxtPuwxaIOIOvhwzVDt/kw==} engines: {node: ^18.18.0 || >=20.0.0} peerDependencies: eslint: ^8.56.0 + '@typescript-eslint/utils@8.18.2': + resolution: {integrity: sha512-Cr4A0H7DtVIPkauj4sTSXVl+VBWewE9/o40KcF3TV9aqDEOWoXF3/+oRXNby3DYzZeCATvbdksYsGZzplwnK/Q==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + peerDependencies: + eslint: ^8.57.0 || ^9.0.0 + typescript: '>=4.8.4 <5.8.0' + '@typescript-eslint/visitor-keys@7.18.0': resolution: {integrity: sha512-cDF0/Gf81QpY3xYyJKDV14Zwdmid5+uuENhjH2EqFaF0ni+yAyq/LzMaIJdhNJXZI7uLzwIlA+V7oWoyn6Curg==} engines: {node: ^18.18.0 || >=20.0.0} + '@typescript-eslint/visitor-keys@8.18.2': + resolution: {integrity: sha512-zORcwn4C3trOWiCqFQP1x6G3xTRyZ1LYydnj51cRnJ6hxBlr/cKPckk+PKPUw/fXmvfKTcw7bwY3w9izgx5jZw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@ungap/structured-clone@1.2.0': resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} @@ -2171,6 +2199,12 @@ packages: resolution: {integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==} engines: {node: '>=10'} + eslint-plugin-lingui@0.9.0: + resolution: {integrity: sha512-mGc7MUqJP28WOrXysxf6suCvAUoIvU7v0F1cvvRk/aPzaTRXVzDdIl62/CJk9NurUFazXC70sbafe/5d8V8tYA==} + engines: {node: '>=16.0.0'} + peerDependencies: + eslint: ^8.37.0 || ^9.0.0 + eslint-plugin-react-hooks@4.6.2: resolution: {integrity: sha512-QzliNJq4GinDBcD8gPB5v0wh6g8q3SUi6EFF0x8N/BL9PoVs0atuGc47ozMRyOWAKdwaZ5OnbOEa3WR+dSGKuQ==} engines: {node: '>=10'} @@ -2190,6 +2224,10 @@ packages: resolution: {integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} + eslint-visitor-keys@4.2.0: + resolution: {integrity: sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + eslint@8.57.0: resolution: {integrity: sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -5059,6 +5097,11 @@ snapshots: '@typescript-eslint/types': 7.18.0 '@typescript-eslint/visitor-keys': 7.18.0 + '@typescript-eslint/scope-manager@8.18.2': + dependencies: + '@typescript-eslint/types': 8.18.2 + '@typescript-eslint/visitor-keys': 8.18.2 + '@typescript-eslint/type-utils@7.18.0(eslint@8.57.0)(typescript@5.5.4)': dependencies: '@typescript-eslint/typescript-estree': 7.18.0(typescript@5.5.4) @@ -5073,6 +5116,8 @@ snapshots: '@typescript-eslint/types@7.18.0': {} + '@typescript-eslint/types@8.18.2': {} + '@typescript-eslint/typescript-estree@7.18.0(typescript@5.5.4)': dependencies: '@typescript-eslint/types': 7.18.0 @@ -5088,6 +5133,20 @@ snapshots: transitivePeerDependencies: - supports-color + '@typescript-eslint/typescript-estree@8.18.2(typescript@5.5.4)': + dependencies: + '@typescript-eslint/types': 8.18.2 + '@typescript-eslint/visitor-keys': 8.18.2 + debug: 4.3.6 + fast-glob: 3.3.2 + is-glob: 4.0.3 + minimatch: 9.0.5 + semver: 7.6.3 + ts-api-utils: 1.3.0(typescript@5.5.4) + typescript: 5.5.4 + transitivePeerDependencies: + - supports-color + '@typescript-eslint/utils@7.18.0(eslint@8.57.0)(typescript@5.5.4)': dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) @@ -5099,11 +5158,27 @@ snapshots: - supports-color - typescript + '@typescript-eslint/utils@8.18.2(eslint@8.57.0)(typescript@5.5.4)': + dependencies: + '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) + '@typescript-eslint/scope-manager': 8.18.2 + '@typescript-eslint/types': 8.18.2 + '@typescript-eslint/typescript-estree': 8.18.2(typescript@5.5.4) + eslint: 8.57.0 + typescript: 5.5.4 + transitivePeerDependencies: + - supports-color + '@typescript-eslint/visitor-keys@7.18.0': dependencies: '@typescript-eslint/types': 7.18.0 eslint-visitor-keys: 3.4.3 + '@typescript-eslint/visitor-keys@8.18.2': + dependencies: + '@typescript-eslint/types': 8.18.2 + eslint-visitor-keys: 4.2.0 + '@ungap/structured-clone@1.2.0': {} '@use-gesture/core@10.3.1': {} @@ -5717,6 +5792,15 @@ snapshots: escape-string-regexp@4.0.0: {} + eslint-plugin-lingui@0.9.0(eslint@8.57.0)(typescript@5.5.4): + dependencies: + '@typescript-eslint/utils': 8.18.2(eslint@8.57.0)(typescript@5.5.4) + eslint: 8.57.0 + micromatch: 4.0.7 + transitivePeerDependencies: + - supports-color + - typescript + eslint-plugin-react-hooks@4.6.2(eslint@8.57.0): dependencies: eslint: 8.57.0 @@ -5732,6 +5816,8 @@ snapshots: eslint-visitor-keys@3.4.3: {} + eslint-visitor-keys@4.2.0: {} + eslint@8.57.0: dependencies: '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) diff --git a/src/components/ConfirmationDialog.tsx b/src/components/ConfirmationDialog.tsx index 4b324533..dd5bf056 100644 --- a/src/components/ConfirmationDialog.tsx +++ b/src/components/ConfirmationDialog.tsx @@ -62,6 +62,7 @@ export default function ConfirmationDialog({ onConfirm, }: ConfirmationDialogProps) { const walletState = useWalletState(); + const ticker = walletState.sync.unit.ticker; const { addError } = useErrors(); @@ -141,8 +142,7 @@ export default function ConfirmationDialog({ - Fee exceeds recommended maximum of 0.001{' '} - {walletState.sync.unit.ticker} + Fee exceeds recommended maximum of 0.001 {ticker} diff --git a/src/components/Header.tsx b/src/components/Header.tsx index 0c06edcc..3c926996 100644 --- a/src/components/Header.tsx +++ b/src/components/Header.tsx @@ -27,9 +27,12 @@ export default function Header( const initialized = useInitialization(); const wallet = useWallet(initialized); + const { peers } = usePeers(); const walletState = useWalletState(); + const syncedCoins = walletState.sync.synced_coins; + const totalCoins = walletState.sync.total_coins; const isSynced = useMemo( () => walletState.sync.synced_coins === walletState.sync.total_coins, [walletState.sync.synced_coins, walletState.sync.total_coins], @@ -129,8 +132,7 @@ export default function Header( ) : ( - Syncing {walletState.sync.synced_coins} /{' '} - {walletState.sync.total_coins} + Syncing {syncedCoins} / {totalCoins} )} diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index 75cf57da..5a946062 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -19,6 +19,8 @@ export default function Layout(props: PropsWithChildren) { const { peers } = usePeers(); const walletState = useWalletState(); + const syncedCoins = walletState.sync.synced_coins; + const totalCoins = walletState.sync.total_coins; const isSynced = useMemo( () => walletState.sync.synced_coins === walletState.sync.total_coins, [walletState.sync.synced_coins, walletState.sync.total_coins], @@ -83,8 +85,7 @@ export default function Layout(props: PropsWithChildren) { ) : ( - Syncing {walletState.sync.synced_coins} /{' '} - {walletState.sync.total_coins} + Syncing {syncedCoins} / {totalCoins} )} diff --git a/src/components/MultiSelectActions.tsx b/src/components/MultiSelectActions.tsx index 71c862a6..36a938ae 100644 --- a/src/components/MultiSelectActions.tsx +++ b/src/components/MultiSelectActions.tsx @@ -35,6 +35,7 @@ export function MultiSelectActions({ }: MultiSelectActionsProps) { const walletState = useWalletState(); const { addError } = useErrors(); + const selectedCount = selected.length; const [transferOpen, setTransferOpen] = useState(false); const [assignOpen, setAssignOpen] = useState(false); @@ -82,7 +83,7 @@ export function MultiSelectActions({ <>
- {selected.length} selected + {selectedCount} selected @@ -156,7 +157,7 @@ export function MultiSelectActions({ onSubmit={onTransferSubmit} > - This will bulk transfer {selected.length} NFTs to another wallet. Are + This will bulk transfer {selectedCount} NFTs to another wallet. Are you sure you want to proceed? @@ -186,7 +187,7 @@ export function MultiSelectActions({ onSubmit={onBurnSubmit} > - This will bulk burn {selected.length} NFTs. This cannot be undone. Are + This will bulk burn {selectedCount} NFTs. This cannot be undone. Are you sure you want to proceed? diff --git a/src/locales/de-DE/messages.po b/src/locales/de-DE/messages.po index 0aab1f02..4aeaf7ec 100644 --- a/src/locales/de-DE/messages.po +++ b/src/locales/de-DE/messages.po @@ -1,62 +1,60 @@ msgid "" msgstr "" -"POT-Creation-Date: 2024-12-22 00:52-0300\n" +"POT-Creation-Date: 2024-12-23 19:37-0300\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: @lingui/cli\n" "Language: de-DE\n" -"Project-Id-Version: \n" -"Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: \n" -"Last-Translator: \n" -"Language-Team: \n" -"Plural-Forms: \n" #: src/pages/MakeOffer.tsx:317 msgid " The offer has been created and imported successfully. You can copy the offer file below and send it to the intended recipient or make it public to be accepted by anyone. " msgstr "" -#: src/components/Layout.tsx:75 -#: src/components/Header.tsx:121 +#: src/components/Layout.tsx:77 +#: src/components/Header.tsx:124 msgid "{0, plural, one {# peer} other {# peers}}" msgstr "" -#: src/pages/PeerList.tsx:522 -msgid "{0, plural, one {Ban peer temporarily} other {Ban peers temporarily}}" +#: src/pages/DidList.tsx:89 +msgid "{0, plural, one {You do not currently have any DID profile. Would you like to create one?} other {You do not currently have any DID profiles. Would you like to create one?}}" msgstr "" -#: src/pages/PeerList.tsx:569 -msgid "{0, plural, one {Remove Peer} other {Remove Peers}}" +#: src/pages/PeerList.tsx:526 +msgid "{peersToDeleteCount, plural, one {Ban peer temporarily} other {Ban peers temporarily}}" msgstr "" -#: src/pages/PeerList.tsx:513 -msgid "{0, plural, one {This will remove the peer from your connection. If you are currently syncing against this peer, a new one will be used to replace it.} other {This will remove # peers from your connection. If you are currently syncing against these peers, new ones will be used to replace them.}}" +#: src/pages/PeerList.tsx:573 +msgid "{peersToDeleteCount, plural, one {Remove Peer} other {Remove Peers}}" msgstr "" -#: src/pages/PeerList.tsx:533 -msgid "{0, plural, one {Will temporarily prevent the peer from being connected to.} other {Will temporarily prevent the peers from being connected to.}}" +#: src/pages/PeerList.tsx:517 +msgid "{peersToDeleteCount, plural, one {This will remove the peer from your connection. If you are currently syncing against this peer, a new one will be used to replace it.} other {This will remove # peers from your connection. If you are currently syncing against these peers, new ones will be used to replace them.}}" msgstr "" -#: src/pages/Transactions.tsx:185 -msgid "{0} coins spent," +#: src/pages/PeerList.tsx:537 +msgid "{peersToDeleteCount, plural, one {Will temporarily prevent the peer from being connected to.} other {Will temporarily prevent the peers from being connected to.}}" msgstr "" -#: src/pages/Transactions.tsx:186 -msgid "{0} created" +#: src/components/MultiSelectActions.tsx:86 +msgid "{selectedCount} selected" msgstr "" -#: src/components/MultiSelectActions.tsx:85 -msgid "{0} selected" +#: src/pages/Transactions.tsx:190 +msgid "{transactionCreatedLength} created" +msgstr "" + +#: src/pages/Transactions.tsx:189 +msgid "{transactionSpentLength} coins spent," msgstr "" -#: src/pages/PeerList.tsx:230 -#: src/components/MultiSelectActions.tsx:90 +#: src/pages/PeerList.tsx:234 +#: src/components/MultiSelectActions.tsx:91 #: src/components/AddressList.tsx:68 msgid "Actions" msgstr "" -#: src/pages/PeerList.tsx:358 +#: src/pages/PeerList.tsx:362 msgid "Add new peer" msgstr "" @@ -64,7 +62,7 @@ msgstr "" msgid "Add NFT URL" msgstr "" -#: src/pages/PeerList.tsx:352 +#: src/pages/PeerList.tsx:356 msgid "Add Peer" msgstr "" @@ -81,8 +79,8 @@ msgstr "" msgid "Add URL" msgstr "" -#: src/pages/Send.tsx:148 -#: src/pages/Nft.tsx:231 +#: src/pages/Send.tsx:147 +#: src/pages/Nft.tsx:233 #: src/components/TransferDialog.tsx:81 #: src/components/AddressList.tsx:57 msgid "Address" @@ -100,15 +98,15 @@ msgstr "" msgid "Addresses" msgstr "" -#: src/components/ConfirmationDialog.tsx:129 +#: src/components/ConfirmationDialog.tsx:130 msgid "Advanced" msgstr "" -#: src/pages/Addresses.tsx:71 +#: src/pages/Addresses.tsx:73 msgid "All Addresses" msgstr "" -#: src/pages/Send.tsx:171 +#: src/pages/Send.tsx:170 #: src/pages/MakeOffer.tsx:547 #: src/pages/IssueToken.tsx:108 #: src/components/CoinList.tsx:109 @@ -127,11 +125,11 @@ msgstr "" msgid "Are you sure you want to delete this wallet? This cannot be undone, and all funds will be lost unless you have saved your mnemonic phrase." msgstr "" -#: src/pages/PeerList.tsx:507 -msgid "Are you sure you want to remove {0} peers?" +#: src/pages/PeerList.tsx:511 +msgid "Are you sure you want to remove {peersToDeleteCount} peers?" msgstr "" -#: src/pages/PeerList.tsx:505 +#: src/pages/PeerList.tsx:509 msgid "Are you sure you want to remove the peer?" msgstr "" @@ -149,48 +147,48 @@ msgstr "" #: src/components/NftCard.tsx:266 #: src/components/NftCard.tsx:365 -#: src/components/MultiSelectActions.tsx:118 +#: src/components/MultiSelectActions.tsx:119 msgid "Assign Profile" msgstr "" -#: src/components/Layout.tsx:81 -#: src/components/Header.tsx:127 +#: src/components/Layout.tsx:83 +#: src/components/Header.tsx:130 msgid "at peak {peerMaxHeight}" msgstr "" -#: src/pages/Nft.tsx:116 +#: src/pages/Nft.tsx:118 msgid "Attributes" msgstr "" -#: src/components/Header.tsx:61 -#: src/components/Header.tsx:65 -#: src/components/Header.tsx:164 +#: src/components/Header.tsx:64 +#: src/components/Header.tsx:68 +#: src/components/Header.tsx:166 msgid "Back" msgstr "" -#: src/pages/Transactions.tsx:182 -msgid "Block #{0}" +#: src/pages/Transactions.tsx:186 +msgid "Block #{transactionHeight}" msgstr "" -#: src/components/MultiSelectActions.tsx:165 +#: src/components/MultiSelectActions.tsx:166 msgid "Bulk Assign Profile" msgstr "" -#: src/components/MultiSelectActions.tsx:183 +#: src/components/MultiSelectActions.tsx:184 msgid "Bulk Burn NFTs" msgstr "" -#: src/components/MultiSelectActions.tsx:153 +#: src/components/MultiSelectActions.tsx:154 msgid "Bulk Transfer NFTs" msgstr "" -#: src/components/MultiSelectActions.tsx:174 +#: src/components/MultiSelectActions.tsx:175 msgid "Bulk Unassign Profile" msgstr "" -#: src/pages/DidList.tsx:210 +#: src/pages/DidList.tsx:211 #: src/components/NftCard.tsx:314 -#: src/components/MultiSelectActions.tsx:144 +#: src/components/MultiSelectActions.tsx:145 msgid "Burn" msgstr "" @@ -198,7 +196,7 @@ msgstr "" msgid "Burn NFT" msgstr "" -#: src/pages/DidList.tsx:309 +#: src/pages/DidList.tsx:310 msgid "Burn Profile" msgstr "" @@ -207,16 +205,16 @@ msgid "By disabling this you are creating a cold wallet, with no ability to sign msgstr "" #: src/pages/Token.tsx:347 -#: src/pages/Token.tsx:554 -#: src/pages/Token.tsx:622 -#: src/pages/PeerList.tsx:330 -#: src/pages/PeerList.tsx:402 -#: src/pages/PeerList.tsx:551 -#: src/pages/Offers.tsx:272 +#: src/pages/Token.tsx:555 +#: src/pages/Token.tsx:623 +#: src/pages/PeerList.tsx:334 +#: src/pages/PeerList.tsx:406 +#: src/pages/PeerList.tsx:555 +#: src/pages/Offers.tsx:270 #: src/pages/Login.tsx:337 #: src/pages/Login.tsx:365 #: src/pages/Login.tsx:415 -#: src/pages/DidList.tsx:290 +#: src/pages/DidList.tsx:291 #: src/pages/CreateWallet.tsx:252 #: src/components/TransferDialog.tsx:114 #: src/components/NftCard.tsx:474 @@ -230,7 +228,7 @@ msgstr "" msgid "Cancel Offer" msgstr "" -#: src/pages/Offers.tsx:199 +#: src/pages/Offers.tsx:197 msgid "Cancelled" msgstr "" @@ -250,11 +248,11 @@ msgstr "" msgid "Coin" msgstr "" -#: src/pages/Nft.tsx:238 +#: src/pages/Nft.tsx:240 msgid "Coin Id" msgstr "" -#: src/pages/Token.tsx:481 +#: src/pages/Token.tsx:482 msgid "Coins" msgstr "" @@ -262,24 +260,24 @@ msgstr "" msgid "Cold Wallet" msgstr "" -#: src/pages/Nft.tsx:105 +#: src/pages/Nft.tsx:107 msgid "Collection Name" msgstr "" -#: src/pages/Token.tsx:508 -#: src/pages/Token.tsx:557 +#: src/pages/Token.tsx:509 +#: src/pages/Token.tsx:558 msgid "Combine" msgstr "" -#: src/pages/Token.tsx:520 -msgid "Combine {0}" +#: src/pages/Token.tsx:521 +msgid "Combine {ticker}" msgstr "" #: src/pages/CreateWallet.tsx:260 msgid "Confirm" msgstr "" -#: src/components/ConfirmationDialog.tsx:119 +#: src/components/ConfirmationDialog.tsx:120 msgid "Confirm transaction?" msgstr "" @@ -288,20 +286,20 @@ msgid "Confirmed" msgstr "" #: src/pages/Settings.tsx:145 -#: src/pages/PeerList.tsx:416 +#: src/pages/PeerList.tsx:420 msgid "Connect" msgstr "" -#: src/pages/PeerList.tsx:318 -msgid "Connected to {0} peers" +#: src/pages/PeerList.tsx:322 +msgid "Connected to {totalPeersCount} peers" msgstr "" -#: src/components/Layout.tsx:82 -#: src/components/Header.tsx:128 +#: src/components/Layout.tsx:84 +#: src/components/Header.tsx:131 msgid "connecting..." msgstr "" -#: src/pages/Offers.tsx:234 +#: src/pages/Offers.tsx:232 msgid "Copy" msgstr "" @@ -309,10 +307,6 @@ msgstr "" msgid "Copy ID" msgstr "" -#: src/pages/MakeOffer.tsx:279 -#~ msgid "Copy the offer file below and send it to the intended recipient or make it public to be accepted by anyone." -#~ msgstr "" - #: src/pages/Login.tsx:81 msgid "Create" msgstr "" @@ -321,16 +315,16 @@ msgstr "" msgid "Create a new offer to get started with peer-to-peer trading." msgstr "" -#: src/pages/DidList.tsx:85 +#: src/pages/DidList.tsx:86 msgid "Create a profile?" msgstr "" -#: src/pages/Offers.tsx:137 +#: src/pages/Offers.tsx:135 #: src/pages/MakeOffer.tsx:306 msgid "Create Offer" msgstr "" -#: src/pages/DidList.tsx:65 +#: src/pages/DidList.tsx:66 #: src/pages/CreateProfile.tsx:58 #: src/pages/CreateProfile.tsx:105 msgid "Create Profile" @@ -357,11 +351,11 @@ msgstr "" msgid "Data" msgstr "" -#: src/pages/Nft.tsx:185 +#: src/pages/Nft.tsx:187 msgid "Data Hash" msgstr "" -#: src/pages/Nft.tsx:134 +#: src/pages/Nft.tsx:136 msgid "Data URIs" msgstr "" @@ -373,18 +367,18 @@ msgstr "" msgid "Days" msgstr "" -#: src/pages/Offers.tsx:247 -#: src/pages/Offers.tsx:283 +#: src/pages/Offers.tsx:245 +#: src/pages/Offers.tsx:281 #: src/pages/Login.tsx:279 #: src/pages/Login.tsx:368 msgid "Delete" msgstr "" -#: src/pages/PeerList.tsx:345 -msgid "Delete ({0})" +#: src/pages/PeerList.tsx:349 +msgid "Delete {selectedPeersCount}" msgstr "" -#: src/pages/Offers.tsx:260 +#: src/pages/Offers.tsx:258 msgid "Delete offer record?" msgstr "" @@ -392,7 +386,7 @@ msgstr "" msgid "Delete saved offer files" msgstr "" -#: src/pages/Nft.tsx:96 +#: src/pages/Nft.tsx:98 msgid "Description" msgstr "" @@ -433,7 +427,7 @@ msgstr "" msgid "Edit Token Details" msgstr "" -#: src/pages/Send.tsx:155 +#: src/pages/Send.tsx:154 #: src/pages/MintNft.tsx:211 #: src/components/TransferDialog.tsx:84 msgid "Enter address" @@ -443,10 +437,6 @@ msgstr "" msgid "Enter amount" msgstr "" -#: src/pages/MakeOffer.tsx:437 -#~ msgid "Enter asset id" -#~ msgstr "" - #: src/pages/MintNft.tsx:148 #: src/pages/MintNft.tsx:169 #: src/pages/MintNft.tsx:190 @@ -457,15 +447,11 @@ msgstr "" msgid "Enter fee amount" msgstr "" -#: src/pages/MakeOffer.tsx:396 -#~ msgid "Enter launcher id" -#~ msgstr "" - #: src/components/FeeOnlyDialog.tsx:84 msgid "Enter network fee" msgstr "" -#: src/pages/Offers.tsx:154 +#: src/pages/Offers.tsx:152 msgid "Enter Offer String" msgstr "" @@ -473,7 +459,7 @@ msgstr "" msgid "Enter percent" msgstr "" -#: src/pages/PeerList.tsx:361 +#: src/pages/PeerList.tsx:365 msgid "Enter the IP address of the peer you want to connect to." msgstr "" @@ -481,7 +467,7 @@ msgstr "" msgid "Enter the new display details for this token" msgstr "" -#: src/pages/DidList.tsx:260 +#: src/pages/DidList.tsx:261 msgid "Enter the new display name for this profile." msgstr "" @@ -497,7 +483,7 @@ msgstr "" msgid "Enter your mnemonic, private key, or public key below. If it's a public key, it will be imported as a read-only cold wallet." msgstr "" -#: src/pages/Offers.tsx:201 +#: src/pages/Offers.tsx:199 msgid "Expired" msgstr "" @@ -509,18 +495,18 @@ msgstr "" msgid "External Links" msgstr "" -#: src/pages/Send.tsx:197 +#: src/pages/Send.tsx:196 #: src/pages/IssueToken.tsx:129 #: src/components/ConfirmationDialog.tsx:154 #: src/components/ConfirmationDialog.tsx:379 msgid "Fee" msgstr "" -#: src/components/ConfirmationDialog.tsx:143 -msgid "Fee exceeds recommended maximum of 0.001 {0}" +#: src/components/ConfirmationDialog.tsx:144 +msgid "Fee exceeds recommended maximum of 0.001 {ticker}" msgstr "" -#: src/pages/Addresses.tsx:55 +#: src/pages/Addresses.tsx:57 msgid "Fresh Address" msgstr "" @@ -532,7 +518,7 @@ msgstr "" msgid "Global" msgstr "" -#: src/components/Header.tsx:96 +#: src/components/Header.tsx:99 msgid "Go to wallet" msgstr "" @@ -546,12 +532,12 @@ msgstr "" #: src/pages/Token.tsx:259 #: src/pages/NftList.tsx:273 -#: src/pages/DidList.tsx:239 +#: src/pages/DidList.tsx:240 #: src/components/NftCard.tsx:333 msgid "Hide" msgstr "" -#: src/components/ConfirmationDialog.tsx:140 +#: src/components/ConfirmationDialog.tsx:141 msgid "High Transaction Fee" msgstr "" @@ -573,20 +559,16 @@ msgstr "" msgid "Import Wallet" msgstr "" -#: src/pages/Transactions.tsx:106 -#~ msgid "Increase Fee" -#~ msgstr "" - #: src/components/AddressList.tsx:47 msgid "Index" msgstr "" -#: src/pages/Send.tsx:101 +#: src/pages/Send.tsx:103 msgid "Invalid address" msgstr "" -#: src/pages/PeerList.tsx:199 -#: src/pages/PeerList.tsx:370 +#: src/pages/PeerList.tsx:203 +#: src/pages/PeerList.tsx:374 msgid "IP Address" msgstr "" @@ -596,7 +578,7 @@ msgstr "" msgid "Issue Token" msgstr "" -#: src/components/ConfirmationDialog.tsx:132 +#: src/components/ConfirmationDialog.tsx:133 msgid "JSON" msgstr "" @@ -608,7 +590,7 @@ msgstr "" msgid "Kind is required" msgstr "" -#: src/pages/Nft.tsx:88 +#: src/pages/Nft.tsx:90 msgid "Launcher Id" msgstr "" @@ -616,11 +598,11 @@ msgstr "" msgid "License" msgstr "" -#: src/pages/Nft.tsx:203 +#: src/pages/Nft.tsx:205 msgid "License Hash" msgstr "" -#: src/pages/Nft.tsx:168 +#: src/pages/Nft.tsx:170 msgid "License URIs" msgstr "" @@ -632,8 +614,8 @@ msgstr "" msgid "Login" msgstr "" -#: src/components/Layout.tsx:103 -#: src/components/Header.tsx:149 +#: src/components/Layout.tsx:104 +#: src/components/Header.tsx:151 msgid "Logout" msgstr "" @@ -649,11 +631,11 @@ msgstr "" msgid "Metadata" msgstr "" -#: src/pages/Nft.tsx:194 +#: src/pages/Nft.tsx:196 msgid "Metadata Hash" msgstr "" -#: src/pages/Nft.tsx:151 +#: src/pages/Nft.tsx:153 msgid "Metadata URIs" msgstr "" @@ -674,7 +656,7 @@ msgstr "" msgid "Mint NFT" msgstr "" -#: src/pages/Nft.tsx:213 +#: src/pages/Nft.tsx:215 msgid "Minter DID" msgstr "" @@ -697,7 +679,7 @@ msgstr "" #: src/pages/Token.tsx:302 #: src/pages/IssueToken.tsx:74 -#: src/pages/DidList.tsx:266 +#: src/pages/DidList.tsx:267 #: src/pages/CreateProfile.tsx:69 msgid "Name" msgstr "" @@ -715,9 +697,9 @@ msgstr "" msgid "Network" msgstr "" -#: src/pages/ViewOffer.tsx:69 -#: src/pages/Token.tsx:539 -#: src/pages/Token.tsx:607 +#: src/pages/ViewOffer.tsx:71 +#: src/pages/Token.tsx:540 +#: src/pages/Token.tsx:608 #: src/pages/MintNft.tsx:256 #: src/pages/MakeOffer.tsx:178 #: src/pages/CreateProfile.tsx:86 @@ -737,8 +719,8 @@ msgstr "" msgid "Network ID" msgstr "" -#: src/components/Layout.tsx:63 -#: src/components/Header.tsx:109 +#: src/components/Layout.tsx:65 +#: src/components/Header.tsx:112 msgid "Network status" msgstr "" @@ -782,15 +764,15 @@ msgstr "" msgid "No offers yet" msgstr "" -#: src/pages/PeerList.tsx:489 +#: src/pages/PeerList.tsx:493 #: src/components/CoinList.tsx:325 #: src/components/AddressList.tsx:167 msgid "No results." msgstr "" -#: src/pages/Transactions.tsx:244 -#: src/pages/Nft.tsx:216 -#: src/pages/Nft.tsx:225 +#: src/pages/Transactions.tsx:248 +#: src/pages/Nft.tsx:218 +#: src/pages/Nft.tsx:227 msgid "None" msgstr "" @@ -809,15 +791,7 @@ msgstr "" msgid "Offer Created " msgstr "" -#: src/pages/MakeOffer.tsx:276 -#~ msgid "Offer Details" -#~ msgstr "" - -#: src/pages/MakeOffer.tsx:283 -#~ msgid "Offer File" -#~ msgstr "" - -#: src/pages/Offers.tsx:209 +#: src/pages/Offers.tsx:207 #: src/pages/MakeOffer.tsx:134 msgid "Offered" msgstr "" @@ -831,11 +805,11 @@ msgstr "" msgid "Ok" msgstr "" -#: src/pages/Token.tsx:586 +#: src/pages/Token.tsx:587 msgid "Output Count" msgstr "" -#: src/pages/Nft.tsx:222 +#: src/pages/Nft.tsx:224 msgid "Owner DID" msgstr "" @@ -843,19 +817,19 @@ msgstr "" msgid "Paste WalletConnect URI" msgstr "" -#: src/pages/Offers.tsx:159 +#: src/pages/Offers.tsx:157 msgid "Paste your offer string here..." msgstr "" -#: src/pages/PeerList.tsx:207 +#: src/pages/PeerList.tsx:211 msgid "Peak Height" msgstr "" -#: src/pages/PeerList.tsx:307 +#: src/pages/PeerList.tsx:311 msgid "Peer List" msgstr "" -#: src/pages/Offers.tsx:195 +#: src/pages/Offers.tsx:193 msgid "Pending" msgstr "" @@ -875,7 +849,7 @@ msgstr "" msgid "Permanently Delete" msgstr "" -#: src/pages/PeerList.tsx:203 +#: src/pages/PeerList.tsx:207 msgid "Port" msgstr "" @@ -883,7 +857,7 @@ msgstr "" msgid "Port:" msgstr "" -#: src/pages/PeerList.tsx:392 +#: src/pages/PeerList.tsx:396 msgid "Prevents the peer from being banned." msgstr "" @@ -905,11 +879,11 @@ msgstr "" msgid "Profile is required" msgstr "" -#: src/pages/DidList.tsx:270 +#: src/pages/DidList.tsx:271 msgid "Profile name" msgstr "" -#: src/pages/DidList.tsx:59 +#: src/pages/DidList.tsx:60 #: src/components/Nav.tsx:26 msgid "Profiles" msgstr "" @@ -926,15 +900,15 @@ msgstr "" msgid "Receive" msgstr "" -#: src/pages/Addresses.tsx:49 -msgid "Receive {0}" +#: src/pages/Addresses.tsx:51 +msgid "Receive {ticker}" msgstr "" #: src/components/ReceiveAddress.tsx:64 msgid "Receive Address" msgstr "" -#: src/pages/Transactions.tsx:190 +#: src/pages/Transactions.tsx:194 msgid "Received" msgstr "" @@ -949,12 +923,12 @@ msgstr "" #: src/pages/Token.tsx:350 #: src/pages/Login.tsx:255 #: src/pages/Login.tsx:418 -#: src/pages/DidList.tsx:223 -#: src/pages/DidList.tsx:293 +#: src/pages/DidList.tsx:224 +#: src/pages/DidList.tsx:294 msgid "Rename" msgstr "" -#: src/pages/DidList.tsx:257 +#: src/pages/DidList.tsx:258 msgid "Rename Profile" msgstr "" @@ -962,15 +936,11 @@ msgstr "" msgid "Rename Wallet" msgstr "" -#: src/pages/Offers.tsx:210 +#: src/pages/Offers.tsx:208 #: src/pages/MakeOffer.tsx:157 msgid "Requested" msgstr "" -#: src/pages/Transactions.tsx:95 -#~ msgid "Resubmit" -#~ msgstr "" - #: src/pages/Login.tsx:340 msgid "Resync" msgstr "" @@ -983,8 +953,8 @@ msgstr "" msgid "Resync on {network}" msgstr "" -#: src/pages/Nft.tsx:245 -msgid "Royalties ({0}%)" +#: src/pages/Nft.tsx:247 +msgid "Royalties {royaltyPercentage}%" msgstr "" #: src/components/OfferCard.tsx:115 @@ -1004,15 +974,11 @@ msgstr "" msgid "royalty to" msgstr "" -#: src/pages/MakeOffer.tsx:299 -#~ msgid "Save" -#~ msgstr "" - #: src/pages/CreateWallet.tsx:171 msgid "Save mnemonic" msgstr "" -#: src/pages/ViewOffer.tsx:97 +#: src/pages/ViewOffer.tsx:99 msgid "Save Offer" msgstr "" @@ -1044,36 +1010,36 @@ msgstr "" msgid "Select profile" msgstr "" -#: src/pages/PeerList.tsx:314 -msgid "Selected {0} of {1} peers" +#: src/pages/PeerList.tsx:318 +msgid "Selected {selectedPeersCount} of {totalPeersCount} peers" msgstr "" #: src/pages/Token.tsx:233 msgid "Send" msgstr "" -#: src/pages/Send.tsx:135 -#: src/pages/Send.tsx:219 -msgid "Send {0}" +#: src/pages/Send.tsx:136 +#: src/pages/Send.tsx:218 +msgid "Send {ticker}" msgstr "" #: src/components/OfferCard.tsx:29 msgid "Sending" msgstr "" -#: src/pages/Transactions.tsx:189 +#: src/pages/Transactions.tsx:193 msgid "Sent" msgstr "" #: src/pages/Settings.tsx:40 -#: src/components/Layout.tsx:96 -#: src/components/Header.tsx:142 +#: src/components/Layout.tsx:97 +#: src/components/Header.tsx:144 msgid "Settings" msgstr "" #: src/pages/Token.tsx:259 #: src/pages/NftList.tsx:273 -#: src/pages/DidList.tsx:239 +#: src/pages/DidList.tsx:240 #: src/components/NftCard.tsx:333 msgid "Show" msgstr "" @@ -1115,13 +1081,13 @@ msgstr "" msgid "Spent Coins" msgstr "" -#: src/pages/Token.tsx:498 -#: src/pages/Token.tsx:625 +#: src/pages/Token.tsx:499 +#: src/pages/Token.tsx:626 msgid "Split" msgstr "" -#: src/pages/Token.tsx:569 -msgid "Split {0}" +#: src/pages/Token.tsx:570 +msgid "Split {ticker}" msgstr "" #: src/pages/CreateWallet.tsx:233 @@ -1133,25 +1099,25 @@ msgstr "" msgid "Submitting" msgstr "" -#: src/components/ConfirmationDialog.tsx:126 +#: src/components/ConfirmationDialog.tsx:127 #: src/components/ConfirmationDialog.tsx:150 msgid "Summary" msgstr "" -#: src/components/Layout.tsx:85 -#: src/components/Header.tsx:131 -msgid "Syncing {0} / {1}" +#: src/components/Layout.tsx:87 +#: src/components/Header.tsx:134 +msgid "Syncing {syncedCoins} / {totalCoins}" msgstr "" #: src/pages/TokenList.tsx:132 msgid "Syncing in progress..." msgstr "" -#: src/pages/ViewOffer.tsx:101 +#: src/pages/ViewOffer.tsx:103 msgid "Take Offer" msgstr "" -#: src/pages/Offers.tsx:197 +#: src/pages/Offers.tsx:195 msgid "Taken" msgstr "" @@ -1167,7 +1133,7 @@ msgstr "" msgid "The assets you have to pay to fulfill the offer." msgstr "" -#: src/pages/Addresses.tsx:58 +#: src/pages/Addresses.tsx:60 msgid "The wallet generates a new address after each transaction. Old ones stay valid." msgstr "" @@ -1179,18 +1145,14 @@ msgstr "" msgid "There aren't any wallets to log into yet. To get started, create a new wallet or import an existing one." msgstr "" -#: src/pages/ViewOffer.tsx:88 -msgid "This does not include a fee of {0} which was already added by the maker." +#: src/pages/ViewOffer.tsx:90 +msgid "This does not include a fee of {makerFee} which was already added by the maker." msgstr "" #: src/components/ConfirmationDialog.tsx:185 msgid "This is the raw JSON spend bundle for this transaction. If you sign it, the transaction can be submitted to the mempool externally." msgstr "" -#: src/pages/Transactions.tsx:64 -#~ msgid "This only shows transactions initiated by this app that are currently pending in the mempool." -#~ msgstr "" - #: src/components/NftCard.tsx:389 msgid "This will add an additional URL to the NFT. It is not possible to remove URLs later, so be careful with this and try to use permanent URLs if possible." msgstr "" @@ -1199,27 +1161,27 @@ msgstr "" msgid "This will assign the NFT to the selected profile." msgstr "" -#: src/components/MultiSelectActions.tsx:170 +#: src/components/MultiSelectActions.tsx:171 msgid "This will bulk assign the NFTs to the selected profile." msgstr "" -#: src/components/MultiSelectActions.tsx:188 -msgid "This will bulk burn {0} NFTs. This cannot be undone. Are you sure you want to proceed?" +#: src/components/MultiSelectActions.tsx:189 +msgid "This will bulk burn {selectedCount} NFTs. This cannot be undone. Are you sure you want to proceed?" msgstr "" -#: src/components/MultiSelectActions.tsx:158 -msgid "This will bulk transfer {0} NFTs to another wallet. Are you sure you want to proceed?" +#: src/components/MultiSelectActions.tsx:159 +msgid "This will bulk transfer {selectedCount} NFTs to another wallet. Are you sure you want to proceed?" msgstr "" -#: src/components/MultiSelectActions.tsx:179 +#: src/components/MultiSelectActions.tsx:180 msgid "This will bulk unassign the NFTs from their profiles." msgstr "" -#: src/pages/Token.tsx:523 +#: src/pages/Token.tsx:524 msgid "This will combine all of the selected coins into one." msgstr "" -#: src/pages/Offers.tsx:263 +#: src/pages/Offers.tsx:261 msgid "This will delete the offer from the wallet, but if it's shared externally it can still be accepted. The only way to truly cancel a public offer is by spending one or more of its coins." msgstr "" @@ -1227,7 +1189,7 @@ msgstr "" msgid "This will permanently delete the NFT by sending it to the burn address." msgstr "" -#: src/pages/DidList.tsx:314 +#: src/pages/DidList.tsx:315 msgid "This will permanently delete the profile by sending it to the burn address." msgstr "" @@ -1235,11 +1197,11 @@ msgstr "" msgid "This will send the NFT to the provided address." msgstr "" -#: src/pages/DidList.tsx:305 +#: src/pages/DidList.tsx:306 msgid "This will send the profile to the provided address." msgstr "" -#: src/pages/Token.tsx:572 +#: src/pages/Token.tsx:573 msgid "This will split all of the selected coins." msgstr "" @@ -1264,8 +1226,8 @@ msgstr "" msgid "Toggle multi-select" msgstr "" -#: src/components/Header.tsx:74 -#: src/components/Header.tsx:78 +#: src/components/Header.tsx:77 +#: src/components/Header.tsx:81 msgid "Toggle navigation menu" msgstr "" @@ -1273,10 +1235,6 @@ msgstr "" msgid "Token" msgstr "" -#: src/pages/Transactions.tsx:75 -#~ msgid "Transaction {0}" -#~ msgstr "" - #: src/components/ConfirmationDialog.tsx:373 msgid "Transaction Output" msgstr "" @@ -1289,10 +1247,10 @@ msgstr "" msgid "Transactions" msgstr "" -#: src/pages/DidList.tsx:197 +#: src/pages/DidList.tsx:198 #: src/components/TransferDialog.tsx:117 #: src/components/NftCard.tsx:251 -#: src/components/MultiSelectActions.tsx:105 +#: src/components/MultiSelectActions.tsx:106 #: src/components/FeeOnlyDialog.tsx:101 #: src/components/AssignNftDialog.tsx:152 msgid "Transfer" @@ -1302,26 +1260,26 @@ msgstr "" msgid "Transfer NFT" msgstr "" -#: src/pages/DidList.tsx:300 +#: src/pages/DidList.tsx:301 msgid "Transfer Profile" msgstr "" -#: src/pages/PeerList.tsx:213 +#: src/pages/PeerList.tsx:217 msgid "Trusted" msgstr "" -#: src/pages/PeerList.tsx:385 +#: src/pages/PeerList.tsx:389 msgid "Trusted peer" msgstr "" #: src/components/NftCard.tsx:284 #: src/components/NftCard.tsx:374 -#: src/components/MultiSelectActions.tsx:131 +#: src/components/MultiSelectActions.tsx:132 msgid "Unassign Profile" msgstr "" -#: src/pages/Transactions.tsx:267 -#: src/pages/Transactions.tsx:279 +#: src/pages/Transactions.tsx:271 +#: src/pages/Transactions.tsx:283 #: src/pages/Collection.tsx:92 #: src/components/ConfirmationDialog.tsx:516 #: src/components/ConfirmationDialog.tsx:530 @@ -1333,7 +1291,7 @@ msgstr "" msgid "Unknown App" msgstr "" -#: src/pages/Send.tsx:135 +#: src/pages/Send.tsx:48 msgid "unknown asset" msgstr "" @@ -1341,7 +1299,7 @@ msgstr "" msgid "Unknown asset" msgstr "" -#: src/pages/Nft.tsx:80 +#: src/pages/Nft.tsx:82 msgid "Unknown NFT" msgstr "" @@ -1361,7 +1319,7 @@ msgstr "" msgid "Unspent" msgstr "" -#: src/pages/DidList.tsx:178 +#: src/pages/DidList.tsx:179 msgid "Untitled Profile" msgstr "" @@ -1386,12 +1344,12 @@ msgid "Use 24 words" msgstr "" #: src/pages/TokenList.tsx:146 -#: src/pages/DidList.tsx:71 +#: src/pages/DidList.tsx:72 msgid "View hidden" msgstr "" -#: src/pages/Offers.tsx:132 -#: src/pages/Offers.tsx:165 +#: src/pages/Offers.tsx:130 +#: src/pages/Offers.tsx:163 msgid "View Offer" msgstr "" @@ -1405,8 +1363,8 @@ msgstr "" msgid "Wallet Details" msgstr "" -#: src/components/Layout.tsx:50 -#: src/components/Header.tsx:98 +#: src/components/Layout.tsx:52 +#: src/components/Header.tsx:101 msgid "Wallet icon" msgstr "" @@ -1437,10 +1395,6 @@ msgstr "" msgid "While 12 word mnemonics are sufficiently hard to crack, you can choose to use 24 instead to increase security." msgstr "" -#: src/pages/Transactions.tsx:115 -#~ msgid "With a fee of" -#~ msgstr "" - #: src/components/ConfirmationDialog.tsx:437 #: src/components/ConfirmationDialog.tsx:465 #: src/components/ConfirmationDialog.tsx:499 @@ -1449,11 +1403,7 @@ msgid "You" msgstr "" #: src/pages/Offers.tsx:123 -msgid "You can also paste an offer using <0>{0}." -msgstr "" - -#: src/pages/DidList.tsx:88 -msgid "You do not currently have any {0} DID profiles. Would you like to create one?" +msgid "You can also paste an offer using" msgstr "" #: src/pages/NftList.tsx:129 diff --git a/src/locales/en-US/messages.po b/src/locales/en-US/messages.po index e4b24a86..b21c0636 100644 --- a/src/locales/en-US/messages.po +++ b/src/locales/en-US/messages.po @@ -1,62 +1,60 @@ msgid "" msgstr "" -"POT-Creation-Date: 2024-12-22 00:52-0300\n" +"POT-Creation-Date: 2024-12-23 19:37-0300\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: @lingui/cli\n" "Language: en-US\n" -"Project-Id-Version: \n" -"Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: \n" -"Last-Translator: \n" -"Language-Team: \n" -"Plural-Forms: \n" #: src/pages/MakeOffer.tsx:317 msgid " The offer has been created and imported successfully. You can copy the offer file below and send it to the intended recipient or make it public to be accepted by anyone. " msgstr " The offer has been created and imported successfully. You can copy the offer file below and send it to the intended recipient or make it public to be accepted by anyone. " -#: src/components/Layout.tsx:75 -#: src/components/Header.tsx:121 +#: src/components/Layout.tsx:77 +#: src/components/Header.tsx:124 msgid "{0, plural, one {# peer} other {# peers}}" msgstr "{0, plural, one {# peer} other {# peers}}" -#: src/pages/PeerList.tsx:522 -msgid "{0, plural, one {Ban peer temporarily} other {Ban peers temporarily}}" -msgstr "{0, plural, one {Ban peer temporarily} other {Ban peers temporarily}}" +#: src/pages/DidList.tsx:89 +msgid "{0, plural, one {You do not currently have any DID profile. Would you like to create one?} other {You do not currently have any DID profiles. Would you like to create one?}}" +msgstr "{0, plural, one {You do not currently have any DID profile. Would you like to create one?} other {You do not currently have any DID profiles. Would you like to create one?}}" -#: src/pages/PeerList.tsx:569 -msgid "{0, plural, one {Remove Peer} other {Remove Peers}}" -msgstr "{0, plural, one {Remove Peer} other {Remove Peers}}" +#: src/pages/PeerList.tsx:526 +msgid "{peersToDeleteCount, plural, one {Ban peer temporarily} other {Ban peers temporarily}}" +msgstr "{peersToDeleteCount, plural, one {Ban peer temporarily} other {Ban peers temporarily}}" -#: src/pages/PeerList.tsx:513 -msgid "{0, plural, one {This will remove the peer from your connection. If you are currently syncing against this peer, a new one will be used to replace it.} other {This will remove # peers from your connection. If you are currently syncing against these peers, new ones will be used to replace them.}}" -msgstr "{0, plural, one {This will remove the peer from your connection. If you are currently syncing against this peer, a new one will be used to replace it.} other {This will remove # peers from your connection. If you are currently syncing against these peers, new ones will be used to replace them.}}" +#: src/pages/PeerList.tsx:573 +msgid "{peersToDeleteCount, plural, one {Remove Peer} other {Remove Peers}}" +msgstr "{peersToDeleteCount, plural, one {Remove Peer} other {Remove Peers}}" -#: src/pages/PeerList.tsx:533 -msgid "{0, plural, one {Will temporarily prevent the peer from being connected to.} other {Will temporarily prevent the peers from being connected to.}}" -msgstr "{0, plural, one {Will temporarily prevent the peer from being connected to.} other {Will temporarily prevent the peers from being connected to.}}" +#: src/pages/PeerList.tsx:517 +msgid "{peersToDeleteCount, plural, one {This will remove the peer from your connection. If you are currently syncing against this peer, a new one will be used to replace it.} other {This will remove # peers from your connection. If you are currently syncing against these peers, new ones will be used to replace them.}}" +msgstr "{peersToDeleteCount, plural, one {This will remove the peer from your connection. If you are currently syncing against this peer, a new one will be used to replace it.} other {This will remove # peers from your connection. If you are currently syncing against these peers, new ones will be used to replace them.}}" -#: src/pages/Transactions.tsx:185 -msgid "{0} coins spent," -msgstr "{0} coins spent," +#: src/pages/PeerList.tsx:537 +msgid "{peersToDeleteCount, plural, one {Will temporarily prevent the peer from being connected to.} other {Will temporarily prevent the peers from being connected to.}}" +msgstr "{peersToDeleteCount, plural, one {Will temporarily prevent the peer from being connected to.} other {Will temporarily prevent the peers from being connected to.}}" -#: src/pages/Transactions.tsx:186 -msgid "{0} created" -msgstr "{0} created" +#: src/components/MultiSelectActions.tsx:86 +msgid "{selectedCount} selected" +msgstr "{selectedCount} selected" -#: src/components/MultiSelectActions.tsx:85 -msgid "{0} selected" -msgstr "{0} selected" +#: src/pages/Transactions.tsx:190 +msgid "{transactionCreatedLength} created" +msgstr "{transactionCreatedLength} created" -#: src/pages/PeerList.tsx:230 -#: src/components/MultiSelectActions.tsx:90 +#: src/pages/Transactions.tsx:189 +msgid "{transactionSpentLength} coins spent," +msgstr "{transactionSpentLength} coins spent," + +#: src/pages/PeerList.tsx:234 +#: src/components/MultiSelectActions.tsx:91 #: src/components/AddressList.tsx:68 msgid "Actions" msgstr "Actions" -#: src/pages/PeerList.tsx:358 +#: src/pages/PeerList.tsx:362 msgid "Add new peer" msgstr "Add new peer" @@ -64,7 +62,7 @@ msgstr "Add new peer" msgid "Add NFT URL" msgstr "Add NFT URL" -#: src/pages/PeerList.tsx:352 +#: src/pages/PeerList.tsx:356 msgid "Add Peer" msgstr "Add Peer" @@ -81,8 +79,8 @@ msgstr "Add the assets you are requesting." msgid "Add URL" msgstr "Add URL" -#: src/pages/Send.tsx:148 -#: src/pages/Nft.tsx:231 +#: src/pages/Send.tsx:147 +#: src/pages/Nft.tsx:233 #: src/components/TransferDialog.tsx:81 #: src/components/AddressList.tsx:57 msgid "Address" @@ -100,15 +98,15 @@ msgstr "Address is required" msgid "Addresses" msgstr "Addresses" -#: src/components/ConfirmationDialog.tsx:129 +#: src/components/ConfirmationDialog.tsx:130 msgid "Advanced" msgstr "Advanced" -#: src/pages/Addresses.tsx:71 +#: src/pages/Addresses.tsx:73 msgid "All Addresses" msgstr "All Addresses" -#: src/pages/Send.tsx:171 +#: src/pages/Send.tsx:170 #: src/pages/MakeOffer.tsx:547 #: src/pages/IssueToken.tsx:108 #: src/components/CoinList.tsx:109 @@ -127,11 +125,11 @@ msgstr "Amount includes " msgid "Are you sure you want to delete this wallet? This cannot be undone, and all funds will be lost unless you have saved your mnemonic phrase." msgstr "Are you sure you want to delete this wallet? This cannot be undone, and all funds will be lost unless you have saved your mnemonic phrase." -#: src/pages/PeerList.tsx:507 -msgid "Are you sure you want to remove {0} peers?" -msgstr "Are you sure you want to remove {0} peers?" +#: src/pages/PeerList.tsx:511 +msgid "Are you sure you want to remove {peersToDeleteCount} peers?" +msgstr "Are you sure you want to remove {peersToDeleteCount} peers?" -#: src/pages/PeerList.tsx:505 +#: src/pages/PeerList.tsx:509 msgid "Are you sure you want to remove the peer?" msgstr "Are you sure you want to remove the peer?" @@ -149,48 +147,48 @@ msgstr "Assets" #: src/components/NftCard.tsx:266 #: src/components/NftCard.tsx:365 -#: src/components/MultiSelectActions.tsx:118 +#: src/components/MultiSelectActions.tsx:119 msgid "Assign Profile" msgstr "Assign Profile" -#: src/components/Layout.tsx:81 -#: src/components/Header.tsx:127 +#: src/components/Layout.tsx:83 +#: src/components/Header.tsx:130 msgid "at peak {peerMaxHeight}" msgstr "at peak {peerMaxHeight}" -#: src/pages/Nft.tsx:116 +#: src/pages/Nft.tsx:118 msgid "Attributes" msgstr "Attributes" -#: src/components/Header.tsx:61 -#: src/components/Header.tsx:65 -#: src/components/Header.tsx:164 +#: src/components/Header.tsx:64 +#: src/components/Header.tsx:68 +#: src/components/Header.tsx:166 msgid "Back" msgstr "Back" -#: src/pages/Transactions.tsx:182 -msgid "Block #{0}" -msgstr "Block #{0}" +#: src/pages/Transactions.tsx:186 +msgid "Block #{transactionHeight}" +msgstr "Block #{transactionHeight}" -#: src/components/MultiSelectActions.tsx:165 +#: src/components/MultiSelectActions.tsx:166 msgid "Bulk Assign Profile" msgstr "Bulk Assign Profile" -#: src/components/MultiSelectActions.tsx:183 +#: src/components/MultiSelectActions.tsx:184 msgid "Bulk Burn NFTs" msgstr "Bulk Burn NFTs" -#: src/components/MultiSelectActions.tsx:153 +#: src/components/MultiSelectActions.tsx:154 msgid "Bulk Transfer NFTs" msgstr "Bulk Transfer NFTs" -#: src/components/MultiSelectActions.tsx:174 +#: src/components/MultiSelectActions.tsx:175 msgid "Bulk Unassign Profile" msgstr "Bulk Unassign Profile" -#: src/pages/DidList.tsx:210 +#: src/pages/DidList.tsx:211 #: src/components/NftCard.tsx:314 -#: src/components/MultiSelectActions.tsx:144 +#: src/components/MultiSelectActions.tsx:145 msgid "Burn" msgstr "Burn" @@ -198,7 +196,7 @@ msgstr "Burn" msgid "Burn NFT" msgstr "Burn NFT" -#: src/pages/DidList.tsx:309 +#: src/pages/DidList.tsx:310 msgid "Burn Profile" msgstr "Burn Profile" @@ -207,16 +205,16 @@ msgid "By disabling this you are creating a cold wallet, with no ability to sign msgstr "By disabling this you are creating a cold wallet, with no ability to sign transactions. The mnemonic will need to be saved elsewhere." #: src/pages/Token.tsx:347 -#: src/pages/Token.tsx:554 -#: src/pages/Token.tsx:622 -#: src/pages/PeerList.tsx:330 -#: src/pages/PeerList.tsx:402 -#: src/pages/PeerList.tsx:551 -#: src/pages/Offers.tsx:272 +#: src/pages/Token.tsx:555 +#: src/pages/Token.tsx:623 +#: src/pages/PeerList.tsx:334 +#: src/pages/PeerList.tsx:406 +#: src/pages/PeerList.tsx:555 +#: src/pages/Offers.tsx:270 #: src/pages/Login.tsx:337 #: src/pages/Login.tsx:365 #: src/pages/Login.tsx:415 -#: src/pages/DidList.tsx:290 +#: src/pages/DidList.tsx:291 #: src/pages/CreateWallet.tsx:252 #: src/components/TransferDialog.tsx:114 #: src/components/NftCard.tsx:474 @@ -230,7 +228,7 @@ msgstr "Cancel" msgid "Cancel Offer" msgstr "Cancel Offer" -#: src/pages/Offers.tsx:199 +#: src/pages/Offers.tsx:197 msgid "Cancelled" msgstr "Cancelled" @@ -250,11 +248,11 @@ msgstr "Change" msgid "Coin" msgstr "Coin" -#: src/pages/Nft.tsx:238 +#: src/pages/Nft.tsx:240 msgid "Coin Id" msgstr "Coin Id" -#: src/pages/Token.tsx:481 +#: src/pages/Token.tsx:482 msgid "Coins" msgstr "Coins" @@ -262,24 +260,24 @@ msgstr "Coins" msgid "Cold Wallet" msgstr "Cold Wallet" -#: src/pages/Nft.tsx:105 +#: src/pages/Nft.tsx:107 msgid "Collection Name" msgstr "Collection Name" -#: src/pages/Token.tsx:508 -#: src/pages/Token.tsx:557 +#: src/pages/Token.tsx:509 +#: src/pages/Token.tsx:558 msgid "Combine" msgstr "Combine" -#: src/pages/Token.tsx:520 -msgid "Combine {0}" -msgstr "Combine {0}" +#: src/pages/Token.tsx:521 +msgid "Combine {ticker}" +msgstr "Combine {ticker}" #: src/pages/CreateWallet.tsx:260 msgid "Confirm" msgstr "Confirm" -#: src/components/ConfirmationDialog.tsx:119 +#: src/components/ConfirmationDialog.tsx:120 msgid "Confirm transaction?" msgstr "Confirm transaction?" @@ -288,20 +286,20 @@ msgid "Confirmed" msgstr "Confirmed" #: src/pages/Settings.tsx:145 -#: src/pages/PeerList.tsx:416 +#: src/pages/PeerList.tsx:420 msgid "Connect" msgstr "Connect" -#: src/pages/PeerList.tsx:318 -msgid "Connected to {0} peers" -msgstr "Connected to {0} peers" +#: src/pages/PeerList.tsx:322 +msgid "Connected to {totalPeersCount} peers" +msgstr "Connected to {totalPeersCount} peers" -#: src/components/Layout.tsx:82 -#: src/components/Header.tsx:128 +#: src/components/Layout.tsx:84 +#: src/components/Header.tsx:131 msgid "connecting..." msgstr "connecting..." -#: src/pages/Offers.tsx:234 +#: src/pages/Offers.tsx:232 msgid "Copy" msgstr "Copy" @@ -309,10 +307,6 @@ msgstr "Copy" msgid "Copy ID" msgstr "Copy ID" -#: src/pages/MakeOffer.tsx:279 -#~ msgid "Copy the offer file below and send it to the intended recipient or make it public to be accepted by anyone." -#~ msgstr "Copy the offer file below and send it to the intended recipient or make it public to be accepted by anyone." - #: src/pages/Login.tsx:81 msgid "Create" msgstr "Create" @@ -321,16 +315,16 @@ msgstr "Create" msgid "Create a new offer to get started with peer-to-peer trading." msgstr "Create a new offer to get started with peer-to-peer trading." -#: src/pages/DidList.tsx:85 +#: src/pages/DidList.tsx:86 msgid "Create a profile?" msgstr "Create a profile?" -#: src/pages/Offers.tsx:137 +#: src/pages/Offers.tsx:135 #: src/pages/MakeOffer.tsx:306 msgid "Create Offer" msgstr "Create Offer" -#: src/pages/DidList.tsx:65 +#: src/pages/DidList.tsx:66 #: src/pages/CreateProfile.tsx:58 #: src/pages/CreateProfile.tsx:105 msgid "Create Profile" @@ -357,11 +351,11 @@ msgstr "Dark Mode" msgid "Data" msgstr "Data" -#: src/pages/Nft.tsx:185 +#: src/pages/Nft.tsx:187 msgid "Data Hash" msgstr "Data Hash" -#: src/pages/Nft.tsx:134 +#: src/pages/Nft.tsx:136 msgid "Data URIs" msgstr "Data URIs" @@ -373,18 +367,18 @@ msgstr "Data URLs" msgid "Days" msgstr "Days" -#: src/pages/Offers.tsx:247 -#: src/pages/Offers.tsx:283 +#: src/pages/Offers.tsx:245 +#: src/pages/Offers.tsx:281 #: src/pages/Login.tsx:279 #: src/pages/Login.tsx:368 msgid "Delete" msgstr "Delete" -#: src/pages/PeerList.tsx:345 -msgid "Delete ({0})" -msgstr "Delete ({0})" +#: src/pages/PeerList.tsx:349 +msgid "Delete {selectedPeersCount}" +msgstr "Delete {selectedPeersCount}" -#: src/pages/Offers.tsx:260 +#: src/pages/Offers.tsx:258 msgid "Delete offer record?" msgstr "Delete offer record?" @@ -392,7 +386,7 @@ msgstr "Delete offer record?" msgid "Delete saved offer files" msgstr "Delete saved offer files" -#: src/pages/Nft.tsx:96 +#: src/pages/Nft.tsx:98 msgid "Description" msgstr "Description" @@ -433,7 +427,7 @@ msgstr "Edit" msgid "Edit Token Details" msgstr "Edit Token Details" -#: src/pages/Send.tsx:155 +#: src/pages/Send.tsx:154 #: src/pages/MintNft.tsx:211 #: src/components/TransferDialog.tsx:84 msgid "Enter address" @@ -443,10 +437,6 @@ msgstr "Enter address" msgid "Enter amount" msgstr "Enter amount" -#: src/pages/MakeOffer.tsx:437 -#~ msgid "Enter asset id" -#~ msgstr "Enter asset id" - #: src/pages/MintNft.tsx:148 #: src/pages/MintNft.tsx:169 #: src/pages/MintNft.tsx:190 @@ -457,15 +447,11 @@ msgstr "Enter comma separated URLs" msgid "Enter fee amount" msgstr "Enter fee amount" -#: src/pages/MakeOffer.tsx:396 -#~ msgid "Enter launcher id" -#~ msgstr "Enter launcher id" - #: src/components/FeeOnlyDialog.tsx:84 msgid "Enter network fee" msgstr "Enter network fee" -#: src/pages/Offers.tsx:154 +#: src/pages/Offers.tsx:152 msgid "Enter Offer String" msgstr "Enter Offer String" @@ -473,7 +459,7 @@ msgstr "Enter Offer String" msgid "Enter percent" msgstr "Enter percent" -#: src/pages/PeerList.tsx:361 +#: src/pages/PeerList.tsx:365 msgid "Enter the IP address of the peer you want to connect to." msgstr "Enter the IP address of the peer you want to connect to." @@ -481,7 +467,7 @@ msgstr "Enter the IP address of the peer you want to connect to." msgid "Enter the new display details for this token" msgstr "Enter the new display details for this token" -#: src/pages/DidList.tsx:260 +#: src/pages/DidList.tsx:261 msgid "Enter the new display name for this profile." msgstr "Enter the new display name for this profile." @@ -497,7 +483,7 @@ msgstr "Enter URL" msgid "Enter your mnemonic, private key, or public key below. If it's a public key, it will be imported as a read-only cold wallet." msgstr "Enter your mnemonic, private key, or public key below. If it's a public key, it will be imported as a read-only cold wallet." -#: src/pages/Offers.tsx:201 +#: src/pages/Offers.tsx:199 msgid "Expired" msgstr "Expired" @@ -509,18 +495,18 @@ msgstr "Expiring offer" msgid "External Links" msgstr "External Links" -#: src/pages/Send.tsx:197 +#: src/pages/Send.tsx:196 #: src/pages/IssueToken.tsx:129 #: src/components/ConfirmationDialog.tsx:154 #: src/components/ConfirmationDialog.tsx:379 msgid "Fee" msgstr "Fee" -#: src/components/ConfirmationDialog.tsx:143 -msgid "Fee exceeds recommended maximum of 0.001 {0}" -msgstr "Fee exceeds recommended maximum of 0.001 {0}" +#: src/components/ConfirmationDialog.tsx:144 +msgid "Fee exceeds recommended maximum of 0.001 {ticker}" +msgstr "Fee exceeds recommended maximum of 0.001 {ticker}" -#: src/pages/Addresses.tsx:55 +#: src/pages/Addresses.tsx:57 msgid "Fresh Address" msgstr "Fresh Address" @@ -532,7 +518,7 @@ msgstr "Generate addresses automatically" msgid "Global" msgstr "Global" -#: src/components/Header.tsx:96 +#: src/components/Header.tsx:99 msgid "Go to wallet" msgstr "Go to wallet" @@ -546,12 +532,12 @@ msgstr "Height:" #: src/pages/Token.tsx:259 #: src/pages/NftList.tsx:273 -#: src/pages/DidList.tsx:239 +#: src/pages/DidList.tsx:240 #: src/components/NftCard.tsx:333 msgid "Hide" msgstr "Hide" -#: src/components/ConfirmationDialog.tsx:140 +#: src/components/ConfirmationDialog.tsx:141 msgid "High Transaction Fee" msgstr "High Transaction Fee" @@ -573,20 +559,16 @@ msgstr "Import" msgid "Import Wallet" msgstr "Import Wallet" -#: src/pages/Transactions.tsx:106 -#~ msgid "Increase Fee" -#~ msgstr "Increase Fee" - #: src/components/AddressList.tsx:47 msgid "Index" msgstr "Index" -#: src/pages/Send.tsx:101 +#: src/pages/Send.tsx:103 msgid "Invalid address" msgstr "Invalid address" -#: src/pages/PeerList.tsx:199 -#: src/pages/PeerList.tsx:370 +#: src/pages/PeerList.tsx:203 +#: src/pages/PeerList.tsx:374 msgid "IP Address" msgstr "IP Address" @@ -596,7 +578,7 @@ msgstr "IP Address" msgid "Issue Token" msgstr "Issue Token" -#: src/components/ConfirmationDialog.tsx:132 +#: src/components/ConfirmationDialog.tsx:133 msgid "JSON" msgstr "JSON" @@ -608,7 +590,7 @@ msgstr "Kind" msgid "Kind is required" msgstr "Kind is required" -#: src/pages/Nft.tsx:88 +#: src/pages/Nft.tsx:90 msgid "Launcher Id" msgstr "Launcher Id" @@ -616,11 +598,11 @@ msgstr "Launcher Id" msgid "License" msgstr "License" -#: src/pages/Nft.tsx:203 +#: src/pages/Nft.tsx:205 msgid "License Hash" msgstr "License Hash" -#: src/pages/Nft.tsx:168 +#: src/pages/Nft.tsx:170 msgid "License URIs" msgstr "License URIs" @@ -632,8 +614,8 @@ msgstr "License URLs" msgid "Login" msgstr "Login" -#: src/components/Layout.tsx:103 -#: src/components/Header.tsx:149 +#: src/components/Layout.tsx:104 +#: src/components/Header.tsx:151 msgid "Logout" msgstr "Logout" @@ -649,11 +631,11 @@ msgstr "Manage offers" msgid "Metadata" msgstr "Metadata" -#: src/pages/Nft.tsx:194 +#: src/pages/Nft.tsx:196 msgid "Metadata Hash" msgstr "Metadata Hash" -#: src/pages/Nft.tsx:151 +#: src/pages/Nft.tsx:153 msgid "Metadata URIs" msgstr "Metadata URIs" @@ -674,7 +656,7 @@ msgstr "Mint an NFT?" msgid "Mint NFT" msgstr "Mint NFT" -#: src/pages/Nft.tsx:213 +#: src/pages/Nft.tsx:215 msgid "Minter DID" msgstr "Minter DID" @@ -697,7 +679,7 @@ msgstr "Mnemonic" #: src/pages/Token.tsx:302 #: src/pages/IssueToken.tsx:74 -#: src/pages/DidList.tsx:266 +#: src/pages/DidList.tsx:267 #: src/pages/CreateProfile.tsx:69 msgid "Name" msgstr "Name" @@ -715,9 +697,9 @@ msgstr "Name of your wallet" msgid "Network" msgstr "Network" -#: src/pages/ViewOffer.tsx:69 -#: src/pages/Token.tsx:539 -#: src/pages/Token.tsx:607 +#: src/pages/ViewOffer.tsx:71 +#: src/pages/Token.tsx:540 +#: src/pages/Token.tsx:608 #: src/pages/MintNft.tsx:256 #: src/pages/MakeOffer.tsx:178 #: src/pages/CreateProfile.tsx:86 @@ -737,8 +719,8 @@ msgstr "Network fee amount" msgid "Network ID" msgstr "Network ID" -#: src/components/Layout.tsx:63 -#: src/components/Header.tsx:109 +#: src/components/Layout.tsx:65 +#: src/components/Header.tsx:112 msgid "Network status" msgstr "Network status" @@ -782,15 +764,15 @@ msgstr "No collection" msgid "No offers yet" msgstr "No offers yet" -#: src/pages/PeerList.tsx:489 +#: src/pages/PeerList.tsx:493 #: src/components/CoinList.tsx:325 #: src/components/AddressList.tsx:167 msgid "No results." msgstr "No results." -#: src/pages/Transactions.tsx:244 -#: src/pages/Nft.tsx:216 -#: src/pages/Nft.tsx:225 +#: src/pages/Transactions.tsx:248 +#: src/pages/Nft.tsx:218 +#: src/pages/Nft.tsx:227 msgid "None" msgstr "None" @@ -809,15 +791,7 @@ msgstr "Note" msgid "Offer Created " msgstr "Offer Created " -#: src/pages/MakeOffer.tsx:276 -#~ msgid "Offer Details" -#~ msgstr "Offer Details" - -#: src/pages/MakeOffer.tsx:283 -#~ msgid "Offer File" -#~ msgstr "Offer File" - -#: src/pages/Offers.tsx:209 +#: src/pages/Offers.tsx:207 #: src/pages/MakeOffer.tsx:134 msgid "Offered" msgstr "Offered" @@ -831,11 +805,11 @@ msgstr "Offers" msgid "Ok" msgstr "Ok" -#: src/pages/Token.tsx:586 +#: src/pages/Token.tsx:587 msgid "Output Count" msgstr "Output Count" -#: src/pages/Nft.tsx:222 +#: src/pages/Nft.tsx:224 msgid "Owner DID" msgstr "Owner DID" @@ -843,19 +817,19 @@ msgstr "Owner DID" msgid "Paste WalletConnect URI" msgstr "Paste WalletConnect URI" -#: src/pages/Offers.tsx:159 +#: src/pages/Offers.tsx:157 msgid "Paste your offer string here..." msgstr "Paste your offer string here..." -#: src/pages/PeerList.tsx:207 +#: src/pages/PeerList.tsx:211 msgid "Peak Height" msgstr "Peak Height" -#: src/pages/PeerList.tsx:307 +#: src/pages/PeerList.tsx:311 msgid "Peer List" msgstr "Peer List" -#: src/pages/Offers.tsx:195 +#: src/pages/Offers.tsx:193 msgid "Pending" msgstr "Pending" @@ -875,7 +849,7 @@ msgstr "Permanently Burned" msgid "Permanently Delete" msgstr "Permanently Delete" -#: src/pages/PeerList.tsx:203 +#: src/pages/PeerList.tsx:207 msgid "Port" msgstr "Port" @@ -883,7 +857,7 @@ msgstr "Port" msgid "Port:" msgstr "Port:" -#: src/pages/PeerList.tsx:392 +#: src/pages/PeerList.tsx:396 msgid "Prevents the peer from being banned." msgstr "Prevents the peer from being banned." @@ -905,11 +879,11 @@ msgstr "Profile" msgid "Profile is required" msgstr "Profile is required" -#: src/pages/DidList.tsx:270 +#: src/pages/DidList.tsx:271 msgid "Profile name" msgstr "Profile name" -#: src/pages/DidList.tsx:59 +#: src/pages/DidList.tsx:60 #: src/components/Nav.tsx:26 msgid "Profiles" msgstr "Profiles" @@ -926,15 +900,15 @@ msgstr "Reassign Profile" msgid "Receive" msgstr "Receive" -#: src/pages/Addresses.tsx:49 -msgid "Receive {0}" -msgstr "Receive {0}" +#: src/pages/Addresses.tsx:51 +msgid "Receive {ticker}" +msgstr "Receive {ticker}" #: src/components/ReceiveAddress.tsx:64 msgid "Receive Address" msgstr "Receive Address" -#: src/pages/Transactions.tsx:190 +#: src/pages/Transactions.tsx:194 msgid "Received" msgstr "Received" @@ -949,12 +923,12 @@ msgstr "Refresh Info" #: src/pages/Token.tsx:350 #: src/pages/Login.tsx:255 #: src/pages/Login.tsx:418 -#: src/pages/DidList.tsx:223 -#: src/pages/DidList.tsx:293 +#: src/pages/DidList.tsx:224 +#: src/pages/DidList.tsx:294 msgid "Rename" msgstr "Rename" -#: src/pages/DidList.tsx:257 +#: src/pages/DidList.tsx:258 msgid "Rename Profile" msgstr "Rename Profile" @@ -962,15 +936,11 @@ msgstr "Rename Profile" msgid "Rename Wallet" msgstr "Rename Wallet" -#: src/pages/Offers.tsx:210 +#: src/pages/Offers.tsx:208 #: src/pages/MakeOffer.tsx:157 msgid "Requested" msgstr "Requested" -#: src/pages/Transactions.tsx:95 -#~ msgid "Resubmit" -#~ msgstr "Resubmit" - #: src/pages/Login.tsx:340 msgid "Resync" msgstr "Resync" @@ -983,9 +953,9 @@ msgstr "Resync ({network})" msgid "Resync on {network}" msgstr "Resync on {network}" -#: src/pages/Nft.tsx:245 -msgid "Royalties ({0}%)" -msgstr "Royalties ({0}%)" +#: src/pages/Nft.tsx:247 +msgid "Royalties {royaltyPercentage}%" +msgstr "Royalties {royaltyPercentage}%" #: src/components/OfferCard.tsx:115 #: src/components/OfferCard.tsx:159 @@ -1004,15 +974,11 @@ msgstr "Royalty Percent" msgid "royalty to" msgstr "royalty to" -#: src/pages/MakeOffer.tsx:299 -#~ msgid "Save" -#~ msgstr "Save" - #: src/pages/CreateWallet.tsx:171 msgid "Save mnemonic" msgstr "Save mnemonic" -#: src/pages/ViewOffer.tsx:97 +#: src/pages/ViewOffer.tsx:99 msgid "Save Offer" msgstr "Save Offer" @@ -1044,36 +1010,36 @@ msgstr "Select network" msgid "Select profile" msgstr "Select profile" -#: src/pages/PeerList.tsx:314 -msgid "Selected {0} of {1} peers" -msgstr "Selected {0} of {1} peers" +#: src/pages/PeerList.tsx:318 +msgid "Selected {selectedPeersCount} of {totalPeersCount} peers" +msgstr "Selected {selectedPeersCount} of {totalPeersCount} peers" #: src/pages/Token.tsx:233 msgid "Send" msgstr "Send" -#: src/pages/Send.tsx:135 -#: src/pages/Send.tsx:219 -msgid "Send {0}" -msgstr "Send {0}" +#: src/pages/Send.tsx:136 +#: src/pages/Send.tsx:218 +msgid "Send {ticker}" +msgstr "Send {ticker}" #: src/components/OfferCard.tsx:29 msgid "Sending" msgstr "Sending" -#: src/pages/Transactions.tsx:189 +#: src/pages/Transactions.tsx:193 msgid "Sent" msgstr "Sent" #: src/pages/Settings.tsx:40 -#: src/components/Layout.tsx:96 -#: src/components/Header.tsx:142 +#: src/components/Layout.tsx:97 +#: src/components/Header.tsx:144 msgid "Settings" msgstr "Settings" #: src/pages/Token.tsx:259 #: src/pages/NftList.tsx:273 -#: src/pages/DidList.tsx:239 +#: src/pages/DidList.tsx:240 #: src/components/NftCard.tsx:333 msgid "Show" msgstr "Show" @@ -1115,14 +1081,14 @@ msgstr "Spent" msgid "Spent Coins" msgstr "Spent Coins" -#: src/pages/Token.tsx:498 -#: src/pages/Token.tsx:625 +#: src/pages/Token.tsx:499 +#: src/pages/Token.tsx:626 msgid "Split" msgstr "Split" -#: src/pages/Token.tsx:569 -msgid "Split {0}" -msgstr "Split {0}" +#: src/pages/Token.tsx:570 +msgid "Split {ticker}" +msgstr "Split {ticker}" #: src/pages/CreateWallet.tsx:233 #: src/components/ConfirmationDialog.tsx:291 @@ -1133,25 +1099,25 @@ msgstr "Submit" msgid "Submitting" msgstr "Submitting" -#: src/components/ConfirmationDialog.tsx:126 +#: src/components/ConfirmationDialog.tsx:127 #: src/components/ConfirmationDialog.tsx:150 msgid "Summary" msgstr "Summary" -#: src/components/Layout.tsx:85 -#: src/components/Header.tsx:131 -msgid "Syncing {0} / {1}" -msgstr "Syncing {0} / {1}" +#: src/components/Layout.tsx:87 +#: src/components/Header.tsx:134 +msgid "Syncing {syncedCoins} / {totalCoins}" +msgstr "Syncing {syncedCoins} / {totalCoins}" #: src/pages/TokenList.tsx:132 msgid "Syncing in progress..." msgstr "Syncing in progress..." -#: src/pages/ViewOffer.tsx:101 +#: src/pages/ViewOffer.tsx:103 msgid "Take Offer" msgstr "Take Offer" -#: src/pages/Offers.tsx:197 +#: src/pages/Offers.tsx:195 msgid "Taken" msgstr "Taken" @@ -1167,7 +1133,7 @@ msgstr "The assets being given to you in the offer." msgid "The assets you have to pay to fulfill the offer." msgstr "The assets you have to pay to fulfill the offer." -#: src/pages/Addresses.tsx:58 +#: src/pages/Addresses.tsx:60 msgid "The wallet generates a new address after each transaction. Old ones stay valid." msgstr "The wallet generates a new address after each transaction. Old ones stay valid." @@ -1179,18 +1145,14 @@ msgstr "The wallet is still syncing. Balances may not be accurate until it compl msgid "There aren't any wallets to log into yet. To get started, create a new wallet or import an existing one." msgstr "There aren't any wallets to log into yet. To get started, create a new wallet or import an existing one." -#: src/pages/ViewOffer.tsx:88 -msgid "This does not include a fee of {0} which was already added by the maker." -msgstr "This does not include a fee of {0} which was already added by the maker." +#: src/pages/ViewOffer.tsx:90 +msgid "This does not include a fee of {makerFee} which was already added by the maker." +msgstr "This does not include a fee of {makerFee} which was already added by the maker." #: src/components/ConfirmationDialog.tsx:185 msgid "This is the raw JSON spend bundle for this transaction. If you sign it, the transaction can be submitted to the mempool externally." msgstr "This is the raw JSON spend bundle for this transaction. If you sign it, the transaction can be submitted to the mempool externally." -#: src/pages/Transactions.tsx:64 -#~ msgid "This only shows transactions initiated by this app that are currently pending in the mempool." -#~ msgstr "This only shows transactions initiated by this app that are currently pending in the mempool." - #: src/components/NftCard.tsx:389 msgid "This will add an additional URL to the NFT. It is not possible to remove URLs later, so be careful with this and try to use permanent URLs if possible." msgstr "This will add an additional URL to the NFT. It is not possible to remove URLs later, so be careful with this and try to use permanent URLs if possible." @@ -1199,27 +1161,27 @@ msgstr "This will add an additional URL to the NFT. It is not possible to remove msgid "This will assign the NFT to the selected profile." msgstr "This will assign the NFT to the selected profile." -#: src/components/MultiSelectActions.tsx:170 +#: src/components/MultiSelectActions.tsx:171 msgid "This will bulk assign the NFTs to the selected profile." msgstr "This will bulk assign the NFTs to the selected profile." -#: src/components/MultiSelectActions.tsx:188 -msgid "This will bulk burn {0} NFTs. This cannot be undone. Are you sure you want to proceed?" -msgstr "This will bulk burn {0} NFTs. This cannot be undone. Are you sure you want to proceed?" +#: src/components/MultiSelectActions.tsx:189 +msgid "This will bulk burn {selectedCount} NFTs. This cannot be undone. Are you sure you want to proceed?" +msgstr "This will bulk burn {selectedCount} NFTs. This cannot be undone. Are you sure you want to proceed?" -#: src/components/MultiSelectActions.tsx:158 -msgid "This will bulk transfer {0} NFTs to another wallet. Are you sure you want to proceed?" -msgstr "This will bulk transfer {0} NFTs to another wallet. Are you sure you want to proceed?" +#: src/components/MultiSelectActions.tsx:159 +msgid "This will bulk transfer {selectedCount} NFTs to another wallet. Are you sure you want to proceed?" +msgstr "This will bulk transfer {selectedCount} NFTs to another wallet. Are you sure you want to proceed?" -#: src/components/MultiSelectActions.tsx:179 +#: src/components/MultiSelectActions.tsx:180 msgid "This will bulk unassign the NFTs from their profiles." msgstr "This will bulk unassign the NFTs from their profiles." -#: src/pages/Token.tsx:523 +#: src/pages/Token.tsx:524 msgid "This will combine all of the selected coins into one." msgstr "This will combine all of the selected coins into one." -#: src/pages/Offers.tsx:263 +#: src/pages/Offers.tsx:261 msgid "This will delete the offer from the wallet, but if it's shared externally it can still be accepted. The only way to truly cancel a public offer is by spending one or more of its coins." msgstr "This will delete the offer from the wallet, but if it's shared externally it can still be accepted. The only way to truly cancel a public offer is by spending one or more of its coins." @@ -1227,7 +1189,7 @@ msgstr "This will delete the offer from the wallet, but if it's shared externall msgid "This will permanently delete the NFT by sending it to the burn address." msgstr "This will permanently delete the NFT by sending it to the burn address." -#: src/pages/DidList.tsx:314 +#: src/pages/DidList.tsx:315 msgid "This will permanently delete the profile by sending it to the burn address." msgstr "This will permanently delete the profile by sending it to the burn address." @@ -1235,11 +1197,11 @@ msgstr "This will permanently delete the profile by sending it to the burn addre msgid "This will send the NFT to the provided address." msgstr "This will send the NFT to the provided address." -#: src/pages/DidList.tsx:305 +#: src/pages/DidList.tsx:306 msgid "This will send the profile to the provided address." msgstr "This will send the profile to the provided address." -#: src/pages/Token.tsx:572 +#: src/pages/Token.tsx:573 msgid "This will split all of the selected coins." msgstr "This will split all of the selected coins." @@ -1264,8 +1226,8 @@ msgstr "Toggle hidden NFTs" msgid "Toggle multi-select" msgstr "Toggle multi-select" -#: src/components/Header.tsx:74 -#: src/components/Header.tsx:78 +#: src/components/Header.tsx:77 +#: src/components/Header.tsx:81 msgid "Toggle navigation menu" msgstr "Toggle navigation menu" @@ -1273,10 +1235,6 @@ msgstr "Toggle navigation menu" msgid "Token" msgstr "Token" -#: src/pages/Transactions.tsx:75 -#~ msgid "Transaction {0}" -#~ msgstr "Transaction {0}" - #: src/components/ConfirmationDialog.tsx:373 msgid "Transaction Output" msgstr "Transaction Output" @@ -1289,10 +1247,10 @@ msgstr "Transaction Signed" msgid "Transactions" msgstr "Transactions" -#: src/pages/DidList.tsx:197 +#: src/pages/DidList.tsx:198 #: src/components/TransferDialog.tsx:117 #: src/components/NftCard.tsx:251 -#: src/components/MultiSelectActions.tsx:105 +#: src/components/MultiSelectActions.tsx:106 #: src/components/FeeOnlyDialog.tsx:101 #: src/components/AssignNftDialog.tsx:152 msgid "Transfer" @@ -1302,26 +1260,26 @@ msgstr "Transfer" msgid "Transfer NFT" msgstr "Transfer NFT" -#: src/pages/DidList.tsx:300 +#: src/pages/DidList.tsx:301 msgid "Transfer Profile" msgstr "Transfer Profile" -#: src/pages/PeerList.tsx:213 +#: src/pages/PeerList.tsx:217 msgid "Trusted" msgstr "Trusted" -#: src/pages/PeerList.tsx:385 +#: src/pages/PeerList.tsx:389 msgid "Trusted peer" msgstr "Trusted peer" #: src/components/NftCard.tsx:284 #: src/components/NftCard.tsx:374 -#: src/components/MultiSelectActions.tsx:131 +#: src/components/MultiSelectActions.tsx:132 msgid "Unassign Profile" msgstr "Unassign Profile" -#: src/pages/Transactions.tsx:267 -#: src/pages/Transactions.tsx:279 +#: src/pages/Transactions.tsx:271 +#: src/pages/Transactions.tsx:283 #: src/pages/Collection.tsx:92 #: src/components/ConfirmationDialog.tsx:516 #: src/components/ConfirmationDialog.tsx:530 @@ -1333,7 +1291,7 @@ msgstr "Unknown" msgid "Unknown App" msgstr "Unknown App" -#: src/pages/Send.tsx:135 +#: src/pages/Send.tsx:48 msgid "unknown asset" msgstr "unknown asset" @@ -1341,7 +1299,7 @@ msgstr "unknown asset" msgid "Unknown asset" msgstr "Unknown asset" -#: src/pages/Nft.tsx:80 +#: src/pages/Nft.tsx:82 msgid "Unknown NFT" msgstr "Unknown NFT" @@ -1361,7 +1319,7 @@ msgstr "Unnamed" msgid "Unspent" msgstr "Unspent" -#: src/pages/DidList.tsx:178 +#: src/pages/DidList.tsx:179 msgid "Untitled Profile" msgstr "Untitled Profile" @@ -1386,12 +1344,12 @@ msgid "Use 24 words" msgstr "Use 24 words" #: src/pages/TokenList.tsx:146 -#: src/pages/DidList.tsx:71 +#: src/pages/DidList.tsx:72 msgid "View hidden" msgstr "View hidden" -#: src/pages/Offers.tsx:132 -#: src/pages/Offers.tsx:165 +#: src/pages/Offers.tsx:130 +#: src/pages/Offers.tsx:163 msgid "View Offer" msgstr "View Offer" @@ -1405,8 +1363,8 @@ msgstr "Wallet" msgid "Wallet Details" msgstr "Wallet Details" -#: src/components/Layout.tsx:50 -#: src/components/Header.tsx:98 +#: src/components/Layout.tsx:52 +#: src/components/Header.tsx:101 msgid "Wallet icon" msgstr "Wallet icon" @@ -1437,10 +1395,6 @@ msgstr "Warning" msgid "While 12 word mnemonics are sufficiently hard to crack, you can choose to use 24 instead to increase security." msgstr "While 12 word mnemonics are sufficiently hard to crack, you can choose to use 24 instead to increase security." -#: src/pages/Transactions.tsx:115 -#~ msgid "With a fee of" -#~ msgstr "With a fee of" - #: src/components/ConfirmationDialog.tsx:437 #: src/components/ConfirmationDialog.tsx:465 #: src/components/ConfirmationDialog.tsx:499 @@ -1449,12 +1403,8 @@ msgid "You" msgstr "You" #: src/pages/Offers.tsx:123 -msgid "You can also paste an offer using <0>{0}." -msgstr "You can also paste an offer using <0>{0}." - -#: src/pages/DidList.tsx:88 -msgid "You do not currently have any {0} DID profiles. Would you like to create one?" -msgstr "You do not currently have any {0} DID profiles. Would you like to create one?" +msgid "You can also paste an offer using" +msgstr "You can also paste an offer using" #: src/pages/NftList.tsx:129 msgid "You do not currently have any NFTs. Would you like to mint one?" diff --git a/src/locales/zh-CN/messages.po b/src/locales/zh-CN/messages.po index e69cdcbd..ac54775f 100644 --- a/src/locales/zh-CN/messages.po +++ b/src/locales/zh-CN/messages.po @@ -1,62 +1,60 @@ msgid "" msgstr "" -"POT-Creation-Date: 2024-12-22 00:52-0300\n" +"POT-Creation-Date: 2024-12-23 19:37-0300\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: @lingui/cli\n" "Language: zh-CN\n" -"Project-Id-Version: \n" -"Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: \n" -"Last-Translator: \n" -"Language-Team: \n" -"Plural-Forms: \n" #: src/pages/MakeOffer.tsx:317 msgid " The offer has been created and imported successfully. You can copy the offer file below and send it to the intended recipient or make it public to be accepted by anyone. " msgstr "" -#: src/components/Layout.tsx:75 -#: src/components/Header.tsx:121 +#: src/components/Layout.tsx:77 +#: src/components/Header.tsx:124 msgid "{0, plural, one {# peer} other {# peers}}" msgstr "" -#: src/pages/PeerList.tsx:522 -msgid "{0, plural, one {Ban peer temporarily} other {Ban peers temporarily}}" +#: src/pages/DidList.tsx:89 +msgid "{0, plural, one {You do not currently have any DID profile. Would you like to create one?} other {You do not currently have any DID profiles. Would you like to create one?}}" msgstr "" -#: src/pages/PeerList.tsx:569 -msgid "{0, plural, one {Remove Peer} other {Remove Peers}}" +#: src/pages/PeerList.tsx:526 +msgid "{peersToDeleteCount, plural, one {Ban peer temporarily} other {Ban peers temporarily}}" msgstr "" -#: src/pages/PeerList.tsx:513 -msgid "{0, plural, one {This will remove the peer from your connection. If you are currently syncing against this peer, a new one will be used to replace it.} other {This will remove # peers from your connection. If you are currently syncing against these peers, new ones will be used to replace them.}}" +#: src/pages/PeerList.tsx:573 +msgid "{peersToDeleteCount, plural, one {Remove Peer} other {Remove Peers}}" msgstr "" -#: src/pages/PeerList.tsx:533 -msgid "{0, plural, one {Will temporarily prevent the peer from being connected to.} other {Will temporarily prevent the peers from being connected to.}}" +#: src/pages/PeerList.tsx:517 +msgid "{peersToDeleteCount, plural, one {This will remove the peer from your connection. If you are currently syncing against this peer, a new one will be used to replace it.} other {This will remove # peers from your connection. If you are currently syncing against these peers, new ones will be used to replace them.}}" msgstr "" -#: src/pages/Transactions.tsx:185 -msgid "{0} coins spent," +#: src/pages/PeerList.tsx:537 +msgid "{peersToDeleteCount, plural, one {Will temporarily prevent the peer from being connected to.} other {Will temporarily prevent the peers from being connected to.}}" msgstr "" -#: src/pages/Transactions.tsx:186 -msgid "{0} created" +#: src/components/MultiSelectActions.tsx:86 +msgid "{selectedCount} selected" msgstr "" -#: src/components/MultiSelectActions.tsx:85 -msgid "{0} selected" +#: src/pages/Transactions.tsx:190 +msgid "{transactionCreatedLength} created" +msgstr "" + +#: src/pages/Transactions.tsx:189 +msgid "{transactionSpentLength} coins spent," msgstr "" -#: src/pages/PeerList.tsx:230 -#: src/components/MultiSelectActions.tsx:90 +#: src/pages/PeerList.tsx:234 +#: src/components/MultiSelectActions.tsx:91 #: src/components/AddressList.tsx:68 msgid "Actions" msgstr "" -#: src/pages/PeerList.tsx:358 +#: src/pages/PeerList.tsx:362 msgid "Add new peer" msgstr "" @@ -64,7 +62,7 @@ msgstr "" msgid "Add NFT URL" msgstr "" -#: src/pages/PeerList.tsx:352 +#: src/pages/PeerList.tsx:356 msgid "Add Peer" msgstr "" @@ -81,8 +79,8 @@ msgstr "" msgid "Add URL" msgstr "" -#: src/pages/Send.tsx:148 -#: src/pages/Nft.tsx:231 +#: src/pages/Send.tsx:147 +#: src/pages/Nft.tsx:233 #: src/components/TransferDialog.tsx:81 #: src/components/AddressList.tsx:57 msgid "Address" @@ -100,15 +98,15 @@ msgstr "" msgid "Addresses" msgstr "" -#: src/components/ConfirmationDialog.tsx:129 +#: src/components/ConfirmationDialog.tsx:130 msgid "Advanced" msgstr "" -#: src/pages/Addresses.tsx:71 +#: src/pages/Addresses.tsx:73 msgid "All Addresses" msgstr "" -#: src/pages/Send.tsx:171 +#: src/pages/Send.tsx:170 #: src/pages/MakeOffer.tsx:547 #: src/pages/IssueToken.tsx:108 #: src/components/CoinList.tsx:109 @@ -127,11 +125,11 @@ msgstr "" msgid "Are you sure you want to delete this wallet? This cannot be undone, and all funds will be lost unless you have saved your mnemonic phrase." msgstr "" -#: src/pages/PeerList.tsx:507 -msgid "Are you sure you want to remove {0} peers?" +#: src/pages/PeerList.tsx:511 +msgid "Are you sure you want to remove {peersToDeleteCount} peers?" msgstr "" -#: src/pages/PeerList.tsx:505 +#: src/pages/PeerList.tsx:509 msgid "Are you sure you want to remove the peer?" msgstr "" @@ -149,48 +147,48 @@ msgstr "" #: src/components/NftCard.tsx:266 #: src/components/NftCard.tsx:365 -#: src/components/MultiSelectActions.tsx:118 +#: src/components/MultiSelectActions.tsx:119 msgid "Assign Profile" msgstr "" -#: src/components/Layout.tsx:81 -#: src/components/Header.tsx:127 +#: src/components/Layout.tsx:83 +#: src/components/Header.tsx:130 msgid "at peak {peerMaxHeight}" msgstr "" -#: src/pages/Nft.tsx:116 +#: src/pages/Nft.tsx:118 msgid "Attributes" msgstr "" -#: src/components/Header.tsx:61 -#: src/components/Header.tsx:65 -#: src/components/Header.tsx:164 +#: src/components/Header.tsx:64 +#: src/components/Header.tsx:68 +#: src/components/Header.tsx:166 msgid "Back" msgstr "" -#: src/pages/Transactions.tsx:182 -msgid "Block #{0}" +#: src/pages/Transactions.tsx:186 +msgid "Block #{transactionHeight}" msgstr "" -#: src/components/MultiSelectActions.tsx:165 +#: src/components/MultiSelectActions.tsx:166 msgid "Bulk Assign Profile" msgstr "" -#: src/components/MultiSelectActions.tsx:183 +#: src/components/MultiSelectActions.tsx:184 msgid "Bulk Burn NFTs" msgstr "" -#: src/components/MultiSelectActions.tsx:153 +#: src/components/MultiSelectActions.tsx:154 msgid "Bulk Transfer NFTs" msgstr "" -#: src/components/MultiSelectActions.tsx:174 +#: src/components/MultiSelectActions.tsx:175 msgid "Bulk Unassign Profile" msgstr "" -#: src/pages/DidList.tsx:210 +#: src/pages/DidList.tsx:211 #: src/components/NftCard.tsx:314 -#: src/components/MultiSelectActions.tsx:144 +#: src/components/MultiSelectActions.tsx:145 msgid "Burn" msgstr "" @@ -198,7 +196,7 @@ msgstr "" msgid "Burn NFT" msgstr "" -#: src/pages/DidList.tsx:309 +#: src/pages/DidList.tsx:310 msgid "Burn Profile" msgstr "" @@ -207,16 +205,16 @@ msgid "By disabling this you are creating a cold wallet, with no ability to sign msgstr "" #: src/pages/Token.tsx:347 -#: src/pages/Token.tsx:554 -#: src/pages/Token.tsx:622 -#: src/pages/PeerList.tsx:330 -#: src/pages/PeerList.tsx:402 -#: src/pages/PeerList.tsx:551 -#: src/pages/Offers.tsx:272 +#: src/pages/Token.tsx:555 +#: src/pages/Token.tsx:623 +#: src/pages/PeerList.tsx:334 +#: src/pages/PeerList.tsx:406 +#: src/pages/PeerList.tsx:555 +#: src/pages/Offers.tsx:270 #: src/pages/Login.tsx:337 #: src/pages/Login.tsx:365 #: src/pages/Login.tsx:415 -#: src/pages/DidList.tsx:290 +#: src/pages/DidList.tsx:291 #: src/pages/CreateWallet.tsx:252 #: src/components/TransferDialog.tsx:114 #: src/components/NftCard.tsx:474 @@ -230,7 +228,7 @@ msgstr "" msgid "Cancel Offer" msgstr "" -#: src/pages/Offers.tsx:199 +#: src/pages/Offers.tsx:197 msgid "Cancelled" msgstr "" @@ -250,11 +248,11 @@ msgstr "" msgid "Coin" msgstr "" -#: src/pages/Nft.tsx:238 +#: src/pages/Nft.tsx:240 msgid "Coin Id" msgstr "" -#: src/pages/Token.tsx:481 +#: src/pages/Token.tsx:482 msgid "Coins" msgstr "" @@ -262,24 +260,24 @@ msgstr "" msgid "Cold Wallet" msgstr "" -#: src/pages/Nft.tsx:105 +#: src/pages/Nft.tsx:107 msgid "Collection Name" msgstr "" -#: src/pages/Token.tsx:508 -#: src/pages/Token.tsx:557 +#: src/pages/Token.tsx:509 +#: src/pages/Token.tsx:558 msgid "Combine" msgstr "" -#: src/pages/Token.tsx:520 -msgid "Combine {0}" +#: src/pages/Token.tsx:521 +msgid "Combine {ticker}" msgstr "" #: src/pages/CreateWallet.tsx:260 msgid "Confirm" msgstr "" -#: src/components/ConfirmationDialog.tsx:119 +#: src/components/ConfirmationDialog.tsx:120 msgid "Confirm transaction?" msgstr "" @@ -288,20 +286,20 @@ msgid "Confirmed" msgstr "" #: src/pages/Settings.tsx:145 -#: src/pages/PeerList.tsx:416 +#: src/pages/PeerList.tsx:420 msgid "Connect" msgstr "" -#: src/pages/PeerList.tsx:318 -msgid "Connected to {0} peers" +#: src/pages/PeerList.tsx:322 +msgid "Connected to {totalPeersCount} peers" msgstr "" -#: src/components/Layout.tsx:82 -#: src/components/Header.tsx:128 +#: src/components/Layout.tsx:84 +#: src/components/Header.tsx:131 msgid "connecting..." msgstr "" -#: src/pages/Offers.tsx:234 +#: src/pages/Offers.tsx:232 msgid "Copy" msgstr "" @@ -309,10 +307,6 @@ msgstr "" msgid "Copy ID" msgstr "" -#: src/pages/MakeOffer.tsx:279 -#~ msgid "Copy the offer file below and send it to the intended recipient or make it public to be accepted by anyone." -#~ msgstr "" - #: src/pages/Login.tsx:81 msgid "Create" msgstr "" @@ -321,16 +315,16 @@ msgstr "" msgid "Create a new offer to get started with peer-to-peer trading." msgstr "" -#: src/pages/DidList.tsx:85 +#: src/pages/DidList.tsx:86 msgid "Create a profile?" msgstr "" -#: src/pages/Offers.tsx:137 +#: src/pages/Offers.tsx:135 #: src/pages/MakeOffer.tsx:306 msgid "Create Offer" msgstr "" -#: src/pages/DidList.tsx:65 +#: src/pages/DidList.tsx:66 #: src/pages/CreateProfile.tsx:58 #: src/pages/CreateProfile.tsx:105 msgid "Create Profile" @@ -357,11 +351,11 @@ msgstr "" msgid "Data" msgstr "" -#: src/pages/Nft.tsx:185 +#: src/pages/Nft.tsx:187 msgid "Data Hash" msgstr "" -#: src/pages/Nft.tsx:134 +#: src/pages/Nft.tsx:136 msgid "Data URIs" msgstr "" @@ -373,18 +367,18 @@ msgstr "" msgid "Days" msgstr "" -#: src/pages/Offers.tsx:247 -#: src/pages/Offers.tsx:283 +#: src/pages/Offers.tsx:245 +#: src/pages/Offers.tsx:281 #: src/pages/Login.tsx:279 #: src/pages/Login.tsx:368 msgid "Delete" msgstr "" -#: src/pages/PeerList.tsx:345 -msgid "Delete ({0})" +#: src/pages/PeerList.tsx:349 +msgid "Delete {selectedPeersCount}" msgstr "" -#: src/pages/Offers.tsx:260 +#: src/pages/Offers.tsx:258 msgid "Delete offer record?" msgstr "" @@ -392,7 +386,7 @@ msgstr "" msgid "Delete saved offer files" msgstr "" -#: src/pages/Nft.tsx:96 +#: src/pages/Nft.tsx:98 msgid "Description" msgstr "" @@ -433,7 +427,7 @@ msgstr "" msgid "Edit Token Details" msgstr "" -#: src/pages/Send.tsx:155 +#: src/pages/Send.tsx:154 #: src/pages/MintNft.tsx:211 #: src/components/TransferDialog.tsx:84 msgid "Enter address" @@ -443,10 +437,6 @@ msgstr "" msgid "Enter amount" msgstr "" -#: src/pages/MakeOffer.tsx:437 -#~ msgid "Enter asset id" -#~ msgstr "" - #: src/pages/MintNft.tsx:148 #: src/pages/MintNft.tsx:169 #: src/pages/MintNft.tsx:190 @@ -457,15 +447,11 @@ msgstr "" msgid "Enter fee amount" msgstr "" -#: src/pages/MakeOffer.tsx:396 -#~ msgid "Enter launcher id" -#~ msgstr "" - #: src/components/FeeOnlyDialog.tsx:84 msgid "Enter network fee" msgstr "" -#: src/pages/Offers.tsx:154 +#: src/pages/Offers.tsx:152 msgid "Enter Offer String" msgstr "" @@ -473,7 +459,7 @@ msgstr "" msgid "Enter percent" msgstr "" -#: src/pages/PeerList.tsx:361 +#: src/pages/PeerList.tsx:365 msgid "Enter the IP address of the peer you want to connect to." msgstr "" @@ -481,7 +467,7 @@ msgstr "" msgid "Enter the new display details for this token" msgstr "" -#: src/pages/DidList.tsx:260 +#: src/pages/DidList.tsx:261 msgid "Enter the new display name for this profile." msgstr "" @@ -497,7 +483,7 @@ msgstr "" msgid "Enter your mnemonic, private key, or public key below. If it's a public key, it will be imported as a read-only cold wallet." msgstr "" -#: src/pages/Offers.tsx:201 +#: src/pages/Offers.tsx:199 msgid "Expired" msgstr "" @@ -509,18 +495,18 @@ msgstr "" msgid "External Links" msgstr "" -#: src/pages/Send.tsx:197 +#: src/pages/Send.tsx:196 #: src/pages/IssueToken.tsx:129 #: src/components/ConfirmationDialog.tsx:154 #: src/components/ConfirmationDialog.tsx:379 msgid "Fee" msgstr "" -#: src/components/ConfirmationDialog.tsx:143 -msgid "Fee exceeds recommended maximum of 0.001 {0}" +#: src/components/ConfirmationDialog.tsx:144 +msgid "Fee exceeds recommended maximum of 0.001 {ticker}" msgstr "" -#: src/pages/Addresses.tsx:55 +#: src/pages/Addresses.tsx:57 msgid "Fresh Address" msgstr "" @@ -532,7 +518,7 @@ msgstr "" msgid "Global" msgstr "" -#: src/components/Header.tsx:96 +#: src/components/Header.tsx:99 msgid "Go to wallet" msgstr "" @@ -546,12 +532,12 @@ msgstr "" #: src/pages/Token.tsx:259 #: src/pages/NftList.tsx:273 -#: src/pages/DidList.tsx:239 +#: src/pages/DidList.tsx:240 #: src/components/NftCard.tsx:333 msgid "Hide" msgstr "" -#: src/components/ConfirmationDialog.tsx:140 +#: src/components/ConfirmationDialog.tsx:141 msgid "High Transaction Fee" msgstr "" @@ -573,20 +559,16 @@ msgstr "" msgid "Import Wallet" msgstr "" -#: src/pages/Transactions.tsx:106 -#~ msgid "Increase Fee" -#~ msgstr "" - #: src/components/AddressList.tsx:47 msgid "Index" msgstr "" -#: src/pages/Send.tsx:101 +#: src/pages/Send.tsx:103 msgid "Invalid address" msgstr "" -#: src/pages/PeerList.tsx:199 -#: src/pages/PeerList.tsx:370 +#: src/pages/PeerList.tsx:203 +#: src/pages/PeerList.tsx:374 msgid "IP Address" msgstr "" @@ -596,7 +578,7 @@ msgstr "" msgid "Issue Token" msgstr "" -#: src/components/ConfirmationDialog.tsx:132 +#: src/components/ConfirmationDialog.tsx:133 msgid "JSON" msgstr "" @@ -608,7 +590,7 @@ msgstr "" msgid "Kind is required" msgstr "" -#: src/pages/Nft.tsx:88 +#: src/pages/Nft.tsx:90 msgid "Launcher Id" msgstr "" @@ -616,11 +598,11 @@ msgstr "" msgid "License" msgstr "" -#: src/pages/Nft.tsx:203 +#: src/pages/Nft.tsx:205 msgid "License Hash" msgstr "" -#: src/pages/Nft.tsx:168 +#: src/pages/Nft.tsx:170 msgid "License URIs" msgstr "" @@ -632,8 +614,8 @@ msgstr "" msgid "Login" msgstr "" -#: src/components/Layout.tsx:103 -#: src/components/Header.tsx:149 +#: src/components/Layout.tsx:104 +#: src/components/Header.tsx:151 msgid "Logout" msgstr "" @@ -649,11 +631,11 @@ msgstr "" msgid "Metadata" msgstr "" -#: src/pages/Nft.tsx:194 +#: src/pages/Nft.tsx:196 msgid "Metadata Hash" msgstr "" -#: src/pages/Nft.tsx:151 +#: src/pages/Nft.tsx:153 msgid "Metadata URIs" msgstr "" @@ -674,7 +656,7 @@ msgstr "" msgid "Mint NFT" msgstr "" -#: src/pages/Nft.tsx:213 +#: src/pages/Nft.tsx:215 msgid "Minter DID" msgstr "" @@ -697,7 +679,7 @@ msgstr "" #: src/pages/Token.tsx:302 #: src/pages/IssueToken.tsx:74 -#: src/pages/DidList.tsx:266 +#: src/pages/DidList.tsx:267 #: src/pages/CreateProfile.tsx:69 msgid "Name" msgstr "" @@ -715,9 +697,9 @@ msgstr "" msgid "Network" msgstr "" -#: src/pages/ViewOffer.tsx:69 -#: src/pages/Token.tsx:539 -#: src/pages/Token.tsx:607 +#: src/pages/ViewOffer.tsx:71 +#: src/pages/Token.tsx:540 +#: src/pages/Token.tsx:608 #: src/pages/MintNft.tsx:256 #: src/pages/MakeOffer.tsx:178 #: src/pages/CreateProfile.tsx:86 @@ -737,8 +719,8 @@ msgstr "" msgid "Network ID" msgstr "" -#: src/components/Layout.tsx:63 -#: src/components/Header.tsx:109 +#: src/components/Layout.tsx:65 +#: src/components/Header.tsx:112 msgid "Network status" msgstr "" @@ -782,15 +764,15 @@ msgstr "" msgid "No offers yet" msgstr "" -#: src/pages/PeerList.tsx:489 +#: src/pages/PeerList.tsx:493 #: src/components/CoinList.tsx:325 #: src/components/AddressList.tsx:167 msgid "No results." msgstr "" -#: src/pages/Transactions.tsx:244 -#: src/pages/Nft.tsx:216 -#: src/pages/Nft.tsx:225 +#: src/pages/Transactions.tsx:248 +#: src/pages/Nft.tsx:218 +#: src/pages/Nft.tsx:227 msgid "None" msgstr "" @@ -809,15 +791,7 @@ msgstr "" msgid "Offer Created " msgstr "" -#: src/pages/MakeOffer.tsx:276 -#~ msgid "Offer Details" -#~ msgstr "" - -#: src/pages/MakeOffer.tsx:283 -#~ msgid "Offer File" -#~ msgstr "" - -#: src/pages/Offers.tsx:209 +#: src/pages/Offers.tsx:207 #: src/pages/MakeOffer.tsx:134 msgid "Offered" msgstr "" @@ -831,11 +805,11 @@ msgstr "" msgid "Ok" msgstr "" -#: src/pages/Token.tsx:586 +#: src/pages/Token.tsx:587 msgid "Output Count" msgstr "" -#: src/pages/Nft.tsx:222 +#: src/pages/Nft.tsx:224 msgid "Owner DID" msgstr "" @@ -843,19 +817,19 @@ msgstr "" msgid "Paste WalletConnect URI" msgstr "" -#: src/pages/Offers.tsx:159 +#: src/pages/Offers.tsx:157 msgid "Paste your offer string here..." msgstr "" -#: src/pages/PeerList.tsx:207 +#: src/pages/PeerList.tsx:211 msgid "Peak Height" msgstr "" -#: src/pages/PeerList.tsx:307 +#: src/pages/PeerList.tsx:311 msgid "Peer List" msgstr "" -#: src/pages/Offers.tsx:195 +#: src/pages/Offers.tsx:193 msgid "Pending" msgstr "" @@ -875,7 +849,7 @@ msgstr "" msgid "Permanently Delete" msgstr "" -#: src/pages/PeerList.tsx:203 +#: src/pages/PeerList.tsx:207 msgid "Port" msgstr "" @@ -883,7 +857,7 @@ msgstr "" msgid "Port:" msgstr "" -#: src/pages/PeerList.tsx:392 +#: src/pages/PeerList.tsx:396 msgid "Prevents the peer from being banned." msgstr "" @@ -905,11 +879,11 @@ msgstr "" msgid "Profile is required" msgstr "" -#: src/pages/DidList.tsx:270 +#: src/pages/DidList.tsx:271 msgid "Profile name" msgstr "" -#: src/pages/DidList.tsx:59 +#: src/pages/DidList.tsx:60 #: src/components/Nav.tsx:26 msgid "Profiles" msgstr "" @@ -926,15 +900,15 @@ msgstr "" msgid "Receive" msgstr "" -#: src/pages/Addresses.tsx:49 -msgid "Receive {0}" +#: src/pages/Addresses.tsx:51 +msgid "Receive {ticker}" msgstr "" #: src/components/ReceiveAddress.tsx:64 msgid "Receive Address" msgstr "" -#: src/pages/Transactions.tsx:190 +#: src/pages/Transactions.tsx:194 msgid "Received" msgstr "" @@ -949,12 +923,12 @@ msgstr "" #: src/pages/Token.tsx:350 #: src/pages/Login.tsx:255 #: src/pages/Login.tsx:418 -#: src/pages/DidList.tsx:223 -#: src/pages/DidList.tsx:293 +#: src/pages/DidList.tsx:224 +#: src/pages/DidList.tsx:294 msgid "Rename" msgstr "" -#: src/pages/DidList.tsx:257 +#: src/pages/DidList.tsx:258 msgid "Rename Profile" msgstr "" @@ -962,15 +936,11 @@ msgstr "" msgid "Rename Wallet" msgstr "" -#: src/pages/Offers.tsx:210 +#: src/pages/Offers.tsx:208 #: src/pages/MakeOffer.tsx:157 msgid "Requested" msgstr "" -#: src/pages/Transactions.tsx:95 -#~ msgid "Resubmit" -#~ msgstr "" - #: src/pages/Login.tsx:340 msgid "Resync" msgstr "" @@ -983,8 +953,8 @@ msgstr "" msgid "Resync on {network}" msgstr "" -#: src/pages/Nft.tsx:245 -msgid "Royalties ({0}%)" +#: src/pages/Nft.tsx:247 +msgid "Royalties {royaltyPercentage}%" msgstr "" #: src/components/OfferCard.tsx:115 @@ -1004,15 +974,11 @@ msgstr "" msgid "royalty to" msgstr "" -#: src/pages/MakeOffer.tsx:299 -#~ msgid "Save" -#~ msgstr "" - #: src/pages/CreateWallet.tsx:171 msgid "Save mnemonic" msgstr "" -#: src/pages/ViewOffer.tsx:97 +#: src/pages/ViewOffer.tsx:99 msgid "Save Offer" msgstr "" @@ -1044,36 +1010,36 @@ msgstr "" msgid "Select profile" msgstr "" -#: src/pages/PeerList.tsx:314 -msgid "Selected {0} of {1} peers" +#: src/pages/PeerList.tsx:318 +msgid "Selected {selectedPeersCount} of {totalPeersCount} peers" msgstr "" #: src/pages/Token.tsx:233 msgid "Send" msgstr "" -#: src/pages/Send.tsx:135 -#: src/pages/Send.tsx:219 -msgid "Send {0}" +#: src/pages/Send.tsx:136 +#: src/pages/Send.tsx:218 +msgid "Send {ticker}" msgstr "" #: src/components/OfferCard.tsx:29 msgid "Sending" msgstr "" -#: src/pages/Transactions.tsx:189 +#: src/pages/Transactions.tsx:193 msgid "Sent" msgstr "" #: src/pages/Settings.tsx:40 -#: src/components/Layout.tsx:96 -#: src/components/Header.tsx:142 +#: src/components/Layout.tsx:97 +#: src/components/Header.tsx:144 msgid "Settings" msgstr "" #: src/pages/Token.tsx:259 #: src/pages/NftList.tsx:273 -#: src/pages/DidList.tsx:239 +#: src/pages/DidList.tsx:240 #: src/components/NftCard.tsx:333 msgid "Show" msgstr "" @@ -1115,13 +1081,13 @@ msgstr "" msgid "Spent Coins" msgstr "" -#: src/pages/Token.tsx:498 -#: src/pages/Token.tsx:625 +#: src/pages/Token.tsx:499 +#: src/pages/Token.tsx:626 msgid "Split" msgstr "" -#: src/pages/Token.tsx:569 -msgid "Split {0}" +#: src/pages/Token.tsx:570 +msgid "Split {ticker}" msgstr "" #: src/pages/CreateWallet.tsx:233 @@ -1133,25 +1099,25 @@ msgstr "" msgid "Submitting" msgstr "" -#: src/components/ConfirmationDialog.tsx:126 +#: src/components/ConfirmationDialog.tsx:127 #: src/components/ConfirmationDialog.tsx:150 msgid "Summary" msgstr "" -#: src/components/Layout.tsx:85 -#: src/components/Header.tsx:131 -msgid "Syncing {0} / {1}" +#: src/components/Layout.tsx:87 +#: src/components/Header.tsx:134 +msgid "Syncing {syncedCoins} / {totalCoins}" msgstr "" #: src/pages/TokenList.tsx:132 msgid "Syncing in progress..." msgstr "" -#: src/pages/ViewOffer.tsx:101 +#: src/pages/ViewOffer.tsx:103 msgid "Take Offer" msgstr "" -#: src/pages/Offers.tsx:197 +#: src/pages/Offers.tsx:195 msgid "Taken" msgstr "" @@ -1167,7 +1133,7 @@ msgstr "" msgid "The assets you have to pay to fulfill the offer." msgstr "" -#: src/pages/Addresses.tsx:58 +#: src/pages/Addresses.tsx:60 msgid "The wallet generates a new address after each transaction. Old ones stay valid." msgstr "" @@ -1179,18 +1145,14 @@ msgstr "" msgid "There aren't any wallets to log into yet. To get started, create a new wallet or import an existing one." msgstr "" -#: src/pages/ViewOffer.tsx:88 -msgid "This does not include a fee of {0} which was already added by the maker." +#: src/pages/ViewOffer.tsx:90 +msgid "This does not include a fee of {makerFee} which was already added by the maker." msgstr "" #: src/components/ConfirmationDialog.tsx:185 msgid "This is the raw JSON spend bundle for this transaction. If you sign it, the transaction can be submitted to the mempool externally." msgstr "" -#: src/pages/Transactions.tsx:64 -#~ msgid "This only shows transactions initiated by this app that are currently pending in the mempool." -#~ msgstr "" - #: src/components/NftCard.tsx:389 msgid "This will add an additional URL to the NFT. It is not possible to remove URLs later, so be careful with this and try to use permanent URLs if possible." msgstr "" @@ -1199,27 +1161,27 @@ msgstr "" msgid "This will assign the NFT to the selected profile." msgstr "" -#: src/components/MultiSelectActions.tsx:170 +#: src/components/MultiSelectActions.tsx:171 msgid "This will bulk assign the NFTs to the selected profile." msgstr "" -#: src/components/MultiSelectActions.tsx:188 -msgid "This will bulk burn {0} NFTs. This cannot be undone. Are you sure you want to proceed?" +#: src/components/MultiSelectActions.tsx:189 +msgid "This will bulk burn {selectedCount} NFTs. This cannot be undone. Are you sure you want to proceed?" msgstr "" -#: src/components/MultiSelectActions.tsx:158 -msgid "This will bulk transfer {0} NFTs to another wallet. Are you sure you want to proceed?" +#: src/components/MultiSelectActions.tsx:159 +msgid "This will bulk transfer {selectedCount} NFTs to another wallet. Are you sure you want to proceed?" msgstr "" -#: src/components/MultiSelectActions.tsx:179 +#: src/components/MultiSelectActions.tsx:180 msgid "This will bulk unassign the NFTs from their profiles." msgstr "" -#: src/pages/Token.tsx:523 +#: src/pages/Token.tsx:524 msgid "This will combine all of the selected coins into one." msgstr "" -#: src/pages/Offers.tsx:263 +#: src/pages/Offers.tsx:261 msgid "This will delete the offer from the wallet, but if it's shared externally it can still be accepted. The only way to truly cancel a public offer is by spending one or more of its coins." msgstr "" @@ -1227,7 +1189,7 @@ msgstr "" msgid "This will permanently delete the NFT by sending it to the burn address." msgstr "" -#: src/pages/DidList.tsx:314 +#: src/pages/DidList.tsx:315 msgid "This will permanently delete the profile by sending it to the burn address." msgstr "" @@ -1235,11 +1197,11 @@ msgstr "" msgid "This will send the NFT to the provided address." msgstr "" -#: src/pages/DidList.tsx:305 +#: src/pages/DidList.tsx:306 msgid "This will send the profile to the provided address." msgstr "" -#: src/pages/Token.tsx:572 +#: src/pages/Token.tsx:573 msgid "This will split all of the selected coins." msgstr "" @@ -1264,8 +1226,8 @@ msgstr "" msgid "Toggle multi-select" msgstr "" -#: src/components/Header.tsx:74 -#: src/components/Header.tsx:78 +#: src/components/Header.tsx:77 +#: src/components/Header.tsx:81 msgid "Toggle navigation menu" msgstr "" @@ -1273,10 +1235,6 @@ msgstr "" msgid "Token" msgstr "" -#: src/pages/Transactions.tsx:75 -#~ msgid "Transaction {0}" -#~ msgstr "" - #: src/components/ConfirmationDialog.tsx:373 msgid "Transaction Output" msgstr "" @@ -1289,10 +1247,10 @@ msgstr "" msgid "Transactions" msgstr "" -#: src/pages/DidList.tsx:197 +#: src/pages/DidList.tsx:198 #: src/components/TransferDialog.tsx:117 #: src/components/NftCard.tsx:251 -#: src/components/MultiSelectActions.tsx:105 +#: src/components/MultiSelectActions.tsx:106 #: src/components/FeeOnlyDialog.tsx:101 #: src/components/AssignNftDialog.tsx:152 msgid "Transfer" @@ -1302,26 +1260,26 @@ msgstr "" msgid "Transfer NFT" msgstr "" -#: src/pages/DidList.tsx:300 +#: src/pages/DidList.tsx:301 msgid "Transfer Profile" msgstr "" -#: src/pages/PeerList.tsx:213 +#: src/pages/PeerList.tsx:217 msgid "Trusted" msgstr "" -#: src/pages/PeerList.tsx:385 +#: src/pages/PeerList.tsx:389 msgid "Trusted peer" msgstr "" #: src/components/NftCard.tsx:284 #: src/components/NftCard.tsx:374 -#: src/components/MultiSelectActions.tsx:131 +#: src/components/MultiSelectActions.tsx:132 msgid "Unassign Profile" msgstr "" -#: src/pages/Transactions.tsx:267 -#: src/pages/Transactions.tsx:279 +#: src/pages/Transactions.tsx:271 +#: src/pages/Transactions.tsx:283 #: src/pages/Collection.tsx:92 #: src/components/ConfirmationDialog.tsx:516 #: src/components/ConfirmationDialog.tsx:530 @@ -1333,7 +1291,7 @@ msgstr "" msgid "Unknown App" msgstr "" -#: src/pages/Send.tsx:135 +#: src/pages/Send.tsx:48 msgid "unknown asset" msgstr "" @@ -1341,7 +1299,7 @@ msgstr "" msgid "Unknown asset" msgstr "" -#: src/pages/Nft.tsx:80 +#: src/pages/Nft.tsx:82 msgid "Unknown NFT" msgstr "" @@ -1361,7 +1319,7 @@ msgstr "" msgid "Unspent" msgstr "" -#: src/pages/DidList.tsx:178 +#: src/pages/DidList.tsx:179 msgid "Untitled Profile" msgstr "" @@ -1386,12 +1344,12 @@ msgid "Use 24 words" msgstr "" #: src/pages/TokenList.tsx:146 -#: src/pages/DidList.tsx:71 +#: src/pages/DidList.tsx:72 msgid "View hidden" msgstr "" -#: src/pages/Offers.tsx:132 -#: src/pages/Offers.tsx:165 +#: src/pages/Offers.tsx:130 +#: src/pages/Offers.tsx:163 msgid "View Offer" msgstr "" @@ -1405,8 +1363,8 @@ msgstr "" msgid "Wallet Details" msgstr "" -#: src/components/Layout.tsx:50 -#: src/components/Header.tsx:98 +#: src/components/Layout.tsx:52 +#: src/components/Header.tsx:101 msgid "Wallet icon" msgstr "" @@ -1437,10 +1395,6 @@ msgstr "" msgid "While 12 word mnemonics are sufficiently hard to crack, you can choose to use 24 instead to increase security." msgstr "" -#: src/pages/Transactions.tsx:115 -#~ msgid "With a fee of" -#~ msgstr "" - #: src/components/ConfirmationDialog.tsx:437 #: src/components/ConfirmationDialog.tsx:465 #: src/components/ConfirmationDialog.tsx:499 @@ -1449,11 +1403,7 @@ msgid "You" msgstr "" #: src/pages/Offers.tsx:123 -msgid "You can also paste an offer using <0>{0}." -msgstr "" - -#: src/pages/DidList.tsx:88 -msgid "You do not currently have any {0} DID profiles. Would you like to create one?" +msgid "You can also paste an offer using" msgstr "" #: src/pages/NftList.tsx:129 diff --git a/src/pages/Addresses.tsx b/src/pages/Addresses.tsx index b39b9235..7ba437e9 100644 --- a/src/pages/Addresses.tsx +++ b/src/pages/Addresses.tsx @@ -19,6 +19,8 @@ import { t } from '@lingui/core/macro'; export default function Addresses() { const { addError } = useErrors(); const walletState = useWalletState(); + const ticker = walletState.sync.unit.ticker; + const [addresses, setAddresses] = useState([]); const updateAddresses = useCallback(() => { @@ -46,7 +48,7 @@ export default function Addresses() { return ( <> -
+
diff --git a/src/pages/DidList.tsx b/src/pages/DidList.tsx index 7628bdca..4b151de6 100644 --- a/src/pages/DidList.tsx +++ b/src/pages/DidList.tsx @@ -43,12 +43,13 @@ import { import { useState } from 'react'; import { useNavigate } from 'react-router-dom'; import { commands, DidRecord, TransactionResponse } from '../bindings'; -import { Trans } from '@lingui/react/macro'; +import { Plural, Trans } from '@lingui/react/macro'; import { t } from '@lingui/core/macro'; export function DidList() { const navigate = useNavigate(); const { dids, updateDids } = useDids(); + const didsCount = dids.length; const [showHidden, setShowHidden] = useState(false); const visibleDids = showHidden ? dids : dids.filter((did) => did.visible); @@ -85,11 +86,11 @@ export function DidList() { Create a profile? - - You do not currently have any{' '} - {dids.length > 0 ? 'visible ' : ''} DID profiles. Would you like - to create one? - + )} diff --git a/src/pages/Nft.tsx b/src/pages/Nft.tsx index 005983dd..46af6d8f 100644 --- a/src/pages/Nft.tsx +++ b/src/pages/Nft.tsx @@ -24,6 +24,8 @@ export default function Nft() { const [nft, setNft] = useState(null); const [data, setData] = useState(null); + const royaltyPercentage = nft?.royalty_ten_thousandths ?? 0 / 100; + const updateNft = useMemo( () => () => { commands @@ -242,9 +244,7 @@ export default function Nft() {
- - Royalties ({(nft?.royalty_ten_thousandths ?? 0) / 100}%) - + Royalties {royaltyPercentage}%
{nft?.royalty_address}
diff --git a/src/pages/Offers.tsx b/src/pages/Offers.tsx index 484e0758..9d9f5000 100644 --- a/src/pages/Offers.tsx +++ b/src/pages/Offers.tsx @@ -120,10 +120,8 @@ export function Offers() {

- - You can also paste an offer using{' '} - {platform() === 'macos' ? '⌘+V' : 'Ctrl+V'}. - + You can also paste an offer using + {platform() === 'macos' ? '⌘+V' : 'Ctrl+V'}.

diff --git a/src/pages/PeerList.tsx b/src/pages/PeerList.tsx index 5fd2c481..18752673 100644 --- a/src/pages/PeerList.tsx +++ b/src/pages/PeerList.tsx @@ -169,6 +169,10 @@ export default function PeerList() { const [selectionMode, setSelectionMode] = useState(false); const [selectedPeers, setSelectedPeers] = useState(new Set()); + const totalPeersCount = peers?.length ?? 0; + const selectedPeersCount = selectedPeers.size; + const peersToDeleteCount = peerToDelete?.length ?? 0; + const isMobile = platform() === 'ios' || platform() === 'android'; const columns: ColumnDef[] = [ @@ -312,10 +316,10 @@ export default function PeerList() { {selectionMode ? ( - Selected {selectedPeers.size} of {peers?.length ?? 0} peers + Selected {selectedPeersCount} of {totalPeersCount} peers ) : ( - Connected to {peers?.length ?? 0} peers + Connected to {totalPeersCount} peers )} {selectionMode ? ( @@ -342,7 +346,7 @@ export default function PeerList() { }} disabled={selectedPeers.size === 0} > - Delete ({selectedPeers.size}) + Delete {selectedPeersCount}
) : ( @@ -505,13 +509,13 @@ export default function PeerList() { Are you sure you want to remove the peer? ) : ( - Are you sure you want to remove {peerToDelete?.length} peers? + Are you sure you want to remove {peersToDeleteCount} peers? )} @@ -520,7 +524,7 @@ export default function PeerList() {