From d9a2a12f0138e933bee8ac1ef6ce61fddc0c32b1 Mon Sep 17 00:00:00 2001 From: Bryan Fullam Date: Wed, 29 Jan 2025 04:50:17 +0100 Subject: [PATCH 01/40] fix: add explicit data to paramsForGasEstimate (#29946) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit For certain RPCs, an explicit data value is required even if the data is meant to be empty. This PR adds that explicit "0x" value in the case data is empty to resolve any RPC errors. ## **Description** [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/29946?quickstart=1) ## **Related issues** Fixes: https://github.com/MetaMask/metamask-extension/issues/29923 ## **Manual testing steps** 1. Select zksync or sepolia zksync 2. Go to send page 3. See working "continue" button ## **Screenshots/Recordings** ### **Before** ### **After** ## **Pre-merge author checklist** - [x] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/main/.github/guidelines/CODING_GUIDELINES.md). - [x] I've completed the PR template to the best of my ability - [x] I’ve included tests if applicable - [x] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [x] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/main/.github/guidelines/LABELING_GUIDELINES.md)). Not required for external contributors. ## **Pre-merge reviewer checklist** - [ ] I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed). - [ ] I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots. --- ui/ducks/send/helpers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/ducks/send/helpers.js b/ui/ducks/send/helpers.js index e5426909ea23..23492fe5e264 100644 --- a/ui/ducks/send/helpers.js +++ b/ui/ducks/send/helpers.js @@ -103,7 +103,7 @@ export async function estimateGasLimitForSend({ } } - paramsForGasEstimate.data = data; + paramsForGasEstimate.data = data || '0x'; if (to) { paramsForGasEstimate.to = to; From a9d90e5d34efd9e7c160e66e75d8e8b75d1f3754 Mon Sep 17 00:00:00 2001 From: Norbert Elter <72046715+itsyoboieltr@users.noreply.github.com> Date: Wed, 29 Jan 2025 12:14:16 +0400 Subject: [PATCH 02/40] feat: migrate storybook to gh actions (#29929) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## **Description** [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/29929?quickstart=1) This PR migrates the storybook jobs from CircleCI to GitHub Actions. ## **Related issues** Fixes: https://github.com/MetaMask/metamask-extension/issues/29447 ## **Manual testing steps** 1. Everything should work the same as before ## **Screenshots/Recordings** Not applicable ## **Pre-merge author checklist** - [x] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/main/.github/guidelines/CODING_GUIDELINES.md). - [x] I've completed the PR template to the best of my ability - [x] I’ve included tests if applicable - [x] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [x] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/main/.github/guidelines/LABELING_GUIDELINES.md)). Not required for external contributors. ## **Pre-merge reviewer checklist** - [ ] I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed). - [ ] I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots. --- .circleci/config.yml | 63 --------------- .github/workflows/build-storybook.yml | 34 +++++++++ .github/workflows/main.yml | 16 ++++ .github/workflows/publish-prerelease.yml | 3 - .github/workflows/test-storybook.yml | 21 +++++ development/highlights/README.md | 3 - development/highlights/index.js | 31 -------- development/highlights/storybook.js | 93 ----------------------- development/metamaskbot-build-announce.js | 21 +---- package.json | 1 - yarn.lock | 1 - 11 files changed, 72 insertions(+), 215 deletions(-) create mode 100644 .github/workflows/build-storybook.yml create mode 100644 .github/workflows/test-storybook.yml delete mode 100644 development/highlights/README.md delete mode 100644 development/highlights/index.js delete mode 100644 development/highlights/storybook.js diff --git a/.circleci/config.yml b/.circleci/config.yml index 5a941dd894de..e165e7cc283f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -134,9 +134,6 @@ workflows: - prep-build-test-flask-mv2: requires: - prep-deps - - prep-build-storybook: - requires: - - prep-deps - prep-build-ts-migration-dashboard: requires: - prep-deps @@ -185,10 +182,6 @@ workflows: - /^Version-v(\d+)[.](\d+)[.](\d+)/ requires: - prep-build - - test-storybook: - requires: - - prep-deps - - prep-build-storybook - validate-source-maps: requires: - prep-build @@ -222,7 +215,6 @@ workflows: - test-e2e-firefox-flask - test-e2e-chrome-vault-decryption - test-e2e-chrome-webpack - - test-storybook - benchmark: requires: - prep-build-test @@ -243,7 +235,6 @@ workflows: - prep-build-test-mv2 - prep-build-test-flask - prep-build-test-flask-mv2 - - prep-build-storybook - prep-build-ts-migration-dashboard - benchmark - user-actions-benchmark @@ -260,12 +251,6 @@ workflows: - prep-build-flask - prep-build-flask-mv2 - all-tests-pass - - job-publish-storybook: - filters: - branches: - only: main - requires: - - prep-build-storybook - job-publish-ts-migration-dashboard: filters: branches: @@ -663,21 +648,6 @@ jobs: paths: - dist-test-webpack - prep-build-storybook: - executor: node-linux-medium - steps: - - run: *shallow-git-clone-and-enable-vnc - - run: corepack enable - - attach_workspace: - at: . - - run: - name: Build Storybook - command: yarn storybook:build - - persist_to_workspace: - root: . - paths: - - storybook-build - prep-build-ts-migration-dashboard: executor: node-browsers-small steps: @@ -704,20 +674,6 @@ jobs: name: Rerun workflows from failed command: yarn ci-rerun-from-failed - test-storybook: - executor: node-browsers-medium-plus - steps: - - run: *shallow-git-clone-and-enable-vnc - - run: sudo corepack enable - - attach_workspace: - at: . - - run: - name: Install Playwright browsers - command: yarn exec playwright install chromium - - run: - name: Test Storybook - command: yarn test-storybook:ci - test-e2e-chrome-webpack: executor: node-browsers-medium-plus parallelism: 20 @@ -1085,9 +1041,6 @@ jobs: - store_artifacts: path: build-artifacts destination: build-artifacts - - store_artifacts: - path: storybook-build - destination: storybook - store_artifacts: path: development/ts-migration-dashboard/build/final destination: ts-migration-dashboard @@ -1115,22 +1068,6 @@ jobs: name: Create GitHub release command: .circleci/scripts/release-create-gh-release.sh - job-publish-storybook: - executor: node-browsers-small - steps: - - add_ssh_keys: - fingerprints: - - '3d:49:29:f4:b2:e8:ea:af:d1:32:eb:2a:fc:15:85:d8' - - run: *shallow-git-clone-and-enable-vnc - - run: sudo corepack enable - - attach_workspace: - at: . - - run: - name: storybook:deploy - command: | - git remote add storybook git@github.com:MetaMask/metamask-storybook.git - yarn storybook:deploy - job-publish-ts-migration-dashboard: executor: node-browsers-small steps: diff --git a/.github/workflows/build-storybook.yml b/.github/workflows/build-storybook.yml new file mode 100644 index 000000000000..fc3fa3bdda28 --- /dev/null +++ b/.github/workflows/build-storybook.yml @@ -0,0 +1,34 @@ +name: Build storybook + +on: + workflow_call: + +jobs: + build-storybook: + name: Build storybook + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Setup environment + uses: metamask/github-tools/.github/actions/setup-environment@main + + - name: Build storybook + run: yarn storybook:build + + - name: Upload 'storybook-build' to S3 + uses: metamask/github-tools/.github/actions/upload-s3@1233659b3850eb84824d7375e2e0c58eb237701d + with: + aws-region: ${{ vars.AWS_REGION }} + role-to-assume: ${{ vars.AWS_IAM_ROLE }} + s3-bucket: ${{ vars.AWS_S3_BUCKET }}/${{ github.event.repository.name }}/${{ github.run_id }}/storybook-build + path: storybook-build + + - name: Deploy storybook + # For a `pull_request` event, the branch is `github.head_ref``. + # For a `push` event, the branch is `github.ref_name`. + if: ${{ (github.head_ref || github.ref_name) == 'main' }} + run: | + git remote add storybook git@github.com:MetaMask/metamask-storybook.git + yarn storybook:deploy diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0d977c549af1..94b8256c1ddd 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -46,6 +46,10 @@ jobs: name: Test deps depcheck uses: ./.github/workflows/test-deps-depcheck.yml + test-storybook: + name: Test storybook + uses: ./.github/workflows/test-storybook.yml + validate-lavamoat-allow-scripts: name: Validate lavamoat allow scripts uses: ./.github/workflows/validate-lavamoat-allow-scripts.yml @@ -75,11 +79,20 @@ jobs: - wait-for-circleci-workflow-status uses: ./.github/workflows/runway.yml + build-storybook: + name: Build storybook + uses: ./.github/workflows/build-storybook.yml + permissions: + contents: read + # id-token permission is required for uploading to s3 + id-token: write + build-beta: name: Build beta uses: ./.github/workflows/build-beta.yml permissions: contents: read + # id-token permission is required for uploading to s3 id-token: write publish-prerelease: @@ -87,6 +100,7 @@ jobs: if: ${{ github.event_name == 'pull_request' }} needs: - wait-for-circleci-workflow-status + - build-storybook - build-beta uses: ./.github/workflows/publish-prerelease.yml secrets: @@ -103,11 +117,13 @@ jobs: - test-lint-lockfile - test-yarn-dedupe - test-deps-depcheck + - test-storybook - validate-lavamoat-allow-scripts - validate-lavamoat-policy-build - validate-lavamoat-policy-webapp - run-tests - wait-for-circleci-workflow-status + - build-storybook - build-beta outputs: PASSED: ${{ steps.set-output.outputs.PASSED }} diff --git a/.github/workflows/publish-prerelease.yml b/.github/workflows/publish-prerelease.yml index e307dd4b8b12..f630bca8193d 100644 --- a/.github/workflows/publish-prerelease.yml +++ b/.github/workflows/publish-prerelease.yml @@ -62,9 +62,6 @@ jobs: mkdir -p test-artifacts/chrome curl --silent --location "https://output.circle-artifacts.com/output/job/${CIRCLE_WORKFLOW_JOB_ID}/artifacts/0/test-artifacts/chrome/bundle_size.json" > "test-artifacts/chrome/bundle_size.json" - mkdir storybook-build - curl --silent --location "https://output.circle-artifacts.com/output/job/${CIRCLE_WORKFLOW_JOB_ID}/artifacts/0/storybook/stories.json" > "storybook-build/stories.json" - - name: Publish prerelease env: PR_COMMENT_TOKEN: ${{ secrets.PR_COMMENT_TOKEN }} diff --git a/.github/workflows/test-storybook.yml b/.github/workflows/test-storybook.yml new file mode 100644 index 000000000000..8e3ddba53587 --- /dev/null +++ b/.github/workflows/test-storybook.yml @@ -0,0 +1,21 @@ +name: Test storybook + +on: + workflow_call: + +jobs: + test-storybook: + name: Test storybook + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Setup environment + uses: metamask/github-tools/.github/actions/setup-environment@main + + - name: Install Playwright browsers + run: yarn exec playwright install chromium + + - name: Test Storybook + run: yarn test-storybook:ci diff --git a/development/highlights/README.md b/development/highlights/README.md deleted file mode 100644 index f5c5952bc7b8..000000000000 --- a/development/highlights/README.md +++ /dev/null @@ -1,3 +0,0 @@ -### highlights - -the purpose of this directory is to house utilities for generating "highlight" messages for the metamaskbot comment based on changes included in the PR diff --git a/development/highlights/index.js b/development/highlights/index.js deleted file mode 100644 index 9efd3073d031..000000000000 --- a/development/highlights/index.js +++ /dev/null @@ -1,31 +0,0 @@ -const { promisify } = require('util'); -const exec = promisify(require('child_process').exec); -const storybook = require('./storybook'); - -module.exports = { getHighlights }; - -async function getHighlights({ artifactBase }) { - let highlights = ''; - // here we assume the PR base branch ("target") is `main` in lieu of doing - // a query against the github api which requires an access token - // see https://discuss.circleci.com/t/how-to-retrieve-a-pull-requests-base-branch-name-github/36911 - const changedFiles = await getChangedFiles({ target: 'origin/main' }); - console.log(`detected changed files vs main:`); - for (const filename of changedFiles) { - console.log(` ${filename}`); - } - const announcement = await storybook.getHighlightAnnouncement({ - changedFiles, - artifactBase, - }); - if (announcement) { - highlights += announcement; - } - return highlights; -} - -async function getChangedFiles({ target }) { - const { stdout } = await exec(`git diff --name-only ${target}...HEAD`); - const changedFiles = stdout.split('\n').slice(0, -1); - return changedFiles; -} diff --git a/development/highlights/storybook.js b/development/highlights/storybook.js deleted file mode 100644 index 357faf13abb6..000000000000 --- a/development/highlights/storybook.js +++ /dev/null @@ -1,93 +0,0 @@ -const path = require('path'); -const { promisify } = require('util'); -const exec = promisify(require('child_process').exec); -const fs = require('fs'); -const dependencyTree = require('dependency-tree'); - -const stories = fs.readFileSync( - path.join(__dirname, '..', '..', 'storybook-build', 'stories.json'), - 'utf8', -); - -const cwd = process.cwd(); -const resolutionCache = {}; -// 1. load stories -// 2. load list per story -// 3. filter against files -module.exports = { - getHighlights, - getHighlightAnnouncement, -}; - -async function getHighlightAnnouncement({ changedFiles, artifactBase }) { - const highlights = await getHighlights({ changedFiles }); - if (!highlights.length) { - return null; - } - const highlightsBody = highlights - .map((entry) => `\n- [${entry}](${urlForStoryFile(entry, artifactBase)})`) - .join(''); - const announcement = `
- storybook - ${highlightsBody} -
\n\n`; - return announcement; -} - -async function getHighlights({ changedFiles }) { - const highlights = []; - const storyFiles = await getAllStories(); - // check each story file for dep graph overlap with changed files - for (const storyFile of storyFiles) { - const list = await getLocalDependencyList(storyFile); - if (list.some((entry) => changedFiles.includes(entry))) { - highlights.push(storyFile); - } - } - return highlights; -} - -async function getAllStories() { - const { stdout } = await exec('find ui -name "*.stories.js"'); - const matches = stdout.split('\n').slice(0, -1); - return matches; -} - -async function getLocalDependencyList(filename) { - const list = dependencyTree - .toList({ - filename, - // not sure what this does but its mandatory - directory: cwd, - webpackConfig: `.storybook/main.js`, - // skip all dependencies - filter: (entry) => !entry.includes('node_modules'), - // for memoization across trees: 30s -> 5s - visited: resolutionCache, - }) - .map((entry) => path.relative(cwd, entry)); - return list; -} - -function urlForStoryFile(filename, artifactBase) { - const storyId = getStoryId(filename); - return `${artifactBase}/storybook/index.html?path=/story/${storyId}`; -} - -/** - * Get the ID for a story file. - * - * @param {fileName} string - The fileName to get the story id. - * @returns The id of the story. - */ - -function getStoryId(fileName) { - const storiesArray = Object.values(stories.stories); - const foundStory = storiesArray.find((story) => { - return story.importPath.includes(fileName); - }); - if (!foundStory) { - throw new Error(`story for ${fileName} not found`); - } - return foundStory.id; -} diff --git a/development/metamaskbot-build-announce.js b/development/metamaskbot-build-announce.js index 3dbb5d0f8e37..8f401d8cac15 100755 --- a/development/metamaskbot-build-announce.js +++ b/development/metamaskbot-build-announce.js @@ -8,7 +8,6 @@ const path = require('path'); // eslint-disable-next-line no-shadow const fetch = require('node-fetch'); const VERSION = require('../package.json').version; -const { getHighlights } = require('./highlights'); start().catch(console.error); @@ -63,13 +62,6 @@ async function start() { HOST_URL, } = process.env; - console.log('PR_NUMBER', PR_NUMBER); - console.log('HEAD_COMMIT_HASH', HEAD_COMMIT_HASH); - console.log('MERGE_BASE_COMMIT_HASH', MERGE_BASE_COMMIT_HASH); - console.log('CIRCLE_BUILD_NUM', CIRCLE_BUILD_NUM); - console.log('CIRCLE_WORKFLOW_JOB_ID', CIRCLE_WORKFLOW_JOB_ID); - console.log('HOST_URL', HOST_URL); - if (!PR_NUMBER) { console.warn(`No pull request detected for commit "${HEAD_COMMIT_HASH}"`); return; @@ -77,7 +69,6 @@ async function start() { const SHORT_SHA1 = HEAD_COMMIT_HASH.slice(0, 7); const BUILD_LINK_BASE = `https://output.circle-artifacts.com/output/job/${CIRCLE_WORKFLOW_JOB_ID}/artifacts/0`; - // build the github comment content // links to extension builds const buildMap = { @@ -158,7 +149,7 @@ async function start() { const bundleSizeDataUrl = 'https://raw.githubusercontent.com/MetaMask/extension_bundlesize_stats/main/stats/bundle_size_data.json'; - const storybookUrl = `${BUILD_LINK_BASE}/storybook/index.html`; + const storybookUrl = `${HOST_URL}/storybook-build/index.html`; const storybookLink = `Storybook`; const tsMigrationDashboardUrl = `${BUILD_LINK_BASE}/ts-migration-dashboard/index.html`; @@ -365,16 +356,6 @@ async function start() { console.error(`Error constructing bundle size diffs results: '${error}'`); } - try { - const highlights = await getHighlights({ artifactBase: BUILD_LINK_BASE }); - if (highlights) { - const highlightsBody = `### highlights:\n${highlights}\n`; - commentBody += highlightsBody; - } - } catch (error) { - console.error(`Error constructing highlight results: '${error}'`); - } - const JSON_PAYLOAD = JSON.stringify({ body: commentBody }); const POST_COMMENT_URI = `https://api.github.com/repos/metamask/metamask-extension/issues/${PR_NUMBER}/comments`; console.log(`Announcement:\n${commentBody}`); diff --git a/package.json b/package.json index 97ea287572ba..1d97361a15b7 100644 --- a/package.json +++ b/package.json @@ -565,7 +565,6 @@ "csstype": "^3.0.11", "del": "^6.1.1", "depcheck": "^1.4.3", - "dependency-tree": "^10.0.9", "detect-port": "^1.5.1", "dotenv": "^16.4.5", "duplexify": "^4.1.1", diff --git a/yarn.lock b/yarn.lock index afe02f1c87e6..9ca2cebd5b66 100644 --- a/yarn.lock +++ b/yarn.lock @@ -26876,7 +26876,6 @@ __metadata: deep-freeze-strict: "npm:1.1.1" del: "npm:^6.1.1" depcheck: "npm:^1.4.3" - dependency-tree: "npm:^10.0.9" detect-port: "npm:^1.5.1" dotenv: "npm:^16.4.5" duplexify: "npm:^4.1.1" From 89f8021225354d529e1948a045a1ad646cb2da0f Mon Sep 17 00:00:00 2001 From: Bernardo Garces Chapero Date: Wed, 29 Jan 2025 13:49:48 +0000 Subject: [PATCH 03/40] fix: replicate network change actions in rpc modal (#29943) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## **Description** The issue occurred because switching networks from the RPC selector, which is only available when there's a network with at least 2 RPCs, was not performing the same actions as switching networks from clicking the network list item directly. I have created a handler for the actions that need to be performed and passed it down to both the network list item and the rpc selector modal, that way it ensures that the same actions occur. A test has been added to the rpc modal to validate the new handler is being called. Tests already exist in the network list to validate that those actions are taking place, and they are still passing. [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/29943?quickstart=1) ## **Related issues** Fixes: https://github.com/MetaMask/metamask-extension/issues/29260 ## **Manual testing steps** 1. Ensure at least one of your networks has more than one RPC, so that the RPC selector appears. 2. Set any network and, in the Tokens tab, select "Current network" as the option. 3. Open the network selector and select another network by clicking in the rpc url, which will open an rpc selector modal. 4. Select any of the RPCs and check that the tokens from the new network appear and that "Current network" is still ## **Screenshots/Recordings** ### **Before** https://github.com/user-attachments/assets/3ac163d3-4f2e-4170-81f4-f3b4ccc8e3d3 ### **After** https://github.com/user-attachments/assets/7dc02f85-42e0-449e-a419-cc74fc936de7 ## **Pre-merge author checklist** - [X] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/main/.github/guidelines/CODING_GUIDELINES.md). - [X] I've completed the PR template to the best of my ability - [X] I’ve included tests if applicable - [X] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [X] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/main/.github/guidelines/LABELING_GUIDELINES.md)). Not required for external contributors. ## **Pre-merge reviewer checklist** - [ ] I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed). - [ ] I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots. --- .../network-list-menu/network-list-menu.tsx | 93 ++++++++++--------- .../select-rpc-url-modal.test.tsx | 56 +++++++---- .../select-rpc-url-modal.tsx | 23 ++--- 3 files changed, 96 insertions(+), 76 deletions(-) diff --git a/ui/components/multichain/network-list-menu/network-list-menu.tsx b/ui/components/multichain/network-list-menu/network-list-menu.tsx index a9ee7c7f25a4..7db26f4f9815 100644 --- a/ui/components/multichain/network-list-menu/network-list-menu.tsx +++ b/ui/components/multichain/network-list-menu/network-list-menu.tsx @@ -252,17 +252,59 @@ export const NetworkListMenu = ({ onClose }: { onClose: () => void }) => { ...searchedTestNetworks, ].some((network) => network.rpcEndpoints.length > 1); + const handleNetworkChange = (network: NetworkConfiguration) => { + const allOpts = Object.keys(allNetworks).reduce((acc, chainId) => { + acc[chainId] = true; + return acc; + }, {} as Record); + + const { networkClientId } = + network.rpcEndpoints[network.defaultRpcEndpointIndex]; + dispatch(setActiveNetwork(networkClientId)); + dispatch(toggleNetworkMenu()); + dispatch(updateCustomNonce('')); + dispatch(setNextNonce('')); + dispatch(detectNfts()); + + // as a user, I don't want my network selection to force update my filter when I have "All Networks" toggled on + // however, if I am already filtered on "Current Network", we'll want to filter by the selected network when the network changes + if (Object.keys(tokenNetworkFilter || {}).length <= 1) { + dispatch(setTokenNetworkFilter({ [network.chainId]: true })); + } else if (process.env.PORTFOLIO_VIEW) { + dispatch(setTokenNetworkFilter(allOpts)); + } + + if (permittedAccountAddresses.length > 0) { + dispatch(addPermittedChain(selectedTabOrigin, network.chainId)); + if (!permittedChainIds.includes(network.chainId)) { + dispatch(showPermittedNetworkToast()); + } + } + // If presently on a dapp, communicate a change to + // the dapp via silent switchEthereumChain that the + // network has changed due to user action + if (selectedTabOrigin && domains[selectedTabOrigin]) { + setNetworkClientIdForDomain(selectedTabOrigin, networkClientId); + } + + trackEvent({ + event: MetaMetricsEventName.NavNetworkSwitched, + category: MetaMetricsEventCategory.Network, + properties: { + location: 'Network Menu', + chain_id: currentChainId, + from_network: currentChainId, + to_network: network.chainId, + }, + }); + }; + // Renders a network in the network list const generateNetworkListItem = (network: NetworkConfiguration) => { const isCurrentNetwork = network.chainId === currentChainId; const canDeleteNetwork = isUnlocked && !isCurrentNetwork && network.chainId !== CHAIN_IDS.MAINNET; - const allOpts: Record = {}; - Object.keys(allNetworks).forEach((chainId) => { - allOpts[chainId] = true; - }); - return ( void }) => { selected={isCurrentNetwork && !focusSearch} focus={isCurrentNetwork && !focusSearch} onClick={() => { - const { networkClientId } = - network.rpcEndpoints[network.defaultRpcEndpointIndex]; - dispatch(setActiveNetwork(networkClientId)); - dispatch(toggleNetworkMenu()); - dispatch(updateCustomNonce('')); - dispatch(setNextNonce('')); - dispatch(detectNfts()); - - // as a user, I don't want my network selection to force update my filter when I have "All Networks" toggled on - // however, if I am already filtered on "Current Network", we'll want to filter by the selected network when the network changes - if (Object.keys(tokenNetworkFilter || {}).length <= 1) { - dispatch(setTokenNetworkFilter({ [network.chainId]: true })); - } else if (process.env.PORTFOLIO_VIEW) { - dispatch(setTokenNetworkFilter(allOpts)); - } - - if (permittedAccountAddresses.length > 0) { - dispatch(addPermittedChain(selectedTabOrigin, network.chainId)); - if (!permittedChainIds.includes(network.chainId)) { - dispatch(showPermittedNetworkToast()); - } - } - // If presently on a dapp, communicate a change to - // the dapp via silent switchEthereumChain that the - // network has changed due to user action - if (selectedTabOrigin && domains[selectedTabOrigin]) { - setNetworkClientIdForDomain(selectedTabOrigin, networkClientId); - } - - trackEvent({ - event: MetaMetricsEventName.NavNetworkSwitched, - category: MetaMetricsEventCategory.Network, - properties: { - location: 'Network Menu', - chain_id: currentChainId, - from_network: currentChainId, - to_network: network.chainId, - }, - }); + handleNetworkChange(network); }} onDeleteClick={ canDeleteNetwork @@ -559,6 +563,7 @@ export const NetworkListMenu = ({ onClose }: { onClose: () => void }) => { return ( ); } diff --git a/ui/components/multichain/network-list-menu/select-rpc-url-modal/select-rpc-url-modal.test.tsx b/ui/components/multichain/network-list-menu/select-rpc-url-modal/select-rpc-url-modal.test.tsx index 69e88f88f372..8b5470839519 100644 --- a/ui/components/multichain/network-list-menu/select-rpc-url-modal/select-rpc-url-modal.test.tsx +++ b/ui/components/multichain/network-list-menu/select-rpc-url-modal/select-rpc-url-modal.test.tsx @@ -19,6 +19,8 @@ jest.mock('react-redux', () => ({ useDispatch: () => mockDispatch, })); +const mockOnNetworkChange = jest.fn(); + jest.mock('../../../../store/actions', () => ({ updateNetwork: jest.fn(), setActiveNetwork: jest.fn(), @@ -51,7 +53,10 @@ describe('SelectRpcUrlModal Component', () => { it('renders select rpc url', () => { const { container } = renderWithProvider( - , + , store, ); expect(container).toMatchSnapshot(); @@ -59,7 +64,10 @@ describe('SelectRpcUrlModal Component', () => { it('should render the component correctly with network image and name', () => { const { getByRole, getByText } = renderWithProvider( - , + , store, ); @@ -77,7 +85,10 @@ describe('SelectRpcUrlModal Component', () => { it('should render all RPC endpoints and highlight the selected one', () => { const { getByText } = renderWithProvider( - , + , store, ); @@ -94,7 +105,10 @@ describe('SelectRpcUrlModal Component', () => { it('should dispatch the correct actions when an RPC endpoint is clicked', () => { const { getByText } = renderWithProvider( - , + , store, ); @@ -116,7 +130,10 @@ describe('SelectRpcUrlModal Component', () => { it('should render the selected indicator correctly for the default RPC', () => { const { container } = renderWithProvider( - , + , store, ); @@ -128,7 +145,10 @@ describe('SelectRpcUrlModal Component', () => { it('should render the modal with a network image', () => { renderWithProvider( - , + , store, ); @@ -142,9 +162,17 @@ describe('SelectRpcUrlModal Component', () => { ); }); - it('should handle click on RPC URL and update the network', () => { + it('should handle click on RPC URL and call onNetworkChange', () => { + const updatedNetwork = { + ...networkConfiguration, + defaultRpcEndpointIndex: 1, + }; + renderWithProvider( - , + , store, ); @@ -152,16 +180,8 @@ describe('SelectRpcUrlModal Component', () => { screen.getByText(stripProtocol(networkConfiguration.rpcEndpoints[1].url)), ); - expect(mockDispatch).toHaveBeenCalledWith( - updateNetwork({ - ...networkConfiguration, - defaultRpcEndpointIndex: 1, - }), - ); - expect(mockDispatch).toHaveBeenCalledWith( - setActiveNetwork(networkConfiguration.rpcEndpoints[1].networkClientId), - ); + expect(mockDispatch).toHaveBeenCalledWith(updateNetwork(updatedNetwork)); expect(mockDispatch).toHaveBeenCalledWith(setEditedNetwork()); - expect(mockDispatch).toHaveBeenCalledWith(toggleNetworkMenu()); + expect(mockOnNetworkChange).toHaveBeenCalledWith(updatedNetwork); }); }); diff --git a/ui/components/multichain/network-list-menu/select-rpc-url-modal/select-rpc-url-modal.tsx b/ui/components/multichain/network-list-menu/select-rpc-url-modal/select-rpc-url-modal.tsx index 7fc8e5e6fe3e..76cb353e37d1 100644 --- a/ui/components/multichain/network-list-menu/select-rpc-url-modal/select-rpc-url-modal.tsx +++ b/ui/components/multichain/network-list-menu/select-rpc-url-modal/select-rpc-url-modal.tsx @@ -17,18 +17,15 @@ import { TextVariant, } from '../../../../helpers/constants/design-system'; import { CHAIN_ID_TO_NETWORK_IMAGE_URL_MAP } from '../../../../../shared/constants/network'; -import { - setActiveNetwork, - setEditedNetwork, - toggleNetworkMenu, - updateNetwork, -} from '../../../../store/actions'; +import { setEditedNetwork, updateNetwork } from '../../../../store/actions'; import RpcListItem from '../rpc-list-item'; export const SelectRpcUrlModal = ({ networkConfiguration, + onNetworkChange, }: { networkConfiguration: NetworkConfiguration; + onNetworkChange: (network: NetworkConfiguration) => void; }) => { const dispatch = useDispatch(); @@ -69,15 +66,13 @@ export const SelectRpcUrlModal = ({ display={Display.Flex} key={rpcEndpoint.url} onClick={() => { - dispatch( - updateNetwork({ - ...networkConfiguration, - defaultRpcEndpointIndex: index, - }), - ); - dispatch(setActiveNetwork(rpcEndpoint.networkClientId)); + const network = { + ...networkConfiguration, + defaultRpcEndpointIndex: index, + }; + dispatch(updateNetwork(network)); dispatch(setEditedNetwork()); - dispatch(toggleNetworkMenu()); + onNetworkChange(network); }} className={classnames('select-rpc-url__item', { 'select-rpc-url__item--selected': From 08365f0b4d66b8871c3efc197265800690c0dd1e Mon Sep 17 00:00:00 2001 From: Shane T Date: Wed, 29 Jan 2025 14:13:05 +0000 Subject: [PATCH 04/40] chore: remove MMI UI code (#29884) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## **Description** As part of the MMI deprecation and code removal, it's necessary to remove the fenced UI code before the background code, since the UI code is lower in the dependency chain. This PR removes any code that's inside a @build-mmi code fence. In order to satisfy various requirements this also means removing unused imports, which the PR also deletes. The PR also removes tests (which have never been code fenced) because in many cases they are caused by fenced code. In addition, any non-fenced code which is known to be MMI specific is removed. It does not remove inverse MMI code fences, i.e. fences which are there to stop things running in MMI and are now redundant. This is for the sake of keeping the PR a bit smaller. Those will be removed in the next PR. ## **Related issues** Fixes: #29782 ## **Manual testing steps** Not applicable, as no new feature is added. However, many/most UI features are touched. ## **Screenshots/Recordings** ### **Before** ![image](https://github.com/user-attachments/assets/bf1c228f-1b4b-400e-aefa-87fb527cee71) ### **After** ![image](https://github.com/user-attachments/assets/8d2d1ea5-1e3b-4a32-b870-187270c8f53e) ## **Pre-merge author checklist** - [x] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/main/.github/guidelines/CODING_GUIDELINES.md). - [x] I've completed the PR template to the best of my ability - [x] I’ve included tests if applicable - [x] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [x] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/main/.github/guidelines/LABELING_GUIDELINES.md)). Not required for external contributors. ## **Pre-merge reviewer checklist** - [ ] I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed). - [ ] I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots. --- app/_locales/de/messages.json | 193 ---- app/_locales/el/messages.json | 193 ---- app/_locales/en/messages.json | 193 ---- app/_locales/es/messages.json | 193 ---- app/_locales/es_419/messages.json | 3 - app/_locales/fr/messages.json | 193 ---- app/_locales/hi/messages.json | 193 ---- app/_locales/id/messages.json | 193 ---- app/_locales/ja/messages.json | 193 ---- app/_locales/ko/messages.json | 193 ---- app/_locales/pt/messages.json | 193 ---- app/_locales/pt_BR/messages.json | 3 - app/_locales/ru/messages.json | 193 ---- app/_locales/tl/messages.json | 193 ---- app/_locales/tr/messages.json | 193 ---- app/_locales/vi/messages.json | 193 ---- app/_locales/zh_CN/messages.json | 193 ---- .../confirmations/signatures/permit.test.tsx | 33 - .../signatures/personalSign.test.tsx | 32 - .../account-list-item-component.test.js | 15 - .../account-list-item/account-list-item.js | 15 +- ui/components/app/app-components.scss | 6 - .../asset-list/native-token/native-token.tsx | 5 +- .../nfts-detection-notice-nfts-tab.tsx | 5 - .../app/assets/token-cell/token-cell.tsx | 5 +- ui/components/app/modals/index.scss | 5 - ui/components/app/modals/modal.js | 101 +- .../selected-account-component.test.js | 55 -- .../selected-account.component.js | 57 +- .../selected-account.container.js | 20 +- ...transaction-list-item-details.component.js | 104 +- ...action-list-item-details.component.test.js | 52 - ...transaction-list-item-details.container.js | 30 +- .../app/transaction-list-item/index.scss | 9 - .../transaction-list-item.component.js | 144 +-- .../transaction-list-item.component.test.js | 140 +-- .../transaction-status-label.js | 37 +- .../transaction-status-label.test.js | 106 --- .../app/wallet-overview/coin-buttons.tsx | 88 +- .../app/wallet-overview/eth-overview.test.js | 48 +- .../component-library/icon/icon.types.ts | 2 +- .../confirm-remove-jwt-modal.test.tsx.snap | 3 - .../confirm-remove-jwt-modal.stories.tsx | 35 - .../confirm-remove-jwt-modal.test.tsx | 66 -- .../confirm-remove-jwt-modal.tsx | 184 ---- .../confirm-remove-jwt-modal/index.scss | 14 - .../confirm-remove-jwt-modal/index.ts | 1 - .../custody-confirm-link-modal.stories.tsx | 75 -- .../custody-confirm-link-modal.test.tsx | 195 ---- .../custody-confirm-link-modal.tsx | 169 ---- .../custody-confirm-link-modal/index.scss | 18 - .../custody-confirm-link-modal/index.ts | 3 - .../custody-labels.test.tsx.snap | 16 - .../custody-labels/custody-labels.stories.tsx | 30 - .../custody-labels/custody-labels.test.tsx | 17 - .../custody-labels/custody-labels.tsx | 56 -- .../institutional/custody-labels/index.scss | 9 - .../institutional/custody-labels/index.ts | 1 - .../institutional-components.scss | 9 - .../index.ts | 1 - ...active-replacement-token-modal.stories.tsx | 66 -- ...teractive-replacement-token-modal.test.tsx | 71 -- .../interactive-replacement-token-modal.tsx | 151 --- .../index.scss | 17 - .../index.ts | 1 - ...replacement-token-notification.stories.tsx | 78 -- ...ve-replacement-token-notification.test.tsx | 166 ---- ...ractive-replacement-token-notification.tsx | 151 --- .../__snapshots__/jwt-dropdown.test.tsx.snap | 43 - .../institutional/jwt-dropdown/index.ts | 1 - .../jwt-dropdown/jwt-dropdown.scss | 12 - .../jwt-dropdown/jwt-dropdown.stories.tsx | 27 - .../jwt-dropdown/jwt-dropdown.test.tsx | 22 - .../jwt-dropdown/jwt-dropdown.tsx | 58 -- .../__snapshots__/jwt-url-form.test.tsx.snap | 33 - .../institutional/jwt-url-form/index.ts | 1 - .../jwt-url-form/jwt-url-form.stories.tsx | 33 - .../jwt-url-form/jwt-url-form.test.tsx | 90 -- .../jwt-url-form/jwt-url-form.tsx | 118 --- .../note-to-trader.test.tsx.snap | 43 - .../institutional/note-to-trader/index.scss | 23 - .../institutional/note-to-trader/index.ts | 1 - .../note-to-trader/note-to-trader-tabbed.tsx | 61 -- .../note-to-trader/note-to-trader.stories.tsx | 45 - .../note-to-trader/note-to-trader.test.tsx | 32 - .../note-to-trader/note-to-trader.tsx | 95 -- .../institutional/qr-code-modal/index.tsx | 1 - .../qr-code-modal/qr-code-modal.scss | 9 - .../qr-code-modal/qr-code-modal.stories.tsx | 55 -- .../qr-code-modal/qr-code-modal.test.tsx | 171 ---- .../qr-code-modal/qr-code-modal.tsx | 266 ------ .../signature-mismatch-banner/index.ts | 1 - .../signature-mismatch-banner.stories.tsx | 76 -- .../signature-mismatch-banner.test.tsx | 89 -- .../signature-mismatch-banner.tsx | 62 -- .../transaction-failed-modal/index.scss | 7 - .../transaction-failed-modal/index.ts | 1 - .../transaction-failed-modal.stories.tsx | 24 - .../transaction-failed-modal.test.tsx | 58 -- .../transaction-failed-modal.tsx | 98 -- .../wrong-network-notification/index.ts | 1 - .../wrong-network-notification.stories.tsx | 46 - .../wrong-network-notification.test.tsx | 115 --- .../wrong-network-notification.tsx | 51 - .../account-list-item-menu.js | 55 +- .../account-list-item-menu.test.js | 42 - .../account-list-item.test.js.snap | 172 ---- .../account-list-item/account-list-item.js | 39 - .../multichain/account-list-item/index.scss | 8 - .../account-list-menu/account-list-menu.tsx | 30 - .../account-overview/account-overview-eth.tsx | 2 +- .../account-overview-non-evm.tsx | 2 +- .../account-overview-tabs.tsx | 33 +- .../__snapshots__/account-picker.test.js.snap | 11 - .../account-picker/account-picker.js | 41 +- .../address-copy-button.js | 45 +- .../address-copy-button.test.js | 62 -- .../multichain/address-copy-button/index.scss | 7 - .../__snapshots__/app-header.test.js.snap | 43 - .../app-header/multichain-meta-fox-logo.js | 18 +- .../__snapshots__/badge-status.test.js.snap | 11 - .../multichain/badge-status/badge-status.tsx | 36 +- .../connect-accounts-modal.test.tsx.snap | 86 -- .../multichain/global-menu/global-menu.js | 39 +- .../notifications-page/notifications-page.tsx | 15 - .../__snapshots__/connections.test.tsx.snap | 86 -- .../send/__snapshots__/send.test.js.snap | 129 --- .../account-picker.test.tsx.snap | 43 - .../__snapshots__/your-accounts.test.tsx.snap | 598 +----------- .../send/components/recipient-content.tsx | 8 +- .../metafox-logo.component.test.js.snap | 18 - .../ui/metafox-logo/horizontal-logo.js | 178 +--- .../ui/metafox-logo/metafox-logo.component.js | 13 - .../metafox-logo.component.test.js | 8 - ui/components/ui/ui-components.scss | 2 - ui/css/index.scss | 1 - ui/ducks/institutional/index.js | 1 - ui/ducks/institutional/institutional.test.ts | 47 - ui/ducks/institutional/institutional.ts | 67 -- ui/helpers/constants/common.ts | 5 - ui/helpers/constants/routes.ts | 24 - ui/helpers/utils/build-types.js | 14 - .../find-by-custodian-name.test.ts | 55 -- .../institutional/find-by-custodian-name.ts | 37 - ui/hooks/useMMIConfirmations.test.ts | 43 - ui/hooks/useMMIConfirmations.ts | 28 - ui/hooks/useMMICustodySendTransaction.test.js | 107 --- ui/hooks/useMMICustodySendTransaction.ts | 113 --- ui/hooks/useMMICustodySignMessage.js | 41 - ui/hooks/useMMICustodySignMessage.test.js | 85 -- .../__snapshots__/asset-page.test.tsx.snap | 112 --- ui/pages/asset/components/asset-page.test.tsx | 18 - ui/pages/asset/components/token-buttons.tsx | 77 -- ...onfirm-page-container-content.component.js | 43 +- .../confirm-page-container.component.js | 9 - .../components/confirm/footer/footer.test.tsx | 29 - .../components/confirm/footer/footer.tsx | 31 +- .../gas-timing/gas-timing.component.js | 4 +- .../gas-timing/gas-timing.component.test.js | 26 - .../signature-request-original.component.js | 66 +- .../signature-request-original.container.js | 102 +- .../signature-request-original.test.js | 26 - ...ture-request-header.component.test.js.snap | 29 + .../signature-request-header.component.js | 9 +- .../signature-request/signature-request.js | 88 +- .../signature-request.test.js | 116 +-- .../confirm-approve-content.component.js | 14 - .../confirm-approve-content.component.test.js | 15 - .../confirm-signature-request/index.js | 10 - .../confirm-transaction-base.component.js | 180 +--- .../confirm-transaction-base.container.js | 97 +- .../confirm-transaction-base.test.js | 403 +------- ui/pages/confirmations/confirm/confirm.tsx | 14 - .../remove-snap-account.test.js.snap | 86 -- .../token-allowance/token-allowance.js | 62 -- ui/pages/confirmations/types/confirm.ts | 1 - ui/pages/home/home.component.js | 120 +-- ui/pages/home/home.container.js | 65 +- .../institutional-home-footer.js | 59 -- .../__snapshots__/account-list.test.tsx.snap | 191 ---- .../account-list/account-list.stories.tsx | 33 - .../account-list/account-list.test.tsx | 109 --- .../account-list/account-list.tsx | 224 ----- .../institutional/account-list/index.scss | 48 - ui/pages/institutional/account-list/index.ts | 1 - .../confirm-add-custodian-token.stories.tsx | 47 - .../confirm-add-custodian-token.test.tsx | 122 --- .../confirm-add-custodian-token.tsx | 234 ----- .../confirm-add-custodian-token/index.scss | 8 - .../confirm-add-custodian-token/index.ts | 1 - ...onfirm-connect-custodian-modal.stories.tsx | 20 - .../confirm-connect-custodian-modal.test.tsx | 37 - .../confirm-connect-custodian-modal.tsx | 96 -- .../confirm-connect-custodian-modal/index.ts | 1 - ...custodian-accounts-connected.test.tsx.snap | 36 - .../custodian-accounts-connected.test.tsx | 32 - .../custodian-accounts-connected.tsx | 55 -- .../custodian-accounts-connected/index.ts | 1 - .../custodian-list-view.test.tsx.snap | 62 -- .../custodian-list-view.test.tsx | 33 - .../custodian-list-view.tsx | 76 -- .../custodian-list-view/index.ts | 1 - .../__snapshots__/custody.test.tsx.snap | 80 -- .../institutional/custody/custody.stories.tsx | 53 -- .../institutional/custody/custody.test.tsx | 611 ------------ ui/pages/institutional/custody/custody.tsx | 726 -------------- ui/pages/institutional/custody/index.ts | 1 - .../institutional-entity-done-page/index.scss | 9 - .../institutional-entity-done-page/index.ts | 1 - ...institutional-entity-done-page.stories.tsx | 30 - .../institutional-entity-done-page.test.tsx | 55 -- .../institutional-entity-done-page.tsx | 94 -- ...ctive-replacement-token-page.test.tsx.snap | 57 -- .../index.scss | 23 - .../index.ts | 3 - ...ractive-replacement-token-page.stories.tsx | 68 -- ...nteractive-replacement-token-page.test.tsx | 239 ----- .../interactive-replacement-token-page.tsx | 429 --------- .../manual-connect-custodian/index.ts | 1 - .../manual-connect-custodian.tsx | 185 ---- .../onboarding-successful/index.scss | 11 - .../onboarding-successful.stories.tsx | 17 - .../onboarding-successful.test.tsx | 32 - .../onboarding-successful.tsx | 78 -- .../pin-mmi-billboard/pin-mmi-billboard.js | 598 ------------ .../__snapshots__/remind-srp.test.tsx.snap | 252 ----- ui/pages/institutional/remind-srp/index.scss | 3 - .../remind-srp/remind-srp.test.tsx | 42 - .../institutional/remind-srp/remind-srp.tsx | 133 --- .../create-password.test.js.snap | 24 - .../create-password/create-password.js | 43 - .../onboarding-flow-switch.js | 13 +- ui/pages/onboarding-flow/onboarding-flow.js | 24 - .../pin-extension/pin-extension.js | 37 - ui/pages/onboarding-flow/welcome/welcome.js | 51 - ui/pages/pages.scss | 5 - ui/pages/routes/routes.component.js | 54 -- .../settings/info-tab/info-tab.component.js | 82 +- ui/pages/unlock-page/unlock-page.component.js | 6 +- ui/selectors/institutional/selectors.test.ts | 892 ------------------ ui/selectors/institutional/selectors.ts | 274 ------ ui/selectors/selectors.js | 6 - ui/selectors/transactions.js | 7 +- ui/store/actions.ts | 10 +- .../institutional/institution-actions.test.js | 328 ------- ui/store/institutional/institution-actions.ts | 149 --- .../institution-background.test.js | 248 ----- .../institutional/institution-background.ts | 268 ------ ui/store/store.ts | 11 - 249 files changed, 157 insertions(+), 19620 deletions(-) delete mode 100644 ui/components/institutional/confirm-remove-jwt-modal/__snapshots__/confirm-remove-jwt-modal.test.tsx.snap delete mode 100644 ui/components/institutional/confirm-remove-jwt-modal/confirm-remove-jwt-modal.stories.tsx delete mode 100644 ui/components/institutional/confirm-remove-jwt-modal/confirm-remove-jwt-modal.test.tsx delete mode 100644 ui/components/institutional/confirm-remove-jwt-modal/confirm-remove-jwt-modal.tsx delete mode 100644 ui/components/institutional/confirm-remove-jwt-modal/index.scss delete mode 100644 ui/components/institutional/confirm-remove-jwt-modal/index.ts delete mode 100644 ui/components/institutional/custody-confirm-link-modal/custody-confirm-link-modal.stories.tsx delete mode 100644 ui/components/institutional/custody-confirm-link-modal/custody-confirm-link-modal.test.tsx delete mode 100644 ui/components/institutional/custody-confirm-link-modal/custody-confirm-link-modal.tsx delete mode 100644 ui/components/institutional/custody-confirm-link-modal/index.scss delete mode 100644 ui/components/institutional/custody-confirm-link-modal/index.ts delete mode 100644 ui/components/institutional/custody-labels/__snapshots__/custody-labels.test.tsx.snap delete mode 100644 ui/components/institutional/custody-labels/custody-labels.stories.tsx delete mode 100644 ui/components/institutional/custody-labels/custody-labels.test.tsx delete mode 100644 ui/components/institutional/custody-labels/custody-labels.tsx delete mode 100644 ui/components/institutional/custody-labels/index.scss delete mode 100644 ui/components/institutional/custody-labels/index.ts delete mode 100644 ui/components/institutional/institutional-components.scss delete mode 100644 ui/components/institutional/interactive-replacement-token-modal/index.ts delete mode 100644 ui/components/institutional/interactive-replacement-token-modal/interactive-replacement-token-modal.stories.tsx delete mode 100644 ui/components/institutional/interactive-replacement-token-modal/interactive-replacement-token-modal.test.tsx delete mode 100644 ui/components/institutional/interactive-replacement-token-modal/interactive-replacement-token-modal.tsx delete mode 100644 ui/components/institutional/interactive-replacement-token-notification/index.scss delete mode 100644 ui/components/institutional/interactive-replacement-token-notification/index.ts delete mode 100644 ui/components/institutional/interactive-replacement-token-notification/interactive-replacement-token-notification.stories.tsx delete mode 100644 ui/components/institutional/interactive-replacement-token-notification/interactive-replacement-token-notification.test.tsx delete mode 100644 ui/components/institutional/interactive-replacement-token-notification/interactive-replacement-token-notification.tsx delete mode 100644 ui/components/institutional/jwt-dropdown/__snapshots__/jwt-dropdown.test.tsx.snap delete mode 100644 ui/components/institutional/jwt-dropdown/index.ts delete mode 100644 ui/components/institutional/jwt-dropdown/jwt-dropdown.scss delete mode 100644 ui/components/institutional/jwt-dropdown/jwt-dropdown.stories.tsx delete mode 100644 ui/components/institutional/jwt-dropdown/jwt-dropdown.test.tsx delete mode 100644 ui/components/institutional/jwt-dropdown/jwt-dropdown.tsx delete mode 100644 ui/components/institutional/jwt-url-form/__snapshots__/jwt-url-form.test.tsx.snap delete mode 100644 ui/components/institutional/jwt-url-form/index.ts delete mode 100644 ui/components/institutional/jwt-url-form/jwt-url-form.stories.tsx delete mode 100644 ui/components/institutional/jwt-url-form/jwt-url-form.test.tsx delete mode 100644 ui/components/institutional/jwt-url-form/jwt-url-form.tsx delete mode 100644 ui/components/institutional/note-to-trader/__snapshots__/note-to-trader.test.tsx.snap delete mode 100644 ui/components/institutional/note-to-trader/index.scss delete mode 100644 ui/components/institutional/note-to-trader/index.ts delete mode 100644 ui/components/institutional/note-to-trader/note-to-trader-tabbed.tsx delete mode 100644 ui/components/institutional/note-to-trader/note-to-trader.stories.tsx delete mode 100644 ui/components/institutional/note-to-trader/note-to-trader.test.tsx delete mode 100644 ui/components/institutional/note-to-trader/note-to-trader.tsx delete mode 100644 ui/components/institutional/qr-code-modal/index.tsx delete mode 100644 ui/components/institutional/qr-code-modal/qr-code-modal.scss delete mode 100644 ui/components/institutional/qr-code-modal/qr-code-modal.stories.tsx delete mode 100644 ui/components/institutional/qr-code-modal/qr-code-modal.test.tsx delete mode 100644 ui/components/institutional/qr-code-modal/qr-code-modal.tsx delete mode 100644 ui/components/institutional/signature-mismatch-banner/index.ts delete mode 100644 ui/components/institutional/signature-mismatch-banner/signature-mismatch-banner.stories.tsx delete mode 100644 ui/components/institutional/signature-mismatch-banner/signature-mismatch-banner.test.tsx delete mode 100644 ui/components/institutional/signature-mismatch-banner/signature-mismatch-banner.tsx delete mode 100644 ui/components/institutional/transaction-failed-modal/index.scss delete mode 100644 ui/components/institutional/transaction-failed-modal/index.ts delete mode 100644 ui/components/institutional/transaction-failed-modal/transaction-failed-modal.stories.tsx delete mode 100644 ui/components/institutional/transaction-failed-modal/transaction-failed-modal.test.tsx delete mode 100644 ui/components/institutional/transaction-failed-modal/transaction-failed-modal.tsx delete mode 100644 ui/components/institutional/wrong-network-notification/index.ts delete mode 100644 ui/components/institutional/wrong-network-notification/wrong-network-notification.stories.tsx delete mode 100644 ui/components/institutional/wrong-network-notification/wrong-network-notification.test.tsx delete mode 100644 ui/components/institutional/wrong-network-notification/wrong-network-notification.tsx delete mode 100644 ui/ducks/institutional/index.js delete mode 100644 ui/ducks/institutional/institutional.test.ts delete mode 100644 ui/ducks/institutional/institutional.ts delete mode 100644 ui/helpers/utils/institutional/find-by-custodian-name.test.ts delete mode 100644 ui/helpers/utils/institutional/find-by-custodian-name.ts delete mode 100644 ui/hooks/useMMIConfirmations.test.ts delete mode 100644 ui/hooks/useMMIConfirmations.ts delete mode 100644 ui/hooks/useMMICustodySendTransaction.test.js delete mode 100644 ui/hooks/useMMICustodySendTransaction.ts delete mode 100644 ui/hooks/useMMICustodySignMessage.js delete mode 100644 ui/hooks/useMMICustodySignMessage.test.js delete mode 100644 ui/pages/home/institutional/institutional-home-footer.js delete mode 100644 ui/pages/institutional/account-list/__snapshots__/account-list.test.tsx.snap delete mode 100644 ui/pages/institutional/account-list/account-list.stories.tsx delete mode 100644 ui/pages/institutional/account-list/account-list.test.tsx delete mode 100644 ui/pages/institutional/account-list/account-list.tsx delete mode 100644 ui/pages/institutional/account-list/index.scss delete mode 100644 ui/pages/institutional/account-list/index.ts delete mode 100644 ui/pages/institutional/confirm-add-custodian-token/confirm-add-custodian-token.stories.tsx delete mode 100644 ui/pages/institutional/confirm-add-custodian-token/confirm-add-custodian-token.test.tsx delete mode 100644 ui/pages/institutional/confirm-add-custodian-token/confirm-add-custodian-token.tsx delete mode 100644 ui/pages/institutional/confirm-add-custodian-token/index.scss delete mode 100644 ui/pages/institutional/confirm-add-custodian-token/index.ts delete mode 100644 ui/pages/institutional/confirm-connect-custodian-modal/confirm-connect-custodian-modal.stories.tsx delete mode 100644 ui/pages/institutional/confirm-connect-custodian-modal/confirm-connect-custodian-modal.test.tsx delete mode 100644 ui/pages/institutional/confirm-connect-custodian-modal/confirm-connect-custodian-modal.tsx delete mode 100644 ui/pages/institutional/confirm-connect-custodian-modal/index.ts delete mode 100644 ui/pages/institutional/custodian-accounts-connected/__snapshots__/custodian-accounts-connected.test.tsx.snap delete mode 100644 ui/pages/institutional/custodian-accounts-connected/custodian-accounts-connected.test.tsx delete mode 100644 ui/pages/institutional/custodian-accounts-connected/custodian-accounts-connected.tsx delete mode 100644 ui/pages/institutional/custodian-accounts-connected/index.ts delete mode 100644 ui/pages/institutional/custodian-list-view/__snapshots__/custodian-list-view.test.tsx.snap delete mode 100644 ui/pages/institutional/custodian-list-view/custodian-list-view.test.tsx delete mode 100644 ui/pages/institutional/custodian-list-view/custodian-list-view.tsx delete mode 100644 ui/pages/institutional/custodian-list-view/index.ts delete mode 100644 ui/pages/institutional/custody/__snapshots__/custody.test.tsx.snap delete mode 100644 ui/pages/institutional/custody/custody.stories.tsx delete mode 100644 ui/pages/institutional/custody/custody.test.tsx delete mode 100644 ui/pages/institutional/custody/custody.tsx delete mode 100644 ui/pages/institutional/custody/index.ts delete mode 100644 ui/pages/institutional/institutional-entity-done-page/index.scss delete mode 100644 ui/pages/institutional/institutional-entity-done-page/index.ts delete mode 100644 ui/pages/institutional/institutional-entity-done-page/institutional-entity-done-page.stories.tsx delete mode 100644 ui/pages/institutional/institutional-entity-done-page/institutional-entity-done-page.test.tsx delete mode 100644 ui/pages/institutional/institutional-entity-done-page/institutional-entity-done-page.tsx delete mode 100644 ui/pages/institutional/interactive-replacement-token-page/__snapshots__/interactive-replacement-token-page.test.tsx.snap delete mode 100644 ui/pages/institutional/interactive-replacement-token-page/index.scss delete mode 100644 ui/pages/institutional/interactive-replacement-token-page/index.ts delete mode 100644 ui/pages/institutional/interactive-replacement-token-page/interactive-replacement-token-page.stories.tsx delete mode 100644 ui/pages/institutional/interactive-replacement-token-page/interactive-replacement-token-page.test.tsx delete mode 100644 ui/pages/institutional/interactive-replacement-token-page/interactive-replacement-token-page.tsx delete mode 100644 ui/pages/institutional/manual-connect-custodian/index.ts delete mode 100644 ui/pages/institutional/manual-connect-custodian/manual-connect-custodian.tsx delete mode 100644 ui/pages/institutional/onboarding-successful/index.scss delete mode 100644 ui/pages/institutional/onboarding-successful/onboarding-successful.stories.tsx delete mode 100644 ui/pages/institutional/onboarding-successful/onboarding-successful.test.tsx delete mode 100644 ui/pages/institutional/onboarding-successful/onboarding-successful.tsx delete mode 100644 ui/pages/institutional/pin-mmi-billboard/pin-mmi-billboard.js delete mode 100644 ui/pages/institutional/remind-srp/__snapshots__/remind-srp.test.tsx.snap delete mode 100644 ui/pages/institutional/remind-srp/index.scss delete mode 100644 ui/pages/institutional/remind-srp/remind-srp.test.tsx delete mode 100644 ui/pages/institutional/remind-srp/remind-srp.tsx delete mode 100644 ui/selectors/institutional/selectors.test.ts delete mode 100644 ui/selectors/institutional/selectors.ts delete mode 100644 ui/store/institutional/institution-actions.test.js delete mode 100644 ui/store/institutional/institution-actions.ts delete mode 100644 ui/store/institutional/institution-background.test.js delete mode 100644 ui/store/institutional/institution-background.ts diff --git a/app/_locales/de/messages.json b/app/_locales/de/messages.json index f1e121d15aef..507320cd87a0 100644 --- a/app/_locales/de/messages.json +++ b/app/_locales/de/messages.json @@ -290,9 +290,6 @@ "addNewSolanaAccount": { "message": "Ein neues Solana-Konto hinzufügen (Beta)" }, - "addNewToken": { - "message": "Neues Token hinzufügen" - }, "addNft": { "message": "NFT hinzufügen" }, @@ -485,12 +482,6 @@ "all": { "message": "Alle" }, - "allCustodianAccountsConnectedSubtitle": { - "message": "Sie haben entweder bereits alle Ihre Verwahrungskonten verbunden oder haben kein Konto, dass Sie mit MetaMask Institutional verbinden könnten." - }, - "allCustodianAccountsConnectedTitle": { - "message": "Keine verbindbaren Konten verfügbar" - }, "allOfYour": { "message": "Alle Ihre $1.", "description": "$1 is the symbol or name of the token that the user is approving spending" @@ -508,12 +499,6 @@ "message": "Alle Ihre NFTs von $1.", "description": "$1 is a link to contract on the block explorer when we're not able to retrieve a erc721 or erc1155 name" }, - "allow": { - "message": "Genehmigen" - }, - "allowMmiToConnectToCustodian": { - "message": "Dadurch kann MMI sich zum Importieren Ihrer Konten mit $1 verbinden." - }, "allowNotifications": { "message": "Benachrichtigungen erlauben" }, @@ -655,9 +640,6 @@ "average": { "message": "Durchschnitt" }, - "awaitingApproval": { - "message": "Warten auf Genehmigung ..." - }, "back": { "message": "Zurück" }, @@ -723,9 +705,6 @@ "message": "Dies ist eine BETA-Version. Bitte melden Sie Fehler $1.", "description": "$1 represents the word 'here' in a hyperlink" }, - "betaMetamaskInstitutionalVersion": { - "message": "Beta-Version von MetaMask Institutional" - }, "betaMetamaskVersion": { "message": "MetaMask-Version" }, @@ -982,15 +961,6 @@ "confirmAlertModalAcknowledgeSingle": { "message": "Ich habe die Benachrichtigung zur Kenntnis genommen und möchte trotzdem fortfahren" }, - "confirmConnectCustodianRedirect": { - "message": "Sobald Sie auf „Weiter“ klicken, leiten wir Sie weiter zu $1." - }, - "confirmConnectCustodianText": { - "message": "Zum Verbinden Ihrer Konten melden Sie sich bitte bei Ihrem $1-Konto an und klicken dann auf die Schaltfläche „Mit MMI verbinden“." - }, - "confirmConnectionTitle": { - "message": "Verbindung mit $1 bestätigen" - }, "confirmFieldPaymaster": { "message": "Gebühr bezahlt von" }, @@ -1072,18 +1042,6 @@ "connectAccounts": { "message": "Konten verbinden" }, - "connectCustodialAccountMenu": { - "message": "Verwahrungskonto verbinden" - }, - "connectCustodialAccountMsg": { - "message": "Bitte wählen Sie den Verwahrer aus, den Sie verwenden möchten, um ein Token hinzuzufügen oder zu aktualisieren." - }, - "connectCustodialAccountTitle": { - "message": "Verwahrungskonten" - }, - "connectCustodianAccounts": { - "message": "$1 Konten verbinden" - }, "connectManually": { "message": "Manuelle Verbindung zur aktuellen Seite" }, @@ -1206,12 +1164,6 @@ "continue": { "message": "Weiter" }, - "continueMmiOnboarding": { - "message": "Mit Einführung in MetaMask Institutional fortfahren" - }, - "continueToWallet": { - "message": "Weiter zur Wallet" - }, "contract": { "message": "Contract" }, @@ -1345,60 +1297,6 @@ "curveMediumGasEstimate": { "message": "Markt-Gas-Schätzungsdiagramm" }, - "custodian": { - "message": "Verwahrer" - }, - "custodianAccountAddedDesc": { - "message": "Sie können jetzt Ihre Konten in MetaMask Institutional verwenden." - }, - "custodianAccountAddedTitle": { - "message": "Ausgewählte $1-Konten wurden hinzugefügt." - }, - "custodianQRCodeScan": { - "message": "QR-Code mit Ihrer $1-Mobilapp scannen" - }, - "custodianQRCodeScanDescription": { - "message": "Oder melden Sie sich bei Ihrem $1-Konto an und klicken Sie auf die Schaltfläche „Mit MMI verbinden“." - }, - "custodianReplaceRefreshTokenChangedFailed": { - "message": "Bitte gehen Sie zu $1 und klicken Sie in der Benutzeroberfläche auf die Schaltfläche „Mit MMI verbinden“, um Ihre Konten erneut mit MMI zu verbinden." - }, - "custodianReplaceRefreshTokenChangedSubtitle": { - "message": "Sie können jetzt Verwahrkonten in MetaMask Institutional verwenden." - }, - "custodianReplaceRefreshTokenChangedTitle": { - "message": "Ihr Verwahrungstoken wurde aktualisiert." - }, - "custodianReplaceRefreshTokenSubtitle": { - "message": "Dies ersetzt das Verwahrungstoken für die folgende Adresse:" - }, - "custodianReplaceRefreshTokenTitle": { - "message": "Verwahrungstoken ersetzen" - }, - "custodyDeeplinkDescription": { - "message": "Genehmigen Sie die Transaktion in der $1-App. Wenn alle benötigten Verwahrungsgenehmigungen erteilt wurden, wir die Transaktion abgeschlossen. Überprüfen Sie Ihre $1-App für den Status." - }, - "custodyRefreshTokenModalDescription": { - "message": "Bitte gehen Sie zu $1 und klicken Sie in der Benutzeroberfläche auf die Schaltfläche „Mit MMI verbinden“, um Ihre Konten erneut mit MMI zu verbinden." - }, - "custodyRefreshTokenModalDescription1": { - "message": "Ihr Verwahrer stellt ein Token aus, dass die MetaMask Institutional-Erweiterung automatisch beglaubigt, was die Verbindung zu Ihren Konten ermöglicht." - }, - "custodyRefreshTokenModalDescription2": { - "message": "Dieses Token läuft aus Sicherheitsgründen nach einer gewissen Zeit ab. In diesem Fall müssen Sie erneut eine Verbindung mit MMI herstellen." - }, - "custodyRefreshTokenModalSubtitle": { - "message": "Warum sehe ich das?" - }, - "custodyRefreshTokenModalTitle": { - "message": "Ihre Verwahrungssitzung ist abgelaufen." - }, - "custodySessionExpired": { - "message": "Verwahrungssitzung ist abgelaufen." - }, - "custodyWrongChain": { - "message": "Dieses Konto ist nicht für die Nutzung mit $1 konfiguriert." - }, "custom": { "message": "Erweitert" }, @@ -1861,9 +1759,6 @@ "enterChainId": { "message": "Chain-ID eingeben" }, - "enterCustodianToken": { - "message": "$1-Token eingeben oder neues Token hinzufügen" - }, "enterMaxSpendLimit": { "message": "Max. Ausgabenlimit eingeben" }, @@ -2000,12 +1895,6 @@ "message": "Erkunden Sie die von der Community erstellten Snaps, um Ihr web3-Erlebnis individuell zu gestalten.", "description": "Banner description displayed on Snaps list page in Settings when less than 6 Snaps is installed." }, - "extensionInsallCompleteDescription": { - "message": "Kehren Sie zur Produkteinführung von MetaMask Institutional zurück, um Ihre Verwahrungs- oder Selbstverwahrungskonten zu verbinden." - }, - "extensionInsallCompleteTitle": { - "message": "Installation der Erweiterung abgeschlossen" - }, "externalExtension": { "message": "Externe Erweiterung" }, @@ -2466,12 +2355,6 @@ "install": { "message": "Installieren" }, - "installExtension": { - "message": "Erweiterung installieren" - }, - "installExtensionDescription": { - "message": "Die Institution-kompatible Version der weltweit führenden Web3-Wallet, MetaMask." - }, "installOrigin": { "message": "Origin installieren" }, @@ -2864,9 +2747,6 @@ "message": "$1 wird auf npm gehostet und $2 ist die einzige Kennung dieses Snaps.", "description": "$1 is the snap name and $2 is the snap NPM id." }, - "metamaskInstitutionalVersion": { - "message": "MetaMask Institutional-Version" - }, "metamaskNotificationsAreOff": { "message": "Wallet-Benachrichtigungen sind momentan nicht aktiv." }, @@ -2892,9 +2772,6 @@ "message": "M", "description": "Shortened form of 'million'" }, - "mismatchAccount": { - "message": "Ihr ausgewähltes Konto ($1) unterscheidet sich von dem Konto, das versucht, zu unterzeichnen ($2)." - }, "mismatchedChainLinkText": { "message": "verifizieren Sie die Netzwerkdetails", "description": "Serves as link text for the 'mismatchedChain' key. This text will be embedded inside the translation for that key." @@ -2921,15 +2798,6 @@ "missingSettingRequest": { "message": "Hier anfragen" }, - "mmiBuiltAroundTheWorld": { - "message": "MetaMask Institutional ist weltweit konzipiert und aufgebaut." - }, - "mmiNewNFTDetectedInNFTsTabMessage": { - "message": "Lassen Sie zu, dass MetaMask Institutional NFTs automatisch erkennt und anzeigt." - }, - "mmiPasswordSetupDetails": { - "message": "Dieses Passwort entsperrt nur Ihre MetaMask Institutional-Erweiterung." - }, "more": { "message": "mehr" }, @@ -3304,9 +3172,6 @@ "noWebcamFoundTitle": { "message": "Webcam nicht gefunden" }, - "nonCustodialAccounts": { - "message": "MetaMask Institutional erlaubt Ihnen die Verwendung von Konten ohne Verwaltung, wenn Sie vorhaben, diese Konten als Backup für die geheime Wiederherstellungsphrase zu verwenden." - }, "nonce": { "message": "Unbekannt" }, @@ -3334,12 +3199,6 @@ "notEnoughGas": { "message": "Nicht genügend Gas" }, - "note": { - "message": "Notiz" - }, - "notePlaceholder": { - "message": "Der Genehmiger sieht diese Notiz, wenn die Transaktion beim Verwahrer genehmigt wird." - }, "notificationDetail": { "message": "Details" }, @@ -3674,9 +3533,6 @@ "onboardingPinExtensionTitle": { "message": "Ihre MetaMask Installation ist abgeschlossen!" }, - "onboardingPinMmiExtensionLabel": { - "message": "MetaMask Institutional pinnen" - }, "oneDayAbbreviation": { "message": "1 T", "description": "Shortened form of '1 day'" @@ -3700,10 +3556,6 @@ "message": "Verbinden Sie sich nur mit Websites, denen Sie vertrauen. $1", "description": "Text displayed above the buttons for connection confirmation. $1 is the link to the learn more web page." }, - "openCustodianApp": { - "message": "$1 App öffnen", - "description": "The $1 is the name of the Custodian that will be open" - }, "openFullScreenForLedgerWebHid": { "message": "Öffnen Sie MetaMask im Vollbildmodus, um Ihren Ledger über WebHID zu verbinden.", "description": "Shown to the user on the confirm screen when they are viewing MetaMask in a popup window but need to connect their ledger via webhid." @@ -3714,18 +3566,12 @@ "openSeaNew": { "message": "OpenSea" }, - "operationFailed": { - "message": "Vorgang fehlgeschlagen" - }, "optional": { "message": "Optional" }, "options": { "message": "Optionen" }, - "or": { - "message": "oder" - }, "origin": { "message": "Ursprung" }, @@ -3760,9 +3606,6 @@ "password": { "message": "Passwort" }, - "passwordMmiTermsWarning": { - "message": "Ich verstehe, dass MetaMask Institutional dieses Passwort für mich nicht wiederherstellen kann. $1" - }, "passwordNotLongEnough": { "message": "Passwort nicht lang genug" }, @@ -3782,9 +3625,6 @@ "passwordsDontMatch": { "message": "Passwörter stimmen nicht überein." }, - "pasteJWTToken": { - "message": "Token hier einfügen oder ablegen:" - }, "pastePrivateKey": { "message": "Geben Sie hier die Zeichenfolge Ihres privaten Schlüssels ein:", "description": "For importing an account from a private key" @@ -4068,12 +3908,6 @@ "petnamesEnabledToggleDescription": { "message": "Damit können Sie jeder Adresse einen Spitznamen zuweisen. Nach Möglichkeit werden wir Namen für Adressen vorschlagen, mit denen Sie interagieren." }, - "pinExtensionDescription": { - "message": "Gehen Sie zum Erweiterungsmenü und heften Sie MetaMask Institutional für nahtlosen Zugriff an." - }, - "pinExtensionTitle": { - "message": "Erweiterung anheften" - }, "pinToTop": { "message": "Pin nach oben" }, @@ -4095,9 +3929,6 @@ "portfolio": { "message": "Portfolio" }, - "portfolioDashboard": { - "message": "Portfolio-Dashboard" - }, "preparingSwap": { "message": "Swap wird vorbereitet ..." }, @@ -4343,12 +4174,6 @@ "removeAccountDescription": { "message": "Dieses Konto wird aus Ihrer Wallet entfernt. Bitte stellen Sie sicher, dass Sie die ursprüngliche geheime Wiederherstellungsphrase oder den privaten Schlüssel für dieses importierte Konto haben, bevor Sie fortfahren. Sie können Konten über das Dropdown-Menü „Konto“ erneut importieren oder erstellen." }, - "removeJWT": { - "message": "Verwahrungstoken entfernen" - }, - "removeJWTDescription": { - "message": "Sind Sie sicher, dass Sie dieses Token entfernen möchten? Alle diesem Token zugewiesenen Konten werden ebenfalls von der Erweiterung entfernt: " - }, "removeKeyringSnap": { "message": "Das Entfernen dieses Snaps entfernt folgende Konten aus MetaMask:" }, @@ -4694,27 +4519,18 @@ "selectAll": { "message": "\nAlle auswählen" }, - "selectAllAccounts": { - "message": "Alle Konten auswählen" - }, "selectAnAccount": { "message": "Ein Konto auswählen" }, "selectAnAccountAlreadyConnected": { "message": "Dieses Konto wurde bereits mit MetaMask verbunden." }, - "selectAnAccountHelp": { - "message": "Wählen Sie die Verwahrungskonten zur Nutzung in MetaMask Institutional aus." - }, "selectEnableDisplayMediaPrivacyPreference": { "message": "NFT-Medien anzeigen einschalten" }, "selectHdPath": { "message": "HD-Pfad auswählen" }, - "selectJWT": { - "message": "Token auswählen" - }, "selectNFTPrivacyPreference": { "message": "Automatische NFT-Erkennung aktivieren" }, @@ -6084,9 +5900,6 @@ "transactionErrored": { "message": "Bei der Transaktion ist ein Fehler aufgetreten." }, - "transactionFailed": { - "message": "Transaktion fehlgeschlagen" - }, "transactionFee": { "message": "Transaktionsgebühr" }, @@ -6114,9 +5927,6 @@ "transactionHistoryTotalGasFee": { "message": "Gesamte Gas-Gebühr" }, - "transactionNote": { - "message": "Transaktionsnotiz" - }, "transactionResubmitted": { "message": "Erneutes Absenden der Transaktion mit Erhöhung der geschätzten Gas-Gebühr auf $1 zu $2." }, @@ -6395,9 +6205,6 @@ "viewTransaction": { "message": "Transaktion einsehen" }, - "viewinCustodianApp": { - "message": "In Verwahrungs-App anzeigen" - }, "viewinExplorer": { "message": "$1 im Explorer anzeigen", "description": "$1 is the action type. e.g (Account, Transaction, Swap)" diff --git a/app/_locales/el/messages.json b/app/_locales/el/messages.json index 5a99c08ebfeb..13bf82170bb7 100644 --- a/app/_locales/el/messages.json +++ b/app/_locales/el/messages.json @@ -290,9 +290,6 @@ "addNewSolanaAccount": { "message": "Προσθήκη νέου λογαριασμού Solana (Beta)" }, - "addNewToken": { - "message": "Προσθήκη νέου token" - }, "addNft": { "message": "Προσθήκη του NFT" }, @@ -485,12 +482,6 @@ "all": { "message": "Όλες" }, - "allCustodianAccountsConnectedSubtitle": { - "message": "Είτε έχετε ήδη συνδέσει όλους τους λογαριασμούς θεματοφύλακα είτε δεν έχετε κανέναν λογαριασμό να συνδέσετε με το MetaMask Institutional." - }, - "allCustodianAccountsConnectedTitle": { - "message": "Δεν υπάρχουν διαθέσιμοι λογαριασμοί για σύνδεση" - }, "allOfYour": { "message": "Όλα σας τα $1", "description": "$1 is the symbol or name of the token that the user is approving spending" @@ -508,12 +499,6 @@ "message": "Όλα τα NFT σας από το $1", "description": "$1 is a link to contract on the block explorer when we're not able to retrieve a erc721 or erc1155 name" }, - "allow": { - "message": "Να επιτρέπεται" - }, - "allowMmiToConnectToCustodian": { - "message": "Αυτό θα επιτρέψει στο MMI να συνδεθεί στο $1 για να εισαγάγει τους λογαριασμούς σας." - }, "allowNotifications": { "message": "Να επιτρέπονται οι ειδοποιήσεις" }, @@ -655,9 +640,6 @@ "average": { "message": "Μέσος Όρος" }, - "awaitingApproval": { - "message": "Σε αναμονή έγκρισης..." - }, "back": { "message": "Πίσω" }, @@ -723,9 +705,6 @@ "message": "Αυτή είναι μια δοκιμαστική έκδοση. Παρακαλώ αναφέρετε σφάλματα $1", "description": "$1 represents the word 'here' in a hyperlink" }, - "betaMetamaskInstitutionalVersion": { - "message": "Δοκιμαστική Έκδοση του MetaMask Institutional" - }, "betaMetamaskVersion": { "message": "Δοκιμαστική έκδοση MetaMask" }, @@ -982,15 +961,6 @@ "confirmAlertModalAcknowledgeSingle": { "message": "Έχω ενημερωθεί για την ειδοποίηση και εξακολουθώ να θέλω να συνεχίσω" }, - "confirmConnectCustodianRedirect": { - "message": "Θα σας ανακατευθύνουμε στο $1 όταν κάνετε κλικ για να συνεχίσετε." - }, - "confirmConnectCustodianText": { - "message": "Για να συνδέσετε τους λογαριασμούς σας εισέλθετε στον λογαριασμό σας στο $1 και κάντε κλικ στο κουμπί «σύνδεση με το MMI»." - }, - "confirmConnectionTitle": { - "message": "Επιβεβαίωση σύνδεσης με το $1" - }, "confirmFieldPaymaster": { "message": "Τα τέλη καταβλήθηκαν από" }, @@ -1072,18 +1042,6 @@ "connectAccounts": { "message": "Σύνδεση λογαριασμών" }, - "connectCustodialAccountMenu": { - "message": "Σύνδεση λογαριασμού θεματοφύλακα" - }, - "connectCustodialAccountMsg": { - "message": "Επιλέξτε τον θεματοφύλακα που θέλετε να συνδέσετε για να προσθέσετε ή να ανανεώσετε ένα token." - }, - "connectCustodialAccountTitle": { - "message": "Λογαριασμοί θεματοφύλακα" - }, - "connectCustodianAccounts": { - "message": "Σύνδεση των $1 λογαριασμών" - }, "connectManually": { "message": "Χειροκίνητη σύνδεση στον τρέχοντα ιστότοπο" }, @@ -1206,12 +1164,6 @@ "continue": { "message": "Συνέχεια" }, - "continueMmiOnboarding": { - "message": "Συνεχίστε στο περιβάλλον του MetaMask Institutional" - }, - "continueToWallet": { - "message": "Συνεχίστε στο πορτοφόλι" - }, "contract": { "message": "Συμβόλαιο" }, @@ -1345,60 +1297,6 @@ "curveMediumGasEstimate": { "message": "Γράφημα εκτιμώμενων τελών συναλλαγής αγοράς" }, - "custodian": { - "message": "Θεματοφύλακας" - }, - "custodianAccountAddedDesc": { - "message": "Μπορείτε τώρα να χρησιμοποιήσετε τους λογαριασμούς θεματοφύλακά σας στο MetaMask Institutional." - }, - "custodianAccountAddedTitle": { - "message": "Έχουν προστεθεί επιλεγμένοι λογαριασμοί θεματοφύλακα." - }, - "custodianQRCodeScan": { - "message": "Σαρώστε τον κωδικό QR με την εφαρμογή $1 για κινητά" - }, - "custodianQRCodeScanDescription": { - "message": "Ή συνδεθείτε στον λογαριασμό σας $1 και κάντε κλικ στο κουμπί 'Σύνδεση στο MMI'" - }, - "custodianReplaceRefreshTokenChangedFailed": { - "message": "Παρακαλούμε μεταβείτε στο $1 και κάντε κλικ στο κουμπί «Σύνδεση με το MMI» στο περιβάλλον εργασίας χρήστη για να συνδέσετε ξανά τους λογαριασμούς σας με το MMI." - }, - "custodianReplaceRefreshTokenChangedSubtitle": { - "message": "Τώρα μπορείτε να χρησιμοποιήσετε τους λογαριασμούς θεματοφύλακα στο MetaMask Institutional." - }, - "custodianReplaceRefreshTokenChangedTitle": { - "message": "Το token θεματοφύλακα ανανεώθηκε" - }, - "custodianReplaceRefreshTokenSubtitle": { - "message": "Αυτό θα αντικαταστήσει το token θεματοφύλακα για την ακόλουθη διεύθυνση:" - }, - "custodianReplaceRefreshTokenTitle": { - "message": "Αντικατάσταση token θεματοφύλακα" - }, - "custodyDeeplinkDescription": { - "message": "Εγκρίνετε τη συναλλαγή στην εφαρμογή $1. Μόλις πραγματοποιηθούν όλες οι απαιτούμενες εγκρίσεις σχετικά με τον θεματοφύλακα, η συναλλαγή θα ολοκληρωθεί. Ελέγξτε την κατάσταση στην εφαρμογή $1." - }, - "custodyRefreshTokenModalDescription": { - "message": "Παρακαλούμε μεταβείτε στο $1 και κάντε κλικ στο κουμπί \"Σύνδεση με το MMI\" στο περιβάλλον εργασίας χρήστη για να συνδέσετε ξανά τους λογαριασμούς σας με το MMI." - }, - "custodyRefreshTokenModalDescription1": { - "message": "Ο θεματοφύλακάς σας εκδίδει ένα token που πιστοποιεί την επέκταση του MetaMask Institutional, επιτρέποντάς σας να συνδέσετε τους λογαριασμούς σας." - }, - "custodyRefreshTokenModalDescription2": { - "message": "Αυτό το token λήγει μετά από ένα ορισμένο χρονικό διάστημα για λόγους ασφαλείας. Αυτό απαιτεί την επανασύνδεσή σας στο MMI." - }, - "custodyRefreshTokenModalSubtitle": { - "message": "Γιατί το βλέπω αυτό;" - }, - "custodyRefreshTokenModalTitle": { - "message": "Η συνεδρία σας ως θεματοφύλακας έληξε" - }, - "custodySessionExpired": { - "message": "Η συνεδρία θεματοφύλακα έληξε." - }, - "custodyWrongChain": { - "message": "Αυτός ο λογαριασμός δεν έχει ρυθμιστεί για χρήση με $1" - }, "custom": { "message": "Σύνθετες" }, @@ -1861,9 +1759,6 @@ "enterChainId": { "message": "Εισαγάγετε το αναγνωριστικό αλυσίδας" }, - "enterCustodianToken": { - "message": "Πληκτρολογήστε το token $1 ή προσθέστε ένα νέο token" - }, "enterMaxSpendLimit": { "message": "Εισάγετε το μέγιστο όριο δαπανών" }, @@ -2000,12 +1895,6 @@ "message": "Προσαρμόστε την εμπειρία του πορτοφολιού σας.", "description": "Banner description displayed on Snaps list page in Settings when less than 6 Snaps is installed." }, - "extensionInsallCompleteDescription": { - "message": "Επιστρέψτε στο περιβάλλον προϊόντος του MetaMask Institutional για να συνδέσετε τους λογαριασμούς θεματοφύλακα ή αυτο-θεματοφύλακά σας." - }, - "extensionInsallCompleteTitle": { - "message": "Η εγκατάσταση της επέκτασης ολοκληρώθηκε" - }, "externalExtension": { "message": "Εξωτερική επέκταση" }, @@ -2466,12 +2355,6 @@ "install": { "message": "Εγκατάσταση" }, - "installExtension": { - "message": "Εγκατάσταση επέκτασης" - }, - "installExtensionDescription": { - "message": "Η συμβατή με την θεσμική έκδοση του κορυφαίου web3 πορτοφολιού στον κόσμο, MetaMask." - }, "installOrigin": { "message": "Προέλευση εγκατάστασης" }, @@ -2864,9 +2747,6 @@ "message": "Το $1 φιλοξενείται στο npm και το $2 είναι το μοναδικό αναγνωριστικό αυτού του Snap.", "description": "$1 is the snap name and $2 is the snap NPM id." }, - "metamaskInstitutionalVersion": { - "message": "Έκδοση του MetaMask Institutional" - }, "metamaskNotificationsAreOff": { "message": "Οι ειδοποιήσεις του πορτοφολιού δεν είναι προς το παρόν ενεργές." }, @@ -2892,9 +2772,6 @@ "message": "Ε", "description": "Shortened form of 'million'" }, - "mismatchAccount": { - "message": "Ο λογαριασμός ($1) που επιλέξατε είναι διαφορετικός από τον λογαριασμό που προσπαθείτε να υπογράψετε ($2)" - }, "mismatchedChainLinkText": { "message": "επαλήθευση των στοιχείων του δικτύου", "description": "Serves as link text for the 'mismatchedChain' key. This text will be embedded inside the translation for that key." @@ -2921,15 +2798,6 @@ "missingSettingRequest": { "message": "Υποβάλετε αίτημα εδώ" }, - "mmiBuiltAroundTheWorld": { - "message": "Το MetaMask Institutional έχει σχεδιαστεί και λειτουργεί σε όλο τον κόσμο." - }, - "mmiNewNFTDetectedInNFTsTabMessage": { - "message": "Επιτρέψτε στο MetaMask Institutional να ανιχνεύει και να εμφανίζει αυτόματα τα NFT στο πορτοφόλι σας." - }, - "mmiPasswordSetupDetails": { - "message": "Αυτός ο κωδικός πρόσβασης θα ξεκλειδώσει μόνο την επέκταση του MetaMask Institutional." - }, "more": { "message": "περισσότερα" }, @@ -3304,9 +3172,6 @@ "noWebcamFoundTitle": { "message": "Η διαδικτυακή κάμερα δεν βρέθηκε" }, - "nonCustodialAccounts": { - "message": "Το MetaMask Institutional σάς επιτρέπει να χρησιμοποιείτε λογαριασμούς μη θεματοφυλακής, αν σκοπεύετε να χρησιμοποιήσετε αυτούς τους λογαριασμούς για την δημιουργία αντιγράφων ασφαλείας μέσω της Μυστικής Φράσης Ανάκτησης." - }, "nonce": { "message": "Αριθμολέξημα" }, @@ -3334,12 +3199,6 @@ "notEnoughGas": { "message": "Δεν υπάρχει αρκετό τέλος συναλλαγής" }, - "note": { - "message": "Σημείωση" - }, - "notePlaceholder": { - "message": "Ο υπεύθυνος έγκρισης θα δει αυτήν τη σημείωση όταν εγκρίνει τη συναλλαγή ως θεματοφύλακας." - }, "notificationDetail": { "message": "Λεπτομέρειες" }, @@ -3674,9 +3533,6 @@ "onboardingPinExtensionTitle": { "message": "Η εγκατάσταση του MetaMask ολοκληρώθηκε!" }, - "onboardingPinMmiExtensionLabel": { - "message": "Καρφιτσώστε το MetaMask Institutional" - }, "oneDayAbbreviation": { "message": "1Η", "description": "Shortened form of '1 day'" @@ -3700,10 +3556,6 @@ "message": "Συνδεθείτε μόνο με ιστότοπους που εμπιστεύεστε. $1", "description": "Text displayed above the buttons for connection confirmation. $1 is the link to the learn more web page." }, - "openCustodianApp": { - "message": "Ανοίξτε την εφαρμογή $1", - "description": "The $1 is the name of the Custodian that will be open" - }, "openFullScreenForLedgerWebHid": { "message": "Μεταβείτε σε πλήρη οθόνη για να συνδέσετε το Ledger σας.", "description": "Shown to the user on the confirm screen when they are viewing MetaMask in a popup window but need to connect their ledger via webhid." @@ -3714,18 +3566,12 @@ "openSeaNew": { "message": "OpenSea" }, - "operationFailed": { - "message": "Η λειτουργία απέτυχε" - }, "optional": { "message": "Προαιρετικά" }, "options": { "message": "Επιλογές" }, - "or": { - "message": "ή" - }, "origin": { "message": "Προέλευση" }, @@ -3760,9 +3606,6 @@ "password": { "message": "Κωδικός πρόσβασης" }, - "passwordMmiTermsWarning": { - "message": "Κατανοώ ότι το MetaMask Institutional δεν μπορεί να ανακτήσει αυτόν τον κωδικό πρόσβασης για μένα. $1" - }, "passwordNotLongEnough": { "message": "Ο κωδικός πρόσβασης δεν είναι αρκετά μεγάλος" }, @@ -3782,9 +3625,6 @@ "passwordsDontMatch": { "message": "Οι κωδικοί πρόσβασης δεν ταιριάζουν" }, - "pasteJWTToken": { - "message": "Επικολλήστε ή αφήστε το token σας εδώ:" - }, "pastePrivateKey": { "message": "Εισάγετε τη συμβολοσειρά του ιδιωτικού σας κλειδιού εδώ:", "description": "For importing an account from a private key" @@ -4068,12 +3908,6 @@ "petnamesEnabledToggleDescription": { "message": "Αυτό σας επιτρέπει να εκχωρήσετε ένα ψευδώνυμο σε οποιαδήποτε διεύθυνση. Θα σας προτείνουμε ονόματα για διευθύνσεις με τις οποίες αλληλεπιδράτε, όπου είναι δυνατόν." }, - "pinExtensionDescription": { - "message": "Περιηγηθείτε στο μενού επέκτασης και καρφιτσώστε το MetaMask Institutional για απρόσκοπτη πρόσβαση." - }, - "pinExtensionTitle": { - "message": "Καρφιτσώστε την επέκταση" - }, "pinToTop": { "message": "Καρφίτσωμα στην κορυφή" }, @@ -4095,9 +3929,6 @@ "portfolio": { "message": "Χαρτοφυλάκιο" }, - "portfolioDashboard": { - "message": "Πίνακας ελέγχου χαρτοφυλακίου" - }, "preparingSwap": { "message": "Προετοιμασία ανταλλαγής..." }, @@ -4343,12 +4174,6 @@ "removeAccountDescription": { "message": "Αυτός ο λογαριασμός θα αφαιρεθεί από το πορτοφόλι σας. Βεβαιωθείτε ότι έχετε την αρχική Μυστική Φράση Ανάκτησης ή το ιδιωτικό κλειδί για αυτόν τον λογαριασμό που έχετε εισαγάγει πριν συνεχίσετε. Μπορείτε να εισαγάγετε ή να δημιουργήσετε ξανά λογαριασμούς από το αναπτυσσόμενο μενού λογαριασμών." }, - "removeJWT": { - "message": "Αφαίρεση του token θεματοφύλακα" - }, - "removeJWTDescription": { - "message": "Είστε σίγουροι ότι θέλετε να αφαιρέσετε αυτό το token; Όλοι οι λογαριασμοί που αντιστοιχούν σε αυτό το token θα αφαιρεθούν και από την επέκταση: " - }, "removeKeyringSnap": { "message": "Η αφαίρεση αυτού του Snap αφαιρεί αυτούς τους λογαριασμούς από το MetaMask:" }, @@ -4694,27 +4519,18 @@ "selectAll": { "message": "Επιλογή όλων" }, - "selectAllAccounts": { - "message": "Επιλέξτε όλους τους λογαριασμούς" - }, "selectAnAccount": { "message": "Επιλέξτε έναν λογαριασμό" }, "selectAnAccountAlreadyConnected": { "message": "Αυτός ο λογαριασμός έχει ήδη συνδεθεί με το MetaMask" }, - "selectAnAccountHelp": { - "message": "Επιλέξτε τους λογαριασμούς θεματοφύλακα που θα χρησιμοποιηθούν στο MetaMask Institutional." - }, "selectEnableDisplayMediaPrivacyPreference": { "message": "Ενεργοποίηση της \"Προβολής μέσων NFT\"" }, "selectHdPath": { "message": "Επιλέξτε τη διαδρομή HD" }, - "selectJWT": { - "message": "Επιλέξτε token" - }, "selectNFTPrivacyPreference": { "message": "Ενεργοποιήστε την ανίχνευση των NFT" }, @@ -6084,9 +5900,6 @@ "transactionErrored": { "message": "Η συναλλαγή αντιμετώπισε ένα σφάλμα." }, - "transactionFailed": { - "message": "Η συναλλαγή απέτυχε" - }, "transactionFee": { "message": "Χρέωση συναλλαγής" }, @@ -6114,9 +5927,6 @@ "transactionHistoryTotalGasFee": { "message": "Σύνολο τέλους συναλλαγής" }, - "transactionNote": { - "message": "Σημείωση συναλλαγής" - }, "transactionResubmitted": { "message": "Η συναλλαγή υποβλήθηκε ξανά με το εκτιμώμενο τέλος συναλλαγής να έχει αυξηθεί στα $1 στις $2" }, @@ -6395,9 +6205,6 @@ "viewTransaction": { "message": "Προβολή συναλλαγών" }, - "viewinCustodianApp": { - "message": "Προβολή στην εφαρμογή θεματοφύλακα" - }, "viewinExplorer": { "message": "Προβολή $1 στον explorer", "description": "$1 is the action type. e.g (Account, Transaction, Swap)" diff --git a/app/_locales/en/messages.json b/app/_locales/en/messages.json index 732010c092d7..12c195c3230d 100644 --- a/app/_locales/en/messages.json +++ b/app/_locales/en/messages.json @@ -290,9 +290,6 @@ "addNewSolanaAccount": { "message": "Add a new Solana account (Beta)" }, - "addNewToken": { - "message": "Add new token" - }, "addNft": { "message": "Add NFT" }, @@ -494,12 +491,6 @@ "all": { "message": "All" }, - "allCustodianAccountsConnectedSubtitle": { - "message": "You have either already connected all your custodian accounts or don’t have any account to connect to MetaMask Institutional." - }, - "allCustodianAccountsConnectedTitle": { - "message": "No accounts available to connect" - }, "allNetworks": { "message": "All networks" }, @@ -520,12 +511,6 @@ "message": "All of your NFTs from $1", "description": "$1 is a link to contract on the block explorer when we're not able to retrieve a erc721 or erc1155 name" }, - "allow": { - "message": "Allow" - }, - "allowMmiToConnectToCustodian": { - "message": "This will allow MMI to connect to $1 to import your accounts." - }, "allowNotifications": { "message": "Allow notifications" }, @@ -676,9 +661,6 @@ "average": { "message": "Average" }, - "awaitingApproval": { - "message": "Awaiting approval..." - }, "back": { "message": "Back" }, @@ -746,9 +728,6 @@ "betaHeaderText": { "message": "This is a beta version. Please report bugs $1" }, - "betaMetamaskInstitutionalVersion": { - "message": "MetaMask Institutional Beta Version" - }, "betaMetamaskVersion": { "message": "MetaMask Beta Version" }, @@ -1117,15 +1096,6 @@ "confirmAlertModalAcknowledgeSingle": { "message": "I have acknowledged the alert and still want to proceed" }, - "confirmConnectCustodianRedirect": { - "message": "We will redirect you to $1 upon clicking continue." - }, - "confirmConnectCustodianText": { - "message": "To connect your accounts log into your $1 account and click on the 'connect to MMI' button." - }, - "confirmConnectionTitle": { - "message": "Confirm connection to $1" - }, "confirmFieldPaymaster": { "message": "Fee paid by" }, @@ -1213,18 +1183,6 @@ "connectAccounts": { "message": "Connect accounts" }, - "connectCustodialAccountMenu": { - "message": "Connect Custodial Account" - }, - "connectCustodialAccountMsg": { - "message": "Please choose the custodian you want to connect in order to add or refresh a token." - }, - "connectCustodialAccountTitle": { - "message": "Custodial Accounts" - }, - "connectCustodianAccounts": { - "message": "Connect $1 accounts" - }, "connectManually": { "message": "Manually connect to current site" }, @@ -1347,12 +1305,6 @@ "continue": { "message": "Continue" }, - "continueMmiOnboarding": { - "message": "Continue MetaMask Institutional onboarding" - }, - "continueToWallet": { - "message": "Continue to wallet" - }, "contract": { "message": "Contract" }, @@ -1497,60 +1449,6 @@ "curveMediumGasEstimate": { "message": "Market gas estimate graph" }, - "custodian": { - "message": "Custodian" - }, - "custodianAccountAddedDesc": { - "message": "You can now use your accounts in MetaMask Institutional." - }, - "custodianAccountAddedTitle": { - "message": "Selected $1 accounts have been added." - }, - "custodianQRCodeScan": { - "message": "Scan QR code with your $1 mobile app" - }, - "custodianQRCodeScanDescription": { - "message": "Or log into your $1 account and click on the 'Connect to MMI' button" - }, - "custodianReplaceRefreshTokenChangedFailed": { - "message": "Please go to $1 and click the 'Connect to MMI' button within their user interface to connect your accounts to MMI again." - }, - "custodianReplaceRefreshTokenChangedSubtitle": { - "message": "You can now use your custodian accounts in MetaMask Institutional." - }, - "custodianReplaceRefreshTokenChangedTitle": { - "message": "Your custodian token has been refreshed" - }, - "custodianReplaceRefreshTokenSubtitle": { - "message": "This is will replace the custodian token for the following address:" - }, - "custodianReplaceRefreshTokenTitle": { - "message": "Replace custodian token" - }, - "custodyDeeplinkDescription": { - "message": "Approve the transaction in the $1 app. Once all required custody approvals have been performed the transaction will complete. Check your $1 app for status." - }, - "custodyRefreshTokenModalDescription": { - "message": "Please go to $1 and click the 'Connect to MMI' button within their user interface to connect your accounts to MMI again." - }, - "custodyRefreshTokenModalDescription1": { - "message": "Your custodian issues a token that authenticates the MetaMask Institutional extension, allowing you to connect your accounts." - }, - "custodyRefreshTokenModalDescription2": { - "message": "This token expires after a certain period for security reasons. This requires you to reconnect to MMI." - }, - "custodyRefreshTokenModalSubtitle": { - "message": "Why am I seeing this?" - }, - "custodyRefreshTokenModalTitle": { - "message": "Your custodian session has expired" - }, - "custodySessionExpired": { - "message": "Custodian session expired." - }, - "custodyWrongChain": { - "message": "This account is not set up for use with $1" - }, "custom": { "message": "Advanced" }, @@ -2025,9 +1923,6 @@ "enterChainId": { "message": "Enter Chain ID" }, - "enterCustodianToken": { - "message": "Enter your $1 token or add a new token" - }, "enterMaxSpendLimit": { "message": "Enter max spend limit" }, @@ -2164,12 +2059,6 @@ "message": "Explore community-built Snaps to customize your web3 experience", "description": "Banner description displayed on Snaps list page in Settings when less than 6 Snaps is installed." }, - "extensionInsallCompleteDescription": { - "message": "Return to the MetaMask Institutional product onboarding to connect your custodial or self-custodial accounts." - }, - "extensionInsallCompleteTitle": { - "message": "Extension install complete" - }, "externalExtension": { "message": "External extension" }, @@ -2639,12 +2528,6 @@ "install": { "message": "Install" }, - "installExtension": { - "message": "Install extension" - }, - "installExtensionDescription": { - "message": "The institution-compliant version of the world's leading web3 wallet, MetaMask." - }, "installOrigin": { "message": "Install origin" }, @@ -3046,9 +2929,6 @@ "message": "$1 is hosted on npm and $2 is this Snap’s unique identifier.", "description": "$1 is the snap name and $2 is the snap NPM id." }, - "metamaskInstitutionalVersion": { - "message": "MetaMask Institutional Version" - }, "metamaskNotificationsAreOff": { "message": "Wallet notifications are currently not active." }, @@ -3074,9 +2954,6 @@ "message": "M", "description": "Shortened form of 'million'" }, - "mismatchAccount": { - "message": "Your selected account ($1) is different than the account trying to sign ($2)" - }, "mismatchedChainLinkText": { "message": "verify the network details", "description": "Serves as link text for the 'mismatchedChain' key. This text will be embedded inside the translation for that key." @@ -3103,15 +2980,6 @@ "missingSettingRequest": { "message": "Request here" }, - "mmiBuiltAroundTheWorld": { - "message": "MetaMask Institutional is designed and built around the world." - }, - "mmiNewNFTDetectedInNFTsTabMessage": { - "message": "Let MetaMask Institutional automatically detect and display NFTs in your wallet." - }, - "mmiPasswordSetupDetails": { - "message": "This password will unlock your MetaMask Institutional extension only." - }, "more": { "message": "more" }, @@ -3504,9 +3372,6 @@ "noWebcamFoundTitle": { "message": "Webcam not found" }, - "nonCustodialAccounts": { - "message": "MetaMask Institutional allows you to use non-custodial accounts, if you plan to use these accounts backup the Secret Recovery Phrase." - }, "nonce": { "message": "Nonce" }, @@ -3534,12 +3399,6 @@ "notEnoughGas": { "message": "Not enough gas" }, - "note": { - "message": "Note" - }, - "notePlaceholder": { - "message": "The approver will see this note when approving the transaction at the custodian." - }, "notificationDetail": { "message": "Details" }, @@ -3874,9 +3733,6 @@ "onboardingPinExtensionTitle": { "message": "Your MetaMask install is complete!" }, - "onboardingPinMmiExtensionLabel": { - "message": "Pin MetaMask Institutional" - }, "oneDayAbbreviation": { "message": "1D", "description": "Shortened form of '1 day'" @@ -3900,10 +3756,6 @@ "message": "Only connect with sites you trust. $1", "description": "Text displayed above the buttons for connection confirmation. $1 is the link to the learn more web page." }, - "openCustodianApp": { - "message": "Open $1 app", - "description": "The $1 is the name of the Custodian that will be open" - }, "openFullScreenForLedgerWebHid": { "message": "Go to full screen to connect your Ledger.", "description": "Shown to the user on the confirm screen when they are viewing MetaMask in a popup window but need to connect their ledger via webhid." @@ -3914,18 +3766,12 @@ "openSeaNew": { "message": "OpenSea" }, - "operationFailed": { - "message": "Operation Failed" - }, "optional": { "message": "Optional" }, "options": { "message": "Options" }, - "or": { - "message": "or" - }, "origin": { "message": "Origin" }, @@ -3960,9 +3806,6 @@ "password": { "message": "Password" }, - "passwordMmiTermsWarning": { - "message": "I understand that MetaMask Institutional cannot recover this password for me. $1" - }, "passwordNotLongEnough": { "message": "Password not long enough" }, @@ -3982,9 +3825,6 @@ "passwordsDontMatch": { "message": "Passwords don't match" }, - "pasteJWTToken": { - "message": "Paste or drop your token here:" - }, "pastePrivateKey": { "message": "Enter your private key string here:", "description": "For importing an account from a private key" @@ -4305,12 +4145,6 @@ "petnamesEnabledToggleDescription": { "message": "This lets you assign a nickname to any address. We’ll suggest names for addresses that you interact with when possible." }, - "pinExtensionDescription": { - "message": "Navigate to the extension menu and pin MetaMask Institutional for seamless access." - }, - "pinExtensionTitle": { - "message": "Pin extension" - }, "pinToTop": { "message": "Pin to top" }, @@ -4335,9 +4169,6 @@ "portfolio": { "message": "Portfolio" }, - "portfolioDashboard": { - "message": "Portfolio Dashboard" - }, "preparingSwap": { "message": "Preparing swap..." }, @@ -4592,12 +4423,6 @@ "removeAccountDescription": { "message": "This account will be removed from your wallet. Please make sure you have the original Secret Recovery Phrase or private key for this imported account before continuing. You can import or create accounts again from the account drop-down. " }, - "removeJWT": { - "message": "Remove custodian token" - }, - "removeJWTDescription": { - "message": "Are you sure you want to remove this token? All accounts assigned to this token will be removed from extension as well: " - }, "removeKeyringSnap": { "message": "Removing this Snap removes these accounts from MetaMask:" }, @@ -4946,27 +4771,18 @@ "selectAll": { "message": "Select all" }, - "selectAllAccounts": { - "message": "Select all accounts" - }, "selectAnAccount": { "message": "Select an account" }, "selectAnAccountAlreadyConnected": { "message": "This account has already been connected to MetaMask" }, - "selectAnAccountHelp": { - "message": "Select the custodian accounts to use in MetaMask Institutional." - }, "selectEnableDisplayMediaPrivacyPreference": { "message": "Turn on Display NFT Media" }, "selectHdPath": { "message": "Select HD path" }, - "selectJWT": { - "message": "Select token" - }, "selectNFTPrivacyPreference": { "message": "Enable NFT Autodetection" }, @@ -6407,9 +6223,6 @@ "transactionErrored": { "message": "Transaction encountered an error." }, - "transactionFailed": { - "message": "Transaction Failed" - }, "transactionFailedBannerMessage": { "message": "This transaction would have cost you extra fees, so we stopped it. Your money is still in your wallet." }, @@ -6440,9 +6253,6 @@ "transactionHistoryTotalGasFee": { "message": "Total gas fee" }, - "transactionNote": { - "message": "Transaction note" - }, "transactionResubmitted": { "message": "Transaction resubmitted with estimated gas fee increased to $1 at $2" }, @@ -6721,9 +6531,6 @@ "viewTransaction": { "message": "View transaction" }, - "viewinCustodianApp": { - "message": "View in custodian app" - }, "viewinExplorer": { "message": "View $1 in explorer", "description": "$1 is the action type. e.g (Account, Transaction, Swap)" diff --git a/app/_locales/es/messages.json b/app/_locales/es/messages.json index 76a6ed8339ca..ee6e6f212cb8 100644 --- a/app/_locales/es/messages.json +++ b/app/_locales/es/messages.json @@ -290,9 +290,6 @@ "addNewSolanaAccount": { "message": "Añadir una nueva cuenta de Solana (Beta)" }, - "addNewToken": { - "message": "Agregar nuevo token" - }, "addNft": { "message": "Añadir NFT" }, @@ -485,12 +482,6 @@ "all": { "message": "Todo" }, - "allCustodianAccountsConnectedSubtitle": { - "message": "Ya ha conectado todas sus cuentas custodiadas o no tiene ninguna cuenta para conectarse a MetaMask Institutional." - }, - "allCustodianAccountsConnectedTitle": { - "message": "No hay cuentas disponibles para conectarse" - }, "allOfYour": { "message": "Todo su $1", "description": "$1 is the symbol or name of the token that the user is approving spending" @@ -508,12 +499,6 @@ "message": "Todos sus NFT de $1", "description": "$1 is a link to contract on the block explorer when we're not able to retrieve a erc721 or erc1155 name" }, - "allow": { - "message": "Permitir" - }, - "allowMmiToConnectToCustodian": { - "message": "Esto permitirá que MMI se conecte a $1 para importar sus cuentas." - }, "allowNotifications": { "message": "Permitir notificaciones" }, @@ -655,9 +640,6 @@ "average": { "message": "Promedio" }, - "awaitingApproval": { - "message": "Esperando aprobación..." - }, "back": { "message": "Volver" }, @@ -723,9 +705,6 @@ "message": "Esta es una versión beta. Por favor, comunique los errores $1", "description": "$1 represents the word 'here' in a hyperlink" }, - "betaMetamaskInstitutionalVersion": { - "message": "Versión beta de MetaMask Institutional" - }, "betaMetamaskVersion": { "message": "Versión Beta de MetaMask" }, @@ -982,15 +961,6 @@ "confirmAlertModalAcknowledgeSingle": { "message": "Soy consciente de la alerta y aun así deseo continuar" }, - "confirmConnectCustodianRedirect": { - "message": "Lo redirigiremos a $1 al hacer clic en continuar." - }, - "confirmConnectCustodianText": { - "message": "Para conectar sus cuentas, inicie sesión en su cuenta de $1 y haga clic en el botón 'conectar a MMI'." - }, - "confirmConnectionTitle": { - "message": "Confirmar conexión a $1" - }, "confirmFieldPaymaster": { "message": "Tarifa pagada por" }, @@ -1072,18 +1042,6 @@ "connectAccounts": { "message": "Conectar cuentas" }, - "connectCustodialAccountMenu": { - "message": "Conectar cuenta custodiada" - }, - "connectCustodialAccountMsg": { - "message": "Elija la cuenta custodiada que desea conectar para agregar o actualizar un token." - }, - "connectCustodialAccountTitle": { - "message": "Cuentas custodiadas" - }, - "connectCustodianAccounts": { - "message": "Conectar a cuentas de $1" - }, "connectManually": { "message": "Conectarse manualmente al sitio actual" }, @@ -1206,12 +1164,6 @@ "continue": { "message": "Continuar" }, - "continueMmiOnboarding": { - "message": "Continuar con la incorporación de MetaMask Institutional" - }, - "continueToWallet": { - "message": "Continuar al monedero" - }, "contract": { "message": "Contrato" }, @@ -1345,60 +1297,6 @@ "curveMediumGasEstimate": { "message": "Gráfico de estimación de gas de mercado" }, - "custodian": { - "message": "Custodio" - }, - "custodianAccountAddedDesc": { - "message": "Ahora puede utilizar sus cuentas en MetaMask Institutional." - }, - "custodianAccountAddedTitle": { - "message": "Se agregaron cuentas seleccionadas de $1." - }, - "custodianQRCodeScan": { - "message": "Escanee el código QR con su aplicación móvil $1" - }, - "custodianQRCodeScanDescription": { - "message": "O inicie sesión en su cuenta de $1 y haga clic en el botón \"Conectar a MMI\"" - }, - "custodianReplaceRefreshTokenChangedFailed": { - "message": "Por favor, vaya a $1 y haga clic en el botón 'Conectar a MMI' dentro de su interfaz de usuario para volver a conectar sus cuentas a MMI." - }, - "custodianReplaceRefreshTokenChangedSubtitle": { - "message": "Ahora ya puede usar sus cuentas custodiadas en MetaMask Institutional." - }, - "custodianReplaceRefreshTokenChangedTitle": { - "message": "Su token custodiado se ha actualizado" - }, - "custodianReplaceRefreshTokenSubtitle": { - "message": "Esto reemplazará el token custodiado de la siguiente dirección:" - }, - "custodianReplaceRefreshTokenTitle": { - "message": "Reemplazar token custodiado" - }, - "custodyDeeplinkDescription": { - "message": "Apruebe la transacción en la aplicación $1. Una vez que se hayan realizado todas las aprobaciones custodiadas requeridas, la transacción se completará. Verifique el estado en su aplicación $1." - }, - "custodyRefreshTokenModalDescription": { - "message": "Vaya a $1 y haga clic en el botón 'Conectar a MMI' dentro de su interfaz de usuario para volver a conectar sus cuentas a MMI." - }, - "custodyRefreshTokenModalDescription1": { - "message": "Su custodio emite un token que autentica la extensión MetaMask Institutional, lo que le permite conectar sus cuentas." - }, - "custodyRefreshTokenModalDescription2": { - "message": "Este token caduca después de un cierto período por razones de seguridad. Esto requiere que vuelva a conectarse a MMI." - }, - "custodyRefreshTokenModalSubtitle": { - "message": "¿Por qué estoy viendo esto?" - }, - "custodyRefreshTokenModalTitle": { - "message": "La sesión de su custodio ha expirado" - }, - "custodySessionExpired": { - "message": "Su sesión custodiada ha expirado." - }, - "custodyWrongChain": { - "message": "Esta cuenta no está configurada para utilizarla con $1" - }, "custom": { "message": "Avanzado" }, @@ -1861,9 +1759,6 @@ "enterChainId": { "message": "Ingrese el ID de cadena" }, - "enterCustodianToken": { - "message": "Ingrese su token $1 o agregue un token nuevo" - }, "enterMaxSpendLimit": { "message": "Escribir límite máximo de gastos" }, @@ -2000,12 +1895,6 @@ "message": "Explore los Snaps creados por la comunidad para personalizar su experiencia web3", "description": "Banner description displayed on Snaps list page in Settings when less than 6 Snaps is installed." }, - "extensionInsallCompleteDescription": { - "message": "Regrese a la incorporación del producto MetaMask Institutional para conectar sus cuentas de custodia o de autocustodia." - }, - "extensionInsallCompleteTitle": { - "message": "Instalación de extensión completa" - }, "externalExtension": { "message": "Extensión externa" }, @@ -2466,12 +2355,6 @@ "install": { "message": "Instalar" }, - "installExtension": { - "message": "Instalar extensión" - }, - "installExtensionDescription": { - "message": "La versión compatible con instituciones de la billetera web3 líder en el mundo, MetaMask." - }, "installOrigin": { "message": "Instalar origen" }, @@ -2864,9 +2747,6 @@ "message": "$1 está alojado en npm y $2 es el identificador único de este Snap.", "description": "$1 is the snap name and $2 is the snap NPM id." }, - "metamaskInstitutionalVersion": { - "message": "MetaMask Institutional" - }, "metamaskNotificationsAreOff": { "message": "Las notificaciones del monedero no están activas actualmente." }, @@ -2892,9 +2772,6 @@ "message": "m", "description": "Shortened form of 'million'" }, - "mismatchAccount": { - "message": "Su cuenta seleccionada ($1) es diferente a la cuenta que intenta firmar ($2)" - }, "mismatchedChainLinkText": { "message": "verifique los detalles de la red", "description": "Serves as link text for the 'mismatchedChain' key. This text will be embedded inside the translation for that key." @@ -2921,15 +2798,6 @@ "missingSettingRequest": { "message": "Solicítelo aquí" }, - "mmiBuiltAroundTheWorld": { - "message": "MetaMask Institutional está diseñado y construido en todo el mundo." - }, - "mmiNewNFTDetectedInNFTsTabMessage": { - "message": "Deje que MetaMask Institutional detecte y muestre automáticamente NFT en su monedero." - }, - "mmiPasswordSetupDetails": { - "message": "Esta contraseña desbloqueará únicamente su extensión MetaMask Institutional." - }, "more": { "message": "más" }, @@ -3304,9 +3172,6 @@ "noWebcamFoundTitle": { "message": "No se encontró cámara web" }, - "nonCustodialAccounts": { - "message": "MetaMask Institutional le permite usar cuentas no custodiadas, si tiene previsto usar estas cuentas como respaldo de la frase secreta de recuperación." - }, "nonce": { "message": "Nonce" }, @@ -3334,12 +3199,6 @@ "notEnoughGas": { "message": "No hay gas suficiente" }, - "note": { - "message": "Nota" - }, - "notePlaceholder": { - "message": "El verificador verá esta nota cuando apruebe la transacción en la cuenta custodiada." - }, "notificationDetail": { "message": "Detalles" }, @@ -3674,9 +3533,6 @@ "onboardingPinExtensionTitle": { "message": "¡Su instalación de MetaMask ha finalizado!" }, - "onboardingPinMmiExtensionLabel": { - "message": "Fijar MetaMask Institutional" - }, "oneDayAbbreviation": { "message": "1 d", "description": "Shortened form of '1 day'" @@ -3700,10 +3556,6 @@ "message": "Conéctese solo con sitios de confianza. $1", "description": "Text displayed above the buttons for connection confirmation. $1 is the link to the learn more web page." }, - "openCustodianApp": { - "message": "Abrir aplicación de $1", - "description": "The $1 is the name of the Custodian that will be open" - }, "openFullScreenForLedgerWebHid": { "message": "Pase al modo de pantalla completa para conectar su Ledger.", "description": "Shown to the user on the confirm screen when they are viewing MetaMask in a popup window but need to connect their ledger via webhid." @@ -3714,18 +3566,12 @@ "openSeaNew": { "message": "OpenSea" }, - "operationFailed": { - "message": "Operación fallida" - }, "optional": { "message": "Opcional" }, "options": { "message": "Opciones" }, - "or": { - "message": "o" - }, "origin": { "message": "Origen" }, @@ -3760,9 +3606,6 @@ "password": { "message": "Contraseña" }, - "passwordMmiTermsWarning": { - "message": "Entiendo que MetaMask Institutional no puede recuperar esta contraseña por mí. $1" - }, "passwordNotLongEnough": { "message": "La contraseña no es suficientemente larga" }, @@ -3782,9 +3625,6 @@ "passwordsDontMatch": { "message": "Las contraseñas no coinciden" }, - "pasteJWTToken": { - "message": "Pegue o suelte su token aquí:" - }, "pastePrivateKey": { "message": "Pegue aquí la cadena de clave privada:", "description": "For importing an account from a private key" @@ -4068,12 +3908,6 @@ "petnamesEnabledToggleDescription": { "message": "Esto le permite asignar un apodo a cualquier dirección. Le sugeriremos nombres para las direcciones con las que interactúa cuando sea posible." }, - "pinExtensionDescription": { - "message": "Navegue hasta el menú de extensión y fije MetaMask Institutional para un acceso perfecto." - }, - "pinExtensionTitle": { - "message": "Fije la extensión" - }, "pinToTop": { "message": "Anclar arriba" }, @@ -4095,9 +3929,6 @@ "portfolio": { "message": "Portafolio" }, - "portfolioDashboard": { - "message": "Panel de cartera" - }, "preparingSwap": { "message": "Preparando intercambio..." }, @@ -4343,12 +4174,6 @@ "removeAccountDescription": { "message": "Esta cuenta se eliminará de su monedero. Antes de continuar, asegúrese de tener la frase secreta de recuperación original o la clave privada de esta cuenta importada. Puede importar o crear cuentas nuevamente en la lista desplegable de la cuenta. " }, - "removeJWT": { - "message": "Eliminar token custodiado" - }, - "removeJWTDescription": { - "message": "¿Está seguro de que desea eliminar este token? Todas las cuentas asignadas a este token también se eliminarán de la extensión: " - }, "removeKeyringSnap": { "message": "Al eliminar este Snap, se eliminan estas cuentas de MetaMask:" }, @@ -4694,27 +4519,18 @@ "selectAll": { "message": "Seleccionar todo" }, - "selectAllAccounts": { - "message": "Seleccionar todas las cuentas" - }, "selectAnAccount": { "message": "Seleccionar una cuenta" }, "selectAnAccountAlreadyConnected": { "message": "Esta cuenta ya se conectó a MetaMask." }, - "selectAnAccountHelp": { - "message": "Seleccione las cuentas custodiadas para usar en MetaMask Institutional." - }, "selectEnableDisplayMediaPrivacyPreference": { "message": "Activar Mostrar medios NFT" }, "selectHdPath": { "message": "Seleccione la ruta de acceso al disco duro" }, - "selectJWT": { - "message": "Seleccionar token" - }, "selectNFTPrivacyPreference": { "message": "Habilite la autodetección de NFT" }, @@ -6084,9 +5900,6 @@ "transactionErrored": { "message": "La transacción encontró un error." }, - "transactionFailed": { - "message": "Transacción fallida" - }, "transactionFee": { "message": "Tarifa de transacción" }, @@ -6114,9 +5927,6 @@ "transactionHistoryTotalGasFee": { "message": "Tarifa total de gas" }, - "transactionNote": { - "message": "Nota de transacción" - }, "transactionResubmitted": { "message": "Transacción reenviada con la tarifa de gas aumentada a $1 en $2" }, @@ -6395,9 +6205,6 @@ "viewTransaction": { "message": "Ver transacción" }, - "viewinCustodianApp": { - "message": "Ver en la aplicación de custodia" - }, "viewinExplorer": { "message": "Ver $1 en el explorador", "description": "$1 is the action type. e.g (Account, Transaction, Swap)" diff --git a/app/_locales/es_419/messages.json b/app/_locales/es_419/messages.json index 4e82c875c760..5a5b646f3c88 100644 --- a/app/_locales/es_419/messages.json +++ b/app/_locales/es_419/messages.json @@ -1365,9 +1365,6 @@ "optional": { "message": "Opcional" }, - "or": { - "message": "o" - }, "origin": { "message": "Origen" }, diff --git a/app/_locales/fr/messages.json b/app/_locales/fr/messages.json index 1bafcefb952f..af7e9d7673db 100644 --- a/app/_locales/fr/messages.json +++ b/app/_locales/fr/messages.json @@ -290,9 +290,6 @@ "addNewSolanaAccount": { "message": "Ajouter un nouveau compte Solana (Bêta)" }, - "addNewToken": { - "message": "Ajouter un nouveau jeton" - }, "addNft": { "message": "Ajouter un NFT" }, @@ -485,12 +482,6 @@ "all": { "message": "Tout" }, - "allCustodianAccountsConnectedSubtitle": { - "message": "Soit vous avez déjà connecté tous vos comptes dépositaires, soit vous n’avez aucun compte à connecter à MetaMask Institutional." - }, - "allCustodianAccountsConnectedTitle": { - "message": "Aucun compte à connecter" - }, "allOfYour": { "message": "Tous vos $1", "description": "$1 is the symbol or name of the token that the user is approving spending" @@ -508,12 +499,6 @@ "message": "Tous vos NFT via $1", "description": "$1 is a link to contract on the block explorer when we're not able to retrieve a erc721 or erc1155 name" }, - "allow": { - "message": "Autoriser" - }, - "allowMmiToConnectToCustodian": { - "message": "Cela permettra à MMI de se connecter à $1 pour importer vos comptes." - }, "allowNotifications": { "message": "Autoriser les notifications" }, @@ -655,9 +640,6 @@ "average": { "message": "Moyen" }, - "awaitingApproval": { - "message": "En attente d’approbation..." - }, "back": { "message": "Retour" }, @@ -723,9 +705,6 @@ "message": "Il s’agit d’une version bêta. Veuillez signaler les bogues $1", "description": "$1 represents the word 'here' in a hyperlink" }, - "betaMetamaskInstitutionalVersion": { - "message": "Version Beta de MetaMask Institutional" - }, "betaMetamaskVersion": { "message": "Version MetaMask Beta" }, @@ -982,15 +961,6 @@ "confirmAlertModalAcknowledgeSingle": { "message": "J’ai pris connaissance de l’alerte, mais je souhaite quand même continuer" }, - "confirmConnectCustodianRedirect": { - "message": "Nous vous redirigerons vers $1 une fois que vous cliquerez sur « Continuer »." - }, - "confirmConnectCustodianText": { - "message": "Pour associer vos comptes, connectez-vous à votre compte $1 et cliquez sur le bouton « Se connecter à MMI »." - }, - "confirmConnectionTitle": { - "message": "Confirmer la connexion à $1" - }, "confirmFieldPaymaster": { "message": "Frais payés par" }, @@ -1072,18 +1042,6 @@ "connectAccounts": { "message": "Connecter les comptes" }, - "connectCustodialAccountMenu": { - "message": "Connexion au compte de dépôt" - }, - "connectCustodialAccountMsg": { - "message": "Veuillez choisir le dépositaire auquel vous souhaitez vous connecter afin d’ajouter ou d’actualiser un jeton." - }, - "connectCustodialAccountTitle": { - "message": "Comptes de dépôt" - }, - "connectCustodianAccounts": { - "message": "Associer $1 comptes" - }, "connectManually": { "message": "Se connecter manuellement au site actuel" }, @@ -1206,12 +1164,6 @@ "continue": { "message": "Continuer" }, - "continueMmiOnboarding": { - "message": "Poursuivre le processus d’intégration de MetaMask Institutional" - }, - "continueToWallet": { - "message": "Accéder au portefeuille" - }, "contract": { "message": "Contrat" }, @@ -1345,60 +1297,6 @@ "curveMediumGasEstimate": { "message": "Graphique d’estimation de gas du marché" }, - "custodian": { - "message": "Dépôt" - }, - "custodianAccountAddedDesc": { - "message": "Vous pouvez maintenant utiliser vos comptes de dépôt dans MetaMask Institutional." - }, - "custodianAccountAddedTitle": { - "message": "Les comptes de dépôt $1 sélectionnés ont été ajoutés." - }, - "custodianQRCodeScan": { - "message": "Scannez le code QR avec votre application mobile $1" - }, - "custodianQRCodeScanDescription": { - "message": "Ou connectez-vous à votre compte $1 et cliquez sur le bouton « Se connecter à MMI »" - }, - "custodianReplaceRefreshTokenChangedFailed": { - "message": "Accédez à $1 et cliquez sur le bouton « Se connecter à MMI » dans l’interface utilisateur pour reconnecter vos comptes à MMI." - }, - "custodianReplaceRefreshTokenChangedSubtitle": { - "message": "Vous pouvez désormais utiliser vos comptes de dépôt dans MetaMask Institutional." - }, - "custodianReplaceRefreshTokenChangedTitle": { - "message": "Votre jeton de dépôt a été actualisé" - }, - "custodianReplaceRefreshTokenSubtitle": { - "message": "Ceci remplacera le jeton de dépôt pour l’adresse suivante :" - }, - "custodianReplaceRefreshTokenTitle": { - "message": "Remplacer le jeton de dépôt" - }, - "custodyDeeplinkDescription": { - "message": "Approuvez la transaction dans l’application $1. La transaction sera effectuée une fois que toutes les approbations de dépôt auront été obtenues. Vérifiez l’état de votre application $1." - }, - "custodyRefreshTokenModalDescription": { - "message": "Accédez à $1 et cliquez sur le bouton « Se connecter à MMI » dans l’interface utilisateur pour reconnecter vos comptes à MMI." - }, - "custodyRefreshTokenModalDescription1": { - "message": "Votre dépositaire émet un jeton qui authentifie l’extension « MetaMask Institutional » et vous permet ainsi de connecter vos comptes." - }, - "custodyRefreshTokenModalDescription2": { - "message": "Ce jeton expire après un certain temps pour des raisons de sécurité. Si le jeton expire, vous devrez vous reconnecter à MMI." - }, - "custodyRefreshTokenModalSubtitle": { - "message": "Pourquoi ce message s’affiche-t-il ?" - }, - "custodyRefreshTokenModalTitle": { - "message": "Votre session en mode dépositaire a expiré" - }, - "custodySessionExpired": { - "message": "La session du dépositaire a expiré." - }, - "custodyWrongChain": { - "message": "Ce compte n’est pas configuré pour être utilisé avec $1" - }, "custom": { "message": "Paramètres avancés" }, @@ -1861,9 +1759,6 @@ "enterChainId": { "message": "Saisissez l’ID de chaîne" }, - "enterCustodianToken": { - "message": "Saisissez votre jeton de $1 ou ajoutez un nouveau jeton" - }, "enterMaxSpendLimit": { "message": "Saisissez la limite de dépenses maximale" }, @@ -2000,12 +1895,6 @@ "message": "Explorez les Snaps créés par la communauté pour personnaliser votre expérience web3", "description": "Banner description displayed on Snaps list page in Settings when less than 6 Snaps is installed." }, - "extensionInsallCompleteDescription": { - "message": "Retournez à la page d’intégration des produits MetaMask Institutional pour connecter vos compte-titres ou vos comptes de dépôt." - }, - "extensionInsallCompleteTitle": { - "message": "L’extension a été installée avec succès" - }, "externalExtension": { "message": "Extension externe" }, @@ -2466,12 +2355,6 @@ "install": { "message": "Installez" }, - "installExtension": { - "message": "Installer l’extension" - }, - "installExtensionDescription": { - "message": "La version est conforme aux normes institutionnelles du principal fournisseur de portefeuilles Web3 au monde, MetaMask." - }, "installOrigin": { "message": "Installer Origin" }, @@ -2864,9 +2747,6 @@ "message": "$1 est hébergé sur npm et $2 est l’identifiant unique de ce Snap.", "description": "$1 is the snap name and $2 is the snap NPM id." }, - "metamaskInstitutionalVersion": { - "message": "Version MetaMask Institutional" - }, "metamaskNotificationsAreOff": { "message": "Les notifications du portefeuille ne sont actuellement pas activées." }, @@ -2892,9 +2772,6 @@ "message": "M", "description": "Shortened form of 'million'" }, - "mismatchAccount": { - "message": "Le compte sélectionné ($1) est différent du compte que vous essayez de signer ($2)" - }, "mismatchedChainLinkText": { "message": "vérifier les détails du réseau", "description": "Serves as link text for the 'mismatchedChain' key. This text will be embedded inside the translation for that key." @@ -2921,15 +2798,6 @@ "missingSettingRequest": { "message": "Demandez ici" }, - "mmiBuiltAroundTheWorld": { - "message": "MetaMask Institutional est conçu et établi dans le monde entier." - }, - "mmiNewNFTDetectedInNFTsTabMessage": { - "message": "Laissez MetaMask Institutional détecter et afficher automatiquement les NFT dans votre portefeuille." - }, - "mmiPasswordSetupDetails": { - "message": "Ce mot de passe déverrouillera uniquement votre extension MetaMask Institutional." - }, "more": { "message": "plus" }, @@ -3304,9 +3172,6 @@ "noWebcamFoundTitle": { "message": "Webcam introuvable" }, - "nonCustodialAccounts": { - "message": "MetaMask Institutional vous permet d’utiliser des comptes de détention en propre pour sauvegarder la phrase secrète de récupération." - }, "nonce": { "message": "Nonce" }, @@ -3334,12 +3199,6 @@ "notEnoughGas": { "message": "Pas assez de gaz" }, - "note": { - "message": "Note" - }, - "notePlaceholder": { - "message": "L’approbateur verra cette note lorsqu’il approuvera la transaction auprès du dépositaire." - }, "notificationDetail": { "message": "Détails" }, @@ -3674,9 +3533,6 @@ "onboardingPinExtensionTitle": { "message": "Votre installation de MetaMask est terminée !" }, - "onboardingPinMmiExtensionLabel": { - "message": "Épingler MetaMask Institutional" - }, "oneDayAbbreviation": { "message": "1 j", "description": "Shortened form of '1 day'" @@ -3700,10 +3556,6 @@ "message": "Ne vous connectez qu’aux sites auxquels vous faites confiance. $1", "description": "Text displayed above the buttons for connection confirmation. $1 is the link to the learn more web page." }, - "openCustodianApp": { - "message": "Ouvrir l’application $1", - "description": "The $1 is the name of the Custodian that will be open" - }, "openFullScreenForLedgerWebHid": { "message": "Passez en plein écran pour connecter votre Ledger.", "description": "Shown to the user on the confirm screen when they are viewing MetaMask in a popup window but need to connect their ledger via webhid." @@ -3714,18 +3566,12 @@ "openSeaNew": { "message": "OpenSea" }, - "operationFailed": { - "message": "L’opération a échoué" - }, "optional": { "message": "Facultatif" }, "options": { "message": "Options" }, - "or": { - "message": "ou" - }, "origin": { "message": "Origine" }, @@ -3760,9 +3606,6 @@ "password": { "message": "Mot de passe" }, - "passwordMmiTermsWarning": { - "message": "Je comprends que MetaMask Institutional ne pourra pas m’aider à récupérer ce mot de passe. $1" - }, "passwordNotLongEnough": { "message": "Mot de passe trop court" }, @@ -3782,9 +3625,6 @@ "passwordsDontMatch": { "message": "Les mots de passe ne correspondent pas" }, - "pasteJWTToken": { - "message": "Collez ou déposez votre jeton ici :" - }, "pastePrivateKey": { "message": "Collez votre clé privée ici:", "description": "For importing an account from a private key" @@ -4068,12 +3908,6 @@ "petnamesEnabledToggleDescription": { "message": "Cette option vous permet d’attribuer un pseudonyme à n’importe quelle adresse. Nous vous suggérerons, si possible, des pseudonymes que vous pourrez attribuer aux adresses avec lesquelles vous interagissez." }, - "pinExtensionDescription": { - "message": "Allez dans le menu de l’extension et épinglez MetaMask Institutional pour y faciliter l’accès." - }, - "pinExtensionTitle": { - "message": "Épingler l’extension" - }, "pinToTop": { "message": "Épingler en haut de la page" }, @@ -4095,9 +3929,6 @@ "portfolio": { "message": "Portefeuille" }, - "portfolioDashboard": { - "message": "Tableau de bord du portefeuille" - }, "preparingSwap": { "message": "Préparation du swap..." }, @@ -4343,12 +4174,6 @@ "removeAccountDescription": { "message": "Ce compte va être supprimé de votre portefeuille. Veuillez vérifier que vous avez la phrase secrète de récupération originale de ce compte ou la clé privée pour ce compte importé avant de continuer. Vous pouvez importer ou créer à nouveau des comptes à partir du menu des comptes. " }, - "removeJWT": { - "message": "Supprimer le jeton de dépôt" - }, - "removeJWTDescription": { - "message": "Êtes-vous sûr de vouloir supprimer ce jeton ? Tous les comptes attribués à ce jeton seront également supprimés de l’extension : " - }, "removeKeyringSnap": { "message": "En supprimant ce snap, vous supprimerez ces comptes de MetaMask :" }, @@ -4694,27 +4519,18 @@ "selectAll": { "message": "Tout sélectionner" }, - "selectAllAccounts": { - "message": "Sélectionner tous les comptes" - }, "selectAnAccount": { "message": "Sélectionner un compte" }, "selectAnAccountAlreadyConnected": { "message": "Ce compte a déjà été connecté à MetaMask" }, - "selectAnAccountHelp": { - "message": "Sélectionnez les comptes de dépôt que vous voulez utiliser dans MetaMask Institutional." - }, "selectEnableDisplayMediaPrivacyPreference": { "message": "Activer l’option « Afficher les supports NFT »" }, "selectHdPath": { "message": "Sélectionner le chemin HD" }, - "selectJWT": { - "message": "Sélectionnez un jeton" - }, "selectNFTPrivacyPreference": { "message": "Activez la détection automatique des NFT" }, @@ -6084,9 +5900,6 @@ "transactionErrored": { "message": "La transaction a rencontré une erreur." }, - "transactionFailed": { - "message": "La transaction a échoué" - }, "transactionFee": { "message": "Frais de transaction" }, @@ -6114,9 +5927,6 @@ "transactionHistoryTotalGasFee": { "message": "Total des frais de transaction" }, - "transactionNote": { - "message": "Note de transaction" - }, "transactionResubmitted": { "message": "La transaction a été soumise à nouveau avec une augmentation du prix du gaz, désormais de $1 à $2" }, @@ -6395,9 +6205,6 @@ "viewTransaction": { "message": "Voir la transaction" }, - "viewinCustodianApp": { - "message": "Afficher dans l’application dépositaire" - }, "viewinExplorer": { "message": "Voir $1 dans l’explorateur", "description": "$1 is the action type. e.g (Account, Transaction, Swap)" diff --git a/app/_locales/hi/messages.json b/app/_locales/hi/messages.json index f476567d095c..07102badf5b8 100644 --- a/app/_locales/hi/messages.json +++ b/app/_locales/hi/messages.json @@ -290,9 +290,6 @@ "addNewSolanaAccount": { "message": "एक नया Solana अकाउंट जोड़ें (बीटा)" }, - "addNewToken": { - "message": "नया टोकन जोड़ें" - }, "addNft": { "message": "NFT जोड़ें" }, @@ -485,12 +482,6 @@ "all": { "message": "सभी" }, - "allCustodianAccountsConnectedSubtitle": { - "message": "आपने या तो अपने सभी कस्टोडियन एकाउंट्स को पहले ही जोड़ लिया है या MetaMask इंस्टीट्यूशनल से जुड़ने के लिए कोई अकाउंट नहीं है।" - }, - "allCustodianAccountsConnectedTitle": { - "message": "कनेक्ट करने के लिए कोई अकाउंट उपलब्ध नहीं हैं" - }, "allOfYour": { "message": "आपके सभी $1", "description": "$1 is the symbol or name of the token that the user is approving spending" @@ -508,12 +499,6 @@ "message": "आपके सभी NFTs $1 से शुरू", "description": "$1 is a link to contract on the block explorer when we're not able to retrieve a erc721 or erc1155 name" }, - "allow": { - "message": "अनुमति दें" - }, - "allowMmiToConnectToCustodian": { - "message": "यह आपके एकाउंट्स को इम्पोर्ट करने के लिए MMI को $1 से कनेक्ट करने की अनुमति देगा।" - }, "allowNotifications": { "message": "नोटिफिकेशंस की अनुमति दें" }, @@ -655,9 +640,6 @@ "average": { "message": "औसत" }, - "awaitingApproval": { - "message": "एप्रूवल का इंतज़ार है..." - }, "back": { "message": "वापस" }, @@ -723,9 +705,6 @@ "message": "यह बीटा वर्शन है। कृपया बग रिपोर्ट करें $1", "description": "$1 represents the word 'here' in a hyperlink" }, - "betaMetamaskInstitutionalVersion": { - "message": "MetaMask Institutional बीटा वर्शन" - }, "betaMetamaskVersion": { "message": "MetaMask बीटा वर्शन" }, @@ -982,15 +961,6 @@ "confirmAlertModalAcknowledgeSingle": { "message": "मैंने एलर्ट को स्वीकार कर लिया है और इसके बावजूद आगे बढ़ना चाहता/चाहती हूं" }, - "confirmConnectCustodianRedirect": { - "message": "'जारी रखें' पर क्लिक करने पर हम आपको $1 पर रीडायरेक्ट कर देंगे।" - }, - "confirmConnectCustodianText": { - "message": "अपने एकाउंट्स को कनेक्ट करने के लिए, अपने $1 अकाउंट में लॉग इन करें और 'MMI से कनेक्ट करें' बटन पर क्लिक करें।" - }, - "confirmConnectionTitle": { - "message": "$1 से कनेक्शन को कन्फर्म करें" - }, "confirmFieldPaymaster": { "message": "के द्वारा शुल्क का भुगतान किया गया" }, @@ -1072,18 +1042,6 @@ "connectAccounts": { "message": "एकाउंट्स को कनेक्ट करें" }, - "connectCustodialAccountMenu": { - "message": "कस्टोडियल अकाउंट कनेक्ट करें" - }, - "connectCustodialAccountMsg": { - "message": "टोकन जोड़ने या रीफ्रेश करने के लिए कृपया उस कस्टोडियन को चुनें जिससे आप जुड़ना चाहते हैं।" - }, - "connectCustodialAccountTitle": { - "message": "कस्टोडियल अकाउंट" - }, - "connectCustodianAccounts": { - "message": "$1 एकाउंट्स को कनेक्ट करें" - }, "connectManually": { "message": "वर्तमान साइट से मैन्युअल रूप से कनेक्ट करें" }, @@ -1206,12 +1164,6 @@ "continue": { "message": "जारी रखें" }, - "continueMmiOnboarding": { - "message": "MetaMask Institutional ऑनबोर्डिंग जारी रखें" - }, - "continueToWallet": { - "message": "वॉलेट जारी रखें" - }, "contract": { "message": "कॉन्ट्रैक्ट" }, @@ -1345,60 +1297,6 @@ "curveMediumGasEstimate": { "message": "मार्केट गैस एस्टीमेट ग्राफ" }, - "custodian": { - "message": "कस्टोडियन" - }, - "custodianAccountAddedDesc": { - "message": "अब आप MetaMask Institutional में अपने एकाउंट्स का इस्तेमाल कर सकते हैं।" - }, - "custodianAccountAddedTitle": { - "message": "चुने गए $1 एकाउंट्स जोड़ दिए गए हैं।" - }, - "custodianQRCodeScan": { - "message": "QR कोड को अपने $1 मोबाइल ऐप से स्कैन करें" - }, - "custodianQRCodeScanDescription": { - "message": "या अपने $1 अकाउंट में लॉग इन करें और 'Connect to MMI' बटन पर क्लिक करें" - }, - "custodianReplaceRefreshTokenChangedFailed": { - "message": "कृपया $1 पर जाएं और अपने एकाउंट्स को फिर से MMI से जोड़ने के लिए उनके यूज़र इंटरफेस के भीतर 'MMI से कनेक्ट करें' बटन पर क्लिक करें।" - }, - "custodianReplaceRefreshTokenChangedSubtitle": { - "message": "अब आप MetaMask Institutional में अपने कस्टोडियन एकाउंट्स का इस्तेमाल कर सकते हैं।" - }, - "custodianReplaceRefreshTokenChangedTitle": { - "message": "आपका कस्टोडियन टोकन रीफ्रेश कर दिया गया है" - }, - "custodianReplaceRefreshTokenSubtitle": { - "message": "यह निम्नलिखित एड्रेस के लिए कस्टोडियन टोकन को रिप्लेस करेगा:" - }, - "custodianReplaceRefreshTokenTitle": { - "message": "कस्टोडियन टोकन बदलें" - }, - "custodyDeeplinkDescription": { - "message": "$1 ऐप में ट्रांसेक्शन को एप्रूव करें। एक बार सभी आवश्यक कस्टडी एप्रूवल किए जाने के बाद ट्रांसेक्शन पूरा हो जाएगा। स्केटेटस लिए अपना $1 ऐप देखें।" - }, - "custodyRefreshTokenModalDescription": { - "message": "कृपया $1 पर जाएं और अपने एकाउंट्स को फिर से MMI से जोड़ने के लिए उनके यूज़र इंटरफेस के भीतर 'MMI से कनेक्ट करें' बटन पर क्लिक करें।" - }, - "custodyRefreshTokenModalDescription1": { - "message": "आपका कस्टोडियन एक टोकन जारी करता है जो MetaMask Institutional एक्सटेंशन को ऑथेंटिकेट करता है, जिससे आप अपने एकाउंट्स को कनेक्ट कर सकते हैं।" - }, - "custodyRefreshTokenModalDescription2": { - "message": "यह टोकन सुरक्षा कारणों से एक निश्चित अवधि के बाद समाप्त हो जाता है। इसके लिए आपको MMI से फिर से कनेक्ट करना होगा।" - }, - "custodyRefreshTokenModalSubtitle": { - "message": "मुझे यह क्यों दिख रहा है?" - }, - "custodyRefreshTokenModalTitle": { - "message": "आपका कस्टोडियन सेशन समाप्त हो गया" - }, - "custodySessionExpired": { - "message": "कस्टोडियन सेशन समाप्त हो गया।" - }, - "custodyWrongChain": { - "message": "यह अकाउंट $1 के साथ इस्तेमाल करने के लिए सेटअप नहीं किया गया है" - }, "custom": { "message": "एडवांस्ड" }, @@ -1861,9 +1759,6 @@ "enterChainId": { "message": "चेन ID डालें" }, - "enterCustodianToken": { - "message": "अपना $1 टोकन डालें या एक नया टोकन जोड़ें" - }, "enterMaxSpendLimit": { "message": "अधिकतम खर्च की लिमिट डालें" }, @@ -2000,12 +1895,6 @@ "message": "अपने Web3 एक्सपीरियंस को कस्टमाइज़ करने के लिए कम्युनिटी-बिल्ट Snaps को एक्सप्लोर करें।", "description": "Banner description displayed on Snaps list page in Settings when less than 6 Snaps is installed." }, - "extensionInsallCompleteDescription": { - "message": "अपने कस्टोडियल या सेल्फ-कस्टोडियल एकाउंट्स को जोड़ने के लिए MetaMask Institutional प्रोडक्ट ऑनबोर्डिंग पर वापस आएं।" - }, - "extensionInsallCompleteTitle": { - "message": "एक्सटेंशन इनस्टॉल पूरा हो गया" - }, "externalExtension": { "message": "बाहरी एक्स्टेन्शन" }, @@ -2466,12 +2355,6 @@ "install": { "message": "इंस्टॉल करें" }, - "installExtension": { - "message": "एक्सटेंशन इनस्टॉल करें" - }, - "installExtensionDescription": { - "message": "दुनिया में तेज़ी से अपना पाँव जमाने वाले Web3 वॉलेट, MetaMask का इंस्टीट्यूशन-कंप्लायंट संस्करण।" - }, "installOrigin": { "message": "ओरिजिन इंस्टॉल करें" }, @@ -2864,9 +2747,6 @@ "message": "$1 को npm पर होस्ट किया गया है और $2 इस Snap का यूनीक आइडेंटिफायर है।", "description": "$1 is the snap name and $2 is the snap NPM id." }, - "metamaskInstitutionalVersion": { - "message": "MetaMask Institutional वर्शन" - }, "metamaskNotificationsAreOff": { "message": "वॉलेट नोटिफिकेशंस वर्तमान में सक्रिय नहीं हैं।" }, @@ -2892,9 +2772,6 @@ "message": "M", "description": "Shortened form of 'million'" }, - "mismatchAccount": { - "message": "आपका चुना गया अकाउंट ($1) साइन-इन करने की कोशिश करने वाले अकाउंट ($2) से अलग है" - }, "mismatchedChainLinkText": { "message": "नेटवर्क विवरण वेरीफ़ाई करें", "description": "Serves as link text for the 'mismatchedChain' key. This text will be embedded inside the translation for that key." @@ -2921,15 +2798,6 @@ "missingSettingRequest": { "message": "यहां रिक्वेस्ट करें" }, - "mmiBuiltAroundTheWorld": { - "message": "MetaMask Institutional को दुनिया भर में डिजाइन किया और बनाया गया है।" - }, - "mmiNewNFTDetectedInNFTsTabMessage": { - "message": "MetaMask Institutional को ऑटोमेटिक तरीके से NFTs का पता लगाने और आपके वॉलेट में दिखाने के लिए अनुमति दें।" - }, - "mmiPasswordSetupDetails": { - "message": "यह पासवर्ड केवल आपके MetaMask Institutional एक्सटेंशन को ही अनलॉक करेगा।" - }, "more": { "message": "अधिक" }, @@ -3304,9 +3172,6 @@ "noWebcamFoundTitle": { "message": "वेबकैम नहीं मिला" }, - "nonCustodialAccounts": { - "message": "MetaMask इंस्टीट्यूशनल आपको नॉन-कस्टोडियल अकाउंट का उपयोग करने की अनुमति देता है, यदि आप इन अकाउंट का उपयोग करने की योजना बना रहे हैं, तो सीक्रेट रिकवरी फ्रेज़ का बैकअप लें।" - }, "nonce": { "message": "Nonce" }, @@ -3334,12 +3199,6 @@ "notEnoughGas": { "message": "गैस कम है" }, - "note": { - "message": "टिप्पणी" - }, - "notePlaceholder": { - "message": "अनुमोदक इस टिप्पणी को कस्टोडियन के पास ट्रांसेक्शन का एप्रूवल करते समय देखेगा।" - }, "notificationDetail": { "message": "विवरण" }, @@ -3674,9 +3533,6 @@ "onboardingPinExtensionTitle": { "message": "आपका MetaMask इंस्टॉल पूरा हो गया है!" }, - "onboardingPinMmiExtensionLabel": { - "message": "MetaMask Institutional को पिन करें" - }, "oneDayAbbreviation": { "message": "1D", "description": "Shortened form of '1 day'" @@ -3700,10 +3556,6 @@ "message": "केवल उन साइटों से कनेक्ट करें, जिन पर आप भरोसा करते हैं। $1", "description": "Text displayed above the buttons for connection confirmation. $1 is the link to the learn more web page." }, - "openCustodianApp": { - "message": "$1 ऐप खोलें", - "description": "The $1 is the name of the Custodian that will be open" - }, "openFullScreenForLedgerWebHid": { "message": "अपने Ledger को कनेक्ट करने के लिए फुल स्क्रीन पर जाएं।", "description": "Shown to the user on the confirm screen when they are viewing MetaMask in a popup window but need to connect their ledger via webhid." @@ -3714,18 +3566,12 @@ "openSeaNew": { "message": "ओपनसी" }, - "operationFailed": { - "message": "प्रचालन नहीं हो पाया" - }, "optional": { "message": "वैकल्पिक" }, "options": { "message": "विकल्प" }, - "or": { - "message": "या" - }, "origin": { "message": "ओरिजिन" }, @@ -3760,9 +3606,6 @@ "password": { "message": "पासवर्ड" }, - "passwordMmiTermsWarning": { - "message": "मैं समझता हूं कि MetaMask Institutional मेरे लिए इस पासवर्ड को रिकवर नहीं कर सकता। $1" - }, "passwordNotLongEnough": { "message": "पासवर्ड की लंबाई पर्याप्त नहीं है" }, @@ -3782,9 +3625,6 @@ "passwordsDontMatch": { "message": "पासवर्ड मेल नहीं खाता" }, - "pasteJWTToken": { - "message": "अपना टोकन यहां पेस्ट या ड्रॉप करें:" - }, "pastePrivateKey": { "message": "अपनी प्राइवेट की (key) स्ट्रिंग यहाँ पेस्ट करें:", "description": "For importing an account from a private key" @@ -4068,12 +3908,6 @@ "petnamesEnabledToggleDescription": { "message": "यह आपको किसी भी एड्रेस पर एक उपनाम देने की सुविधा देता है। जब भी संभव होगा हम उन एड्रेसों के लिए नाम सुझाएंगे जिनसे आप इंटरैक्ट करते हैं।" }, - "pinExtensionDescription": { - "message": "बिना रोक-टोक एक्सेस के लिए एक्सटेंशन मेनू पर जाएं और MetaMask Institutional को पिन करें।" - }, - "pinExtensionTitle": { - "message": "एक्सटेंशन को पिन करें" - }, "pinToTop": { "message": "सबसे ऊपर ले जाएं" }, @@ -4095,9 +3929,6 @@ "portfolio": { "message": "पोर्टफोलियो" }, - "portfolioDashboard": { - "message": "पोर्टफोलियो डैशबोर्ड" - }, "preparingSwap": { "message": "स्वैप की तैयारी कर रहा है..." }, @@ -4343,12 +4174,6 @@ "removeAccountDescription": { "message": "यह अकाउंट आपके वॉलेट से निकाल दिया जाएगा। कृपया पक्का करें कि जारी रखने से पहले आपके पास इस इम्पोर्टित अकाउंट के लिए ओरिजिनल सीक्रेट रिकवरी फ्रेज या प्राइवेट की (key) है। आप अकाउंट ड्रॉप-डाउन से फिर से अकाउंट इम्पोर्ट कर सकते हैं या बना सकते हैं। " }, - "removeJWT": { - "message": "कस्टोडियन टोकन हटाएं" - }, - "removeJWTDescription": { - "message": "क्या आप सुनिश्चित हैं कि आप इस टोकन को हटाना चाहते हैं? इस टोकन को सौंपे गए सभी एकाउंट्स को एक्सटेंशन से भी हटा दिया जाएगा: " - }, "removeKeyringSnap": { "message": "इस Snap को हटाने पर ये एकाउंट्स MetaMask से हट जाते हैं:" }, @@ -4694,27 +4519,18 @@ "selectAll": { "message": "सभी को चुनें" }, - "selectAllAccounts": { - "message": "सभी एकाउंट्स को चुनें" - }, "selectAnAccount": { "message": "किसी अकाउंट को चुनें" }, "selectAnAccountAlreadyConnected": { "message": "यह अकाउंट पहले ही MetaMask से जुड़ा हुआ है" }, - "selectAnAccountHelp": { - "message": "MetaMask Institutional में इस्तेमाल करने के लिए कस्टोडियन एकाउंट्स को चुनें।" - }, "selectEnableDisplayMediaPrivacyPreference": { "message": "डिस्प्ले NFT मीडिया चालू करें" }, "selectHdPath": { "message": "HD पथ को चुनें" }, - "selectJWT": { - "message": "टोकन चुनें" - }, "selectNFTPrivacyPreference": { "message": "NFT ऑटोडिटेक्शन चालू करें" }, @@ -6084,9 +5900,6 @@ "transactionErrored": { "message": "ट्रांसेक्शन में गड़बड़ी हुई।" }, - "transactionFailed": { - "message": "ट्रांसेक्शन नहीं हो पाया" - }, "transactionFee": { "message": "ट्रांसेक्शन फ़ीस" }, @@ -6114,9 +5927,6 @@ "transactionHistoryTotalGasFee": { "message": "कुल गैस फ़ीस" }, - "transactionNote": { - "message": "ट्रांसेक्शन टिप्पणी" - }, "transactionResubmitted": { "message": "$2 गैस फ़ीस में $1 वृद्धि के साथ ट्रांसेक्शन फिर से सबमिट किया गया" }, @@ -6395,9 +6205,6 @@ "viewTransaction": { "message": "ट्रांसेक्शन देखें" }, - "viewinCustodianApp": { - "message": "Custodian ऐप में देखें" - }, "viewinExplorer": { "message": "एक्सप्लोरर में $1 देखें", "description": "$1 is the action type. e.g (Account, Transaction, Swap)" diff --git a/app/_locales/id/messages.json b/app/_locales/id/messages.json index db5b98b83e2e..cb4d4d782f11 100644 --- a/app/_locales/id/messages.json +++ b/app/_locales/id/messages.json @@ -290,9 +290,6 @@ "addNewSolanaAccount": { "message": "Tambahkan akun Solana baru (Beta)" }, - "addNewToken": { - "message": "Tambahkan token baru" - }, "addNft": { "message": "Tambahkan NFT" }, @@ -485,12 +482,6 @@ "all": { "message": "Semua" }, - "allCustodianAccountsConnectedSubtitle": { - "message": "Anda telah menghubungkan semua akun kustodian atau tidak memiliki akun untuk terhubung ke MetaMask Institutional." - }, - "allCustodianAccountsConnectedTitle": { - "message": "Tidak ada akun yang tersedia untuk dihubungkan" - }, "allOfYour": { "message": "Seluruh $1 Anda", "description": "$1 is the symbol or name of the token that the user is approving spending" @@ -508,12 +499,6 @@ "message": "Seluruh NFT Anda dari $1 ", "description": "$1 is a link to contract on the block explorer when we're not able to retrieve a erc721 or erc1155 name" }, - "allow": { - "message": "Izinkan" - }, - "allowMmiToConnectToCustodian": { - "message": "Ini akan memungkinkan MMI terhubung ke $1 untuk mengimpor akun Anda." - }, "allowNotifications": { "message": "Izinkan notifikasi" }, @@ -655,9 +640,6 @@ "average": { "message": "Rata-rata" }, - "awaitingApproval": { - "message": "Menunggu persetujuan..." - }, "back": { "message": "Kembali" }, @@ -723,9 +705,6 @@ "message": "Ini merupakan versi beta. Harap laporkan bug $1", "description": "$1 represents the word 'here' in a hyperlink" }, - "betaMetamaskInstitutionalVersion": { - "message": "Versi Beta MetaMask Institutional" - }, "betaMetamaskVersion": { "message": "Versi MetaMask Beta" }, @@ -982,15 +961,6 @@ "confirmAlertModalAcknowledgeSingle": { "message": "Saya telah mengetahui peringatannya dan tetap ingin melanjutkan" }, - "confirmConnectCustodianRedirect": { - "message": "Kami akan mengarahkan Anda ke $1 setelah mengeklik lanjutkan." - }, - "confirmConnectCustodianText": { - "message": "Untuk menghubungkan akun, masuk ke akun $1 dan klik tombol 'hubungkan ke MMI'." - }, - "confirmConnectionTitle": { - "message": "Konfirmasikan koneksi ke $1" - }, "confirmFieldPaymaster": { "message": "Biaya dibayar oleh" }, @@ -1072,18 +1042,6 @@ "connectAccounts": { "message": "Hubungkan akun" }, - "connectCustodialAccountMenu": { - "message": "Hubungkan Akun Kustodian" - }, - "connectCustodialAccountMsg": { - "message": "Pilih kustodian yang ingin Anda hubungkan untuk menambah atau menyegarkan token." - }, - "connectCustodialAccountTitle": { - "message": "Akun Kustodian" - }, - "connectCustodianAccounts": { - "message": "Hubungkan akun $1" - }, "connectManually": { "message": "Hubungkan ke situs saat ini secara manual" }, @@ -1206,12 +1164,6 @@ "continue": { "message": "Lanjutkan" }, - "continueMmiOnboarding": { - "message": "Lanjutkan orientasi MetaMask Institutional" - }, - "continueToWallet": { - "message": "Lanjutkan ke dompet" - }, "contract": { "message": "Kontrak" }, @@ -1345,60 +1297,6 @@ "curveMediumGasEstimate": { "message": "Grafik estimasi gas pasar" }, - "custodian": { - "message": "Kustodian" - }, - "custodianAccountAddedDesc": { - "message": "Kini Anda dapat menggunakan akun Anda di MetaMask Institutional." - }, - "custodianAccountAddedTitle": { - "message": "Akun $1 terpilih telah ditambahkan." - }, - "custodianQRCodeScan": { - "message": "Pindai kode QR dengan aplikasi seluler $1" - }, - "custodianQRCodeScanDescription": { - "message": "Atau masuk ke akun $1 dan klik tombol 'Hubungkan ke MMI'" - }, - "custodianReplaceRefreshTokenChangedFailed": { - "message": "Buka $1 dan klik tombol 'Hubungkan ke MMI' di antarmuka pengguna untuk menghubungkan kembali akun Anda ke MMI." - }, - "custodianReplaceRefreshTokenChangedSubtitle": { - "message": "Saat ini Anda dapat menggunakan akun kustodian di MetaMask Institutional." - }, - "custodianReplaceRefreshTokenChangedTitle": { - "message": "Token kustodian Anda telah disegarkan" - }, - "custodianReplaceRefreshTokenSubtitle": { - "message": "Ini akan menggantikan token kustodian untuk alamat berikut:" - }, - "custodianReplaceRefreshTokenTitle": { - "message": "Ganti token kustodian" - }, - "custodyDeeplinkDescription": { - "message": "Setujui transaksi di aplikasi $1. Setelah semua persetujuan kustodian yang diperlukan telah dilakukan, transaksi akan selesai. Periksa status aplikasi $1 Anda." - }, - "custodyRefreshTokenModalDescription": { - "message": "Buka $1 dan klik tombol 'Hubungkan ke MMI' di antarmuka pengguna untuk menghubungkan kembali akun Anda ke MMI." - }, - "custodyRefreshTokenModalDescription1": { - "message": "Kustodian Anda mengeluarkan token yang mengautentikasi ekstensi MetaMask Institutional yang memungkinkan untuk menghubungkan akun Anda." - }, - "custodyRefreshTokenModalDescription2": { - "message": "Token ini kedaluwarsa setelah jangka waktu tertentu karena alasan keamanan. Anda harus menghubungkannya kembali ke MMI." - }, - "custodyRefreshTokenModalSubtitle": { - "message": "Mengapa saya melihat hal ini?" - }, - "custodyRefreshTokenModalTitle": { - "message": "Sesi kustodian Anda telah berakhir" - }, - "custodySessionExpired": { - "message": "Sesi kustodian berakhir." - }, - "custodyWrongChain": { - "message": "Akun ini tidak diatur untuk digunakan bersama $1" - }, "custom": { "message": "Lanjutan" }, @@ -1861,9 +1759,6 @@ "enterChainId": { "message": "Masukkan ID Chain" }, - "enterCustodianToken": { - "message": "Masukkan token $1 atau tambahkan token baru" - }, "enterMaxSpendLimit": { "message": "Masukkan batas penggunaan maksimum" }, @@ -2000,12 +1895,6 @@ "message": "Jelajahi Snap yang dibuat oleh komunitas untuk menyesuaikan pengalaman web3 Anda", "description": "Banner description displayed on Snaps list page in Settings when less than 6 Snaps is installed." }, - "extensionInsallCompleteDescription": { - "message": "Kembali ke orientasi produk MetaMask Institutional untuk menghubungkan akun kustodian atau kustodian mandiri milik Anda." - }, - "extensionInsallCompleteTitle": { - "message": "Penginstalan ekstensi selesai" - }, "externalExtension": { "message": "Ekstensi eksternal" }, @@ -2466,12 +2355,6 @@ "install": { "message": "Instal" }, - "installExtension": { - "message": "Instal ekstensi" - }, - "installExtensionDescription": { - "message": "Versi dompet web3 terkemuka di dunia yang sesuai dengan institusi, MetaMask." - }, "installOrigin": { "message": "Instal asal" }, @@ -2864,9 +2747,6 @@ "message": "$1 dihosting pada npm dan $2 merupakan pengenal unik Snap ini.", "description": "$1 is the snap name and $2 is the snap NPM id." }, - "metamaskInstitutionalVersion": { - "message": "Versi MetaMask Institutional" - }, "metamaskNotificationsAreOff": { "message": "Saat ini notifikasi dompet tidak aktif." }, @@ -2892,9 +2772,6 @@ "message": "Jt", "description": "Shortened form of 'million'" }, - "mismatchAccount": { - "message": "Akun yang Anda pilih ($1) berbeda dengan akun yang mencoba ditandatangani ($2)" - }, "mismatchedChainLinkText": { "message": "verifikasi detail jaringan", "description": "Serves as link text for the 'mismatchedChain' key. This text will be embedded inside the translation for that key." @@ -2921,15 +2798,6 @@ "missingSettingRequest": { "message": "Minta di sini" }, - "mmiBuiltAroundTheWorld": { - "message": "MetaMask Institutional dirancang dan dibangun di seluruh dunia." - }, - "mmiNewNFTDetectedInNFTsTabMessage": { - "message": "Izinkan MetaMask Institutional mendeteksi dan menampilkan NFT di dompet secara otomatis." - }, - "mmiPasswordSetupDetails": { - "message": "Kata sandi ini hanya akan membuka ekstensi MetaMask Institutional." - }, "more": { "message": "selengkapnya" }, @@ -3304,9 +3172,6 @@ "noWebcamFoundTitle": { "message": "Webcam tidak ditemukan" }, - "nonCustodialAccounts": { - "message": "MetaMask Institutional memungkinkan Anda untuk menggunakan akun non-kustodian, apabila berencana menggunakan akun ini untuk mencadangkan Frasa Pemulihan Rahasia." - }, "nonce": { "message": "Nonce" }, @@ -3334,12 +3199,6 @@ "notEnoughGas": { "message": "Gas tidak cukup" }, - "note": { - "message": "Catatan" - }, - "notePlaceholder": { - "message": "Pemberi persetujuan akan melihat catatan ini saat menyetujui transaksi di kustodian." - }, "notificationDetail": { "message": "Detail" }, @@ -3674,9 +3533,6 @@ "onboardingPinExtensionTitle": { "message": "Pemasangan MetaMask Anda selesai!" }, - "onboardingPinMmiExtensionLabel": { - "message": "Sematkan MetaMask Institutional" - }, "oneDayAbbreviation": { "message": "1H", "description": "Shortened form of '1 day'" @@ -3700,10 +3556,6 @@ "message": "Hanya hubungkan ke situs yang Anda percayai. $1", "description": "Text displayed above the buttons for connection confirmation. $1 is the link to the learn more web page." }, - "openCustodianApp": { - "message": "Buka aplikasi $1", - "description": "The $1 is the name of the Custodian that will be open" - }, "openFullScreenForLedgerWebHid": { "message": "Buka layar penuh untuk menghubungkan Ledger Anda.", "description": "Shown to the user on the confirm screen when they are viewing MetaMask in a popup window but need to connect their ledger via webhid." @@ -3714,18 +3566,12 @@ "openSeaNew": { "message": "OpenSea" }, - "operationFailed": { - "message": "Pengoperasian Gagal" - }, "optional": { "message": "Opsional" }, "options": { "message": "Opsi" }, - "or": { - "message": "atau" - }, "origin": { "message": "Asal" }, @@ -3760,9 +3606,6 @@ "password": { "message": "Kata sandi" }, - "passwordMmiTermsWarning": { - "message": "Saya memahami bahwa MetaMask Institutional tidak dapat memulihkan kata sandi ini untuk saya. $1" - }, "passwordNotLongEnough": { "message": "Kata sandi kurang panjang" }, @@ -3782,9 +3625,6 @@ "passwordsDontMatch": { "message": "Kata sandi tidak cocok" }, - "pasteJWTToken": { - "message": "Tempel atau taruh token di sini:" - }, "pastePrivateKey": { "message": "Tempel string kunci pribadi Anda di sini:", "description": "For importing an account from a private key" @@ -4068,12 +3908,6 @@ "petnamesEnabledToggleDescription": { "message": "Ini memungkinkan Anda untuk menetapkan nama panggilan ke alamat mana pun. Kami akan menyarankan nama untuk alamat tempat Anda berinteraksi, jika memungkinkan." }, - "pinExtensionDescription": { - "message": "Navigasikan ke menu ekstensi dan sematkan MetaMask Institutional untuk akses tanpa batas." - }, - "pinExtensionTitle": { - "message": "Sematkan ekstensi" - }, "pinToTop": { "message": "Sematkan ke atas" }, @@ -4095,9 +3929,6 @@ "portfolio": { "message": "Portofolio" }, - "portfolioDashboard": { - "message": "Dasbor Portofolio" - }, "preparingSwap": { "message": "Mempersiapkan pertukaran..." }, @@ -4343,12 +4174,6 @@ "removeAccountDescription": { "message": "Akun ini akan dihapus dari dompet Anda. Pastikan Anda memiliki Frasa Pemulihan Rahasia asli atau kunci pribadi untuk akun impor ini sebelum melanjutkan. Anda dapat mengimpor atau membuat akun lagi dari menu gulir bawah akun. " }, - "removeJWT": { - "message": "Hapus token kustodian" - }, - "removeJWTDescription": { - "message": "Yakin ingin menghapus token ini? Semua akun yang ditetapkan ke token ini juga akan dihapus dari ekstensi:" - }, "removeKeyringSnap": { "message": "Akun berikut akan dihapus dari MetaMask saat menghapus Snap ini:" }, @@ -4694,27 +4519,18 @@ "selectAll": { "message": "Pilih semua" }, - "selectAllAccounts": { - "message": "Pilih semua akun" - }, "selectAnAccount": { "message": "Pilih akun" }, "selectAnAccountAlreadyConnected": { "message": "Akun ini sudah terhubung ke MetaMask." }, - "selectAnAccountHelp": { - "message": "Pilih akun kustodian untuk digunakan di MetaMask Institutional." - }, "selectEnableDisplayMediaPrivacyPreference": { "message": "Aktifkan Tampilkan Media NFT" }, "selectHdPath": { "message": "Pilih path HD" }, - "selectJWT": { - "message": "Pilih token" - }, "selectNFTPrivacyPreference": { "message": "Aktifkan Autodeteksi NFT" }, @@ -6084,9 +5900,6 @@ "transactionErrored": { "message": "Transaksi mengalami kesalahan." }, - "transactionFailed": { - "message": "Transaksi Gagal" - }, "transactionFee": { "message": "Biaya transaksi" }, @@ -6114,9 +5927,6 @@ "transactionHistoryTotalGasFee": { "message": "Total biaya gas" }, - "transactionNote": { - "message": "Catatan transaksi" - }, "transactionResubmitted": { "message": "Transaksi dikirim kembali dengan estimasi biaya gas naik $1 pada $2" }, @@ -6395,9 +6205,6 @@ "viewTransaction": { "message": "Lihat transaksi" }, - "viewinCustodianApp": { - "message": "Lihat di aplikasi kustodian" - }, "viewinExplorer": { "message": "Lihat $1 di explorer", "description": "$1 is the action type. e.g (Account, Transaction, Swap)" diff --git a/app/_locales/ja/messages.json b/app/_locales/ja/messages.json index aeb5066ad16b..316b2e61dd4d 100644 --- a/app/_locales/ja/messages.json +++ b/app/_locales/ja/messages.json @@ -290,9 +290,6 @@ "addNewSolanaAccount": { "message": "新しいSolanaアカウントの追加 (ベータ版)" }, - "addNewToken": { - "message": "新しいトークンを追加" - }, "addNft": { "message": "NFTを追加" }, @@ -485,12 +482,6 @@ "all": { "message": "すべて" }, - "allCustodianAccountsConnectedSubtitle": { - "message": "すでにすべてのカストディアンアカウントを接続したか、MetaMask Institutionalに接続するアカウントがありません。" - }, - "allCustodianAccountsConnectedTitle": { - "message": "接続できるアカウントがありません" - }, "allOfYour": { "message": "すべての$1", "description": "$1 is the symbol or name of the token that the user is approving spending" @@ -508,12 +499,6 @@ "message": "$1のすべてのNFT", "description": "$1 is a link to contract on the block explorer when we're not able to retrieve a erc721 or erc1155 name" }, - "allow": { - "message": "許可する" - }, - "allowMmiToConnectToCustodian": { - "message": "これにより、MMIが$1に接続してアカウントをインポートできるようになります。" - }, "allowNotifications": { "message": "通知を許可する" }, @@ -655,9 +640,6 @@ "average": { "message": "平均" }, - "awaitingApproval": { - "message": "承認待ちです..." - }, "back": { "message": "戻る" }, @@ -723,9 +705,6 @@ "message": "これはベータ版です。バグは報告してください $1", "description": "$1 represents the word 'here' in a hyperlink" }, - "betaMetamaskInstitutionalVersion": { - "message": "MetaMask Institutionalベータ版" - }, "betaMetamaskVersion": { "message": "MetaMaskベータ版" }, @@ -982,15 +961,6 @@ "confirmAlertModalAcknowledgeSingle": { "message": "アラートを確認したうえで続行します" }, - "confirmConnectCustodianRedirect": { - "message": "「続行」をクリックすると、$1にリダイレクトされます。" - }, - "confirmConnectCustodianText": { - "message": "アカウントを接続するには、$1アカウントにログインして「MMIに接続」ボタンをクリックしてください。" - }, - "confirmConnectionTitle": { - "message": "$1への接続の確定" - }, "confirmFieldPaymaster": { "message": "手数料の支払元" }, @@ -1072,18 +1042,6 @@ "connectAccounts": { "message": "アカウントを接続" }, - "connectCustodialAccountMenu": { - "message": "カストディアルアカウントを接続" - }, - "connectCustodialAccountMsg": { - "message": "トークンを追加または更新するには、接続するカストディアンを選択してください。" - }, - "connectCustodialAccountTitle": { - "message": "カストディアルアカウント" - }, - "connectCustodianAccounts": { - "message": "$1アカウントの接続" - }, "connectManually": { "message": "現在のサイトに手動で接続" }, @@ -1206,12 +1164,6 @@ "continue": { "message": "続行" }, - "continueMmiOnboarding": { - "message": "MetaMask Institutionalのオンボーディングを続ける" - }, - "continueToWallet": { - "message": "ウォレットに進む" - }, "contract": { "message": "コントラクト" }, @@ -1345,60 +1297,6 @@ "curveMediumGasEstimate": { "message": "市場のガス代見積もりグラフ" }, - "custodian": { - "message": "カストディアン" - }, - "custodianAccountAddedDesc": { - "message": "MetaMask Institutionalでアカウントが使えるようになりました。" - }, - "custodianAccountAddedTitle": { - "message": "選択された$1個のアカウントが追加されました。" - }, - "custodianQRCodeScan": { - "message": "$1モバイルアプリでQRコードをスキャンします" - }, - "custodianQRCodeScanDescription": { - "message": "または、$1アカウントにログインして「MMIに接続」ボタンをクリックしてください" - }, - "custodianReplaceRefreshTokenChangedFailed": { - "message": "$1に移動して、ユーザーインターフェースの「MMIに接続」ボタンをクリックし、アカウントをMMIに再接続します。" - }, - "custodianReplaceRefreshTokenChangedSubtitle": { - "message": "カストディアンアカウントをMetaMask Institutionalで使えるようになりました。" - }, - "custodianReplaceRefreshTokenChangedTitle": { - "message": "カストディアントークンが更新されました" - }, - "custodianReplaceRefreshTokenSubtitle": { - "message": "これにより、次のアドレスのカストディアントークンが置き換えられます:" - }, - "custodianReplaceRefreshTokenTitle": { - "message": "カストディアントークンを置き換える" - }, - "custodyDeeplinkDescription": { - "message": "$1アプリでトランザクションを承認してください。必要なカストディ承認がすべて行われると、トランザクションが完了します。ステータスは$1アプリで確認できます。" - }, - "custodyRefreshTokenModalDescription": { - "message": "$1に移動して、ユーザーインターフェースの「MMIに接続」ボタンをクリックし、アカウントをMMIに再接続します。" - }, - "custodyRefreshTokenModalDescription1": { - "message": "カストディアンがMetaMask Institutional拡張機能を認証するトークンを発行し、アカウントを接続できるようになります。" - }, - "custodyRefreshTokenModalDescription2": { - "message": "このトークンはセキュリティ上の理由により、一定期間後に失効します。その場合、MMIへの再接続が必要になります。" - }, - "custodyRefreshTokenModalSubtitle": { - "message": "このメッセージが表示される理由" - }, - "custodyRefreshTokenModalTitle": { - "message": "カストディアンセッションが期限切れになりました" - }, - "custodySessionExpired": { - "message": "カストディアンセッションが期限切れになりました。" - }, - "custodyWrongChain": { - "message": "このアカウントは$1で使用できるように設定されていません" - }, "custom": { "message": "高度な設定" }, @@ -1861,9 +1759,6 @@ "enterChainId": { "message": "チェーンIDを入力してください" }, - "enterCustodianToken": { - "message": "$1トークンを入力するか、新しいトークンを追加してください" - }, "enterMaxSpendLimit": { "message": "使用限度額の最大値を入力してください" }, @@ -2000,12 +1895,6 @@ "message": "Web3のエクスペリエンスをカスタマイズする、コミュニティが開発したSnapをご覧ください", "description": "Banner description displayed on Snaps list page in Settings when less than 6 Snaps is installed." }, - "extensionInsallCompleteDescription": { - "message": "MetaMask Institutionalの製品オンボーディングに戻って、カストディアルまたはセルフカストディアルアカウントを接続します。" - }, - "extensionInsallCompleteTitle": { - "message": "拡張機能のインストールが完了しました" - }, "externalExtension": { "message": "外部拡張機能" }, @@ -2466,12 +2355,6 @@ "install": { "message": "インストール" }, - "installExtension": { - "message": "拡張機能をインストール" - }, - "installExtensionDescription": { - "message": "世界をリードするWeb3ウォレット、MetaMaskの企業対応版です。" - }, "installOrigin": { "message": "インストール元" }, @@ -2864,9 +2747,6 @@ "message": "$1はnpmでホストされていて、$2はこのSnapの一意のIDです。", "description": "$1 is the snap name and $2 is the snap NPM id." }, - "metamaskInstitutionalVersion": { - "message": "MetaMask Institutionalバージョン" - }, "metamaskNotificationsAreOff": { "message": "ウォレットの通知は現在無効になっています" }, @@ -2892,9 +2772,6 @@ "message": "M", "description": "Shortened form of 'million'" }, - "mismatchAccount": { - "message": "選択されたアカウント ($1) は署名しようとしているアカウント ($2) と異なります" - }, "mismatchedChainLinkText": { "message": "ネットワークの詳細の確認", "description": "Serves as link text for the 'mismatchedChain' key. This text will be embedded inside the translation for that key." @@ -2921,15 +2798,6 @@ "missingSettingRequest": { "message": "ここからリクエスト" }, - "mmiBuiltAroundTheWorld": { - "message": "MetaMaskは、世界中でデザイン・開発されています。" - }, - "mmiNewNFTDetectedInNFTsTabMessage": { - "message": "MetaMask Institutionalによるウォレット内のNFTの自動検出と表示を許可します。" - }, - "mmiPasswordSetupDetails": { - "message": "このパスワードはMetaMask Institutional拡張機能のロックしか解除しません。" - }, "more": { "message": "他" }, @@ -3304,9 +3172,6 @@ "noWebcamFoundTitle": { "message": "Webカメラが見つかりません" }, - "nonCustodialAccounts": { - "message": "MetaMask Institutionalでは、非カストディアルアカウントを使用できます。これらのアカウントを使用する場合は、シークレットリカバリーフレーズをバックアップしてください。" - }, "nonce": { "message": "ナンス" }, @@ -3334,12 +3199,6 @@ "notEnoughGas": { "message": "ガスが不足しています" }, - "note": { - "message": "備考" - }, - "notePlaceholder": { - "message": "承認者がカストディアンでトランザクションを承認する際に、この備考が表示されます。" - }, "notificationDetail": { "message": "詳細" }, @@ -3674,9 +3533,6 @@ "onboardingPinExtensionTitle": { "message": "MetaMaskのインストールが完了しました!" }, - "onboardingPinMmiExtensionLabel": { - "message": "MetaMask Institutionalをピン留めする" - }, "oneDayAbbreviation": { "message": "1日", "description": "Shortened form of '1 day'" @@ -3700,10 +3556,6 @@ "message": "信頼するサイトにのみ接続してください。$1", "description": "Text displayed above the buttons for connection confirmation. $1 is the link to the learn more web page." }, - "openCustodianApp": { - "message": "$1アプリを開く", - "description": "The $1 is the name of the Custodian that will be open" - }, "openFullScreenForLedgerWebHid": { "message": "全画面モードにしてLedgerを接続します。", "description": "Shown to the user on the confirm screen when they are viewing MetaMask in a popup window but need to connect their ledger via webhid." @@ -3714,18 +3566,12 @@ "openSeaNew": { "message": "OpenSea" }, - "operationFailed": { - "message": "操作に失敗しました" - }, "optional": { "message": "オプション" }, "options": { "message": "オプション" }, - "or": { - "message": "または" - }, "origin": { "message": "起点" }, @@ -3760,9 +3606,6 @@ "password": { "message": "パスワード" }, - "passwordMmiTermsWarning": { - "message": "私は、MetaMask Institutionalがこのパスワードを復元できないことを理解しています。$1" - }, "passwordNotLongEnough": { "message": "パスワードの長さが足りません" }, @@ -3782,9 +3625,6 @@ "passwordsDontMatch": { "message": "パスワードが一致しません" }, - "pasteJWTToken": { - "message": "ここにトークンを貼り付けるかドロップしてください:" - }, "pastePrivateKey": { "message": "秘密鍵の文字列をここに貼り付けます:", "description": "For importing an account from a private key" @@ -4068,12 +3908,6 @@ "petnamesEnabledToggleDescription": { "message": "これにより、すべてのアドレスにニックネームを割り当てられるようになります。可能な場合、やり取りがあるアドレスの名前が提案されます。" }, - "pinExtensionDescription": { - "message": "拡張機能のメニューに移動し、MetaMask Institutionalをピン留めすると、スムーズにアクセスできます。" - }, - "pinExtensionTitle": { - "message": "拡張機能をピン留めする" - }, "pinToTop": { "message": "最上部にピン留め" }, @@ -4095,9 +3929,6 @@ "portfolio": { "message": "Portfolio" }, - "portfolioDashboard": { - "message": "Portfolioダッシュボード" - }, "preparingSwap": { "message": "スワップを準備しています..." }, @@ -4343,12 +4174,6 @@ "removeAccountDescription": { "message": "このアカウントはウォレットから削除されます。続行する前に、インポートしたアカウントの元のシークレットリカバリーフレーズまたは秘密鍵を持っていることを確認してください。アカウントはアカウントドロップダウンから再度インポートまたは作成できます。" }, - "removeJWT": { - "message": "カストディアントークンを削除" - }, - "removeJWTDescription": { - "message": "このトークンを削除してよろしいですか?このトークンに割り当てられているすべてのアカウントが、同時に拡張機能から削除されます: " - }, "removeKeyringSnap": { "message": "このSnapを削除すると、これらのアカウントがMetaMaskから削除されます:" }, @@ -4694,27 +4519,18 @@ "selectAll": { "message": "すべて選択" }, - "selectAllAccounts": { - "message": "すべてのアカウントを選択" - }, "selectAnAccount": { "message": "アカウントを選択してください" }, "selectAnAccountAlreadyConnected": { "message": "このアカウントはすでにMetaMaskに接続されています" }, - "selectAnAccountHelp": { - "message": "MetaMask Institutionalで使用するカストディアンアカウントを選択します。" - }, "selectEnableDisplayMediaPrivacyPreference": { "message": "NFTメディアの表示をオンにする" }, "selectHdPath": { "message": "HDパスを選択" }, - "selectJWT": { - "message": "トークンを選択" - }, "selectNFTPrivacyPreference": { "message": "NFTの自動検出を有効にする" }, @@ -6084,9 +5900,6 @@ "transactionErrored": { "message": "トランザクションでエラーが発生しました。" }, - "transactionFailed": { - "message": "トランザクションに失敗しました" - }, "transactionFee": { "message": "トランザクション手数料" }, @@ -6114,9 +5927,6 @@ "transactionHistoryTotalGasFee": { "message": "ガス代合計" }, - "transactionNote": { - "message": "トランザクション備考" - }, "transactionResubmitted": { "message": "推定のガス代を$2で$1に増加し、トランザクションを再送信しました" }, @@ -6395,9 +6205,6 @@ "viewTransaction": { "message": "トランザクションを表示" }, - "viewinCustodianApp": { - "message": "カストディアンアプリで表示" - }, "viewinExplorer": { "message": "$1をエクスプローラーで表示", "description": "$1 is the action type. e.g (Account, Transaction, Swap)" diff --git a/app/_locales/ko/messages.json b/app/_locales/ko/messages.json index babb38ddb218..59e1cdcffcfb 100644 --- a/app/_locales/ko/messages.json +++ b/app/_locales/ko/messages.json @@ -290,9 +290,6 @@ "addNewSolanaAccount": { "message": "새 솔라나 계정 추가(베타)" }, - "addNewToken": { - "message": "신규 토큰 추가" - }, "addNft": { "message": "NFT 추가" }, @@ -485,12 +482,6 @@ "all": { "message": "모두" }, - "allCustodianAccountsConnectedSubtitle": { - "message": "현재 모든 수탁 계정이 연결되어 있거나 MetaMask Institutional에 연결할 계정이 없습니다." - }, - "allCustodianAccountsConnectedTitle": { - "message": "연결할 계정 없음" - }, "allOfYour": { "message": "내 모든 $1", "description": "$1 is the symbol or name of the token that the user is approving spending" @@ -508,12 +499,6 @@ "message": "$1의 모든 내 NFT", "description": "$1 is a link to contract on the block explorer when we're not able to retrieve a erc721 or erc1155 name" }, - "allow": { - "message": "허용" - }, - "allowMmiToConnectToCustodian": { - "message": "허용할 경우, MMI가 $1에 연결하여 계정을 가져올 수 있습니다." - }, "allowNotifications": { "message": "알림 허용" }, @@ -655,9 +640,6 @@ "average": { "message": "평균" }, - "awaitingApproval": { - "message": "승인 대기 중..." - }, "back": { "message": "뒤로" }, @@ -723,9 +705,6 @@ "message": "베타 버전입니다. 버그는 $1로 보고하세요", "description": "$1 represents the word 'here' in a hyperlink" }, - "betaMetamaskInstitutionalVersion": { - "message": "MetaMask Institutional 베타 버전" - }, "betaMetamaskVersion": { "message": "MetaMask 베타 버전" }, @@ -982,15 +961,6 @@ "confirmAlertModalAcknowledgeSingle": { "message": "경고를 인지했으며, 계속 진행합니다" }, - "confirmConnectCustodianRedirect": { - "message": "계속을 클릭하면 $1(으)로 리디렉션됩니다." - }, - "confirmConnectCustodianText": { - "message": "계정을 연결하려면 $1에 로그인하여 'MMI에 연결' 버튼을 클릭하세요." - }, - "confirmConnectionTitle": { - "message": "$1에 연결 확인" - }, "confirmFieldPaymaster": { "message": "수수료 지불:" }, @@ -1072,18 +1042,6 @@ "connectAccounts": { "message": "계정 연결" }, - "connectCustodialAccountMenu": { - "message": "수탁 계정 연결" - }, - "connectCustodialAccountMsg": { - "message": "연결을 원하는 수탁 계정을 선택하여 토큰을 추가하거나 새로고침하세요." - }, - "connectCustodialAccountTitle": { - "message": "수탁 계정" - }, - "connectCustodianAccounts": { - "message": "$1 계정 연결" - }, "connectManually": { "message": "현재 사이트에 직접 연결" }, @@ -1206,12 +1164,6 @@ "continue": { "message": "계속" }, - "continueMmiOnboarding": { - "message": "MetaMask Institutional 온보딩 계속" - }, - "continueToWallet": { - "message": "지갑으로 계속" - }, "contract": { "message": "계약" }, @@ -1345,60 +1297,6 @@ "curveMediumGasEstimate": { "message": "시장 가스 추정치 그래프" }, - "custodian": { - "message": "수탁자" - }, - "custodianAccountAddedDesc": { - "message": "이제 MetaMask Institutional에서 계정을 사용할 수 있습니다." - }, - "custodianAccountAddedTitle": { - "message": "선택한 $1 계정을 추가했습니다." - }, - "custodianQRCodeScan": { - "message": "$1 모바일 앱으로 QR 코드를 스캔하세요" - }, - "custodianQRCodeScanDescription": { - "message": "또는 $1 계정에 로그인하여 'MMI에 연결' 버튼을 클릭하세요" - }, - "custodianReplaceRefreshTokenChangedFailed": { - "message": "계정을 MMI에 다시 연결하려면 $1에서 해당 사용자 인터페이스를 찾아 'MMI로 연결' 버튼을 클릭하면 됩니다." - }, - "custodianReplaceRefreshTokenChangedSubtitle": { - "message": "이제 MetaMask Institutional에서 수탁 계정을 사용할 수 있습니다." - }, - "custodianReplaceRefreshTokenChangedTitle": { - "message": "수탁 토큰이 새로고침되었습니다" - }, - "custodianReplaceRefreshTokenSubtitle": { - "message": "이렇게 하면 수탁 토큰이 다음 주소로 대체됩니다:" - }, - "custodianReplaceRefreshTokenTitle": { - "message": "수탁 토큰 대체" - }, - "custodyDeeplinkDescription": { - "message": "$1 앱에서 트랜잭션을 승인하세요. 필요한 수탁자 승인이 모두 완료되면 트랜잭션이 완료됩니다. $1 앱 상태를 확인하세요." - }, - "custodyRefreshTokenModalDescription": { - "message": "계정을 MMI에 다시 연결하려면 $1에서 해당 사용자 인터페이스를 찾아 'MMI로 연결' 버튼을 클릭하면 됩니다." - }, - "custodyRefreshTokenModalDescription1": { - "message": "수탁자가 MetaMask Institutional 확장을 인증하는 토큰을 발행하면 계정을 연결할 수 있습니다." - }, - "custodyRefreshTokenModalDescription2": { - "message": "이 토큰은 보안상의 이유로 일정 기간이 지나면 만료됩니다. 그러면 MMI에 다시 연결해야 합니다." - }, - "custodyRefreshTokenModalSubtitle": { - "message": "이것은 무엇인가요?" - }, - "custodyRefreshTokenModalTitle": { - "message": "수탁자 세션이 만료되었습니다" - }, - "custodySessionExpired": { - "message": "수탁자 세션이 만료되었습니다." - }, - "custodyWrongChain": { - "message": "이 계정은 $1 사용으로 설정되어 있지 않습니다" - }, "custom": { "message": "고급" }, @@ -1861,9 +1759,6 @@ "enterChainId": { "message": "체인 ID 입력" }, - "enterCustodianToken": { - "message": "$1 토큰을 입력하거나 새로운 토큰을 추가하세요" - }, "enterMaxSpendLimit": { "message": "최대 지출 한도 입력" }, @@ -2000,12 +1895,6 @@ "message": "커뮤니티에서 만들어진 Snap을 알아보고 웹3 경험을 개인 맞춤하세요.", "description": "Banner description displayed on Snaps list page in Settings when less than 6 Snaps is installed." }, - "extensionInsallCompleteDescription": { - "message": "MetaMask Institutional 제품 온보딩으로 돌아가 수탁 또는 자기 수탁 계정을 연결합니다." - }, - "extensionInsallCompleteTitle": { - "message": "확장 설치 완료" - }, "externalExtension": { "message": "외부 확장" }, @@ -2466,12 +2355,6 @@ "install": { "message": "설치" }, - "installExtension": { - "message": "확장 설치" - }, - "installExtensionDescription": { - "message": "기관의 규정을 준수하는 세계 최고의 웹3 지갑, MetaMask입니다." - }, "installOrigin": { "message": "출처 설치" }, @@ -2864,9 +2747,6 @@ "message": "$1 스냅은 npm이 호스팅합니다. 이 Snap의 고유 식별자는 $2 입니다.", "description": "$1 is the snap name and $2 is the snap NPM id." }, - "metamaskInstitutionalVersion": { - "message": "MetaMask Institutional 버전" - }, "metamaskNotificationsAreOff": { "message": "현재 지갑 알림이 꺼져 있습니다." }, @@ -2892,9 +2772,6 @@ "message": "M", "description": "Shortened form of 'million'" }, - "mismatchAccount": { - "message": "선택한 계정($1)이 서명하려는 계정($2)과 다릅니다" - }, "mismatchedChainLinkText": { "message": "네트워크 세부 정보 검증", "description": "Serves as link text for the 'mismatchedChain' key. This text will be embedded inside the translation for that key." @@ -2921,15 +2798,6 @@ "missingSettingRequest": { "message": "여기에서 요청하세요" }, - "mmiBuiltAroundTheWorld": { - "message": "MetaMask Institutional은 전 세계적으로 설계 및 구축되었습니다." - }, - "mmiNewNFTDetectedInNFTsTabMessage": { - "message": "MetaMask Institutional을 통해 자동으로 NFT를 감지하여 지갑에 표시할 수 있습니다." - }, - "mmiPasswordSetupDetails": { - "message": "이 비밀번호는 MetaMask Institutional 확장만 잠금 해제합니다." - }, "more": { "message": "그 외" }, @@ -3304,9 +3172,6 @@ "noWebcamFoundTitle": { "message": "웹캠을 찾을 수 없음" }, - "nonCustodialAccounts": { - "message": "이러한 계정을 비밀복구구문 백업에 사용하려는 경우 MetaMask Institutional은 비수탁형 계정을 사용할 수 있도록 허용합니다." - }, "nonce": { "message": "논스" }, @@ -3334,12 +3199,6 @@ "notEnoughGas": { "message": "가스 부족" }, - "note": { - "message": "메모" - }, - "notePlaceholder": { - "message": "수탁 기관에서 트랜잭션이 승인되면 승인자가 이 참고 사항을 보게 됩니다." - }, "notificationDetail": { "message": "세부 정보" }, @@ -3674,9 +3533,6 @@ "onboardingPinExtensionTitle": { "message": "MetaMask 설치가 완료되었습니다!" }, - "onboardingPinMmiExtensionLabel": { - "message": "MetaMask Institutional 고정" - }, "oneDayAbbreviation": { "message": "1일", "description": "Shortened form of '1 day'" @@ -3700,10 +3556,6 @@ "message": "신뢰하는 사이트만 연결하세요. $1", "description": "Text displayed above the buttons for connection confirmation. $1 is the link to the learn more web page." }, - "openCustodianApp": { - "message": "$1 앱 열기", - "description": "The $1 is the name of the Custodian that will be open" - }, "openFullScreenForLedgerWebHid": { "message": "전체 화면으로 이동하여 Ledger를 연결하세요.", "description": "Shown to the user on the confirm screen when they are viewing MetaMask in a popup window but need to connect their ledger via webhid." @@ -3714,18 +3566,12 @@ "openSeaNew": { "message": "OpenSea" }, - "operationFailed": { - "message": "작업에 실패했습니다" - }, "optional": { "message": "옵션" }, "options": { "message": "옵션" }, - "or": { - "message": "또는" - }, "origin": { "message": "원본" }, @@ -3760,9 +3606,6 @@ "password": { "message": "비밀번호" }, - "passwordMmiTermsWarning": { - "message": "MetaMask Institutional이 이 비밀번호를 복구할 수 없음을 이해합니다. $1" - }, "passwordNotLongEnough": { "message": "비밀번호가 짧습니다." }, @@ -3782,9 +3625,6 @@ "passwordsDontMatch": { "message": "비밀번호가 일치하지 않습니다." }, - "pasteJWTToken": { - "message": "토큰을 여기 드롭하거나 붙여 넣으세요:" - }, "pastePrivateKey": { "message": "여기에 비공개 키 문자열을 붙여넣으세요.", "description": "For importing an account from a private key" @@ -4068,12 +3908,6 @@ "petnamesEnabledToggleDescription": { "message": "이 기능을 사용하면 모든 주소에 닉네임을 지정할 수 있습니다. 가능한 경우 상호 작용하는 주소에 닉네임을 추천합니다." }, - "pinExtensionDescription": { - "message": "확장 메뉴로 이동 후 MetaMask Institutional을 고정하여 원활하게 액세스하세요." - }, - "pinExtensionTitle": { - "message": "확장 고정" - }, "pinToTop": { "message": "맨 위에 고정" }, @@ -4095,9 +3929,6 @@ "portfolio": { "message": "포트폴리오" }, - "portfolioDashboard": { - "message": "포트폴리오 대시보드" - }, "preparingSwap": { "message": "스왑 준비 중..." }, @@ -4343,12 +4174,6 @@ "removeAccountDescription": { "message": "이 계정이 지갑에서 제거됩니다. 계속하기 전에 가져온 이 계정에 대한 원본 비밀복구구문이나 비공개 키가 있는지 확인하세요. 계정 드롭다운에서 계정을 가져오거나 다시 만들 수 있습니다. " }, - "removeJWT": { - "message": "수탁 토큰 제거" - }, - "removeJWTDescription": { - "message": "정말 이 토큰을 삭제하시겠습니까? 이 토큰에 할당된 모든 계정이 확장 프로그램에서도 제거됩니다." - }, "removeKeyringSnap": { "message": "이 Snap을 제거하면 이 계정들이 MetaMask에서 제거됩니다:" }, @@ -4694,27 +4519,18 @@ "selectAll": { "message": "모두 선택" }, - "selectAllAccounts": { - "message": "모든 계정 선택" - }, "selectAnAccount": { "message": "계정 선택" }, "selectAnAccountAlreadyConnected": { "message": "이 계정은 이미 MetaMask와 연결되어 있습니다." }, - "selectAnAccountHelp": { - "message": "MetaMask Institutional에서 사용할 수탁 계정을 선택하세요." - }, "selectEnableDisplayMediaPrivacyPreference": { "message": "NFT 미디어 표시 켜기" }, "selectHdPath": { "message": "HD 경로 선택" }, - "selectJWT": { - "message": "토큰 선택" - }, "selectNFTPrivacyPreference": { "message": "NFT 자동 감기 지능 켜기" }, @@ -6084,9 +5900,6 @@ "transactionErrored": { "message": "트랜잭션에 오류가 발생했습니다." }, - "transactionFailed": { - "message": "트랜잭션 실패" - }, "transactionFee": { "message": "트랜잭션 수수료" }, @@ -6114,9 +5927,6 @@ "transactionHistoryTotalGasFee": { "message": "총 가스비" }, - "transactionNote": { - "message": "트랜잭션 메모" - }, "transactionResubmitted": { "message": "$2에서 가스비를 $1(으)로 올린 트랜잭션이 다시 제출되었습니다." }, @@ -6395,9 +6205,6 @@ "viewTransaction": { "message": "트랜잭션 보기" }, - "viewinCustodianApp": { - "message": "수탁 앱에서 보기" - }, "viewinExplorer": { "message": "Explorer에서 $1 보기", "description": "$1 is the action type. e.g (Account, Transaction, Swap)" diff --git a/app/_locales/pt/messages.json b/app/_locales/pt/messages.json index 69ceb3a9d97e..0b3a814420c8 100644 --- a/app/_locales/pt/messages.json +++ b/app/_locales/pt/messages.json @@ -290,9 +290,6 @@ "addNewSolanaAccount": { "message": "Adicionar uma nova conta Solana (Beta)" }, - "addNewToken": { - "message": "Adicionar novo token" - }, "addNft": { "message": "Adicionar NFT" }, @@ -485,12 +482,6 @@ "all": { "message": "Tudo" }, - "allCustodianAccountsConnectedSubtitle": { - "message": "Você já conectou todas as sua contas custodiantes ou não tem nenhuma conta para conectar ao MetaMask Institutional." - }, - "allCustodianAccountsConnectedTitle": { - "message": "Nenhuma conta disponível para conectar" - }, "allOfYour": { "message": "Todos os seus $1", "description": "$1 is the symbol or name of the token that the user is approving spending" @@ -508,12 +499,6 @@ "message": "Todos os seus NFTs de $1", "description": "$1 is a link to contract on the block explorer when we're not able to retrieve a erc721 or erc1155 name" }, - "allow": { - "message": "Permitir" - }, - "allowMmiToConnectToCustodian": { - "message": "Isso permite que o MMI se conecte ao $1 para importar suas contas." - }, "allowNotifications": { "message": "Permitir notificações" }, @@ -655,9 +640,6 @@ "average": { "message": "Média" }, - "awaitingApproval": { - "message": "Aguardando aprovação..." - }, "back": { "message": "Voltar" }, @@ -723,9 +705,6 @@ "message": "Esta é uma versão beta. Pedimos que relatem os bugs $1", "description": "$1 represents the word 'here' in a hyperlink" }, - "betaMetamaskInstitutionalVersion": { - "message": "Versão beta do MetaMask Institutional" - }, "betaMetamaskVersion": { "message": "Versão Beta da MetaMask" }, @@ -982,15 +961,6 @@ "confirmAlertModalAcknowledgeSingle": { "message": "Reconheço o alerta e quero prosseguir mesmo assim" }, - "confirmConnectCustodianRedirect": { - "message": "Você será redirecionado para $1 ao clicar em continuar." - }, - "confirmConnectCustodianText": { - "message": "Para conectar suas contas, faça login em sua conta $1 e clique no botão \"conectar ao MMI\"." - }, - "confirmConnectionTitle": { - "message": "Confirmar conexão ao $1" - }, "confirmFieldPaymaster": { "message": "Taxa paga por" }, @@ -1075,18 +1045,6 @@ "connectAccounts": { "message": "Conectar contas" }, - "connectCustodialAccountMenu": { - "message": "Conectar conta custodiada" - }, - "connectCustodialAccountMsg": { - "message": "Escolha a custodiante que deseja conectar para adicionar ou atualizar um token." - }, - "connectCustodialAccountTitle": { - "message": "Contas custodiadas" - }, - "connectCustodianAccounts": { - "message": "Conectar contas $1" - }, "connectManually": { "message": "Conectar manualmente ao site atual" }, @@ -1209,12 +1167,6 @@ "continue": { "message": "Continuar" }, - "continueMmiOnboarding": { - "message": "Continuar integração com o MetaMask Institutional" - }, - "continueToWallet": { - "message": "Prosseguir para a carteira" - }, "contract": { "message": "Contrato" }, @@ -1348,60 +1300,6 @@ "curveMediumGasEstimate": { "message": "Gráfico de estimativa de gás do mercado" }, - "custodian": { - "message": "Custodiante" - }, - "custodianAccountAddedDesc": { - "message": "Agora você pode usar suas contas no MetaMask Institutional." - }, - "custodianAccountAddedTitle": { - "message": "As $1 contas selecionadas foram adicionadas." - }, - "custodianQRCodeScan": { - "message": "Leia o QR code com seu app da $1 para dispositivos móveis" - }, - "custodianQRCodeScanDescription": { - "message": "Ou faça login em sua conta $1 e clique no botão \"Conectar ao MMI\"" - }, - "custodianReplaceRefreshTokenChangedFailed": { - "message": "Acesse $1 e clique no botão \"Conectar ao MMI\" dentro da respectiva interface de usuário para reconectar suas contas ao MMI." - }, - "custodianReplaceRefreshTokenChangedSubtitle": { - "message": "Agora você pode usar suas contas custodiantes no MetaMask Institutional." - }, - "custodianReplaceRefreshTokenChangedTitle": { - "message": "Seu token custodiante foi atualizado" - }, - "custodianReplaceRefreshTokenSubtitle": { - "message": "Isso substituirá o token custodiante para o seguinte endereço:" - }, - "custodianReplaceRefreshTokenTitle": { - "message": "Substituir token custodiante" - }, - "custodyDeeplinkDescription": { - "message": "Aprove a transação no app $1. Quando forem dadas todas as aprovações de custódia exigidas, a transação será concluída. Veja o status no seu app $1." - }, - "custodyRefreshTokenModalDescription": { - "message": "Por favor, acesse $1 e clique no botão \"Conectar ao MMI\" dentro da respectiva interface de usuário para conectar suas contas ao MMI novamente." - }, - "custodyRefreshTokenModalDescription1": { - "message": "Seu custodiante emite um token que autentica a extensão MetaMask Institutional, permitindo que você conecte suas contas." - }, - "custodyRefreshTokenModalDescription2": { - "message": "Esse token expira após um determinado período por motivos de segurança. Isso exige que você reconecte ao MMI." - }, - "custodyRefreshTokenModalSubtitle": { - "message": "Por que estou vendo isso?" - }, - "custodyRefreshTokenModalTitle": { - "message": "A sessão do seu custodiante expirou" - }, - "custodySessionExpired": { - "message": "Sessão de custodiante expirada." - }, - "custodyWrongChain": { - "message": "Essa conta não está configurada para uso com $1" - }, "custom": { "message": "Avançado" }, @@ -1864,9 +1762,6 @@ "enterChainId": { "message": "Insira a ID da cadeia" }, - "enterCustodianToken": { - "message": "Insira seu token $1 ou adicione um novo" - }, "enterMaxSpendLimit": { "message": "Digite um limite máximo de gastos" }, @@ -2003,12 +1898,6 @@ "message": "Explore Snaps desenvolvidos pela comunidade para personalizar sua experiência na web3", "description": "Banner description displayed on Snaps list page in Settings when less than 6 Snaps is installed." }, - "extensionInsallCompleteDescription": { - "message": "Volte à integração do produto MetaMask Institutional para conectar suas contas custodiadas ou autocustodiadas." - }, - "extensionInsallCompleteTitle": { - "message": "Instalação de extensão concluída" - }, "externalExtension": { "message": "Extensão externa" }, @@ -2469,12 +2358,6 @@ "install": { "message": "Instalar" }, - "installExtension": { - "message": "Instalar extensão" - }, - "installExtensionDescription": { - "message": "A versão em conformidade institucional da principal carteira web3 do mundo, a MetaMask." - }, "installOrigin": { "message": "Origem da instalação" }, @@ -2867,9 +2750,6 @@ "message": "$1 está hospedado no npm e $2 é o identificador específico deste Snap.", "description": "$1 is the snap name and $2 is the snap NPM id." }, - "metamaskInstitutionalVersion": { - "message": "Versão MetaMask Institutional" - }, "metamaskNotificationsAreOff": { "message": "As notificações de carteiras estão inativas no momento." }, @@ -2895,9 +2775,6 @@ "message": "M", "description": "Shortened form of 'million'" }, - "mismatchAccount": { - "message": "Sua conta selecionada ($1) é diferente da conta que está tentando assinar ($2)" - }, "mismatchedChainLinkText": { "message": "verifique os detalhes da rede", "description": "Serves as link text for the 'mismatchedChain' key. This text will be embedded inside the translation for that key." @@ -2924,15 +2801,6 @@ "missingSettingRequest": { "message": "Solicite aqui" }, - "mmiBuiltAroundTheWorld": { - "message": "O MetaMask Institutional é projetado e desenvolvido ao redor do mundo." - }, - "mmiNewNFTDetectedInNFTsTabMessage": { - "message": "Permita que o MetaMask Institutional detecte e exiba NFTs automaticamente na sua carteira." - }, - "mmiPasswordSetupDetails": { - "message": "Essa senha desbloqueará somente sua extensão MetaMask Institutional." - }, "more": { "message": "mais" }, @@ -3307,9 +3175,6 @@ "noWebcamFoundTitle": { "message": "Webcam não encontrada" }, - "nonCustodialAccounts": { - "message": "O MetaMask Institutional permite que você use contas não custodiadas. Se você planeja usá-las, faça backup da sua Frase de Recuperação Secreta." - }, "nonce": { "message": "Nonce" }, @@ -3337,12 +3202,6 @@ "notEnoughGas": { "message": "Não há gás suficiente" }, - "note": { - "message": "Observação" - }, - "notePlaceholder": { - "message": "O aprovador verá essa observação ao aprovar a transação no custodiante." - }, "notificationDetail": { "message": "Detalhes" }, @@ -3677,9 +3536,6 @@ "onboardingPinExtensionTitle": { "message": "Sua instalação da MetaMask está concluída!" }, - "onboardingPinMmiExtensionLabel": { - "message": "Fixar MetaMask Institutional" - }, "oneDayAbbreviation": { "message": "1D", "description": "Shortened form of '1 day'" @@ -3703,10 +3559,6 @@ "message": "Conecte-se somente com sites em que você confia. $1", "description": "Text displayed above the buttons for connection confirmation. $1 is the link to the learn more web page." }, - "openCustodianApp": { - "message": "Abrir aplicativo $1", - "description": "The $1 is the name of the Custodian that will be open" - }, "openFullScreenForLedgerWebHid": { "message": "Abra o app em tela cheia para conectar seu Ledger.", "description": "Shown to the user on the confirm screen when they are viewing MetaMask in a popup window but need to connect their ledger via webhid." @@ -3717,18 +3569,12 @@ "openSeaNew": { "message": "OpenSea" }, - "operationFailed": { - "message": "Falha na operação" - }, "optional": { "message": "Opcional" }, "options": { "message": "Opções" }, - "or": { - "message": "ou" - }, "origin": { "message": "Origem" }, @@ -3763,9 +3609,6 @@ "password": { "message": "Senha" }, - "passwordMmiTermsWarning": { - "message": "Compreendo que o MetaMask Institutional não pode recuperar essa senha para mim. $1" - }, "passwordNotLongEnough": { "message": "A senha não é longa o suficiente" }, @@ -3785,9 +3628,6 @@ "passwordsDontMatch": { "message": "As senhas não coincidem" }, - "pasteJWTToken": { - "message": "Cole ou solte seu token aqui:" - }, "pastePrivateKey": { "message": "Cole aqui a sequência de caracteres da sua chave privada:", "description": "For importing an account from a private key" @@ -4071,12 +3911,6 @@ "petnamesEnabledToggleDescription": { "message": "Isso permite que você atribua um apelido a qualquer endereço. Sempre que possível, vamos sugerir nomes para os endereços com os quais você interage." }, - "pinExtensionDescription": { - "message": "Navegue até o menu da extensão e fixe o MetaMask Institutional para acessar facilmente." - }, - "pinExtensionTitle": { - "message": "Fixar extensão" - }, "pinToTop": { "message": "Fixar ao topo" }, @@ -4098,9 +3932,6 @@ "portfolio": { "message": "Portfólio" }, - "portfolioDashboard": { - "message": "Painel do portfólio" - }, "preparingSwap": { "message": "Preparando troca..." }, @@ -4346,12 +4177,6 @@ "removeAccountDescription": { "message": "Essa conta será removida da sua carteira. Antes de continuar, você precisa garantir que tem a Frase de Recuperação Secreta original ou chave privada para essa conta importada. Você pode importar ou criar contas novamente a partir do menu suspenso da conta. " }, - "removeJWT": { - "message": "Remover token custodiante" - }, - "removeJWTDescription": { - "message": "Tem certeza de que deseja remover este token? Todas as contas atribuídas a ele também serão removidas da extensão: " - }, "removeKeyringSnap": { "message": "Remover esse Snap removerá estas contas da MetaMask:" }, @@ -4697,27 +4522,18 @@ "selectAll": { "message": "Selecionar tudo" }, - "selectAllAccounts": { - "message": "Selecionar todas as contas" - }, "selectAnAccount": { "message": "Selecione uma conta" }, "selectAnAccountAlreadyConnected": { "message": "Essa conta já foi conectada à MetaMask" }, - "selectAnAccountHelp": { - "message": "Selecione as contas custodiantes para usar no MetaMask Institutional." - }, "selectEnableDisplayMediaPrivacyPreference": { "message": "Ativar Exibir arquivos de mídia de NFTs" }, "selectHdPath": { "message": "Selecione o caminho do disco rígido" }, - "selectJWT": { - "message": "Selecionar token" - }, "selectNFTPrivacyPreference": { "message": "Ativar detecção automática de NFTs" }, @@ -6087,9 +5903,6 @@ "transactionErrored": { "message": "A transação encontrou um erro." }, - "transactionFailed": { - "message": "Falha na transação" - }, "transactionFee": { "message": "Taxa de transação" }, @@ -6117,9 +5930,6 @@ "transactionHistoryTotalGasFee": { "message": "Taxa de gás total" }, - "transactionNote": { - "message": "Observação da transação" - }, "transactionResubmitted": { "message": "Transação reenviada com taxa de gás aumentada para $1 às $2" }, @@ -6398,9 +6208,6 @@ "viewTransaction": { "message": "Ver transação" }, - "viewinCustodianApp": { - "message": "Ver no app custodiante" - }, "viewinExplorer": { "message": "Ver $1 no explorador", "description": "$1 is the action type. e.g (Account, Transaction, Swap)" diff --git a/app/_locales/pt_BR/messages.json b/app/_locales/pt_BR/messages.json index 3c9c30147276..c3574136c0fc 100644 --- a/app/_locales/pt_BR/messages.json +++ b/app/_locales/pt_BR/messages.json @@ -1365,9 +1365,6 @@ "optional": { "message": "Opcional" }, - "or": { - "message": "ou" - }, "origin": { "message": "Origem" }, diff --git a/app/_locales/ru/messages.json b/app/_locales/ru/messages.json index 24da515930f3..5b51df4e71ca 100644 --- a/app/_locales/ru/messages.json +++ b/app/_locales/ru/messages.json @@ -290,9 +290,6 @@ "addNewSolanaAccount": { "message": "Добавить новый счет в Solana (бета-версия)" }, - "addNewToken": { - "message": "Добавить новый токен" - }, "addNft": { "message": "Добавить NFT" }, @@ -485,12 +482,6 @@ "all": { "message": "Все" }, - "allCustodianAccountsConnectedSubtitle": { - "message": "Вы либо уже подключили все свои счета депозитария, либо у вас нет счета для подключения к MetaMask Institutional." - }, - "allCustodianAccountsConnectedTitle": { - "message": "Нет доступных счетов для подключения" - }, "allOfYour": { "message": "Все ваши $1", "description": "$1 is the symbol or name of the token that the user is approving spending" @@ -508,12 +499,6 @@ "message": "Все ваши NFT из $1", "description": "$1 is a link to contract on the block explorer when we're not able to retrieve a erc721 or erc1155 name" }, - "allow": { - "message": "Разрешить" - }, - "allowMmiToConnectToCustodian": { - "message": "Это позволит MMI подключиться к $1 для импорта ваших счетов." - }, "allowNotifications": { "message": "Разрешить уведомления" }, @@ -655,9 +640,6 @@ "average": { "message": "Средний" }, - "awaitingApproval": { - "message": "Ожидание одобрения..." - }, "back": { "message": "Назад" }, @@ -723,9 +705,6 @@ "message": "Это бета-версия. Пожалуйста, сообщайте об ошибках $1", "description": "$1 represents the word 'here' in a hyperlink" }, - "betaMetamaskInstitutionalVersion": { - "message": "Бета-версия MetaMask Institutional" - }, "betaMetamaskVersion": { "message": "Бета-версия MetaMask" }, @@ -982,15 +961,6 @@ "confirmAlertModalAcknowledgeSingle": { "message": "Я подтвердил(-а) получение предупреждения и все еще хочу продолжить" }, - "confirmConnectCustodianRedirect": { - "message": "Мы перенаправим вас на $1 после нажатия кнопки «Продолжить»." - }, - "confirmConnectCustodianText": { - "message": "Чтобы подключить свои счета, войдите в свой счет $1 и нажмите кнопку «Подключиться к MMI»." - }, - "confirmConnectionTitle": { - "message": "Подтвердите подключение к $1" - }, "confirmFieldPaymaster": { "message": "Комиссия оплачена" }, @@ -1072,18 +1042,6 @@ "connectAccounts": { "message": "Подключить счета" }, - "connectCustodialAccountMenu": { - "message": "Подключить депозитарный счет" - }, - "connectCustodialAccountMsg": { - "message": "Выберите депозитария, к которому вы хотите подключиться, чтобы добавить или обновить токен." - }, - "connectCustodialAccountTitle": { - "message": "Депозитарные счета" - }, - "connectCustodianAccounts": { - "message": "Подключить счета $1" - }, "connectManually": { "message": "Подключиться к текущему сайту вручную" }, @@ -1206,12 +1164,6 @@ "continue": { "message": "Продолжить" }, - "continueMmiOnboarding": { - "message": "Продолжить регистрацию в MetaMask Institutional" - }, - "continueToWallet": { - "message": "Перейти в кошелек" - }, "contract": { "message": "Контракт" }, @@ -1345,60 +1297,6 @@ "curveMediumGasEstimate": { "message": "График рыночной оценки газа" }, - "custodian": { - "message": "Депозитарий" - }, - "custodianAccountAddedDesc": { - "message": "Теперь вы можете использовать свои счета в MetaMask Institutional." - }, - "custodianAccountAddedTitle": { - "message": "Добавлены $1 выбранных счета(-ов)." - }, - "custodianQRCodeScan": { - "message": "Отсканируйте QR-код с помощью мобильного приложения $1" - }, - "custodianQRCodeScanDescription": { - "message": "Или войдите в свой счет $1 и нажмите кнопку «Подключиться к MMI»" - }, - "custodianReplaceRefreshTokenChangedFailed": { - "message": "Перейдите к $1 и нажмите кнопку «Подключиться к MMI» в их пользовательском интерфейсе, чтобы снова подключить свои счета к MMI." - }, - "custodianReplaceRefreshTokenChangedSubtitle": { - "message": "Теперь вы можете использовать свои депозитарные счета в MetaMask Institutional." - }, - "custodianReplaceRefreshTokenChangedTitle": { - "message": "Ваш токен депозитария обновлен" - }, - "custodianReplaceRefreshTokenSubtitle": { - "message": "Он заменит токен депозитария для следующего адреса:" - }, - "custodianReplaceRefreshTokenTitle": { - "message": "Заменить токен депозитария" - }, - "custodyDeeplinkDescription": { - "message": "Подтвердите транзакцию в приложении $1. После того как все необходимые разрешения на депозитарное хранение будут предоставлены, транзакция будет завершена. Проверьте статус своего приложения $1." - }, - "custodyRefreshTokenModalDescription": { - "message": "Перейдите к $1 и нажмите кнопку «Подключиться к MMI» в их пользовательском интерфейсе, чтобы снова подключить свои счета к MMI." - }, - "custodyRefreshTokenModalDescription1": { - "message": "Ваш депозитарий выпускает токен, который аутентифицирует расширение MetaMask Institutional, позволяя вам подключать свои счета." - }, - "custodyRefreshTokenModalDescription2": { - "message": "Срок действия этого токена истекает через определенный срок по соображениям безопасности. Это требует повторного подключения к MMI." - }, - "custodyRefreshTokenModalSubtitle": { - "message": "Почему я это вижу?" - }, - "custodyRefreshTokenModalTitle": { - "message": "Срок сеанса вашего депозитария истек" - }, - "custodySessionExpired": { - "message": "Сеанс депозитария истек." - }, - "custodyWrongChain": { - "message": "Этот счет не настроен для использования с $1" - }, "custom": { "message": "Дополнительно" }, @@ -1861,9 +1759,6 @@ "enterChainId": { "message": "Введите ID блокчейна" }, - "enterCustodianToken": { - "message": "Введите свой токен $1 или добавьте новый токен" - }, "enterMaxSpendLimit": { "message": "Введите максимальный лимит расходов" }, @@ -2000,12 +1895,6 @@ "message": "Изучите Snaps, созданные сообществом, чтобы персонализировать работу с web3", "description": "Banner description displayed on Snaps list page in Settings when less than 6 Snaps is installed." }, - "extensionInsallCompleteDescription": { - "message": "Вернитесь к настройке продукта MetaMask Institutional, чтобы подключить свои депозитарные или само-дерпозитарные счета." - }, - "extensionInsallCompleteTitle": { - "message": "Установка расширения завершена" - }, "externalExtension": { "message": "Внешнее расширение" }, @@ -2466,12 +2355,6 @@ "install": { "message": "Установите," }, - "installExtension": { - "message": "Установить расширение" - }, - "installExtensionDescription": { - "message": "Соответствующая институциональным требованиям версия ведущего в мире web3-кошелька MetaMask." - }, "installOrigin": { "message": "Источник установки" }, @@ -2864,9 +2747,6 @@ "message": "$1 размещается на npm, а $2 — это уникальный идентификатор Snap.", "description": "$1 is the snap name and $2 is the snap NPM id." }, - "metamaskInstitutionalVersion": { - "message": "Версия MetaMask Institutional" - }, "metamaskNotificationsAreOff": { "message": "Уведомления кошелька в настоящее время неактивны." }, @@ -2892,9 +2772,6 @@ "message": "млн", "description": "Shortened form of 'million'" }, - "mismatchAccount": { - "message": "Выбранный вами счет ($1) отличается от счета, который вы пытаетесь подписать ($2)" - }, "mismatchedChainLinkText": { "message": "проверить сведения о сети", "description": "Serves as link text for the 'mismatchedChain' key. This text will be embedded inside the translation for that key." @@ -2921,15 +2798,6 @@ "missingSettingRequest": { "message": "Запросите здесь" }, - "mmiBuiltAroundTheWorld": { - "message": "MetaMask Institutional разработан и создан с учетом потребностей в разных частях мира." - }, - "mmiNewNFTDetectedInNFTsTabMessage": { - "message": "Разрешите MetaMask Institutional автоматически определять и отображать NFT в вашем кошельке." - }, - "mmiPasswordSetupDetails": { - "message": "Этот пароль разблокирует только ваше расширение MetaMask Institutional." - }, "more": { "message": "больше" }, @@ -3304,9 +3172,6 @@ "noWebcamFoundTitle": { "message": "Веб-камера не найдена" }, - "nonCustodialAccounts": { - "message": "MetaMask Institutional позволяет вам использовать некастодиальные счета, если вы планируете использовать эти счета для резервного копирования секретной фразы для восстановления." - }, "nonce": { "message": "Одноразовый номер" }, @@ -3334,12 +3199,6 @@ "notEnoughGas": { "message": "Недостаточно газа" }, - "note": { - "message": "Примечание" - }, - "notePlaceholder": { - "message": "Утверждающее лицо увидит это примечание при одобрении транзакции у депозитария." - }, "notificationDetail": { "message": "Подробности" }, @@ -3674,9 +3533,6 @@ "onboardingPinExtensionTitle": { "message": "Установка MetaMask завершена!" }, - "onboardingPinMmiExtensionLabel": { - "message": "Закрепить MetaMask Institutional" - }, "oneDayAbbreviation": { "message": "1 Д", "description": "Shortened form of '1 day'" @@ -3700,10 +3556,6 @@ "message": "Подключайтесь только к сайтам, которым доверяете. $1", "description": "Text displayed above the buttons for connection confirmation. $1 is the link to the learn more web page." }, - "openCustodianApp": { - "message": "Открыть приложение $1", - "description": "The $1 is the name of the Custodian that will be open" - }, "openFullScreenForLedgerWebHid": { "message": "Перейдите в полноэкранный режим, чтобы подключить свой Ledger.", "description": "Shown to the user on the confirm screen when they are viewing MetaMask in a popup window but need to connect their ledger via webhid." @@ -3714,18 +3566,12 @@ "openSeaNew": { "message": "OpenSea" }, - "operationFailed": { - "message": "Операция не удалась" - }, "optional": { "message": "Необязательно" }, "options": { "message": "Опционы" }, - "or": { - "message": "или" - }, "origin": { "message": "Источник" }, @@ -3760,9 +3606,6 @@ "password": { "message": "Пароль" }, - "passwordMmiTermsWarning": { - "message": "Я понимаю, что MetaMask Institutional не может восстановить этот пароль для меня. $1" - }, "passwordNotLongEnough": { "message": "Пароль недостаточно длинный" }, @@ -3782,9 +3625,6 @@ "passwordsDontMatch": { "message": "Пароли не совпадают" }, - "pasteJWTToken": { - "message": "Вставьте или перетащите свой токен сюда:" - }, "pastePrivateKey": { "message": "Вставьте строку вашего закрытого ключа сюда:", "description": "For importing an account from a private key" @@ -4068,12 +3908,6 @@ "petnamesEnabledToggleDescription": { "message": "Эта функция позволяет вам присвоить псевдоним любому адресу. По возможности мы будем предлагать имена адресов, с которыми вы взаимодействуете." }, - "pinExtensionDescription": { - "message": "Перейдите в меню расширения и закрепите MetaMask Institutional для беспрепятственного доступа." - }, - "pinExtensionTitle": { - "message": "Закрепить расширение" - }, "pinToTop": { "message": "Закрепить вверху" }, @@ -4095,9 +3929,6 @@ "portfolio": { "message": "Portfolio" }, - "portfolioDashboard": { - "message": "Панель инструментов Portfolio" - }, "preparingSwap": { "message": "Подготовка свопа..." }, @@ -4343,12 +4174,6 @@ "removeAccountDescription": { "message": "Этот счет будет удален из вашего кошелька. Перед продолжением убедитесь, что у вас есть секретная фраза для восстановления или закрытый ключ для этого импортированного счета. Вы можете импортировать или снова создать счета из раскрывающегося списка счетов. " }, - "removeJWT": { - "message": "Удалить токен депозитария" - }, - "removeJWTDescription": { - "message": "Уверены, что хотите удалить этот токен? Все счета, назначенные этому токену, также будут удалены из расширения: " - }, "removeKeyringSnap": { "message": "Удаление этого Snap приведет к удалению этих счетов из MetaMask:" }, @@ -4694,27 +4519,18 @@ "selectAll": { "message": "Выбрать все" }, - "selectAllAccounts": { - "message": "Выбрать все счета" - }, "selectAnAccount": { "message": "Выберите счет" }, "selectAnAccountAlreadyConnected": { "message": "Этот счет уже подключен к MetaMask" }, - "selectAnAccountHelp": { - "message": "Выберите депозитарные счета для использования в MetaMask Institutional." - }, "selectEnableDisplayMediaPrivacyPreference": { "message": "Включить отображение носителя NFT" }, "selectHdPath": { "message": "Выберите путь HD" }, - "selectJWT": { - "message": "Выбрать токен" - }, "selectNFTPrivacyPreference": { "message": "Включите автоопределение NFT" }, @@ -6084,9 +5900,6 @@ "transactionErrored": { "message": "Транзакция обнаружила ошибку." }, - "transactionFailed": { - "message": "Транзакция не удалась" - }, "transactionFee": { "message": "Комиссия за транзакцию" }, @@ -6114,9 +5927,6 @@ "transactionHistoryTotalGasFee": { "message": "Итого платы за газ" }, - "transactionNote": { - "message": "Примечание к транзакции" - }, "transactionResubmitted": { "message": "Транзакция отправлена повторно с платой за газ, увеличенной до $1, в $2" }, @@ -6395,9 +6205,6 @@ "viewTransaction": { "message": "Смотреть транзакцию" }, - "viewinCustodianApp": { - "message": "Смотреть в приложении депозитария" - }, "viewinExplorer": { "message": "Смотреть $1 в обозревателе", "description": "$1 is the action type. e.g (Account, Transaction, Swap)" diff --git a/app/_locales/tl/messages.json b/app/_locales/tl/messages.json index c9d46e999a9a..64ccd4e1d66f 100644 --- a/app/_locales/tl/messages.json +++ b/app/_locales/tl/messages.json @@ -290,9 +290,6 @@ "addNewSolanaAccount": { "message": "Magdagdag ng bagong account sa Solana (Beta)" }, - "addNewToken": { - "message": "Magdagdag ng bagong token" - }, "addNft": { "message": "Magdagdag ng NFT" }, @@ -485,12 +482,6 @@ "all": { "message": "Lahat" }, - "allCustodianAccountsConnectedSubtitle": { - "message": "Alinman sa nakakonekta na ang lahat ng iyong custodian account o wala kang anumang account na nakakonekta sa MetaMask Institutional." - }, - "allCustodianAccountsConnectedTitle": { - "message": "Walang mga account na available para ikonekta" - }, "allOfYour": { "message": "Lahat ng iyong $1", "description": "$1 is the symbol or name of the token that the user is approving spending" @@ -508,12 +499,6 @@ "message": "Lahat ng iyong NFT mula sa $1", "description": "$1 is a link to contract on the block explorer when we're not able to retrieve a erc721 or erc1155 name" }, - "allow": { - "message": "Payagan" - }, - "allowMmiToConnectToCustodian": { - "message": "Papayagan nito ang MMI na kumonekto sa $1 para i-import ang iyong mga account." - }, "allowNotifications": { "message": "Payagan ang mga notipikasyon" }, @@ -655,9 +640,6 @@ "average": { "message": "Average" }, - "awaitingApproval": { - "message": "Naghihintay ng pahintulot..." - }, "back": { "message": "Bumalik" }, @@ -723,9 +705,6 @@ "message": "Ito ay isang beta version. I-ulat ang mga bug $1", "description": "$1 represents the word 'here' in a hyperlink" }, - "betaMetamaskInstitutionalVersion": { - "message": "Bersyong Beta ng MetaMask Institutional" - }, "betaMetamaskVersion": { "message": "Bersyon ng MetaMask Beta" }, @@ -982,15 +961,6 @@ "confirmAlertModalAcknowledgeSingle": { "message": "Kinikilala ko ang mga alerto at nais ko pa rin magpatuloy" }, - "confirmConnectCustodianRedirect": { - "message": "Ire-redirect ka namin sa $1 sa pagpindot ng magpatuloy." - }, - "confirmConnectCustodianText": { - "message": "Para ikonekta ang iyong mga account mag-log in sa iyong account sa $1 at pindutin ang button na 'kumonekta sa MMI'." - }, - "confirmConnectionTitle": { - "message": "Kumpirmahin ang koneksyon sa $1" - }, "confirmFieldPaymaster": { "message": "Ang bayarin ay binayaran ni" }, @@ -1072,18 +1042,6 @@ "connectAccounts": { "message": "Ikonekta ang mga account" }, - "connectCustodialAccountMenu": { - "message": "Ikonekta ang Custodial Account" - }, - "connectCustodialAccountMsg": { - "message": "Pakipiliin ang custodian na gusto mong ikonekta para maidagdag o i-refresh ang token." - }, - "connectCustodialAccountTitle": { - "message": "Mga Custodial Account" - }, - "connectCustodianAccounts": { - "message": "Kumonekta sa $1 account" - }, "connectManually": { "message": "Manu-manong kumonekta sa kasalukuyang site" }, @@ -1206,12 +1164,6 @@ "continue": { "message": "Magpatuloy" }, - "continueMmiOnboarding": { - "message": "Magpatuloy sa onboarding sa MetaMask Institutional" - }, - "continueToWallet": { - "message": "Magpatuloy sa wallet" - }, "contract": { "message": "Kontrata" }, @@ -1345,60 +1297,6 @@ "curveMediumGasEstimate": { "message": "Grap ng Merkado sa pagtantiya sa gas" }, - "custodian": { - "message": "Tagapangalaga" - }, - "custodianAccountAddedDesc": { - "message": "Maaari mo na ngayong gamitin ang iyong mga custodian account sa MetaMask Institutional." - }, - "custodianAccountAddedTitle": { - "message": "Naidagdag na ang mga napiling custodian account." - }, - "custodianQRCodeScan": { - "message": "I-scan ang QR code gamit ang iyong $1 mobile app" - }, - "custodianQRCodeScanDescription": { - "message": "O mag-login sa iyong $1 account at pindutin ang button na 'Kumonekta sa MMI'" - }, - "custodianReplaceRefreshTokenChangedFailed": { - "message": "Magpunta sa $1 at i-click ang button na 'Ikonekta sa MMI' sa loob ng kanilang user interface para ikonektang muli ang iyong mga account sa MMI." - }, - "custodianReplaceRefreshTokenChangedSubtitle": { - "message": "Maaari mo na ngayong gamitin ang mga custodian account mo sa MetaMask Institutional." - }, - "custodianReplaceRefreshTokenChangedTitle": { - "message": "Na-refresh na ang iyong custodian token" - }, - "custodianReplaceRefreshTokenSubtitle": { - "message": "Papalitan nito ang custodian token para sa mga sumusunod na address:" - }, - "custodianReplaceRefreshTokenTitle": { - "message": "Palitan ang custodian token" - }, - "custodyDeeplinkDescription": { - "message": "Aprubahan ang transaksyon sa $1 app. Kapag naisagawa na ang lahat ng kailangang pahintulot sa kustodiya ang transaksyon ay makukumpleto. Tingnan ang iyong $1 app para sa katayuan." - }, - "custodyRefreshTokenModalDescription": { - "message": "Mangyaring pumunta sa $1 at i-click ang button na 'Kumonekta sa MMI' sa loob ng kanilang user interface upang ikonekta muli ang iyong mga account sa MMI." - }, - "custodyRefreshTokenModalDescription1": { - "message": "Nag-isyu ng token ang iyong custodian na nagpapatotoo sa extension ng MetaMask Institutional, na nagbibigay-daan sa iyong ikonekta ang iyong mga account." - }, - "custodyRefreshTokenModalDescription2": { - "message": "Mapapaso ang token na ito pagkatapos ng isang partikular na panahon sa mga kadahilanang pangseguridad. Kinakailangan nitong kumonekta muli sa MMI." - }, - "custodyRefreshTokenModalSubtitle": { - "message": "Bakit nakikita ko ito?" - }, - "custodyRefreshTokenModalTitle": { - "message": "Napaso na ang iyong sesyon sa custodian" - }, - "custodySessionExpired": { - "message": "Nag-expire na ang sesyon ng custodian." - }, - "custodyWrongChain": { - "message": "Ang account na ito ay hindi naka-set up para gamitin sa $1" - }, "custom": { "message": "Makabago" }, @@ -1861,9 +1759,6 @@ "enterChainId": { "message": "Ilagay ang ID ng Chain" }, - "enterCustodianToken": { - "message": "Ilagay ang iyong $1 na token o magdagdag ng bagong token" - }, "enterMaxSpendLimit": { "message": "Ilagay ang max na limitasyon sa paggastos" }, @@ -2000,12 +1895,6 @@ "message": "Tuklasin ang mga Snap na binuo ng komunidad para i-customize ang iyong karanasan sa web3", "description": "Banner description displayed on Snaps list page in Settings when less than 6 Snaps is installed." }, - "extensionInsallCompleteDescription": { - "message": "Bumalik sa onboarding ng produkto ng MetaMask Institutional para ikonekta ang iyong custodial o self-custodial na mga account." - }, - "extensionInsallCompleteTitle": { - "message": "Kumpleto na ang pag-install ng extension" - }, "externalExtension": { "message": "External Extension" }, @@ -2466,12 +2355,6 @@ "install": { "message": "I-install" }, - "installExtension": { - "message": "I-install ang extension" - }, - "installExtensionDescription": { - "message": "Ang institution-compliant na bersyon ng nangungunang web3 wallet sa mundo, MetaMask." - }, "installOrigin": { "message": "I-install ang pinagmulan" }, @@ -2864,9 +2747,6 @@ "message": "Ang $1 ay naka-host sa npm at $2 ang natatanging pagkakailanlan ng Snap.", "description": "$1 is the snap name and $2 is the snap NPM id." }, - "metamaskInstitutionalVersion": { - "message": "Bersyon ng MetaMask Institutional" - }, "metamaskNotificationsAreOff": { "message": "Hindi active sa kasalukuyan ang mga notipikasyon sa wallet." }, @@ -2892,9 +2772,6 @@ "message": "M", "description": "Shortened form of 'million'" }, - "mismatchAccount": { - "message": "Ang pinili mong account na ($1) ay kakaiba sa account na sinusubukan mong mag-sign in ($2)" - }, "mismatchedChainLinkText": { "message": "i-verify ang mga detalye ng network", "description": "Serves as link text for the 'mismatchedChain' key. This text will be embedded inside the translation for that key." @@ -2921,15 +2798,6 @@ "missingSettingRequest": { "message": "Humiling dito" }, - "mmiBuiltAroundTheWorld": { - "message": "Ang MetaMask Institutional ay dinisenyo at binuo sa buong mundo." - }, - "mmiNewNFTDetectedInNFTsTabMessage": { - "message": "Hayaan ang MetaMask Institutional na awtomatikong na detect ang mga NFT sa iyong wallet." - }, - "mmiPasswordSetupDetails": { - "message": "Ang password na ito ay maga-unlock sa iyong MetaMask Institutional extension lamang." - }, "more": { "message": "higit pa" }, @@ -3304,9 +3172,6 @@ "noWebcamFoundTitle": { "message": "Hindi nakita ang webcam" }, - "nonCustodialAccounts": { - "message": "Pinapayagan ka ng MetaMask Institutional na gumamit ng mga non-custodial na account, kung plano mong gamitin ang mga account na ito na i-backup ang Lihim na Parirala sa Pagbawi." - }, "nonce": { "message": "Nonce" }, @@ -3334,12 +3199,6 @@ "notEnoughGas": { "message": "Hindi Sapat ang Gas" }, - "note": { - "message": "Tala" - }, - "notePlaceholder": { - "message": "Makikita ng nag-apruba ang tala na ito kapag inaprubahan ang transaksyon sa custodian." - }, "notificationDetail": { "message": "Mga detalye" }, @@ -3674,9 +3533,6 @@ "onboardingPinExtensionTitle": { "message": "Ang pag-install ng iyong MetaMask ay kumpleto na!" }, - "onboardingPinMmiExtensionLabel": { - "message": "I-pin ang MetaMask Institutional" - }, "oneDayAbbreviation": { "message": "1D", "description": "Shortened form of '1 day'" @@ -3700,10 +3556,6 @@ "message": "Kumonekta lang sa mga site na pinagkakatiwalaan mo. $1", "description": "Text displayed above the buttons for connection confirmation. $1 is the link to the learn more web page." }, - "openCustodianApp": { - "message": "Buksan ang $1 app", - "description": "The $1 is the name of the Custodian that will be open" - }, "openFullScreenForLedgerWebHid": { "message": "Pumunta sa full screen para ikonekta ang iyong Ledger.", "description": "Shown to the user on the confirm screen when they are viewing MetaMask in a popup window but need to connect their ledger via webhid." @@ -3714,18 +3566,12 @@ "openSeaNew": { "message": "OpenSea" }, - "operationFailed": { - "message": "Nabigo ang Operasyon" - }, "optional": { "message": "Opsyonal" }, "options": { "message": "Mga pagpipilian" }, - "or": { - "message": "o" - }, "origin": { "message": "Pinagmulan" }, @@ -3760,9 +3606,6 @@ "password": { "message": "Password" }, - "passwordMmiTermsWarning": { - "message": "Nauunawaan kong hindi maaaring bawiin ng MetaMask Institutional ang password na ito para sa akin. $1" - }, "passwordNotLongEnough": { "message": "Hindi sapat ang haba ng password" }, @@ -3782,9 +3625,6 @@ "passwordsDontMatch": { "message": "Hindi Magkatugma ang Mga Password" }, - "pasteJWTToken": { - "message": "I-paste o i-drop ang iyong token dito:" - }, "pastePrivateKey": { "message": "I-paste ang string ng iyong pribadong key dito:", "description": "For importing an account from a private key" @@ -4068,12 +3908,6 @@ "petnamesEnabledToggleDescription": { "message": "Magbibigay-daan ito sa iyo na magtalaga ng palayaw sa anumang address. Magbibigay kami ng mungkahi para sa mga address na may ugnayan ka kapag posible." }, - "pinExtensionDescription": { - "message": "Mag-navigate sa menu ng extension at i-pin ang MetaMask Institutional para sa maginhawang pag-akses." - }, - "pinExtensionTitle": { - "message": "I-pin ang extension" - }, "pinToTop": { "message": "I-pin sa itaas" }, @@ -4095,9 +3929,6 @@ "portfolio": { "message": "Portfolio" }, - "portfolioDashboard": { - "message": "Dashboard ng Portfolio" - }, "preparingSwap": { "message": "Inihahanda ang pag-swap..." }, @@ -4343,12 +4174,6 @@ "removeAccountDescription": { "message": "Aalisin ang account na ito sa iyong wallet. Tiyaking nasa iyo ang orihinal na Lihim na Parirala sa Pagbawi o pribadong key para sa na-import na account na ito bago magpatuloy. Puwede kang mag-import o gumawa ulit ng mga account mula sa drop-down ng account. " }, - "removeJWT": { - "message": "Aalisin ang custodian token" - }, - "removeJWTDescription": { - "message": "Sigurado ka ba na gusto mong alisin ang token na ito? Ang lahat ng account na itinalaga sa token na ito ay aalisin din mula sa extension: " - }, "removeKeyringSnap": { "message": "Ang pag-alis ng Snap na ito ay nag-aalis sa mga account na ito sa MetaMask:" }, @@ -4694,27 +4519,18 @@ "selectAll": { "message": "Piliin lahat" }, - "selectAllAccounts": { - "message": "Piliin ang lahat ng mga account" - }, "selectAnAccount": { "message": "Pumili ng Account" }, "selectAnAccountAlreadyConnected": { "message": "Ang acount na ito ay nakakonekta na sa MetaMask" }, - "selectAnAccountHelp": { - "message": "Piliin ang mga custodian account para gamitin sa MetaMask Institutional." - }, "selectEnableDisplayMediaPrivacyPreference": { "message": "I-on ang Ipakita ang NFT media" }, "selectHdPath": { "message": "Pumili ng HD Path" }, - "selectJWT": { - "message": "Pumili ng token" - }, "selectNFTPrivacyPreference": { "message": "Paganahin ang autodetection ng NFT" }, @@ -6084,9 +5900,6 @@ "transactionErrored": { "message": "Nagkaroon ng error sa transaksyon." }, - "transactionFailed": { - "message": "Nabigo ang Transaksyon" - }, "transactionFee": { "message": "Bayad sa transaksyon" }, @@ -6114,9 +5927,6 @@ "transactionHistoryTotalGasFee": { "message": "Kabuuang Bayad sa Gas" }, - "transactionNote": { - "message": "Tala ng transaksyon" - }, "transactionResubmitted": { "message": "Isinumite ulit ang transaksyon na may tinantyang bayad sa gas na itinaas sa $1 sa $2" }, @@ -6395,9 +6205,6 @@ "viewTransaction": { "message": "Tingnan ang transaksyon" }, - "viewinCustodianApp": { - "message": "Tingnan sa app custodian" - }, "viewinExplorer": { "message": "Tingnan ang $1 sa Explorer", "description": "$1 is the action type. e.g (Account, Transaction, Swap)" diff --git a/app/_locales/tr/messages.json b/app/_locales/tr/messages.json index 9b6d35760346..0e0f27f8900d 100644 --- a/app/_locales/tr/messages.json +++ b/app/_locales/tr/messages.json @@ -290,9 +290,6 @@ "addNewSolanaAccount": { "message": "Yeni bir Solana hesabı ekle (Beta)" }, - "addNewToken": { - "message": "Yeni token ekleyin" - }, "addNft": { "message": "NFT ekleyin" }, @@ -485,12 +482,6 @@ "all": { "message": "Tümü" }, - "allCustodianAccountsConnectedSubtitle": { - "message": "Zaten tüm saklayıcı kurum hesaplarını bağladınız ya da MetaMask Institutional'a bağlayabileceğiniz hesap yok." - }, - "allCustodianAccountsConnectedTitle": { - "message": "Bağlayabilecek hesap yok" - }, "allOfYour": { "message": "Sahip olduğunuz tüm $1", "description": "$1 is the symbol or name of the token that the user is approving spending" @@ -508,12 +499,6 @@ "message": "Tüm $1 NFT'leriniz", "description": "$1 is a link to contract on the block explorer when we're not able to retrieve a erc721 or erc1155 name" }, - "allow": { - "message": "İzin Ver" - }, - "allowMmiToConnectToCustodian": { - "message": "MMI'nin hesaplarınızı içe aktarmak için $1 ile bağlantı kurmasına izin verir." - }, "allowNotifications": { "message": "Bildirimlere izin ver" }, @@ -655,9 +640,6 @@ "average": { "message": "Ortalama" }, - "awaitingApproval": { - "message": "Onay bekliyor..." - }, "back": { "message": "Geri" }, @@ -723,9 +705,6 @@ "message": "Bu bir beta sürümdür. Lütfen hataları bildirin $1", "description": "$1 represents the word 'here' in a hyperlink" }, - "betaMetamaskInstitutionalVersion": { - "message": "MetaMask Institutional Beta Sürümü" - }, "betaMetamaskVersion": { "message": "MetaMask Beta Sürümü" }, @@ -982,15 +961,6 @@ "confirmAlertModalAcknowledgeSingle": { "message": "Uyarıyı kabul ediyor ve yine de ilerlemek istiyorum" }, - "confirmConnectCustodianRedirect": { - "message": "Devam et düğmesine tıkladığınızda sizi şuraya yönlendireceğiz: $1." - }, - "confirmConnectCustodianText": { - "message": "Hesaplarınızı bağlamak için $1 hesabınızda oturum açın ve 'MMI'ye bağlan' düğmesine tıklayın." - }, - "confirmConnectionTitle": { - "message": "$1 ile bağlantıyı onayla" - }, "confirmFieldPaymaster": { "message": "Ücreti ödeyen taraf" }, @@ -1072,18 +1042,6 @@ "connectAccounts": { "message": "Hesapları bağla" }, - "connectCustodialAccountMenu": { - "message": "Saklayıcı Kurum Hesabı Bağla" - }, - "connectCustodialAccountMsg": { - "message": "Token eklemek veya bir tokeni yenilemek için lütfen bağlamak istediğiniz saklayıcı kurumu seçin." - }, - "connectCustodialAccountTitle": { - "message": "Saklayıcı Kurum Hesapları" - }, - "connectCustodianAccounts": { - "message": "$1 hesaplarını bağla" - }, "connectManually": { "message": "Mevcut siteye manuel olarak bağlan" }, @@ -1206,12 +1164,6 @@ "continue": { "message": "Devam et" }, - "continueMmiOnboarding": { - "message": "MetaMask Institutional katılım programına devam et" - }, - "continueToWallet": { - "message": "Cüzdana devam et" - }, "contract": { "message": "Sözleşme" }, @@ -1345,60 +1297,6 @@ "curveMediumGasEstimate": { "message": "Piyasa gaz tahmini grafiği" }, - "custodian": { - "message": "Saklayıcı Kurum" - }, - "custodianAccountAddedDesc": { - "message": "Artık hesaplarınızı MetaMask Institutional'da kullanabilirsiniz." - }, - "custodianAccountAddedTitle": { - "message": "Seçili $1 hesapları ekledi." - }, - "custodianQRCodeScan": { - "message": "$1 mobil uygulamanızla QR kodunu tarayın" - }, - "custodianQRCodeScanDescription": { - "message": "Veya $1 hesabınızda oturum açın ve \"MMI'ye Bağlan\" düğmesine tıklayın" - }, - "custodianReplaceRefreshTokenChangedFailed": { - "message": "Hesaplarınızı tekrar MMI'ya bağlamak için lütfen $1 bölümüne gidin ve kullanıcı arayüzünde 'MMI'ya bağla' düğmesine tıklayın." - }, - "custodianReplaceRefreshTokenChangedSubtitle": { - "message": "Artık saklayıcı kurumlardaki hesaplarınızı MetaMask Institutional'da kullanabilirsiniz." - }, - "custodianReplaceRefreshTokenChangedTitle": { - "message": "Saklayıcı kurum tokeniniz yenilendi" - }, - "custodianReplaceRefreshTokenSubtitle": { - "message": "Bu işlem aşağıdaki adres için saklayıcı kurum tokenini değiştirir:" - }, - "custodianReplaceRefreshTokenTitle": { - "message": "Saklayıcı kurum tokenini değiştir" - }, - "custodyDeeplinkDescription": { - "message": "İşlemi $1 uygulamasında onaylayın. Gerekli tüm saklayıcı kurum onayları gerçekleştikten sonra işlem tamamlanacaktır. Durum için $1 kontrolünüzü yapın." - }, - "custodyRefreshTokenModalDescription": { - "message": "Hesaplarınızı tekrar MMI'ya bağlamak için lütfen $1 bölümüne gidin ve kullanıcı arayüzünde 'MMI'ya bağla' düğmesine tıklayın." - }, - "custodyRefreshTokenModalDescription1": { - "message": "Saklayıcı kurum MetaMask Institutional uzantısını doğrulayan bir token düzenleyerek hesaplarınızı bağlayabilmenize olanak sağlar." - }, - "custodyRefreshTokenModalDescription2": { - "message": "Güvenlik nedenleriyle belirli bir dönemden sonra bu tokenin süresi dolar. Bunun için MMI'ya tekrar bağlamanız gerekir." - }, - "custodyRefreshTokenModalSubtitle": { - "message": "Bunu neden görüyorum?" - }, - "custodyRefreshTokenModalTitle": { - "message": "Saklayıcı kurum oturumu sona erdi" - }, - "custodySessionExpired": { - "message": "Saklayıcı kurum oturumu sona erdi." - }, - "custodyWrongChain": { - "message": "Bu hesap $1 ile kullanılmak için ayarlanmamış" - }, "custom": { "message": "Gelişmiş" }, @@ -1861,9 +1759,6 @@ "enterChainId": { "message": "Zincir kimliği girin" }, - "enterCustodianToken": { - "message": "$1 tokeninizi girin veya yeni bir token ekleyin" - }, "enterMaxSpendLimit": { "message": "Maks. harcama limiti gir" }, @@ -2000,12 +1895,6 @@ "message": "web3 deneyiminizi kişiselleştirmek için topluluk tarafından oluşturulmuş Snapleri keşfedin", "description": "Banner description displayed on Snaps list page in Settings when less than 6 Snaps is installed." }, - "extensionInsallCompleteDescription": { - "message": "Saklayıcı kurum veya emanete dayalı olmayan hesaplarınızı bağlamak için MetaMask Institutional ürün katılım programına geri dön." - }, - "extensionInsallCompleteTitle": { - "message": "Uzantı yükleme işlemi tamamlandı" - }, "externalExtension": { "message": "Harici uzantı" }, @@ -2466,12 +2355,6 @@ "install": { "message": "Yükle" }, - "installExtension": { - "message": "Uzantıyı yükle" - }, - "installExtensionDescription": { - "message": "Dünyanın lider web3 cüzdanı, MetaMask'in kurumsal uyumlu sürümü." - }, "installOrigin": { "message": "Kökeni yükle" }, @@ -2864,9 +2747,6 @@ "message": "$1 npm'de barındırılmaktadır ve $2 bu Snap'in eşsiz tanımlayıcısıdır.", "description": "$1 is the snap name and $2 is the snap NPM id." }, - "metamaskInstitutionalVersion": { - "message": "MetaMask Institutional Sürümü" - }, "metamaskNotificationsAreOff": { "message": "Cüzdan bildirimleri şu anda aktif değil." }, @@ -2892,9 +2772,6 @@ "message": "MN", "description": "Shortened form of 'million'" }, - "mismatchAccount": { - "message": "Seçili hesap ($1) imza atmaya çalışan hesaptan ($2) farklı" - }, "mismatchedChainLinkText": { "message": "ağ bilgilerini doğrula", "description": "Serves as link text for the 'mismatchedChain' key. This text will be embedded inside the translation for that key." @@ -2921,15 +2798,6 @@ "missingSettingRequest": { "message": "Buradan talep et" }, - "mmiBuiltAroundTheWorld": { - "message": "MetaMask Institutional dünya çapında tasarlanmış ve yapılmıştır." - }, - "mmiNewNFTDetectedInNFTsTabMessage": { - "message": "MetaMask Institutional'ın otomatik olarak cüzdanınızdaki NFT'leri algılayıp göstermesine izin verin." - }, - "mmiPasswordSetupDetails": { - "message": "Bu şifre sadece MetaMask Institutional uzantınızın kilidini açacaktır." - }, "more": { "message": "daha fazla" }, @@ -3304,9 +3172,6 @@ "noWebcamFoundTitle": { "message": "Web kamerası bulunamadı" }, - "nonCustodialAccounts": { - "message": "MetaMask Institutional, gözetimsiz hesapları kullanabilmenize olanak sağlar, bu hesapları kullanmayı planlıyorsanız Gizli Kurtarma İfadenizi yedekleyin." - }, "nonce": { "message": "Nonce" }, @@ -3334,12 +3199,6 @@ "notEnoughGas": { "message": "Yeterli gaz yok" }, - "note": { - "message": "Not" - }, - "notePlaceholder": { - "message": "Onaylayan taraf saklayıcı kurumda işlemi onaylarken bu notu görecektir." - }, "notificationDetail": { "message": "Ayrıntılar" }, @@ -3674,9 +3533,6 @@ "onboardingPinExtensionTitle": { "message": "MetaMask kurulumunuz tamamlandı!" }, - "onboardingPinMmiExtensionLabel": { - "message": "MetaMask Institutional'ı sabitle" - }, "oneDayAbbreviation": { "message": "1G", "description": "Shortened form of '1 day'" @@ -3700,10 +3556,6 @@ "message": "Sadece güvendiğiniz sitelere bağlayın. $1", "description": "Text displayed above the buttons for connection confirmation. $1 is the link to the learn more web page." }, - "openCustodianApp": { - "message": "$1 uygulamasını aç", - "description": "The $1 is the name of the Custodian that will be open" - }, "openFullScreenForLedgerWebHid": { "message": "Ledger'ınızı bağlamak için tam ekrana gidin.", "description": "Shown to the user on the confirm screen when they are viewing MetaMask in a popup window but need to connect their ledger via webhid." @@ -3714,18 +3566,12 @@ "openSeaNew": { "message": "OpenSea" }, - "operationFailed": { - "message": "İşlem Başarısız Oldu" - }, "optional": { "message": "İsteğe bağlı" }, "options": { "message": "Seçenekler" }, - "or": { - "message": "veya" - }, "origin": { "message": "Köken" }, @@ -3760,9 +3606,6 @@ "password": { "message": "Şifre" }, - "passwordMmiTermsWarning": { - "message": "MetaMask Institutional'ın benim için bu şifreyi kurtaramayacağını anlıyorum. $1" - }, "passwordNotLongEnough": { "message": "Şifre yeterince uzun değil" }, @@ -3782,9 +3625,6 @@ "passwordsDontMatch": { "message": "Şifreler uyumlu değil" }, - "pasteJWTToken": { - "message": "Tokeninizi buraya yapıştırın veya bırakın:" - }, "pastePrivateKey": { "message": "Özel anahtar dizinizi buraya yapıştırın:", "description": "For importing an account from a private key" @@ -4068,12 +3908,6 @@ "petnamesEnabledToggleDescription": { "message": "Bu, dilediğiniz adrese takma ad atamanıza olanak sağlar. Mümkün olduğunda etkileşimde bulunduğunuz adresler için ad önerilerinde bulunacağız." }, - "pinExtensionDescription": { - "message": "Sorunsuz erişim için uzantı menüsüne gidin ve MetaMask Institutional'ı sabitleyin." - }, - "pinExtensionTitle": { - "message": "Uzantıyı sabitle" - }, "pinToTop": { "message": "Yukarıya sabitle" }, @@ -4095,9 +3929,6 @@ "portfolio": { "message": "Portföy" }, - "portfolioDashboard": { - "message": "Portföy Kontrol Paneli" - }, "preparingSwap": { "message": "Swap hazırlanıyor..." }, @@ -4343,12 +4174,6 @@ "removeAccountDescription": { "message": "Bu hesap cüzdanınızdan kaldırılacaktır. Devam etmeden önce içe aktarılmış olan bu hesap için ilk olarak oluşturulan Gizli Kurtarma İfadesine ya da özel anahtara sahip olduğunuzdan lütfen emin olun. Hesap açılır menüsünden hesapları yeniden içe aktarabilir ya da hesap oluşturabilirsiniz. " }, - "removeJWT": { - "message": "Saklayıcı kurum tokenini kaldır" - }, - "removeJWTDescription": { - "message": "Bu tokeni kaldırmak istediğinizden emin misiniz? Bu tokene atanan tüm hesaplar uzantıdan da kaldırılacaktır: " - }, "removeKeyringSnap": { "message": "Bu Snap kaldırıldığında bu hesaplar MetaMask'ten kaldırılır:" }, @@ -4694,27 +4519,18 @@ "selectAll": { "message": "Tümünü seç" }, - "selectAllAccounts": { - "message": "Tüm hesapları seç" - }, "selectAnAccount": { "message": "Hesap seç" }, "selectAnAccountAlreadyConnected": { "message": "Bu hesap zaten MetaMask'e bağlanmış" }, - "selectAnAccountHelp": { - "message": "MetaMask Institutional'da kullanılacak saklayıcı kurum hesaplarını seçin." - }, "selectEnableDisplayMediaPrivacyPreference": { "message": "NFT medyasını göster seçeneğini açın" }, "selectHdPath": { "message": "HD yolunu seç" }, - "selectJWT": { - "message": "Token seç" - }, "selectNFTPrivacyPreference": { "message": "NFT Otomatik Algılamayı etkinleştir" }, @@ -6084,9 +5900,6 @@ "transactionErrored": { "message": "İşlem bir hatayla karşılaştı." }, - "transactionFailed": { - "message": "İşlem Başarısız Oldu" - }, "transactionFee": { "message": "İşlem ücreti" }, @@ -6114,9 +5927,6 @@ "transactionHistoryTotalGasFee": { "message": "Toplam gaz ücreti" }, - "transactionNote": { - "message": "İşlem notu" - }, "transactionResubmitted": { "message": "İşlem, $2 itibariyle $1 olarak artırılan tahmini gaz ücreti ile yeniden gönderildi" }, @@ -6395,9 +6205,6 @@ "viewTransaction": { "message": "İşlemi görüntüle" }, - "viewinCustodianApp": { - "message": "Saklayıcı kurum uygulamasında görüntüle" - }, "viewinExplorer": { "message": "Explorer'da $1 görüntüle", "description": "$1 is the action type. e.g (Account, Transaction, Swap)" diff --git a/app/_locales/vi/messages.json b/app/_locales/vi/messages.json index c85c3a005111..1f4a1bac4e2c 100644 --- a/app/_locales/vi/messages.json +++ b/app/_locales/vi/messages.json @@ -290,9 +290,6 @@ "addNewSolanaAccount": { "message": "Thêm tài khoản Solana mới (Beta)" }, - "addNewToken": { - "message": "Thêm token mới" - }, "addNft": { "message": "Thêm NFT" }, @@ -485,12 +482,6 @@ "all": { "message": "Tất cả" }, - "allCustodianAccountsConnectedSubtitle": { - "message": "Bạn đã kết nối tất cả các tài khoản lưu ký của mình hoặc không có bất kỳ tài khoản nào để kết nối với MetaMask Institutional." - }, - "allCustodianAccountsConnectedTitle": { - "message": "Không có tài khoản để kết nối" - }, "allOfYour": { "message": "Tất cả $1 của bạn", "description": "$1 is the symbol or name of the token that the user is approving spending" @@ -508,12 +499,6 @@ "message": "Tất cả NFT của bạn từ $1", "description": "$1 is a link to contract on the block explorer when we're not able to retrieve a erc721 or erc1155 name" }, - "allow": { - "message": "Cho phép" - }, - "allowMmiToConnectToCustodian": { - "message": "Điều này sẽ cho phép MMI kết nối với $1 để nhập tài khoản của bạn." - }, "allowNotifications": { "message": "Cho phép thông báo" }, @@ -655,9 +640,6 @@ "average": { "message": "Trung bình" }, - "awaitingApproval": { - "message": "Đang chờ chấp thuận..." - }, "back": { "message": "Quay lại" }, @@ -723,9 +705,6 @@ "message": "Đây là một phiên bản beta. Vui lòng báo cáo lỗi $1", "description": "$1 represents the word 'here' in a hyperlink" }, - "betaMetamaskInstitutionalVersion": { - "message": "Phiên bản MetaMask Institutional Beta" - }, "betaMetamaskVersion": { "message": "Phiên bản MetaMask Beta" }, @@ -982,15 +961,6 @@ "confirmAlertModalAcknowledgeSingle": { "message": "Tôi đã hiểu rõ cảnh báo và vẫn muốn tiếp tục" }, - "confirmConnectCustodianRedirect": { - "message": "Chúng tôi sẽ chuyển hướng bạn đến $1 sau khi nhấn vào tiếp tục." - }, - "confirmConnectCustodianText": { - "message": "Để kết nối các tài khoản của bạn, hãy đăng nhập vào tài khoản $1 của bạn và nhấn vào nút 'kết nối với MMI'." - }, - "confirmConnectionTitle": { - "message": "Xác nhận kết nối với $1" - }, "confirmFieldPaymaster": { "message": "Phí được thanh toán bởi" }, @@ -1072,18 +1042,6 @@ "connectAccounts": { "message": "Kết nối tài khoản" }, - "connectCustodialAccountMenu": { - "message": "Kết nối tài khoản lưu ký" - }, - "connectCustodialAccountMsg": { - "message": "Vui lòng chọn tài khoản lưu ký mà bạn muốn kết nối để thêm hoặc làm mới token." - }, - "connectCustodialAccountTitle": { - "message": "Tài khoản lưu ký" - }, - "connectCustodianAccounts": { - "message": "Kết nối $1 tài khoản" - }, "connectManually": { "message": "Kết nối thủ công với trang web hiện tại" }, @@ -1206,12 +1164,6 @@ "continue": { "message": "Tiếp tục" }, - "continueMmiOnboarding": { - "message": "Tiếp tục phần giới thiệu về MetaMask Institutional" - }, - "continueToWallet": { - "message": "Tiếp tục đến ví" - }, "contract": { "message": "Hợp đồng" }, @@ -1345,60 +1297,6 @@ "curveMediumGasEstimate": { "message": "Đồ thị ước tính phí gas theo thị trường" }, - "custodian": { - "message": "Lưu ký" - }, - "custodianAccountAddedDesc": { - "message": "Giờ đây bạn có thể sử dụng các tài khoản của mình trong MetaMask Institutional." - }, - "custodianAccountAddedTitle": { - "message": "Các tài khoản $1 được chọn đã được thêm vào." - }, - "custodianQRCodeScan": { - "message": "Quét mã QR bằng ứng dụng $1 trên thiết bị di động" - }, - "custodianQRCodeScanDescription": { - "message": "Hoặc đăng nhập vào tài khoản $1 của bạn và nhấn vào nút 'Kết nối với MMI'" - }, - "custodianReplaceRefreshTokenChangedFailed": { - "message": "Vui lòng truy cập $1 và nhấp nút \"Kết nối với MMI\" trong giao diện người dùng để kết nối lại tài khoản của bạn với MMI." - }, - "custodianReplaceRefreshTokenChangedSubtitle": { - "message": "Bây giờ bạn có thể sử dụng tài khoản lưu ký của mình trong MetaMask Institutional." - }, - "custodianReplaceRefreshTokenChangedTitle": { - "message": "Token lưu ký của bạn đã được làm mới" - }, - "custodianReplaceRefreshTokenSubtitle": { - "message": "Điều này sẽ thay thế token lưu ký cho địa chỉ sau:" - }, - "custodianReplaceRefreshTokenTitle": { - "message": "Thay thế token lưu ký" - }, - "custodyDeeplinkDescription": { - "message": "Chấp thuận giao dịch trong ứng dụng $1. Sau khi đã chấp thuận tất cả hình thức lưu ký bắt buộc, giao dịch sẽ hoàn tất. Kiểm tra ứng dụng $1 của bạn để biết trạng thái." - }, - "custodyRefreshTokenModalDescription": { - "message": "Vui lòng truy cập $1 và nhấp nút \"Kết nối với MMI\" trong giao diện người dùng để kết nối lại tài khoản của bạn với MMI." - }, - "custodyRefreshTokenModalDescription1": { - "message": "Lưu ký của bạn sẽ phát hành token để xác thực tiện ích MetaMask Institutional, cho phép bạn kết nối các tài khoản của mình." - }, - "custodyRefreshTokenModalDescription2": { - "message": "Vì lý do bảo mật, token này sẽ hết hạn sau một khoảng thời gian nhất định. Điều này yêu cầu bạn kết nối lại với MMI." - }, - "custodyRefreshTokenModalSubtitle": { - "message": "Tại sao tôi lại thấy cái này?" - }, - "custodyRefreshTokenModalTitle": { - "message": "Phiên lưu ký của bạn đã hết hạn" - }, - "custodySessionExpired": { - "message": "Phiên lưu ký đã hết hạn." - }, - "custodyWrongChain": { - "message": "Tài khoản này không được thiết lập để sử dụng với $1" - }, "custom": { "message": "Nâng cao" }, @@ -1861,9 +1759,6 @@ "enterChainId": { "message": "Nhập ID chuỗi" }, - "enterCustodianToken": { - "message": "Nhập token $1 của bạn hoặc thêm token mới" - }, "enterMaxSpendLimit": { "message": "Nhập hạn mức chi tiêu tối đa" }, @@ -2000,12 +1895,6 @@ "message": "Khám phá các Snap do cộng đồng xây dựng để tùy chỉnh trải nghiệm web3 của bạn", "description": "Banner description displayed on Snaps list page in Settings when less than 6 Snaps is installed." }, - "extensionInsallCompleteDescription": { - "message": "Quay lại phần giới thiệu sản phẩm MetaMask Institutional để kết nối tài khoản lưu ký hoặc tự lưu ký của bạn." - }, - "extensionInsallCompleteTitle": { - "message": "Cài đặt tiện ích mở rộng hoàn tất" - }, "externalExtension": { "message": "Tiện ích bên ngoài" }, @@ -2466,12 +2355,6 @@ "install": { "message": "Cài đặt" }, - "installExtension": { - "message": "Cài đặt tiện ích mở rộng" - }, - "installExtensionDescription": { - "message": "Phiên bản tuân thủ quy định của tổ chức của ví web3 hàng đầu thế giới, MetaMask." - }, "installOrigin": { "message": "Cài đặt nguồn gốc" }, @@ -2864,9 +2747,6 @@ "message": "$1 được lưu trữ trên npm và $2 là mã định danh duy nhất của Snap này.", "description": "$1 is the snap name and $2 is the snap NPM id." }, - "metamaskInstitutionalVersion": { - "message": "Phiên bản MetaMask Institutional" - }, "metamaskNotificationsAreOff": { "message": "Thông báo ví hiện không hoạt động." }, @@ -2892,9 +2772,6 @@ "message": "Triệu", "description": "Shortened form of 'million'" }, - "mismatchAccount": { - "message": "Tài khoản bạn đã chọn ($1) khác với tài khoản sử dụng để ký ($2)" - }, "mismatchedChainLinkText": { "message": "xác minh thông tin về mạng", "description": "Serves as link text for the 'mismatchedChain' key. This text will be embedded inside the translation for that key." @@ -2921,15 +2798,6 @@ "missingSettingRequest": { "message": "Yêu cầu tại đây" }, - "mmiBuiltAroundTheWorld": { - "message": "MetaMask Institutional được thiết kế và xây dựng trên khắp thế giới." - }, - "mmiNewNFTDetectedInNFTsTabMessage": { - "message": "Cho phép MetaMask Institutional tự động phát hiện và hiển thị NFT trong ví của bạn." - }, - "mmiPasswordSetupDetails": { - "message": "Mật khẩu này sẽ chỉ mở khóa tiện ích mở rộng MetaMask Institutional của bạn." - }, "more": { "message": "thêm" }, @@ -3304,9 +3172,6 @@ "noWebcamFoundTitle": { "message": "Không tìm thấy webcam" }, - "nonCustodialAccounts": { - "message": "MetaMask Institutional cho phép bạn sử dụng các tài khoản không lưu ký, nếu bạn dự định sử dụng các tài khoản này, hãy sao lưu Cụm từ khôi phục bí mật." - }, "nonce": { "message": "Số nonce" }, @@ -3334,12 +3199,6 @@ "notEnoughGas": { "message": "Không đủ phí gas" }, - "note": { - "message": "Ghi chú" - }, - "notePlaceholder": { - "message": "Người chấp thuận sẽ nhìn thấy ghi chú này khi chấp thuận giao dịch tại lưu ký." - }, "notificationDetail": { "message": "Chi tiết" }, @@ -3674,9 +3533,6 @@ "onboardingPinExtensionTitle": { "message": "Quá trình cài đặt MetaMask đã hoàn tất!" }, - "onboardingPinMmiExtensionLabel": { - "message": "Ghim MetaMask Institutional" - }, "oneDayAbbreviation": { "message": "1 Ngày", "description": "Shortened form of '1 day'" @@ -3700,10 +3556,6 @@ "message": "Chỉ kết nối với các trang web mà bạn tin tưởng. $1", "description": "Text displayed above the buttons for connection confirmation. $1 is the link to the learn more web page." }, - "openCustodianApp": { - "message": "Mở ứng dụng $1", - "description": "The $1 is the name of the Custodian that will be open" - }, "openFullScreenForLedgerWebHid": { "message": "Bật toàn màn hình để kết nối với thiết bị Ledger của bạn.", "description": "Shown to the user on the confirm screen when they are viewing MetaMask in a popup window but need to connect their ledger via webhid." @@ -3714,18 +3566,12 @@ "openSeaNew": { "message": "OpenSea" }, - "operationFailed": { - "message": "Thao tác thất bại" - }, "optional": { "message": "Không bắt buộc" }, "options": { "message": "Tùy chọn" }, - "or": { - "message": "hoặc" - }, "origin": { "message": "Nguồn gốc" }, @@ -3760,9 +3606,6 @@ "password": { "message": "Mật khẩu" }, - "passwordMmiTermsWarning": { - "message": "Tôi hiểu rằng MetaMask Institutional không thể khôi phục mật khẩu này cho tôi. $1" - }, "passwordNotLongEnough": { "message": "Mật khẩu không đủ dài" }, @@ -3782,9 +3625,6 @@ "passwordsDontMatch": { "message": "Mật khẩu không khớp" }, - "pasteJWTToken": { - "message": "Dán hoặc thả token của bạn tại đây:" - }, "pastePrivateKey": { "message": "Dán chuỗi khóa riêng tư của bạn vào đây:", "description": "For importing an account from a private key" @@ -4068,12 +3908,6 @@ "petnamesEnabledToggleDescription": { "message": "Điều này cho phép bạn chỉ định biệt danh cho bất kỳ địa chỉ nào. Khi có thể, chúng tôi sẽ đề xuất biệt danh cho các địa chỉ mà bạn tương tác." }, - "pinExtensionDescription": { - "message": "Điều hướng đến trình đơn tiện ích mở rộng và ghim MetaMask Institutional để truy cập liền mạch." - }, - "pinExtensionTitle": { - "message": "Ghim tiện ích mở rộng" - }, "pinToTop": { "message": "Ghim lên đầu" }, @@ -4095,9 +3929,6 @@ "portfolio": { "message": "Danh mục đầu tư" }, - "portfolioDashboard": { - "message": "Trang tổng quan Danh mục đầu tư" - }, "preparingSwap": { "message": "Đang chuẩn bị hoán đổi..." }, @@ -4343,12 +4174,6 @@ "removeAccountDescription": { "message": "Tài khoản này sẽ được xóa khỏi ví của bạn. Hãy đảm bảo rằng bạn có Cụm từ khôi phục bí mật ban đầu hoặc khóa riêng tư cho tài khoản được nhập trước khi tiếp tục. Bạn có thể nhập hoặc tạo lại tài khoản từ trình đơn tài khoản thả xuống. " }, - "removeJWT": { - "message": "Xóa token lưu ký" - }, - "removeJWTDescription": { - "message": "Bạn có chắc chắn muốn xóa token này không? Tất cả các tài khoản được chỉ định cho token này cũng sẽ bị xóa khỏi tiện ích mở rộng: " - }, "removeKeyringSnap": { "message": "Xóa Snap này sẽ xóa các tài khoản này khỏi MetaMask:" }, @@ -4694,27 +4519,18 @@ "selectAll": { "message": "Chọn tất cả" }, - "selectAllAccounts": { - "message": "Chọn tất cả tài khoản" - }, "selectAnAccount": { "message": "Chọn một tài khoản" }, "selectAnAccountAlreadyConnected": { "message": "Tài khoản này đã được kết nối với MetaMask" }, - "selectAnAccountHelp": { - "message": "Chọn tài khoản lưu ký để sử dụng trong MetaMask Institutional." - }, "selectEnableDisplayMediaPrivacyPreference": { "message": "Bật Hiển thị Phương tiện NFT" }, "selectHdPath": { "message": "Chọn đường dẫn HD" }, - "selectJWT": { - "message": "Chọn token" - }, "selectNFTPrivacyPreference": { "message": "Bật tính năng Tự động phát hiện NFT" }, @@ -6084,9 +5900,6 @@ "transactionErrored": { "message": "Giao dịch đã gặp lỗi." }, - "transactionFailed": { - "message": "Giao dịch không thành công" - }, "transactionFee": { "message": "Phí giao dịch" }, @@ -6114,9 +5927,6 @@ "transactionHistoryTotalGasFee": { "message": "Tổng phí gas" }, - "transactionNote": { - "message": "Ghi chú giao dịch" - }, "transactionResubmitted": { "message": "Đã gửi lại giao dịch với mức phí gas ước tính tăng lên $1 lúc $2" }, @@ -6395,9 +6205,6 @@ "viewTransaction": { "message": "Xem giao dịch" }, - "viewinCustodianApp": { - "message": "Xem trong ứng dụng lưu ký" - }, "viewinExplorer": { "message": "Xem $1 trong trình khám phá", "description": "$1 is the action type. e.g (Account, Transaction, Swap)" diff --git a/app/_locales/zh_CN/messages.json b/app/_locales/zh_CN/messages.json index bdc4610d1e8a..cf6fbe4b796c 100644 --- a/app/_locales/zh_CN/messages.json +++ b/app/_locales/zh_CN/messages.json @@ -290,9 +290,6 @@ "addNewSolanaAccount": { "message": "添加新的Solana账户(测试版)" }, - "addNewToken": { - "message": "添加新代币" - }, "addNft": { "message": "添加 NFT" }, @@ -485,12 +482,6 @@ "all": { "message": "所有" }, - "allCustodianAccountsConnectedSubtitle": { - "message": "您或者已连接所有托管账户,或者没有任何账户可连接到 MetaMask Institutional。" - }, - "allCustodianAccountsConnectedTitle": { - "message": "没有可连接的账户" - }, "allOfYour": { "message": "您的所有$1", "description": "$1 is the symbol or name of the token that the user is approving spending" @@ -508,12 +499,6 @@ "message": "您所有在$1的NFT", "description": "$1 is a link to contract on the block explorer when we're not able to retrieve a erc721 or erc1155 name" }, - "allow": { - "message": "允许" - }, - "allowMmiToConnectToCustodian": { - "message": "这将允许 MMI 连接到 $1,以导入您的账户。" - }, "allowNotifications": { "message": "允许通知" }, @@ -655,9 +640,6 @@ "average": { "message": "平均值" }, - "awaitingApproval": { - "message": "等待批准......" - }, "back": { "message": "返回" }, @@ -723,9 +705,6 @@ "message": "此为测试版。请$1报告错误", "description": "$1 represents the word 'here' in a hyperlink" }, - "betaMetamaskInstitutionalVersion": { - "message": "MetaMask Institutional 测试版本" - }, "betaMetamaskVersion": { "message": "MetaMask 测试版本" }, @@ -982,15 +961,6 @@ "confirmAlertModalAcknowledgeSingle": { "message": "我已知晓提醒并仍想继续" }, - "confirmConnectCustodianRedirect": { - "message": "点击“继续”后,我们会将您重定向到 $1。" - }, - "confirmConnectCustodianText": { - "message": "要连接您的账户,请登录您的 $1 账户,然后点击“连接到 MMI”按钮。" - }, - "confirmConnectionTitle": { - "message": "确认连接到$1" - }, "confirmFieldPaymaster": { "message": "费用支付方" }, @@ -1072,18 +1042,6 @@ "connectAccounts": { "message": "连接账户" }, - "connectCustodialAccountMenu": { - "message": "连接托管账户" - }, - "connectCustodialAccountMsg": { - "message": "请选择您想要连接的托管账户,以添加或刷新代币。" - }, - "connectCustodialAccountTitle": { - "message": "托管账户" - }, - "connectCustodianAccounts": { - "message": "连接 $1 账户" - }, "connectManually": { "message": "手动连接到当前站点" }, @@ -1206,12 +1164,6 @@ "continue": { "message": "继续" }, - "continueMmiOnboarding": { - "message": "继续MetaMask Institutional入门过程" - }, - "continueToWallet": { - "message": "继续前往钱包" - }, "contract": { "message": "合约" }, @@ -1345,60 +1297,6 @@ "curveMediumGasEstimate": { "message": "市场价燃料估算图" }, - "custodian": { - "message": "托管人" - }, - "custodianAccountAddedDesc": { - "message": "您现在可以在 MetaMask Institutional 使用您的账户。" - }, - "custodianAccountAddedTitle": { - "message": "已添加所选 $1 账户。" - }, - "custodianQRCodeScan": { - "message": "使用 $1 移动应用程序扫描二维码" - }, - "custodianQRCodeScanDescription": { - "message": "或者登录您的 $1 账户,然后点击“连接到 MMI” 按钮" - }, - "custodianReplaceRefreshTokenChangedFailed": { - "message": "请转到 $1,点击其用户界面内的“连接到 MMI”按钮,再次将您的账户连接到 MMI。" - }, - "custodianReplaceRefreshTokenChangedSubtitle": { - "message": "您现在可以在 MetaMask Institutional 使用您的托管账户。" - }, - "custodianReplaceRefreshTokenChangedTitle": { - "message": "您的托管代币已刷新" - }, - "custodianReplaceRefreshTokenSubtitle": { - "message": "这将替换以下地址的托管代币:" - }, - "custodianReplaceRefreshTokenTitle": { - "message": "替换托管代币" - }, - "custodyDeeplinkDescription": { - "message": "在 $1 应用程序中批准交易。一旦执行了所有所需的托管批准,交易即完成。在您的 $1 应用程序中查看状态。" - }, - "custodyRefreshTokenModalDescription": { - "message": "请转到$1,然后点击用户界面中的“连接到MMI”按钮,将您的账户再次连接到MMI。" - }, - "custodyRefreshTokenModalDescription1": { - "message": "您的托管人会发出一个令牌来验证 MetaMask Institutional 扩展,使您可以连接您的账户。" - }, - "custodyRefreshTokenModalDescription2": { - "message": "由于安全原因,此令牌会在一段时间后过期。这使您需要重新连接到MMI。" - }, - "custodyRefreshTokenModalSubtitle": { - "message": "我为什么会看到这个?" - }, - "custodyRefreshTokenModalTitle": { - "message": "您的托管人会话已过期" - }, - "custodySessionExpired": { - "message": "托管会话已过期。" - }, - "custodyWrongChain": { - "message": "此账户未设置为与 $1 一起使用" - }, "custom": { "message": "高级" }, @@ -1861,9 +1759,6 @@ "enterChainId": { "message": "输入链 ID" }, - "enterCustodianToken": { - "message": "输入您的 $1 代币或添加新代币" - }, "enterMaxSpendLimit": { "message": "输入最大消费限额" }, @@ -2000,12 +1895,6 @@ "message": "探索社区构建的 Snap,定制您的 Web3 体验", "description": "Banner description displayed on Snaps list page in Settings when less than 6 Snaps is installed." }, - "extensionInsallCompleteDescription": { - "message": "返回MetaMask Institutional产品的入门页面,以连接您的托管或自托管账户。" - }, - "extensionInsallCompleteTitle": { - "message": "扩展程序安装完成" - }, "externalExtension": { "message": "外部扩展程序" }, @@ -2466,12 +2355,6 @@ "install": { "message": "安装" }, - "installExtension": { - "message": "安装扩展程序" - }, - "installExtensionDescription": { - "message": "世界领先的web3钱包MetaMask的符合机构标准的版本。" - }, "installOrigin": { "message": "安装源" }, @@ -2864,9 +2747,6 @@ "message": "$1 托管于 npm 上,$2 是此 Snap 的唯一标识符。", "description": "$1 is the snap name and $2 is the snap NPM id." }, - "metamaskInstitutionalVersion": { - "message": "MetaMask Institutional 版本" - }, "metamaskNotificationsAreOff": { "message": "钱包通知目前未开启。" }, @@ -2892,9 +2772,6 @@ "message": "百万", "description": "Shortened form of 'million'" }, - "mismatchAccount": { - "message": "您选中的账户($1)与尝试登录的账户($2)不同" - }, "mismatchedChainLinkText": { "message": "验证网络信息", "description": "Serves as link text for the 'mismatchedChain' key. This text will be embedded inside the translation for that key." @@ -2921,15 +2798,6 @@ "missingSettingRequest": { "message": "在这里请求" }, - "mmiBuiltAroundTheWorld": { - "message": "MetaMask Institutional 面向全球各地设计并建立。" - }, - "mmiNewNFTDetectedInNFTsTabMessage": { - "message": "让 MetaMask Institutional 自动检测您钱包中的 NFT,并在检测到时显示那些 NFT。" - }, - "mmiPasswordSetupDetails": { - "message": "此密码仅会解锁您的MetaMask Institutional扩展程序。" - }, "more": { "message": "更多" }, @@ -3304,9 +3172,6 @@ "noWebcamFoundTitle": { "message": "未找到网络摄像头" }, - "nonCustodialAccounts": { - "message": "MetaMask Institutional 允许您使用非托管账户,如果您计划使用这些账户,请备份私钥助记词。" - }, "nonce": { "message": "Nonce" }, @@ -3334,12 +3199,6 @@ "notEnoughGas": { "message": "燃料不足" }, - "note": { - "message": "单据" - }, - "notePlaceholder": { - "message": "审批人在托管人处审批交易时会看到此单据。" - }, "notificationDetail": { "message": "详情" }, @@ -3674,9 +3533,6 @@ "onboardingPinExtensionTitle": { "message": "您的 MetaMask 安装完成!" }, - "onboardingPinMmiExtensionLabel": { - "message": "将MetaMask Institutional置顶" - }, "oneDayAbbreviation": { "message": "1 天", "description": "Shortened form of '1 day'" @@ -3700,10 +3556,6 @@ "message": "仅连接您信任的网站。$1", "description": "Text displayed above the buttons for connection confirmation. $1 is the link to the learn more web page." }, - "openCustodianApp": { - "message": "打开$1应用程序", - "description": "The $1 is the name of the Custodian that will be open" - }, "openFullScreenForLedgerWebHid": { "message": "全屏打开以连接您的 Ledger。", "description": "Shown to the user on the confirm screen when they are viewing MetaMask in a popup window but need to connect their ledger via webhid." @@ -3714,18 +3566,12 @@ "openSeaNew": { "message": "OpenSea" }, - "operationFailed": { - "message": "操作失败" - }, "optional": { "message": "可选" }, "options": { "message": "期权" }, - "or": { - "message": "或" - }, "origin": { "message": "来源" }, @@ -3760,9 +3606,6 @@ "password": { "message": "密码" }, - "passwordMmiTermsWarning": { - "message": "我明白MetaMask Institutional无法为我恢复此密码。$1" - }, "passwordNotLongEnough": { "message": "密码长度不足" }, @@ -3782,9 +3625,6 @@ "passwordsDontMatch": { "message": "密码不匹配" }, - "pasteJWTToken": { - "message": "在此处粘贴或拖放代币:" - }, "pastePrivateKey": { "message": "请粘贴您的私钥:", "description": "For importing an account from a private key" @@ -4068,12 +3908,6 @@ "petnamesEnabledToggleDescription": { "message": "这样可以协助您为任何地址添加昵称。我们将在可能的情况下为您与之交互的地址提供名称建议。" }, - "pinExtensionDescription": { - "message": "前往扩展程序菜单,将MetaMask Institutional置顶,以实现无缝访问。" - }, - "pinExtensionTitle": { - "message": "将扩展程序置顶" - }, "pinToTop": { "message": "置顶" }, @@ -4095,9 +3929,6 @@ "portfolio": { "message": "Portfolio" }, - "portfolioDashboard": { - "message": "Portfolio 控制面板" - }, "preparingSwap": { "message": "正在准备交换......" }, @@ -4343,12 +4174,6 @@ "removeAccountDescription": { "message": "该账户将从您的钱包中删除。在继续操作前,确认您已拥有该导入账户的原始账户私钥助记词或私钥。您可以通过账户下拉菜单再次导入或创建账户。 " }, - "removeJWT": { - "message": "删除托管代币" - }, - "removeJWTDescription": { - "message": "您确定要删除此代币吗?分配给此代币的所有账户也将从扩展中删除: " - }, "removeKeyringSnap": { "message": "去除此Snap,会同时将以下账户从MetaMask中去除:" }, @@ -4694,27 +4519,18 @@ "selectAll": { "message": "全部选择" }, - "selectAllAccounts": { - "message": "选择所有账户" - }, "selectAnAccount": { "message": "选择一个账户" }, "selectAnAccountAlreadyConnected": { "message": "此账户已连接到 MetaMask" }, - "selectAnAccountHelp": { - "message": "选择要在 MetaMask Institutional 使用的托管账户。" - }, "selectEnableDisplayMediaPrivacyPreference": { "message": "打开\"显示 NFT 媒体\"" }, "selectHdPath": { "message": "选择 HD 路径" }, - "selectJWT": { - "message": "选择代币" - }, "selectNFTPrivacyPreference": { "message": "在设置中打开 NFT 检测" }, @@ -6084,9 +5900,6 @@ "transactionErrored": { "message": "交易出现错误。" }, - "transactionFailed": { - "message": "交易失败" - }, "transactionFee": { "message": "交易费用" }, @@ -6114,9 +5927,6 @@ "transactionHistoryTotalGasFee": { "message": "燃料费总额" }, - "transactionNote": { - "message": "交易单据" - }, "transactionResubmitted": { "message": "已在 $2 重新提交交易,燃料费预计升至 $1" }, @@ -6395,9 +6205,6 @@ "viewTransaction": { "message": "查看交易" }, - "viewinCustodianApp": { - "message": "在托管应用程序中查看" - }, "viewinExplorer": { "message": "在 Explorer 中查看 $1", "description": "$1 is the action type. e.g (Account, Transaction, Swap)" diff --git a/test/integration/confirmations/signatures/permit.test.tsx b/test/integration/confirmations/signatures/permit.test.tsx index 332cebc3a6b2..887eefb41ba0 100644 --- a/test/integration/confirmations/signatures/permit.test.tsx +++ b/test/integration/confirmations/signatures/permit.test.tsx @@ -6,7 +6,6 @@ import { MetaMetricsEventLocation, MetaMetricsEventName, } from '../../../../shared/constants/metametrics'; -import { shortenAddress } from '../../../../ui/helpers/utils/util'; import { useAssetDetails } from '../../../../ui/pages/confirmations/hooks/useAssetDetails'; import * as backgroundConnection from '../../../../ui/store/background-connection'; import { integrationTestRender } from '../../../lib/render-helpers'; @@ -251,36 +250,4 @@ describe('Permit Confirmation', () => { scope.done(); expect(scope.isDone()).toBe(true); }); - - it('displays the MMI header warning when account signing is not the same as the account selected', async () => { - const account = - mockMetaMaskState.internalAccounts.accounts[ - '07c2cfec-36c9-46c4-8115-3836d3ac9047' - ]; - const selectedAccount = - mockMetaMaskState.internalAccounts.accounts[ - mockMetaMaskState.internalAccounts - .selectedAccount as keyof typeof mockMetaMaskState.internalAccounts.accounts - ]; - - const mockedMetaMaskState = getMetaMaskStateWithUnapprovedPermitSign( - account.address, - 'Permit', - ); - - await act(async () => { - await integrationTestRender({ - preloadedState: mockedMetaMaskState, - backgroundConnection: backgroundConnectionMocked, - }); - }); - - const mismatchAccountText = `Your selected account (${shortenAddress( - selectedAccount.address, - )}) is different than the account trying to sign (${shortenAddress( - account.address, - )})`; - - expect(await screen.findByText(mismatchAccountText)).toBeInTheDocument(); - }); }); diff --git a/test/integration/confirmations/signatures/personalSign.test.tsx b/test/integration/confirmations/signatures/personalSign.test.tsx index 2e614d26ddad..7aa95d3384e9 100644 --- a/test/integration/confirmations/signatures/personalSign.test.tsx +++ b/test/integration/confirmations/signatures/personalSign.test.tsx @@ -7,7 +7,6 @@ import { MetaMetricsEventLocation, MetaMetricsEventName, } from '../../../../shared/constants/metametrics'; -import { shortenAddress } from '../../../../ui/helpers/utils/util'; import { useAssetDetails } from '../../../../ui/pages/confirmations/hooks/useAssetDetails'; import * as backgroundConnection from '../../../../ui/store/background-connection'; import { integrationTestRender } from '../../../lib/render-helpers'; @@ -198,35 +197,4 @@ describe('PersonalSign Confirmation', () => { await screen.findByText('Review request details before you confirm.'), ).toBeInTheDocument(); }); - - it('displays the MMI header warning when account signing is not the same as the account selected', async () => { - const account = - mockMetaMaskState.internalAccounts.accounts[ - '07c2cfec-36c9-46c4-8115-3836d3ac9047' - ]; - const selectedAccount = - mockMetaMaskState.internalAccounts.accounts[ - mockMetaMaskState.internalAccounts - .selectedAccount as keyof typeof mockMetaMaskState.internalAccounts.accounts - ]; - - const mockedMetaMaskState = getMetaMaskStateWithUnapprovedPersonalSign( - account.address, - ); - - await act(async () => { - await integrationTestRender({ - preloadedState: mockedMetaMaskState, - backgroundConnection: backgroundConnectionMocked, - }); - }); - - const mismatchAccountText = `Your selected account (${shortenAddress( - selectedAccount.address, - )}) is different than the account trying to sign (${shortenAddress( - account.address, - )})`; - - expect(await screen.findByText(mismatchAccountText)).toBeInTheDocument(); - }); }); diff --git a/ui/components/app/account-list-item/account-list-item-component.test.js b/ui/components/app/account-list-item/account-list-item-component.test.js index a98bd47a4602..7abf73703ea0 100644 --- a/ui/components/app/account-list-item/account-list-item-component.test.js +++ b/ui/components/app/account-list-item/account-list-item-component.test.js @@ -123,20 +123,5 @@ describe('AccountListItem Component', () => { expect(queryByText('0xmockAddress')).toBeInTheDocument(); }); - - it('render without if hideDefaultMismatchWarning is true', () => { - const { getByTestId, rerender } = renderWithProvider( - , - store, - ); - - const infoIcon = getByTestId('account-mismatch-warning-tooltip'); - - expect(infoIcon).toBeInTheDocument(); - - rerender(); - - expect(infoIcon).not.toBeInTheDocument(); - }); }); }); diff --git a/ui/components/app/account-list-item/account-list-item.js b/ui/components/app/account-list-item/account-list-item.js index 35728bb2a281..356f63cffc9c 100644 --- a/ui/components/app/account-list-item/account-list-item.js +++ b/ui/components/app/account-list-item/account-list-item.js @@ -12,9 +12,6 @@ export default function AccountListItem({ displayAddress = false, handleClick, icon = null, - ///: BEGIN:ONLY_INCLUDE_IF(build-mmi) - hideDefaultMismatchWarning = false, - ///: END:ONLY_INCLUDE_IF }) { const { metadata: { name }, @@ -22,11 +19,7 @@ export default function AccountListItem({ balance, } = account; - let showDefaultMismatchWarning = true; - - ///: BEGIN:ONLY_INCLUDE_IF(build-mmi) - showDefaultMismatchWarning = !hideDefaultMismatchWarning; - ///: END:ONLY_INCLUDE_IF + const showDefaultMismatchWarning = true; return (
{ const isEvm = useSelector(getMultichainIsEvm); - let isStakeable = isMainnet && isEvm; - ///: BEGIN:ONLY_INCLUDE_IF(build-mmi) - isStakeable = false; - ///: END:ONLY_INCLUDE_IF + const isStakeable = isMainnet && isEvm; return ( ); } diff --git a/ui/components/app/assets/token-cell/token-cell.tsx b/ui/components/app/assets/token-cell/token-cell.tsx index c194bdca485c..4b4b3b09af01 100644 --- a/ui/components/app/assets/token-cell/token-cell.tsx +++ b/ui/components/app/assets/token-cell/token-cell.tsx @@ -98,10 +98,7 @@ export default function TokenCell({ new BigNumber(Number(string) || '0', 10), ); - let isStakeable = isMainnet && isEvm && isNative; - ///: BEGIN:ONLY_INCLUDE_IF(build-mmi) - isStakeable = false; - ///: END:ONLY_INCLUDE_IF + const isStakeable = isMainnet && isEvm && isNative; function handleOnClick() { if (!onClick || !chainId) { diff --git a/ui/components/app/modals/index.scss b/ui/components/app/modals/index.scss index f6fa8d0f0c43..a97b83d9cebe 100644 --- a/ui/components/app/modals/index.scss +++ b/ui/components/app/modals/index.scss @@ -7,11 +7,6 @@ @import 'transaction-confirmed/index'; @import 'customize-nonce/index'; @import 'convert-token-to-nft-modal/index'; -///: BEGIN:ONLY_INCLUDE_IF(build-mmi) -@import '../../institutional/confirm-remove-jwt-modal/index'; -@import '../../institutional/custody-confirm-link-modal/index'; -@import '../../institutional/transaction-failed-modal/index'; -///: END:ONLY_INCLUDE_IF .modal { z-index: 1050; diff --git a/ui/components/app/modals/modal.js b/ui/components/app/modals/modal.js index 753c01f21374..35f41832cbdd 100644 --- a/ui/components/app/modals/modal.js +++ b/ui/components/app/modals/modal.js @@ -8,16 +8,7 @@ import { getEnvironmentType } from '../../../../app/scripts/lib/util'; import { ENVIRONMENT_TYPE_POPUP } from '../../../../shared/constants/app'; import isMobileView from '../../../helpers/utils/is-mobile-view'; import * as actions from '../../../store/actions'; -///: BEGIN:ONLY_INCLUDE_IF(build-mmi) -import { mmiActionsFactory } from '../../../store/institutional/institution-background'; -///: END:ONLY_INCLUDE_IF - -///: BEGIN:ONLY_INCLUDE_IF(build-mmi) -import ConfirmRemoveJWT from '../../institutional/confirm-remove-jwt-modal'; -import CustodyConfirmLink from '../../institutional/custody-confirm-link-modal'; -import InteractiveReplacementTokenModal from '../../institutional/interactive-replacement-token-modal'; -import TransactionFailed from '../../institutional/transaction-failed-modal'; -///: END:ONLY_INCLUDE_IF + import HideTokenConfirmationModal from './hide-token-confirmation-modal'; import QRScanner from './qr-scanner'; @@ -58,34 +49,6 @@ const modalContainerMobileStyle = { top: '12.5%', }; -///: BEGIN:ONLY_INCLUDE_IF(build-mmi) -const custodyConfirmModalStyle = { - mobileModalStyle: { - width: '95%', - boxShadow: 'rgba(0, 0, 0, 0.15) 0px 2px 2px 2px', - borderRadius: '4px', - top: '30%', - transform: 'none', - left: '0', - right: '0', - margin: '0 auto', - }, - laptopModalStyle: { - width: '360px', - boxShadow: 'rgba(0, 0, 0, 0.15) 0px 2px 2px 2px', - borderRadius: '4px', - top: '30%', - transform: 'none', - left: '0', - right: '0', - margin: '0 auto', - }, - contentStyle: { - borderRadius: '4px', - }, -}; -///: END:ONLY_INCLUDE_IF - const MODALS = { NEW_ACCOUNT: { contents: , @@ -274,53 +237,6 @@ const MODALS = { }, }, - ///: BEGIN:ONLY_INCLUDE_IF(build-mmi) - CONFIRM_REMOVE_JWT: { - contents: , - mobileModalStyle: { - ...modalContainerMobileStyle, - }, - laptopModalStyle: { - ...modalContainerLaptopStyle, - }, - contentStyle: { - borderRadius: '8px', - }, - }, - - TRANSACTION_FAILED: { - disableBackdropClick: true, - contents: , - mobileModalStyle: { - ...modalContainerMobileStyle, - }, - laptopModalStyle: { - ...modalContainerLaptopStyle, - }, - contentStyle: { - borderRadius: '8px', - }, - }, - - CUSTODY_CONFIRM_LINK: { - contents: , - ...custodyConfirmModalStyle, - }, - - INTERACTIVE_REPLACEMENT_TOKEN_MODAL: { - contents: , - mobileModalStyle: { - ...modalContainerMobileStyle, - }, - laptopModalStyle: { - ...modalContainerLaptopStyle, - }, - contentStyle: { - borderRadius: '8px', - }, - }, - ///: END:ONLY_INCLUDE_IF - CONFIRM_TURN_OFF_PROFILE_SYNCING: { contents: , mobileModalStyle: { @@ -366,9 +282,6 @@ function mapStateToProps(state) { } function mapDispatchToProps(dispatch) { - ///: BEGIN:ONLY_INCLUDE_IF(build-mmi) - const mmiActions = mmiActionsFactory(); - ///: END:ONLY_INCLUDE_IF return { hideModal: (customOnHideOpts) => { dispatch(actions.hideModal()); @@ -379,10 +292,6 @@ function mapDispatchToProps(dispatch) { hideWarning: () => { dispatch(actions.hideWarning()); }, - ///: BEGIN:ONLY_INCLUDE_IF(build-mmi) - setWaitForConfirmDeepLinkDialog: (wait) => - dispatch(mmiActions.setWaitForConfirmDeepLinkDialog(wait)), - ///: END:ONLY_INCLUDE_IF }; } @@ -399,9 +308,6 @@ class Modal extends Component { hideModal: PropTypes.func.isRequired, hideWarning: PropTypes.func.isRequired, modalState: PropTypes.object.isRequired, - ///: BEGIN:ONLY_INCLUDE_IF(build-mmi) - setWaitForConfirmDeepLinkDialog: PropTypes.func, - ///: END:ONLY_INCLUDE_IF }; hide() { @@ -432,11 +338,6 @@ class Modal extends Component { keyboard={false} onHide={() => { if (modal.onHide) { - ///: BEGIN:ONLY_INCLUDE_IF(build-mmi) - if (this.props.modalState.name === 'CUSTODY_CONFIRM_LINK') { - this.props.setWaitForConfirmDeepLinkDialog(false); - } - ///: END:ONLY_INCLUDE_IF modal.onHide({ hideWarning: this.props.hideWarning, }); diff --git a/ui/components/app/selected-account/selected-account-component.test.js b/ui/components/app/selected-account/selected-account-component.test.js index d181eef44701..68a5362c100b 100644 --- a/ui/components/app/selected-account/selected-account-component.test.js +++ b/ui/components/app/selected-account/selected-account-component.test.js @@ -5,11 +5,6 @@ import { fireEvent, waitFor } from '@testing-library/react'; import { renderWithProvider } from '../../../../test/lib/render-helpers'; import mockState from '../../../../test/data/mock-state.json'; import { COPY_OPTIONS } from '../../../../shared/constants/copy'; -import { - getCustodyAccountDetails, - getIsCustodianSupportedChain, -} from '../../../selectors/institutional/selectors'; -import { getAccountType } from '../../../selectors'; import SelectedAccount from '.'; const mockSelectedAccount = { @@ -34,16 +29,6 @@ const mockSelectedAccount = { jest.mock('copy-to-clipboard'); -jest.mock('../../../selectors/institutional/selectors', () => { - const mockGetCustodyAccountDetails = jest.fn(() => undefined); - const mockGetisCustodianSupportedChain = jest.fn(() => true); - - return { - getCustodyAccountDetails: mockGetCustodyAccountDetails, - getIsCustodianSupportedChain: mockGetisCustodianSupportedChain, - }; -}); - jest.mock('../../../selectors', () => { const mockGetAccountType = jest.fn(() => undefined); const mockGetSelectedAccount = jest.fn(() => mockSelectedAccount); @@ -94,44 +79,4 @@ describe('SelectedAccount Component', () => { COPY_OPTIONS, ); }); - - it('should render correctly if isCustodianSupportedChain to false', async () => { - getIsCustodianSupportedChain.mockReturnValue(false); - - const { container, queryByTestId } = renderWithProvider( - , - mockStore, - ); - - const tooltipTitle = await waitFor(() => - container.querySelector( - '[data-original-title="This account is not set up for use with Goerli"]', - ), - ); - - const button = queryByTestId('selected-account-click'); - - expect(button).toBeDisabled(); - expect(tooltipTitle).toBeInTheDocument(); - expect(queryByTestId('selected-account-copy')).not.toBeInTheDocument(); - }); - - it('should display custody labels if they exist', () => { - const mockAccountDetails = { - [mockSelectedAccount.address]: { - labels: [ - { key: 'Label 1', value: 'Label 1' }, - { key: 'Label 2', value: 'Label 2' }, - ], - }, - }; - - getAccountType.mockReturnValue('custody'); - getCustodyAccountDetails.mockReturnValue(mockAccountDetails); - - const { getByText } = renderWithProvider(, mockStore); - - expect(getByText('Label 1')).toBeInTheDocument(); - expect(getByText('Label 2')).toBeInTheDocument(); - }); }); diff --git a/ui/components/app/selected-account/selected-account.component.js b/ui/components/app/selected-account/selected-account.component.js index 6dfe73f5766c..da00f9cf797d 100644 --- a/ui/components/app/selected-account/selected-account.component.js +++ b/ui/components/app/selected-account/selected-account.component.js @@ -6,14 +6,6 @@ import { shortenAddress } from '../../../helpers/utils/util'; import Tooltip from '../../ui/tooltip'; import { toChecksumHexAddress } from '../../../../shared/modules/hexstring-utils'; import { SECOND } from '../../../../shared/constants/time'; -///: BEGIN:ONLY_INCLUDE_IF(build-mmi) -// TODO: Remove restricted import -// eslint-disable-next-line import/no-restricted-paths -import { getEnvironmentType } from '../../../../app/scripts/lib/util'; -import { ENVIRONMENT_TYPE_POPUP } from '../../../../shared/constants/app'; -import { AccountType } from '../../../../shared/constants/custody'; -import CustodyLabels from '../../institutional/custody-labels/custody-labels'; -///: END:ONLY_INCLUDE_IF import { Icon, IconName, IconSize, Text } from '../../component-library'; import { IconColor, @@ -38,12 +30,6 @@ class SelectedAccount extends Component { static propTypes = { selectedAccount: PropTypes.object.isRequired, - ///: BEGIN:ONLY_INCLUDE_IF(build-mmi) - accountType: PropTypes.string, - accountDetails: PropTypes.object, - provider: PropTypes.object, - isCustodianSupportedChain: PropTypes.bool, - ///: END:ONLY_INCLUDE_IF }; componentDidMount() { @@ -59,44 +45,15 @@ class SelectedAccount extends Component { render() { const { t } = this.context; - const { - selectedAccount, - ///: BEGIN:ONLY_INCLUDE_IF(build-mmi) - accountType, - accountDetails, - provider, - isCustodianSupportedChain, - ///: END:ONLY_INCLUDE_IF - } = this.props; + const { selectedAccount } = this.props; const checksummedAddress = toChecksumHexAddress(selectedAccount.address); - let title = this.state.copied + const title = this.state.copied ? t('copiedExclamation') : t('copyToClipboard'); - let showAccountCopyIcon = true; - - ///: BEGIN:ONLY_INCLUDE_IF(build-mmi) - const custodyLabels = accountDetails - ? accountDetails[checksummedAddress]?.labels - : {}; - - const showCustodyLabels = - getEnvironmentType() !== ENVIRONMENT_TYPE_POPUP && - accountType === AccountType.CUSTODY && - custodyLabels; - - const tooltipText = this.state.copied - ? t('copiedExclamation') - : t('copyToClipboard'); - - title = isCustodianSupportedChain - ? tooltipText - : t('custodyWrongChain', [provider.nickname || provider.type]); - - showAccountCopyIcon = isCustodianSupportedChain; - ///: END:ONLY_INCLUDE_IF + const showAccountCopyIcon = true; return (
@@ -108,9 +65,6 @@ class SelectedAccount extends Component {
- { - ///: BEGIN:ONLY_INCLUDE_IF(build-mmi) - custodyTransactionDeepLink && - custodyTransactionDeepLink.url && ( - - - - ) - ///: END:ONLY_INCLUDE_IF - }
@@ -385,20 +301,6 @@ export default class TransactionListItemDetails extends PureComponent { primaryCurrency={primaryCurrency} className="transaction-list-item-details__transaction-breakdown" /> - { - ///: BEGIN:ONLY_INCLUDE_IF(build-mmi) - transactionNote && transactionNote.length !== 0 && ( - - - {t('transactionNote')} - - - {transactionNote} - - - ) - ///: END:ONLY_INCLUDE_IF - } {transactionGroup.initialTransaction.type !== TransactionType.incoming && ( diff --git a/ui/components/app/transaction-list-item-details/transaction-list-item-details.component.test.js b/ui/components/app/transaction-list-item-details/transaction-list-item-details.component.test.js index f1ff6bb6aba1..2865ec717ab3 100644 --- a/ui/components/app/transaction-list-item-details/transaction-list-item-details.component.test.js +++ b/ui/components/app/transaction-list-item-details/transaction-list-item-details.component.test.js @@ -1,7 +1,6 @@ import React from 'react'; import configureMockStore from 'redux-mock-store'; import thunk from 'redux-thunk'; -import { waitFor } from '@testing-library/react'; import { TransactionStatus } from '@metamask/transaction-controller'; import { GAS_LIMITS } from '../../../../shared/constants/gas'; import { renderWithProvider } from '../../../../test/lib/render-helpers'; @@ -19,14 +18,6 @@ jest.mock('../../../store/actions.ts', () => ({ .mockResolvedValue({ chainId: '0x5' }), })); -let mockGetCustodianTransactionDeepLink = jest.fn(); - -jest.mock('../../../store/institutional/institution-background', () => ({ - mmiActionsFactory: () => ({ - getCustodianTransactionDeepLink: () => mockGetCustodianTransactionDeepLink, - }), -})); - const transaction = { history: [], id: 1, @@ -42,7 +33,6 @@ const transaction = { metadata: { note: 'some note', }, - custodyId: '1', }; const transactionGroup = { @@ -122,46 +112,4 @@ describe('TransactionListItemDetails Component', () => { expect(queryByTestId('speedup-button')).toBeInTheDocument(); }); }); - - describe('Institutional', () => { - it('renders correctly if custodyTransactionDeepLink has a url', async () => { - mockGetCustodianTransactionDeepLink = jest - .fn() - .mockReturnValue({ url: 'https://url.com' }); - - render({ showCancel: true }); - - await waitFor(() => { - const custodianViewButton = document.querySelector( - '[data-original-title="View in custodian app"]', - ); - - // Assert that the custodian view button is rendered - expect(custodianViewButton).toBeInTheDocument(); - }); - }); - - it('renders correctly if transactionNote is provided', async () => { - const newTransaction = { - ...transaction, - metadata: { - note: 'some note', - }, - custodyId: '1', - }; - - const newTransactionGroup = { - ...transactionGroup, - transactions: [newTransaction], - primaryTransaction: newTransaction, - initialTransaction: newTransaction, - }; - - const { queryByText } = render({ - transactionGroup: newTransactionGroup, - }); - - expect(queryByText('some note')).toBeInTheDocument(); - }); - }); }); diff --git a/ui/components/app/transaction-list-item-details/transaction-list-item-details.container.js b/ui/components/app/transaction-list-item-details/transaction-list-item-details.container.js index 0db59fb1cba2..e9c75b732649 100644 --- a/ui/components/app/transaction-list-item-details/transaction-list-item-details.container.js +++ b/ui/components/app/transaction-list-item-details/transaction-list-item-details.container.js @@ -2,9 +2,7 @@ import { connect } from 'react-redux'; import { compose } from 'redux'; import { withRouter } from 'react-router-dom'; import { tryReverseResolveAddress } from '../../../store/actions'; -///: BEGIN:ONLY_INCLUDE_IF(build-mmi) -import { mmiActionsFactory } from '../../../store/institutional/institution-background'; -///: END:ONLY_INCLUDE_IF + import { getAddressBook, getBlockExplorerLinkText, @@ -14,10 +12,6 @@ import { getAccountName, getMetadataContractName, getInternalAccounts, - ///: BEGIN:ONLY_INCLUDE_IF(build-mmi) - getKnownMethodData, - getSelectedInternalAccount, - ///: END:ONLY_INCLUDE_IF } from '../../../selectors'; import { toChecksumHexAddress } from '../../../../shared/modules/hexstring-utils'; import TransactionListItemDetails from './transaction-list-item-details.component'; @@ -47,13 +41,6 @@ const mapStateToProps = (state, ownProps) => { const isCustomNetwork = getIsCustomNetwork(state); - ///: BEGIN:ONLY_INCLUDE_IF(build-mmi) - const data = ownProps.transactionGroup?.primaryTransaction?.txParams?.data; - const methodData = getKnownMethodData(state, data) || {}; - const transactionNote = - ownProps.transactionGroup?.primaryTransaction?.metadata?.note; - ///: END:ONLY_INCLUDE_IF - return { rpcPrefs, recipientEns, @@ -63,29 +50,14 @@ const mapStateToProps = (state, ownProps) => { blockExplorerLinkText: getBlockExplorerLinkText(state), recipientName, recipientMetadataName, - ///: BEGIN:ONLY_INCLUDE_IF(build-mmi) - methodData, - transactionNote, - selectedAccount: getSelectedInternalAccount(state), - ///: END:ONLY_INCLUDE_IF }; }; const mapDispatchToProps = (dispatch) => { - ///: BEGIN:ONLY_INCLUDE_IF(build-mmi) - const mmiActions = mmiActionsFactory(); - ///: END:ONLY_INCLUDE_IF return { tryReverseResolveAddress: (address) => { return dispatch(tryReverseResolveAddress(address)); }, - ///: BEGIN:ONLY_INCLUDE_IF(build-mmi) - getCustodianTransactionDeepLink: (address, txId) => { - return dispatch( - mmiActions.getCustodianTransactionDeepLink(address, txId), - ); - }, - ///: END:ONLY_INCLUDE_IF }; }; diff --git a/ui/components/app/transaction-list-item/index.scss b/ui/components/app/transaction-list-item/index.scss index b8505a18a000..1d0b627cc3c3 100644 --- a/ui/components/app/transaction-list-item/index.scss +++ b/ui/components/app/transaction-list-item/index.scss @@ -62,13 +62,4 @@ text-overflow: ellipsis; white-space: nowrap; } - - ///: BEGIN:ONLY_INCLUDE_IF(build-mmi) - &__icon-badge { - position: absolute; - top: 18px; - left: 18px; - transform: scale(0.8); - } - ///: END:ONLY_INCLUDE_IF } diff --git a/ui/components/app/transaction-list-item/transaction-list-item.component.js b/ui/components/app/transaction-list-item/transaction-list-item.component.js index 5dc8cf48ef35..1525a0b8e056 100644 --- a/ui/components/app/transaction-list-item/transaction-list-item.component.js +++ b/ui/components/app/transaction-list-item/transaction-list-item.component.js @@ -34,10 +34,6 @@ import { Text, } from '../../component-library'; -///: BEGIN:ONLY_INCLUDE_IF(build-mmi) -import { IconColor } from '../../../helpers/constants/design-system'; -import { Icon, IconName, IconSize } from '../../component-library'; -///: END:ONLY_INCLUDE_IF import { MetaMetricsEventCategory, MetaMetricsEventName, @@ -62,7 +58,6 @@ import { formatDateWithYearContext } from '../../../helpers/utils/util'; import Button from '../../ui/button'; import AdvancedGasFeePopover from '../../../pages/confirmations/components/advanced-gas-fee-popover'; import CancelButton from '../cancel-button'; -import CancelSpeedupPopover from '../cancel-speedup-popover'; import EditGasFeePopover from '../../../pages/confirmations/components/edit-gas-fee-popover'; import EditGasPopover from '../../../pages/confirmations/components/edit-gas-popover'; import { MetaMetricsContext } from '../../../contexts/metametrics'; @@ -190,9 +185,6 @@ function TransactionListItemInner({ ].includes(category); const isSigning = status === TransactionStatus.approved; const isSubmitting = status === TransactionStatus.signed; - ///: BEGIN:ONLY_INCLUDE_IF(build-mmi) - const isCustodian = Boolean(transactionGroup.primaryTransaction.custodyId); - ///: END:ONLY_INCLUDE_IF const className = classnames('transaction-list-item', { 'transaction-list-item--unconfirmed': @@ -223,25 +215,7 @@ function TransactionListItemInner({ }); }, [isUnapproved, history, id, trackEvent, category]); - ///: BEGIN:ONLY_INCLUDE_IF(build-mmi) - const debugTransactionMeta = { - 'data-hash': transactionGroup.primaryTransaction.hash, - ...(isCustodian - ? { - 'data-custodiantransactionid': - transactionGroup.primaryTransaction.custodyId, - } - : {}), - }; - ///: END:ONLY_INCLUDE_IF - const speedUpButton = useMemo(() => { - ///: BEGIN:ONLY_INCLUDE_IF(build-mmi) - if (isCustodian) { - return null; - } - ///: END:ONLY_INCLUDE_IF - if ( !shouldShowSpeedUp || !isPending || @@ -272,33 +246,11 @@ function TransactionListItemInner({ hasCancelled, retryTransaction, cancelTransaction, - ///: BEGIN:ONLY_INCLUDE_IF(build-mmi) - isCustodian, - ///: END:ONLY_INCLUDE_IF ]); const currentChain = useSelector(getCurrentNetwork); - let showCancelButton = + const showCancelButton = !hasCancelled && isPending && !isUnapproved && !isSubmitting && !isBridgeTx; - ///: BEGIN:ONLY_INCLUDE_IF(build-mmi) - showCancelButton = showCancelButton && !isCustodian; - const PENDING_COLOR = IconColor.iconAlternative; - const OK_COLOR = IconColor.primaryDefault; - const FAIL_COLOR = IconColor.errorDefault; - const getTransactionColor = (tsStatus) => { - switch (tsStatus) { - case TransactionStatus.signed: - return PENDING_COLOR; - case TransactionStatus.rejected: - case TransactionStatus.failed: - case TransactionStatus.dropped: - return FAIL_COLOR; - default: - return OK_COLOR; - } - }; - ///: END:ONLY_INCLUDE_IF - return ( <> - - - - ) : ( - ///: END:ONLY_INCLUDE_IF - - } - > - - - ///: BEGIN:ONLY_INCLUDE_IF(build-mmi) - ) - ///: END:ONLY_INCLUDE_IF + } + > + + } subtitle={ !FINAL_NON_CONFIRMED_STATUSES.includes(status) && @@ -368,12 +297,6 @@ function TransactionListItemInner({ error={error} date={date} status={displayedStatusKey} - ///: BEGIN:ONLY_INCLUDE_IF(build-mmi) - custodyStatus={transactionGroup.primaryTransaction.custodyStatus} - custodyStatusDisplayText={ - transactionGroup.primaryTransaction.custodyStatusDisplayText - } - ///: END:ONLY_INCLUDE_IF /> ) } @@ -420,11 +343,6 @@ function TransactionListItemInner({ {speedUpButton} )} - { - ///: BEGIN:ONLY_INCLUDE_IF(build-mmi) - - ///: END:ONLY_INCLUDE_IF - } {showDetails && ( ( )} /> @@ -512,8 +409,6 @@ const TransactionListItem = (props) => { useSelector(checkNetworkAndAccountSupports1559) && !isLegacyTransaction(transaction?.txParams); - const isCustodian = Boolean(transactionGroup.primaryTransaction.custodyId); - return ( { {supportsEIP1559 && ( <> - {!isCustodian && } diff --git a/ui/components/app/transaction-list-item/transaction-list-item.component.test.js b/ui/components/app/transaction-list-item/transaction-list-item.component.test.js index cc6e9ff63c70..c92a5848b25a 100644 --- a/ui/components/app/transaction-list-item/transaction-list-item.component.test.js +++ b/ui/components/app/transaction-list-item/transaction-list-item.component.test.js @@ -1,6 +1,6 @@ import React from 'react'; import { useDispatch, useSelector } from 'react-redux'; -import { fireEvent, screen } from '@testing-library/react'; +import { fireEvent } from '@testing-library/react'; import configureStore from 'redux-mock-store'; import { TransactionStatus } from '@metamask/transaction-controller'; import mockState from '../../../../test/data/mock-state.json'; @@ -95,14 +95,6 @@ jest.mock('../../../store/actions.ts', () => ({ abortTransactionSigning: jest.fn(), })); -jest.mock('../../../store/institutional/institution-background', () => ({ - mmiActionsFactory: () => ({ - getCustodianTransactionDeepLink: jest - .fn() - .mockReturnValue({ type: 'TYPE' }), - }), -})); - const mockStore = configureStore(); const generateUseSelectorRouter = (opts) => (selector) => { @@ -216,136 +208,6 @@ describe('TransactionListItem', () => { fireEvent.click(cancelButton); expect(getByText('Cancel transaction')).toBeInTheDocument(); }); - - it('should have a custodian Tx and show the custody icon', () => { - useSelector.mockImplementation( - generateUseSelectorRouter({ - balance: '2AA1EFB94E0000', - }), - ); - - const newTransactionGroup = { - ...transactionGroup, - primaryTransaction: { - ...transactionGroup.primaryTransaction, - custodyId: '1', - }, - }; - - const { getByTestId } = renderWithProvider( - , - ); - const custodyIcon = getByTestId('custody-icon'); - const custodyIconBadge = getByTestId('custody-icon-badge'); - - expect(custodyIcon).toBeInTheDocument(); - expect(custodyIconBadge).toHaveClass('mm-box--color-primary-default'); - }); - - it('should display correctly the custody icon if status is signed', () => { - useSelector.mockImplementation( - generateUseSelectorRouter({ - balance: '2AA1EFB94E0000', - }), - ); - - const newTransactionGroup = { - ...transactionGroup, - primaryTransaction: { - ...transactionGroup.primaryTransaction, - custodyId: '1', - status: TransactionStatus.signed, - }, - }; - - const { getByTestId } = renderWithProvider( - , - ); - - const custodyIconBadge = getByTestId('custody-icon-badge'); - - expect(custodyIconBadge).toHaveClass('mm-box--color-icon-alternative'); - }); - - it('should display correctly the custody icon if status is rejected', () => { - useSelector.mockImplementation( - generateUseSelectorRouter({ - balance: '2AA1EFB94E0000', - }), - ); - - const newTransactionGroup = { - ...transactionGroup, - primaryTransaction: { - ...transactionGroup.primaryTransaction, - custodyId: '1', - status: TransactionStatus.rejected, - }, - }; - - const { getByTestId } = renderWithProvider( - , - ); - - const custodyIconBadge = getByTestId('custody-icon-badge'); - - expect(custodyIconBadge).toHaveClass('mm-box--color-error-default'); - }); - - it('should click the custody list item and view the send screen', () => { - const store = mockStore(mockState); - - useSelector.mockImplementation( - generateUseSelectorRouter({ - balance: '2AA1EFB94E0000', - }), - ); - - const newTransactionGroup = { - ...transactionGroup, - primaryTransaction: { - ...transactionGroup.primaryTransaction, - custodyId: '1', - }, - }; - - const { queryByTestId } = renderWithProvider( - , - store, - ); - - const custodyListItem = queryByTestId('custody-icon'); - fireEvent.click(custodyListItem); - - const sendTextExists = screen.queryAllByText('Send'); - expect(sendTextExists).toBeTruthy(); - }); - - it('should not show the cancel tx button when the tx is from a custodian', () => { - const store = mockStore(mockState); - - useSelector.mockImplementation( - generateUseSelectorRouter({ - balance: '2AA1EFB94E0000', - }), - ); - - const newTransactionGroup = { - ...transactionGroup, - primaryTransaction: { - ...transactionGroup.primaryTransaction, - custodyId: '1', - }, - }; - - const { queryByTestId } = renderWithProvider( - , - store, - ); - - const cancelButton = queryByTestId('cancel-button'); - expect(cancelButton).not.toBeInTheDocument(); - }); }); it('hides speed up button if status is approved', () => { diff --git a/ui/components/app/transaction-status-label/transaction-status-label.js b/ui/components/app/transaction-status-label/transaction-status-label.js index 7344a74ae922..fc52011ce088 100644 --- a/ui/components/app/transaction-status-label/transaction-status-label.js +++ b/ui/components/app/transaction-status-label/transaction-status-label.js @@ -5,15 +5,9 @@ import { TransactionStatus } from '@metamask/transaction-controller'; import Tooltip from '../../ui/tooltip'; import { useI18nContext } from '../../../hooks/useI18nContext'; import { TransactionGroupStatus } from '../../../../shared/constants/transaction'; -///: BEGIN:ONLY_INCLUDE_IF(build-mmi) -import { CustodyStatus } from '../../../../shared/constants/custody'; -///: END:ONLY_INCLUDE_IF const QUEUED_PSEUDO_STATUS = 'queued'; const SIGNING_PSUEDO_STATUS = 'signing'; -///: BEGIN:ONLY_INCLUDE_IF(build-mmi) -const CUSTODIAN_PSEUDO_STATUS = 'inCustody'; -///: END:ONLY_INCLUDE_IF /** * A note about status logic for this component: @@ -38,9 +32,6 @@ const statusToClassNameHash = { [TransactionGroupStatus.cancelled]: 'transaction-status-label--cancelled', [QUEUED_PSEUDO_STATUS]: 'transaction-status-label--queued', [TransactionGroupStatus.pending]: 'transaction-status-label--pending', - ///: BEGIN:ONLY_INCLUDE_IF(build-mmi) - [CUSTODIAN_PSEUDO_STATUS]: 'transaction-status--custodian', - ///: END:ONLY_INCLUDE_IF }; function getStatusKey(status, isEarliestNonce) { @@ -65,38 +56,16 @@ export default function TransactionStatusLabel({ className, statusOnly, shouldShowTooltip, - ///: BEGIN:ONLY_INCLUDE_IF(build-mmi) - custodyStatus, - custodyStatusDisplayText, - ///: END:ONLY_INCLUDE_IF }) { const t = useI18nContext(); const statusKey = getStatusKey(status, isEarliestNonce); - let tooltipText = error?.rpc?.message || error?.message; + const tooltipText = error?.rpc?.message || error?.message; let statusText = statusKey && t(statusKey); - ///: BEGIN:ONLY_INCLUDE_IF(build-mmi) - statusText = custodyStatusDisplayText || t(statusKey); - ///: END:ONLY_INCLUDE_IF - if (statusKey === TransactionStatus.confirmed && !statusOnly) { statusText = date; } - ///: BEGIN:ONLY_INCLUDE_IF(build-mmi) - if (custodyStatus) { - if (error) { - tooltipText = error.message; - statusText = - custodyStatus === CustodyStatus.ABORTED - ? custodyStatusDisplayText - : t('snapResultError'); - } else { - tooltipText = custodyStatusDisplayText || custodyStatus; - statusText = custodyStatusDisplayText || custodyStatus; - } - } - ///: END:ONLY_INCLUDE_IF return shouldShowTooltip ? ( ({ type: EthAccountType.Eoa, }); -const createCustodyAccount = () => ({ - ...createBasicAccount('Custody - JSONRPC'), - metadata: { - name: 'Account 1', - keyring: { - type: 'Custody - JSONRPC', - }, - }, -}); - const createMockStateWithAccount = (account) => ({ metamask: { - custodyStatusMaps: {}, internalAccounts: { accounts: { [TEST_ACCOUNT_ID]: account, @@ -46,31 +35,6 @@ const createMockStateWithAccount = (account) => ({ }, }); -const createCustodyMockState = (account) => ({ - metamask: { - custodyStatusMaps: { - saturn: { - approved: { - shortText: 'Short Text Test', - longText: 'Long Text Test', - }, - }, - }, - internalAccounts: { - accounts: { - [TEST_ACCOUNT_ID]: account, - }, - selectedAccount: TEST_ACCOUNT_ID, - }, - keyrings: [ - { - type: 'Custody - JSONRPC', - accounts: [TEST_ACCOUNT_ADDRESS], - }, - ], - }, -}); - const statusTestCases = [ { name: 'CONFIRMED', @@ -105,29 +69,6 @@ const statusTestCases = [ }, ]; -const errorTestCases = [ - { - name: 'error message', - props: { - status: 'approved', - custodyStatus: 'approved', - error: { message: 'An error occurred' }, - }, - expectedText: 'Error', - }, - { - name: 'error with aborted custody status', - props: { - status: 'approved', - custodyStatus: 'aborted', - error: { message: 'An error occurred' }, - custodyStatusDisplayText: 'Test', - shouldShowTooltip: true, - }, - expectedText: 'Test', - }, -]; - describe('TransactionStatusLabel Component', () => { const createMockStore = configureMockStore([thunk]); let store; @@ -159,51 +100,4 @@ describe('TransactionStatusLabel Component', () => { ); expect(queryByTestId('transaction-status-label')).toBeInTheDocument(); }); - - it('renders statusText properly when is custodyStatusDisplayText is defined', () => { - const props = { - custodyStatusDisplayText: 'test', - }; - - const { getByText } = renderWithProvider( - , - store, - ); - - expect(getByText(props.custodyStatusDisplayText)).toBeVisible(); - }); - - it('displays correct text and tooltip', () => { - const props = { - status: 'approved', - custodyStatus: 'approved', - custodyStatusDisplayText: 'Test', - }; - - const custodyAccount = createCustodyAccount(); - const customMockStore = createCustodyMockState(custodyAccount); - store = createMockStore(customMockStore); - - const { getByText } = renderWithProvider( - , - store, - ); - - expect(getByText(props.custodyStatusDisplayText)).toBeVisible(); - }); - - errorTestCases.forEach(({ name, props, expectedText }) => { - it(`displays correctly the ${name}`, () => { - const custodyAccount = createCustodyAccount(); - const customMockStore = createCustodyMockState(custodyAccount); - store = createMockStore(customMockStore); - - const { getByText } = renderWithProvider( - , - store, - ); - - expect(getByText(expectedText)).toBeVisible(); - }); - }); }); diff --git a/ui/components/app/wallet-overview/coin-buttons.tsx b/ui/components/app/wallet-overview/coin-buttons.tsx index e960e71bfa29..94e24960db51 100644 --- a/ui/components/app/wallet-overview/coin-buttons.tsx +++ b/ui/components/app/wallet-overview/coin-buttons.tsx @@ -31,12 +31,7 @@ import { SnapId } from '@metamask/snaps-sdk'; ///: BEGIN:ONLY_INCLUDE_IF(build-main,build-beta,build-flask) import { ChainId } from '../../../../shared/constants/network'; ///: END:ONLY_INCLUDE_IF -///: BEGIN:ONLY_INCLUDE_IF(build-mmi) -import { - getMmiPortfolioEnabled, - getMmiPortfolioUrl, -} from '../../../selectors/institutional/selectors'; -///: END:ONLY_INCLUDE_IF + import { I18nContext } from '../../../contexts/i18n'; import { ///: BEGIN:ONLY_INCLUDE_IF(build-flask) @@ -239,74 +234,6 @@ const CoinButtons = ({ return {}; }; - ///: BEGIN:ONLY_INCLUDE_IF(build-mmi) - const mmiPortfolioEnabled = useSelector(getMmiPortfolioEnabled); - const mmiPortfolioUrl = useSelector(getMmiPortfolioUrl); - - const portfolioEvent = () => { - trackEvent({ - category: MetaMetricsEventCategory.Navigation, - event: MetaMetricsEventName.MMIPortfolioButtonClicked, - }); - }; - - const stakingEvent = () => { - trackEvent({ - category: MetaMetricsEventCategory.Navigation, - event: MetaMetricsEventName.MMIPortfolioButtonClicked, - }); - }; - - const handleMmiStakingOnClick = useCallback(() => { - stakingEvent(); - global.platform.openTab({ - url: `${mmiPortfolioUrl}/stake`, - }); - }, [mmiPortfolioUrl]); - - const handleMmiPortfolioOnClick = useCallback(() => { - portfolioEvent(); - global.platform.openTab({ - url: mmiPortfolioUrl, - }); - }, [mmiPortfolioUrl]); - - const renderInstitutionalButtons = () => { - return ( - <> - - } - label={t('stake')} - onClick={handleMmiStakingOnClick} - /> - {mmiPortfolioEnabled && ( - - } - label={t('portfolio')} - onClick={handleMmiPortfolioOnClick} - /> - )} - - ); - }; - ///: END:ONLY_INCLUDE_IF - ///: BEGIN:ONLY_INCLUDE_IF(build-main,build-beta,build-flask) const { openBuyCryptoInPdapp } = useRamps(); @@ -449,11 +376,6 @@ const CoinButtons = ({ ///: END:ONLY_INCLUDE_IF await setCorrectChain(); - ///: BEGIN:ONLY_INCLUDE_IF(build-mmi) - global.platform.openTab({ - url: `${mmiPortfolioUrl}/swap`, - }); - ///: END:ONLY_INCLUDE_IF ///: BEGIN:ONLY_INCLUDE_IF(build-main,build-beta,build-flask) if (isSwapsChain) { @@ -485,9 +407,6 @@ const CoinButtons = ({ usingHardwareWallet, defaultSwapsToken, ///: END:ONLY_INCLUDE_IF - ///: BEGIN:ONLY_INCLUDE_IF(build-mmi) - mmiPortfolioUrl, - ///: END:ONLY_INCLUDE_IF ]); return ( @@ -515,11 +434,6 @@ const CoinButtons = ({ ///: END:ONLY_INCLUDE_IF } - { - ///: BEGIN:ONLY_INCLUDE_IF(build-mmi) - renderInstitutionalButtons() - ///: END:ONLY_INCLUDE_IF - } { }); }); - it('should open the MMI PD Swaps URI when clicking on Swap button with a Custody account', async () => { - const mockedStoreWithCustodyKeyring = { - ...mockStore, - metamask: { - ...mockStore.metamask, - mmiConfiguration: { - portfolio: { - enabled: true, - url: 'https://metamask-institutional.io', - }, - }, - keyrings: [ - { - type: 'Custody', - accounts: ['0x1'], - }, - ], - }, - }; - - const mockedStore = configureMockStore([thunk])( - mockedStoreWithCustodyKeyring, - ); - - const { queryByTestId } = renderWithProvider( - , - mockedStore, - ); - - const swapButton = queryByTestId(ETH_OVERVIEW_SWAP); - - expect(swapButton).toBeInTheDocument(); - expect(swapButton).not.toBeDisabled(); - - await act(async () => { - fireEvent.click(swapButton); - }); - - await waitFor(() => { - expect(openTabSpy).toHaveBeenCalledTimes(1); - expect(openTabSpy).toHaveBeenCalledWith({ - url: 'https://metamask-institutional.io/swap', - }); - }); - }); - it('should have the Bridge button disabled if chain id is not part of supported chains', () => { const mockedFantomStore = { ...mockStore, diff --git a/ui/components/component-library/icon/icon.types.ts b/ui/components/component-library/icon/icon.types.ts index 3afd17ef983b..2b098e78fa7f 100644 --- a/ui/components/component-library/icon/icon.types.ts +++ b/ui/components/component-library/icon/icon.types.ts @@ -61,6 +61,7 @@ export enum IconName { Connect = 'connect', CopySuccess = 'copy-success', Copy = 'copy', + Custody = 'custody', Customize = 'customize', Danger = 'danger', Dark = 'dark', @@ -119,7 +120,6 @@ export enum IconName { People = 'people', Pin = 'pin', ProgrammingArrows = 'programming-arrows', - Custody = 'custody', Question = 'question', Received = 'received', Refresh = 'refresh', diff --git a/ui/components/institutional/confirm-remove-jwt-modal/__snapshots__/confirm-remove-jwt-modal.test.tsx.snap b/ui/components/institutional/confirm-remove-jwt-modal/__snapshots__/confirm-remove-jwt-modal.test.tsx.snap deleted file mode 100644 index 7f057c9fe6f6..000000000000 --- a/ui/components/institutional/confirm-remove-jwt-modal/__snapshots__/confirm-remove-jwt-modal.test.tsx.snap +++ /dev/null @@ -1,3 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`Confirm Remove JWT should render correctly 1`] = `
`; diff --git a/ui/components/institutional/confirm-remove-jwt-modal/confirm-remove-jwt-modal.stories.tsx b/ui/components/institutional/confirm-remove-jwt-modal/confirm-remove-jwt-modal.stories.tsx deleted file mode 100644 index e2331752f273..000000000000 --- a/ui/components/institutional/confirm-remove-jwt-modal/confirm-remove-jwt-modal.stories.tsx +++ /dev/null @@ -1,35 +0,0 @@ -import React from 'react'; -import { StoryFn, Meta } from '@storybook/react'; -import ConfirmRemoveJWT from '.'; - -export default { - title: 'Components/Institutional/ConfirmRemoveJWT', - component: ConfirmRemoveJWT, - args: { - hideModal: () => { - /**/ - }, - removeAccount: () => { - /**/ - }, - token: '0xaD6D458402F60fD3Bd25163575031ACDce07538D', - custodyAccountDetails: [ - { - address: '0xaD6D458402F60fD3Bd25163575031ACDce07538D', - name: 'Test name account', - labels: [], - authDetails: { token: '0xaD6D458402F60fD3Bd25163575031ACDce07538D' }, - }, - ], - accounts: [ - { address: '0xaD6D458402F60fD3Bd25163575031ACDce07538D', balance: '0x0' }, - ], - }, -} as Meta; - -const Template: StoryFn = (args) => ( - -); - -export const DefaultStory = Template.bind({}); -DefaultStory.storyName = 'ConfirmRemoveJWT'; diff --git a/ui/components/institutional/confirm-remove-jwt-modal/confirm-remove-jwt-modal.test.tsx b/ui/components/institutional/confirm-remove-jwt-modal/confirm-remove-jwt-modal.test.tsx deleted file mode 100644 index 822303f19e1b..000000000000 --- a/ui/components/institutional/confirm-remove-jwt-modal/confirm-remove-jwt-modal.test.tsx +++ /dev/null @@ -1,66 +0,0 @@ -import React from 'react'; -import { fireEvent, waitFor } from '@testing-library/react'; -import configureMockStore from 'redux-mock-store'; -import thunk from 'redux-thunk'; -import { renderWithProvider } from '../../../../test/lib/render-helpers'; -import mockState from '../../../../test/data/mock-state.json'; -import ConfirmRemoveJwt from '.'; - -const mockedRemoveAccount = jest.fn(); -const mockedHideModal = jest.fn(); - -jest.mock('../../../store/actions', () => ({ - removeAccount: () => mockedRemoveAccount, - hideModal: () => mockedHideModal, -})); - -const address = '0xaD6D458402F60fD3Bd25163575031ACDce07538D'; - -const props = { - hideModal: mockedHideModal, - token: address, - custodyAccountDetails: [ - { - address, - name: 'Test name account', - labels: [], - authDetails: { token: address }, - }, - ], - accounts: [{ address, balance: '0x0' }], -}; - -const middleware = [thunk]; -const store = configureMockStore(middleware)(mockState); - -const render = () => { - return renderWithProvider(, store); -}; - -describe('Confirm Remove JWT', function () { - it('should render correctly', () => { - const { container } = render(); - - expect(container).toMatchSnapshot(); - }); - - it('should show full token address when "show more" is clicked', () => { - const { getByText } = render(); - - const showMoreLink = getByText('Show more'); - fireEvent.click(showMoreLink); - - const fullTokenAddress = getByText(address); - expect(fullTokenAddress).toBeInTheDocument(); - }); - - it('dispatches removeAccount action when user clicks remove button', async () => { - const { getByText } = render(); - - const removeButton = getByText('Remove'); - fireEvent.click(removeButton); - - await waitFor(() => expect(mockedRemoveAccount).toHaveBeenCalled()); - expect(mockedHideModal).toHaveBeenCalled(); - }); -}); diff --git a/ui/components/institutional/confirm-remove-jwt-modal/confirm-remove-jwt-modal.tsx b/ui/components/institutional/confirm-remove-jwt-modal/confirm-remove-jwt-modal.tsx deleted file mode 100644 index bc81660e5d2f..000000000000 --- a/ui/components/institutional/confirm-remove-jwt-modal/confirm-remove-jwt-modal.tsx +++ /dev/null @@ -1,184 +0,0 @@ -import React, { memo, useState, useEffect } from 'react'; -import { useDispatch } from 'react-redux'; -import CustodyAccountList from '../../../pages/institutional/account-list'; -import { useI18nContext } from '../../../hooks/useI18nContext'; -import { removeAccount } from '../../../store/actions'; -import withModalProps from '../../../helpers/higher-order-components/with-modal-props'; -import { - Box, - Text, - Modal, - ModalContent, - ModalHeader, - ModalBody, - ModalOverlay, - Button, - ButtonVariant, - ButtonSize, -} from '../../component-library'; -import { - BorderRadius, - Display, - TextAlign, - TextColor, - TextVariant, -} from '../../../helpers/constants/design-system'; - -type AuthDetails = { - token?: string; - jwt?: string; - refreshToken?: string; -}; - -type LabelItem = { - key: string; - value: string; -}; - -type CustodyAccountDetail = { - address: string; - name: string; - labels?: LabelItem[]; - authDetails: AuthDetails; -}; - -type Account = { - address: string; - balance: string; -}; - -type TokenAccount = { - address: string; - name: string; - labels?: LabelItem[]; - balance?: string; - token?: string; -}; - -type ConfirmRemoveJWTProps = { - hideModal: () => void; - token: string | { address: string }; - custodyAccountDetails: CustodyAccountDetail[]; - accounts: Account[]; -}; - -const ConfirmRemoveJWT: React.FC = ({ - custodyAccountDetails, - accounts, - token: propsToken, - hideModal, -}) => { - const t = useI18nContext(); - const dispatch = useDispatch(); - const [showMore, setShowMore] = useState(false); - const [tokenAccounts, setTokenAccounts] = useState([]); - let token: string | null = null; - - if (propsToken) { - if (typeof propsToken === 'object') { - token = propsToken.address; - } else { - token = propsToken; - } - } - - useEffect(() => { - const lowercasedTokenAddress = token?.toLowerCase() || ''; - - const filteredAccounts = custodyAccountDetails.filter((item) => { - const addressLower = item.address.toLowerCase(); - return accounts.find((acc) => acc.address.toLowerCase() === addressLower); - }); - - const tokens = filteredAccounts - .filter(({ authDetails }) => { - const getToken = - authDetails?.token ?? authDetails?.jwt ?? authDetails?.refreshToken; - return getToken?.toLowerCase() === lowercasedTokenAddress; - }) - .map(({ address, name, labels, authDetails }) => { - const lowercasedAddress = address.toLowerCase(); - const account = accounts.find( - ({ address: adressAcc }) => - adressAcc.toLowerCase() === lowercasedAddress, - ); - const balance = account?.balance; - const getToken = - authDetails?.token ?? authDetails?.jwt ?? authDetails?.refreshToken; - return { address, name, labels, balance, token: getToken }; - }); - - setTokenAccounts(tokens); - }, [accounts, custodyAccountDetails, token]); - - const handleRemove = async () => { - try { - for (const account of tokenAccounts) { - await dispatch(removeAccount(account.address.toLowerCase())); - } - hideModal(); - } catch (error) { - console.error(error); - } - }; - - const handleShowMore = () => { - setShowMore(true); - }; - - return ( - - - - {t('removeJWT')} - - - - {showMore && token ? token : `...${token?.slice(-9)}`} - - - {!showMore && ( - - - {t('showMore')} - - - )} - - {t('removeJWTDescription')} - - - - - - - - - - - ); -}; - -export default withModalProps(memo(ConfirmRemoveJWT)); diff --git a/ui/components/institutional/confirm-remove-jwt-modal/index.scss b/ui/components/institutional/confirm-remove-jwt-modal/index.scss deleted file mode 100644 index 666ec5cadee0..000000000000 --- a/ui/components/institutional/confirm-remove-jwt-modal/index.scss +++ /dev/null @@ -1,14 +0,0 @@ -.confirm-action-jwt { - &__jwt { - border: 1px solid var(--color-border-muted); - } - - &__show-more { - cursor: pointer; - } - - &__accounts-list { - margin-left: -5%; - overflow: hidden; - } -} diff --git a/ui/components/institutional/confirm-remove-jwt-modal/index.ts b/ui/components/institutional/confirm-remove-jwt-modal/index.ts deleted file mode 100644 index 3f27ef6b41c8..000000000000 --- a/ui/components/institutional/confirm-remove-jwt-modal/index.ts +++ /dev/null @@ -1 +0,0 @@ -export { default } from './confirm-remove-jwt-modal'; diff --git a/ui/components/institutional/custody-confirm-link-modal/custody-confirm-link-modal.stories.tsx b/ui/components/institutional/custody-confirm-link-modal/custody-confirm-link-modal.stories.tsx deleted file mode 100644 index fa10bebaec40..000000000000 --- a/ui/components/institutional/custody-confirm-link-modal/custody-confirm-link-modal.stories.tsx +++ /dev/null @@ -1,75 +0,0 @@ -import React from 'react'; -import { Provider } from 'react-redux'; -import configureStore from '../../../store/store'; -import testData from '../../../../.storybook/test-data'; -import CustodyConfirmLink from '.'; - -const customData = { - ...testData, - appState: { - ...testData.appState, - modal: { - modalState: { - props: { - link: { - url: 'test-url', - ethereum: { - accounts: [{}], - }, - text: '', - action: '', - }, - }, - }, - }, - }, - metamask: { - ...testData.metamask, - mmiConfiguration: { - custodians: [ - { - refreshTokenUrl: - 'https://saturn-custody.dev.metamask-institutional.io/oauth/token', - name: 'saturn-dev', - displayName: 'Saturn Custody', - enabled: true, - mmiApiUrl: 'https://api.dev.metamask-institutional.io/v1', - websocketApiUrl: - 'wss://websocket.dev.metamask-institutional.io/v1/ws', - apiBaseUrl: - 'https://saturn-custody.dev.metamask-institutional.io/eth', - iconUrl: - 'https://saturn-custody-ui.dev.metamask-institutional.io/saturn.svg', - isNoteToTraderSupported: true, - }, - ], - }, - custodyAccountDetails: { - '0xAddress': { - address: '0xAddress', - details: 'details', - custodyType: 'testCustody - Saturn', - custodianName: 'saturn-dev', - }, - }, - }, -}; - -const store = configureStore(customData); - -type CustodyConfirmLinkArgs = { - hideModal: () => void; -}; - -export default { - title: 'Components/Institutional/CustodyConfirmLink', - decorators: [(story) => {story()}], - component: CustodyConfirmLink, - args: {}, -}; - -export const DefaultStory = (args: CustodyConfirmLinkArgs) => ( - -); - -DefaultStory.storyName = 'CustodyConfirmLink'; diff --git a/ui/components/institutional/custody-confirm-link-modal/custody-confirm-link-modal.test.tsx b/ui/components/institutional/custody-confirm-link-modal/custody-confirm-link-modal.test.tsx deleted file mode 100644 index 1f4fae5168e9..000000000000 --- a/ui/components/institutional/custody-confirm-link-modal/custody-confirm-link-modal.test.tsx +++ /dev/null @@ -1,195 +0,0 @@ -import React from 'react'; -import { fireEvent } from '@testing-library/react'; -import configureStore from 'redux-mock-store'; -import { KeyringTypes } from '@metamask/keyring-controller'; -import { renderWithProvider } from '../../../../test/lib/render-helpers'; -import testData from '../../../../.storybook/test-data'; -import { hideModal } from '../../../store/actions'; -import { createMockInternalAccount } from '../../../../test/jest/mocks'; -import CustodyConfirmLink from '.'; - -const mockedSetWaitForConfirmDeepLinkDialog = jest - .fn() - .mockReturnValue({ type: 'TYPE' }); -jest.mock('../../../store/institutional/institution-background', () => ({ - mmiActionsFactory: () => ({ - setWaitForConfirmDeepLinkDialog: mockedSetWaitForConfirmDeepLinkDialog, - }), -})); - -jest.mock('../../../store/actions', () => ({ - hideModal: jest.fn().mockReturnValue({ type: 'TYPE' }), -})); - -const mockedCustodianName = 'saturn-dev'; - -describe('Custody Confirm Link', () => { - const mockInternalAccount = createMockInternalAccount({ - keyringType: KeyringTypes.hd, - address: '0xAddress', - name: 'testCustody - Saturn', - }); - const mockStore = { - ...testData, - appState: { - ...testData.appState, - modal: { - modalState: { - props: { - link: { - url: 'test-url', - ethereum: { - accounts: [{}], - }, - text: '', - action: '', - }, - }, - }, - }, - }, - metamask: { - ...testData.metamask, - internalAccounts: { - accounts: { - [mockInternalAccount.id]: mockInternalAccount, - }, - selectedAccount: mockInternalAccount.id, - }, - mmiConfiguration: { - custodians: [ - { - refreshTokenUrl: - 'https://saturn-custody.dev.metamask-institutional.io/oauth/token', - name: 'saturn-dev', - displayName: 'Saturn Custody', - enabled: true, - mmiApiUrl: 'https://api.dev.metamask-institutional.io/v1', - websocketApiUrl: - 'wss://websocket.dev.metamask-institutional.io/v1/ws', - apiBaseUrl: - 'https://saturn-custody.dev.metamask-institutional.io/eth', - iconUrl: - 'https://saturn-custody-ui.dev.metamask-institutional.io/saturn.svg', - isNoteToTraderSupported: true, - }, - ], - }, - custodyAccountDetails: { - '0xAddress': { - address: '0xAddress', - details: 'details', - custodyType: 'testCustody - Saturn', - custodianName: mockedCustodianName, - }, - }, - }, - }; - - let store = configureStore()(mockStore); - - it('tries to open new tab with deeplink URL', () => { - global.platform = { openTab: jest.fn(), closeCurrentWindow: jest.fn() }; - const { getByTestId } = renderWithProvider(, store); - fireEvent.click(getByTestId('custody-confirm-link__btn')); - expect(global.platform.openTab).toHaveBeenCalledWith({ - url: 'test-url', - }); - expect(mockedSetWaitForConfirmDeepLinkDialog).toHaveBeenCalledWith(false); - expect(hideModal).toHaveBeenCalledTimes(1); - }); - - it('shows custodian name when iconUrl is undefined', () => { - const customMockStore = { - ...mockStore, - metamask: { - ...testData.metamask, - ...mockStore.metamask, - mmiConfiguration: { - custodians: [ - { - refreshTokenUrl: - 'https://saturn-custody.dev.metamask-institutional.io/oauth/token', - name: 'saturn-dev', - displayName: 'Saturn Custody', - enabled: true, - mmiApiUrl: 'https://api.dev.metamask-institutional.io/v1', - websocketApiUrl: - 'wss://websocket.dev.metamask-institutional.io/v1/ws', - apiBaseUrl: - 'https://saturn-custody.dev.metamask-institutional.io/eth', - iconUrl: null, - isNoteToTraderSupported: true, - }, - ], - }, - }, - }; - - store = configureStore()(customMockStore); - - const { getByText } = renderWithProvider(, store); - - expect(getByText(mockedCustodianName)).toBeVisible(); - }); - - it('shows text that comes from modal state if defined', () => { - const mockModalStateText = 'test modal state text'; - const customMockStore = { - ...mockStore, - appState: { - ...testData.appState, - modal: { - modalState: { - props: { - link: { - url: 'test-url', - ethereum: { - accounts: [{}], - }, - text: mockModalStateText, - action: '', - }, - }, - }, - }, - }, - }; - - store = configureStore()(customMockStore); - - const { getByText } = renderWithProvider(, store); - - expect(getByText(mockModalStateText)).toBeVisible(); - }); - - it('shows action text that comes from modal state if defined', () => { - const mockModalStateActionText = 'test modal state action text'; - const customMockStore = { - ...mockStore, - appState: { - ...testData.appState, - modal: { - modalState: { - props: { - link: { - url: 'test-url', - ethereum: { - accounts: [{}], - }, - text: '', - action: mockModalStateActionText, - }, - }, - }, - }, - }, - }; - - store = configureStore()(customMockStore); - - const { getByText } = renderWithProvider(, store); - - expect(getByText(mockModalStateActionText)).toBeVisible(); - }); -}); diff --git a/ui/components/institutional/custody-confirm-link-modal/custody-confirm-link-modal.tsx b/ui/components/institutional/custody-confirm-link-modal/custody-confirm-link-modal.tsx deleted file mode 100644 index ec29138a5696..000000000000 --- a/ui/components/institutional/custody-confirm-link-modal/custody-confirm-link-modal.tsx +++ /dev/null @@ -1,169 +0,0 @@ -import React, { useContext } from 'react'; -import { useSelector, useDispatch } from 'react-redux'; -import { MetaMetricsContext } from '../../../contexts/metametrics'; -import { - MetaMetricsEventName, - MetaMetricsEventCategory, -} from '../../../../shared/constants/metametrics'; -import { useI18nContext } from '../../../hooks/useI18nContext'; -import withModalProps from '../../../helpers/higher-order-components/with-modal-props'; -import { toChecksumHexAddress } from '../../../../shared/modules/hexstring-utils'; -import { mmiActionsFactory } from '../../../store/institutional/institution-background'; -import { setSelectedInternalAccount } from '../../../store/actions'; -import { getInternalAccounts } from '../../../selectors'; -import { - getMMIAddressFromModalOrAddress, - getCustodyAccountDetails, - getMMIConfiguration, -} from '../../../selectors/institutional/selectors'; -import { - AlignItems, - Display, - FlexDirection, - JustifyContent, - TextAlign, - TextColor, - TextVariant, -} from '../../../helpers/constants/design-system'; -import { - Button, - Modal, - ModalContent, - ModalHeader, - ModalOverlay, - Text, - Box, - ButtonVariant, -} from '../../component-library'; - -type CustodyConfirmLinkProps = { - hideModal: () => void; -}; - -type ModalStateProps = { - url?: string; - ethereum?: { - accounts: string[]; - }; - text?: string; - action?: string; -}; - -type State = { - appState: { - modal: { - modalState: { - props: { - link: ModalStateProps; - }; - }; - }; - }; -}; - -const CustodyConfirmLink: React.FC = ({ - hideModal, -}) => { - const t = useI18nContext(); - const dispatch = useDispatch(); - const mmiActions = mmiActionsFactory(); - const trackEvent = useContext(MetaMetricsContext); - const mmiAccounts = useSelector(getInternalAccounts); - const address = useSelector(getMMIAddressFromModalOrAddress); - const custodyAccountDetails = useSelector(getCustodyAccountDetails) || {}; - const { url, ethereum, text, action } = useSelector( - (state: State) => state.appState.modal.modalState.props.link || {}, - ); - const { custodians } = useSelector(getMMIConfiguration) || {}; - const { custodianName } = - custodyAccountDetails[toChecksumHexAddress(address)] || {}; - const { displayName, iconUrl } = - custodians?.find((item) => item.envName === custodianName) || {}; - - const onClick = () => { - if (url) { - global.platform.openTab({ url }); - } - - if (ethereum) { - const ethAccount = Object.values(mmiAccounts) - .map((internalAccount: { address: string }) => internalAccount.address) - .find((account: string) => - ethereum.accounts.includes(account.toLowerCase()), - ); - - ethAccount && dispatch(setSelectedInternalAccount(ethAccount)); - } - - trackEvent({ - category: MetaMetricsEventCategory.MMI, - event: MetaMetricsEventName.DeeplinkClicked, - }); - dispatch(mmiActions.setWaitForConfirmDeepLinkDialog(false)); - hideModal(); - }; - - return ( - - - - {t('awaitingApproval')} - - {iconUrl ? ( - - MMI logo - {'>'} - {custodianName - - ) : ( - - {custodianName} - - )} - - {text || t('custodyDeeplinkDescription', [displayName])} - - - - - - ); -}; - -export default withModalProps(CustodyConfirmLink); diff --git a/ui/components/institutional/custody-confirm-link-modal/index.scss b/ui/components/institutional/custody-confirm-link-modal/index.scss deleted file mode 100644 index f9771d761efb..000000000000 --- a/ui/components/institutional/custody-confirm-link-modal/index.scss +++ /dev/null @@ -1,18 +0,0 @@ -.custody-confirm-link { - &__description { - border-bottom: 1px solid var(--brand-colors-grey-grey200); - } - - &__img { - margin: 0 20px; - display: block; - padding: 20px 0; - width: 45px; - text-align: center; - } - - &__btn { - width: 300px !important; - margin: 20px auto; - } -} diff --git a/ui/components/institutional/custody-confirm-link-modal/index.ts b/ui/components/institutional/custody-confirm-link-modal/index.ts deleted file mode 100644 index da3cf4bc28bc..000000000000 --- a/ui/components/institutional/custody-confirm-link-modal/index.ts +++ /dev/null @@ -1,3 +0,0 @@ -import CustodyConfirmLink from './custody-confirm-link-modal'; - -export default CustodyConfirmLink; diff --git a/ui/components/institutional/custody-labels/__snapshots__/custody-labels.test.tsx.snap b/ui/components/institutional/custody-labels/__snapshots__/custody-labels.test.tsx.snap deleted file mode 100644 index 5075cb3874e0..000000000000 --- a/ui/components/institutional/custody-labels/__snapshots__/custody-labels.test.tsx.snap +++ /dev/null @@ -1,16 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`CustodyLabels Component should render correctly 1`] = ` -
- -
-`; diff --git a/ui/components/institutional/custody-labels/custody-labels.stories.tsx b/ui/components/institutional/custody-labels/custody-labels.stories.tsx deleted file mode 100644 index 5eabdabf69e0..000000000000 --- a/ui/components/institutional/custody-labels/custody-labels.stories.tsx +++ /dev/null @@ -1,30 +0,0 @@ -import React from 'react'; -import CustodyLabels from '.'; - -export default { - title: 'Components/Institutional/CustodyLabels', - component: CustodyLabels, - args: { - labels: [{ key: 'testKey', value: 'value' }], - index: 'index', - hideNetwork: 'true', - }, -}; - -type LabelItem = { - key: string; - value: string; -}; - -type CustodyLabelsArgs = { - labels: LabelItem[]; - index?: string; - background?: string; - hideNetwork?: boolean; -}; - -export const DefaultStory = (args: CustodyLabelsArgs) => ( - -); - -DefaultStory.storyName = 'CustodyLabels'; diff --git a/ui/components/institutional/custody-labels/custody-labels.test.tsx b/ui/components/institutional/custody-labels/custody-labels.test.tsx deleted file mode 100644 index da079e5c2425..000000000000 --- a/ui/components/institutional/custody-labels/custody-labels.test.tsx +++ /dev/null @@ -1,17 +0,0 @@ -import React from 'react'; -import { render } from '@testing-library/react'; -import CustodyLabels from './custody-labels'; - -describe('CustodyLabels Component', () => { - it('should render correctly', () => { - const props = { - labels: [{ key: 'testKey', value: 'value' }], - index: 'index', - hideNetwork: true, - }; - - const { container } = render(); - - expect(container).toMatchSnapshot(); - }); -}); diff --git a/ui/components/institutional/custody-labels/custody-labels.tsx b/ui/components/institutional/custody-labels/custody-labels.tsx deleted file mode 100644 index 002b54c8f0a5..000000000000 --- a/ui/components/institutional/custody-labels/custody-labels.tsx +++ /dev/null @@ -1,56 +0,0 @@ -import React from 'react'; -import { Label, Text } from '../../component-library'; - -import { - TextTransform, - BackgroundColor, - TextColor, - FontWeight, - BorderRadius, - TextVariant, - Display, -} from '../../../helpers/constants/design-system'; -import { LabelItem } from '../../../pages/institutional/custody/custody'; - -type CustodyLabelsProps = { - labels: LabelItem[]; - index?: string; - background?: string; - hideNetwork?: boolean; -}; - -const CustodyLabels: React.FC = (props) => { - const { labels, index, background, hideNetwork } = props; - const filteredLabels = hideNetwork - ? labels.filter((item) => item.key !== 'network_name') - : labels; - - return ( - - ); -}; - -export default CustodyLabels; diff --git a/ui/components/institutional/custody-labels/index.scss b/ui/components/institutional/custody-labels/index.scss deleted file mode 100644 index 8b93f021820a..000000000000 --- a/ui/components/institutional/custody-labels/index.scss +++ /dev/null @@ -1,9 +0,0 @@ -.custody-label { - z-index: 1; - letter-spacing: 0.5px; - white-space: nowrap; - max-width: 150px; - text-overflow: ellipsis; - overflow: hidden; - display: block; -} diff --git a/ui/components/institutional/custody-labels/index.ts b/ui/components/institutional/custody-labels/index.ts deleted file mode 100644 index d7d705707018..000000000000 --- a/ui/components/institutional/custody-labels/index.ts +++ /dev/null @@ -1 +0,0 @@ -export { default } from './custody-labels'; diff --git a/ui/components/institutional/institutional-components.scss b/ui/components/institutional/institutional-components.scss deleted file mode 100644 index 34d426b5a398..000000000000 --- a/ui/components/institutional/institutional-components.scss +++ /dev/null @@ -1,9 +0,0 @@ -/** -* Please import your styles in order of atomicity. -* The most atomic styles should be imported first. -* This will help improve specificity and reduce the chance of -* unintended overrides. -**/ -@import 'jwt-dropdown/jwt-dropdown'; -@import 'note-to-trader/index'; -@import 'qr-code-modal/qr-code-modal'; diff --git a/ui/components/institutional/interactive-replacement-token-modal/index.ts b/ui/components/institutional/interactive-replacement-token-modal/index.ts deleted file mode 100644 index 1f1b5f7f68b8..000000000000 --- a/ui/components/institutional/interactive-replacement-token-modal/index.ts +++ /dev/null @@ -1 +0,0 @@ -export { default } from './interactive-replacement-token-modal'; diff --git a/ui/components/institutional/interactive-replacement-token-modal/interactive-replacement-token-modal.stories.tsx b/ui/components/institutional/interactive-replacement-token-modal/interactive-replacement-token-modal.stories.tsx deleted file mode 100644 index f0327aaa227f..000000000000 --- a/ui/components/institutional/interactive-replacement-token-modal/interactive-replacement-token-modal.stories.tsx +++ /dev/null @@ -1,66 +0,0 @@ -import React from 'react'; -import { Provider } from 'react-redux'; -import configureStore from '../../../store/store'; -import testData from '../../../../.storybook/test-data'; -import InteractiveReplacementTokenModal from '.'; - -const customData = { - ...testData, - metamask: { - ...testData.metamask, - mmiConfiguration: { - portfolio: { - enabled: true, - url: 'https://dev.metamask-institutional.io/', - }, - features: { - websocketApi: true, - }, - custodians: [ - { - refreshTokenUrl: - 'https://saturn-custody.dev.metamask-institutional.io/oauth/token', - name: 'saturn-dev', - displayName: 'Saturn Custody', - enabled: true, - mmiApiUrl: 'https://api.dev.metamask-institutional.io/v1', - websocketApiUrl: - 'wss://websocket.dev.metamask-institutional.io/v1/ws', - apiBaseUrl: - 'https://saturn-custody.dev.metamask-institutional.io/eth', - iconUrl: - 'https://saturn-custody-ui.dev.metamask-institutional.io/saturn.svg', - isNoteToTraderSupported: true, - }, - ], - }, - custodyAccountDetails: { - '0xAddress': { - address: '0xAddress', - details: 'details', - custodyType: 'testCustody - Saturn', - custodianName: 'saturn-dev', - }, - }, - isUnlocked: true, - interactiveReplacementToken: { - oldRefreshToken: 'abc', - url: 'https://saturn-custody-ui.dev.metamask-institutional.io', - }, - preferences: {}, - }, -}; - -const store = configureStore(customData); - -export default { - title: 'Components/Institutional/InteractiveReplacementToken-Modal', - decorators: [(story) => {story()}], - component: InteractiveReplacementTokenModal, -}; - -export const DefaultStory = (args) => ( - -); - -DefaultStory.storyName = 'InteractiveReplacementTokenModal'; diff --git a/ui/components/institutional/interactive-replacement-token-modal/interactive-replacement-token-modal.test.tsx b/ui/components/institutional/interactive-replacement-token-modal/interactive-replacement-token-modal.test.tsx deleted file mode 100644 index 97eaa364f104..000000000000 --- a/ui/components/institutional/interactive-replacement-token-modal/interactive-replacement-token-modal.test.tsx +++ /dev/null @@ -1,71 +0,0 @@ -import React from 'react'; -import configureMockStore from 'redux-mock-store'; -import { renderWithProvider } from '../../../../test/lib/render-helpers'; -import testData from '../../../../.storybook/test-data'; -import InteractiveReplacementTokenModal from '.'; - -describe('Interactive Replacement Token Modal', function () { - const mockStore = { - ...testData, - metamask: { - ...testData.metamask, - mmiConfiguration: { - portfolio: { - enabled: true, - url: 'https://dev.metamask-institutional.io/', - }, - features: { - websocketApi: true, - }, - custodians: [ - { - refreshTokenUrl: - 'https://saturn-custody.dev.metamask-institutional.io/oauth/token', - name: 'saturn-dev', - displayName: 'Saturn Custody', - enabled: true, - mmiApiUrl: 'https://api.dev.metamask-institutional.io/v1', - websocketApiUrl: - 'wss://websocket.dev.metamask-institutional.io/v1/ws', - apiBaseUrl: - 'https://saturn-custody.dev.metamask-institutional.io/eth', - iconUrl: - 'https://saturn-custody-ui.dev.metamask-institutional.io/saturn.svg', - isNoteToTraderSupported: true, - }, - ], - }, - custodyAccountDetails: { - '0xAddress': { - address: '0xAddress', - details: 'details', - custodyType: 'testCustody - Saturn', - custodianName: 'saturn-dev', - }, - }, - isUnlocked: true, - interactiveReplacementToken: { - oldRefreshToken: 'abc', - url: 'https://saturn-custody-ui.dev.metamask-institutional.io', - }, - preferences: {}, - }, - }; - - const store = configureMockStore()(mockStore); - - it('should render the interactive-replacement-token-modal', () => { - global.platform = { - closeCurrentWindow: jest.fn(), - openTab: jest.fn(), - }; - - const { getByText, getByTestId } = renderWithProvider( - , - store, - ); - - expect(getByTestId('interactive-replacement-token-modal')).toBeVisible(); - expect(getByText('Your custodian session has expired')).toBeInTheDocument(); - }); -}); diff --git a/ui/components/institutional/interactive-replacement-token-modal/interactive-replacement-token-modal.tsx b/ui/components/institutional/interactive-replacement-token-modal/interactive-replacement-token-modal.tsx deleted file mode 100644 index e76dabc7add7..000000000000 --- a/ui/components/institutional/interactive-replacement-token-modal/interactive-replacement-token-modal.tsx +++ /dev/null @@ -1,151 +0,0 @@ -import React, { useContext } from 'react'; -import { useDispatch, useSelector } from 'react-redux'; -import { ICustodianType } from '@metamask-institutional/types'; -import { useI18nContext } from '../../../hooks/useI18nContext'; -import { MetaMetricsContext } from '../../../contexts/metametrics'; -import { hideModal } from '../../../store/actions'; -import { getSelectedInternalAccount } from '../../../selectors/accounts'; -import { toChecksumHexAddress } from '../../../../shared/modules/hexstring-utils'; -import { - Box, - Button, - Modal, - ModalOverlay, - Text, - ModalHeader, - ModalContent, -} from '../../component-library'; - -import { - BlockSize, - BackgroundColor, - Display, - FlexWrap, - FlexDirection, - BorderRadius, - FontWeight, - TextAlign, - AlignItems, -} from '../../../helpers/constants/design-system'; -import { - MetaMetricsEventCategory, - MetaMetricsEventName, -} from '../../../../shared/constants/metametrics'; - -type State = { - metamask: { - interactiveReplacementToken?: { url: string }; - mmiConfiguration: { custodians: ICustodianType[] }; - custodyAccountDetails: { [address: string]: { custodianName?: string } }; - }; -}; - -const InteractiveReplacementTokenModal: React.FC = () => { - const t = useI18nContext(); - const trackEvent = useContext(MetaMetricsContext); - const dispatch = useDispatch(); - - const url = useSelector( - (state: State) => state.metamask.interactiveReplacementToken?.url, - ); - const custodians = useSelector( - (state: State) => state.metamask.mmiConfiguration.custodians, - ); - const address = useSelector(getSelectedInternalAccount)?.address || ''; - const custodyAccountDetails = useSelector( - (state: State) => - state.metamask.custodyAccountDetails[toChecksumHexAddress(address)], - ); - - const custodianName = custodyAccountDetails?.custodianName; - const custodian = custodians.find( - (item) => item.envName === custodianName, - ) || { displayName: '', iconUrl: null }; - - const handleSubmit = () => { - if (url) { - global.platform.openTab({ url }); - - trackEvent({ - category: MetaMetricsEventCategory.MMI, - event: MetaMetricsEventName.InteractiveReplacementTokenButtonClicked, - }); - } - }; - - const handleClose = () => { - dispatch(hideModal()); - }; - - return ( - - - - - - {t('custodyRefreshTokenModalTitle')} - - {custodian.iconUrl ? ( - - - {custodian.displayName} - - - ) : ( - - {custodian.displayName} - - )} - - - {t('custodyRefreshTokenModalDescription', [ - custodian.displayName, - ])} - - - {t('custodyRefreshTokenModalSubtitle')} - - - {t('custodyRefreshTokenModalDescription1')} - - - {t('custodyRefreshTokenModalDescription2')} - - - - - - - ); -}; - -export default InteractiveReplacementTokenModal; diff --git a/ui/components/institutional/interactive-replacement-token-notification/index.scss b/ui/components/institutional/interactive-replacement-token-notification/index.scss deleted file mode 100644 index 54dbeeea4735..000000000000 --- a/ui/components/institutional/interactive-replacement-token-notification/index.scss +++ /dev/null @@ -1,17 +0,0 @@ -@use "design-system"; - -.interactive-replacement-token-notification { - height: 24px; - - @media screen and (min-width: design-system.$break-large) { - width: 85vw; - } - - @media screen and (min-width: 768px) { - width: 80vw; - } - - @media screen and (min-width: 1280px) { - width: 62vw; - } -} diff --git a/ui/components/institutional/interactive-replacement-token-notification/index.ts b/ui/components/institutional/interactive-replacement-token-notification/index.ts deleted file mode 100644 index e92242cea500..000000000000 --- a/ui/components/institutional/interactive-replacement-token-notification/index.ts +++ /dev/null @@ -1 +0,0 @@ -export { default } from './interactive-replacement-token-notification'; diff --git a/ui/components/institutional/interactive-replacement-token-notification/interactive-replacement-token-notification.stories.tsx b/ui/components/institutional/interactive-replacement-token-notification/interactive-replacement-token-notification.stories.tsx deleted file mode 100644 index 381c4573add3..000000000000 --- a/ui/components/institutional/interactive-replacement-token-notification/interactive-replacement-token-notification.stories.tsx +++ /dev/null @@ -1,78 +0,0 @@ -import React from 'react'; -import { Provider } from 'react-redux'; -import configureStore from '../../../store/store'; -import testData from '../../../../.storybook/test-data'; -import InteractiveReplacementTokenNotification from '.'; - -const customData = { - ...testData, - metamask: { - ...testData.metamask, - isUnlocked: true, - interactiveReplacementToken: { - oldRefreshToken: - '81f96a88b6cbc5f50d3864122349fa9a9755833ee82a7e3cf6f268c78aab51ab', - url: 'url', - }, - preferences: {}, - keyrings: [ - { - type: 'Custody - Saturn', - accounts: ['0xca8f1F0245530118D0cf14a06b01Daf8f76Cf281'], - }, - ], - internalAccounts: { - accounts: { - 'cf8dace4-9439-4bd4-b3a8-88c821c8fcb3': { - address: '0xca8f1F0245530118D0cf14a06b01Daf8f76Cf281', - id: 'cf8dace4-9439-4bd4-b3a8-88c821c8fcb3', - metadata: { - name: 'Test Account', - keyring: { - type: 'Custody - Saturn', - }, - }, - options: {}, - methods: [], - type: 'EOA', - }, - }, - selectedAccount: 'cf8dace4-9439-4bd4-b3a8-88c821c8fcb3', - }, - custodyAccountDetails: { - '0xca8f1F0245530118D0cf14a06b01Daf8f76Cf281': { - address: '0xca8f1F0245530118D0cf14a06b01Daf8f76Cf281', - authDetails: { - refreshToken: 'def', - }, - custodianName: 'saturn-dev', - }, - }, - }, -}; - -const store = configureStore(customData); - -export default { - title: 'Components/Institutional/InteractiveReplacementToken-Notification', - decorators: [(story) => {story()}], - component: InteractiveReplacementTokenNotification, - args: { - isVisible: true, - }, - argTypes: { - onClick: { - action: 'onClick', - }, - }, -}; - -type InteractiveReplacementTokenNotificationArgs = { - isVisible?: boolean; -}; - -export const DefaultStory = ( - args: InteractiveReplacementTokenNotificationArgs, -) => ; - -DefaultStory.storyName = 'InteractiveReplacementTokenNotification'; diff --git a/ui/components/institutional/interactive-replacement-token-notification/interactive-replacement-token-notification.test.tsx b/ui/components/institutional/interactive-replacement-token-notification/interactive-replacement-token-notification.test.tsx deleted file mode 100644 index 4c132ecbd414..000000000000 --- a/ui/components/institutional/interactive-replacement-token-notification/interactive-replacement-token-notification.test.tsx +++ /dev/null @@ -1,166 +0,0 @@ -import React from 'react'; -import configureMockStore from 'redux-mock-store'; -import thunk from 'redux-thunk'; -import { screen, fireEvent } from '@testing-library/react'; -import { EthAccountType } from '@metamask/keyring-api'; -import { act } from 'react-dom/test-utils'; -import * as hashUtils from '../../../../shared/modules/hash.utils'; -import { KeyringType } from '../../../../shared/constants/keyring'; -import { renderWithProvider } from '../../../../test/lib/render-helpers'; -import { ETH_EOA_METHODS } from '../../../../shared/constants/eth-methods'; -import InteractiveReplacementTokenNotification from './interactive-replacement-token-notification'; - -jest.mock('../../../../shared/modules/hash.utils', () => ({ - sha256: jest.fn(), -})); - -const mockedGetCustodianToken = jest - .fn() - .mockReturnValue({ type: 'Custody', payload: 'token' }); - -const mockedGetAllCustodianAccountsWithToken = jest.fn().mockReturnValue({ - type: 'TYPE', - payload: [ - { - address: '0xca8f1F0245530118D0cf14a06b01Daf8f76Cf281', - authDetails: { refreshToken: 'def' }, - }, - ], -}); - -jest.mock('../../../store/institutional/institution-background', () => ({ - mmiActionsFactory: () => ({ - getCustodianToken: mockedGetCustodianToken, - getAllCustodianAccountsWithToken: mockedGetAllCustodianAccountsWithToken, - }), -})); - -jest.mock('../../../store/institutional/institution-actions', () => ({ - showInteractiveReplacementTokenModal: jest - .fn() - .mockReturnValue({ type: 'TYPE' }), -})); - -describe('Interactive Replacement Token Notification', () => { - beforeEach(() => { - ( - hashUtils.sha256 as jest.MockedFunction - ).mockImplementation(() => Promise.resolve('def')); - }); - - const selectedAccount = 'cf8dace4-9439-4bd4-b3a8-88c821c8fcb3'; - - const mockStore = { - metamask: { - internalAccounts: { - accounts: { - 'cf8dace4-9439-4bd4-b3a8-88c821c8fcb3': { - address: '0xca8f1F0245530118D0cf14a06b01Daf8f76Cf281', - id: 'cf8dace4-9439-4bd4-b3a8-88c821c8fcb3', - metadata: { - name: 'Test Account', - keyring: { - type: 'Custody', - }, - }, - options: {}, - methods: ETH_EOA_METHODS, - type: EthAccountType.Eoa, - }, - }, - selectedAccount, - }, - isUnlocked: false, - interactiveReplacementToken: { oldRefreshToken: 'abc' }, - preferences: {}, - keyrings: [ - { - type: KeyringType.imported, - accounts: ['0xca8f1F0245530118D0cf14a06b01Daf8f76Cf281', '0x2'], - }, - { - type: KeyringType.ledger, - accounts: [], - }, - ], - }, - }; - - it('should not render if show notification is false', () => { - const store = configureMockStore([thunk])(mockStore); - - renderWithProvider(, store); - - expect( - screen.queryByTestId('interactive-replacement-token-notification'), - ).not.toBeInTheDocument(); - }); - - it('should render if show notification is true and click on learn more', async () => { - const customMockStore = { - ...mockStore, - metamask: { - ...mockStore.metamask, - isUnlocked: true, - interactiveReplacementToken: { oldRefreshToken: 'def', url: 'url' }, - keyrings: [ - { - type: 'Custody - Saturn', - accounts: ['0xca8f1F0245530118D0cf14a06b01Daf8f76Cf281'], - }, - ], - }, - }; - const store = configureMockStore([thunk])(customMockStore); - - await act(async () => { - renderWithProvider(, store); - }); - - expect( - screen.getByTestId('interactive-replacement-token-notification'), - ).toBeInTheDocument(); - expect(screen.getByTestId('show-modal')).toBeInTheDocument(); - - await act(async () => { - fireEvent.click(screen.getByTestId('show-modal')); - }); - }); - - it('should render and call showNotification when component starts', async () => { - const customMockStore = { - ...mockStore, - metamask: { - ...mockStore.metamask, - isUnlocked: true, - interactiveReplacementToken: { oldRefreshToken: 'def', url: 'url' }, - keyrings: [ - { - type: 'Custody - Saturn', - accounts: ['0xca8f1F0245530118D0cf14a06b01Daf8f76Cf281', '0x2'], - }, - { - type: KeyringType.ledger, - accounts: [], - }, - ], - }, - }; - - const store = configureMockStore([thunk])(customMockStore); - - await act(async () => { - renderWithProvider(, store); - }); - - expect(mockedGetCustodianToken).toHaveBeenCalled(); - - await act(async () => { - await new Promise((resolve) => setTimeout(resolve, 0)); - }); - - expect( - screen.getByTestId('interactive-replacement-token-notification'), - ).toBeInTheDocument(); - }); -}); diff --git a/ui/components/institutional/interactive-replacement-token-notification/interactive-replacement-token-notification.tsx b/ui/components/institutional/interactive-replacement-token-notification/interactive-replacement-token-notification.tsx deleted file mode 100644 index 7c1d0f60488f..000000000000 --- a/ui/components/institutional/interactive-replacement-token-notification/interactive-replacement-token-notification.tsx +++ /dev/null @@ -1,151 +0,0 @@ -import React, { useState, useEffect } from 'react'; -import { useDispatch, useSelector } from 'react-redux'; -import { - getCurrentKeyring, - getSelectedInternalAccount, -} from '../../../selectors'; -import { getInteractiveReplacementToken } from '../../../selectors/institutional/selectors'; -import { getIsUnlocked } from '../../../ducks/metamask/metamask'; -import { useI18nContext } from '../../../hooks/useI18nContext'; -import { mmiActionsFactory } from '../../../store/institutional/institution-background'; -import { showInteractiveReplacementTokenModal } from '../../../store/institutional/institution-actions'; -import { sha256 } from '../../../../shared/modules/hash.utils'; -import { - IconColor, - AlignItems, - Display, - BlockSize, - JustifyContent, - TextColor, - TextVariant, - BackgroundColor, -} from '../../../helpers/constants/design-system'; -import { - Icon, - IconName, - IconSize, - ButtonLink, - Box, - Text, - ButtonLinkSize, -} from '../../component-library'; - -type InteractiveReplacementTokenNotificationProps = { - isVisible?: boolean; -}; - -const InteractiveReplacementTokenNotification: React.FC< - InteractiveReplacementTokenNotificationProps -> = ({ isVisible }) => { - const t = useI18nContext(); - const dispatch = useDispatch(); - const mmiActions = mmiActionsFactory(); - - const keyring = useSelector(getCurrentKeyring); - const { address } = useSelector(getSelectedInternalAccount); - const isUnlocked = useSelector(getIsUnlocked); - const interactiveReplacementToken = useSelector( - getInteractiveReplacementToken, - ); - - const [showNotification, setShowNotification] = useState(isVisible); - - useEffect(() => { - const handleShowNotification = async () => { - const hasInteractiveReplacementToken = - interactiveReplacementToken && - Boolean(Object.keys(interactiveReplacementToken).length); - - // @ts-expect-error keyring type is wrong maybe? - if (!/^Custody/u.test(keyring.type) || !hasInteractiveReplacementToken) { - setShowNotification(false); - return; - } - - const token = (await dispatch( - mmiActions.getCustodianToken(address), - )) as unknown as string; - const custodyAccountDetails = await dispatch( - mmiActions.getAllCustodianAccountsWithToken( - // @ts-expect-error keyring type is wrong maybe? - keyring.type.split(' - ')[1], - token, - ), - ); - - const showNotificationValue = - isUnlocked && - interactiveReplacementToken.oldRefreshToken && - custodyAccountDetails && - Boolean(Object.keys(custodyAccountDetails).length); - - let tokenAccount; - - if (Array.isArray(custodyAccountDetails)) { - tokenAccount = custodyAccountDetails - .filter( - (item) => item.address.toLowerCase() === address.toLowerCase(), - ) - .map((item) => ({ - token: item.authDetails?.refreshToken, - }))[0]; - } - - const refreshTokenAccount = await sha256( - tokenAccount?.token + interactiveReplacementToken.url, - ); - - setShowNotification( - showNotificationValue && - refreshTokenAccount === interactiveReplacementToken.oldRefreshToken, - ); - }; - - handleShowNotification(); - }, [ - address, - interactiveReplacementToken?.oldRefreshToken, - isUnlocked, - dispatch, - // @ts-expect-error keyring type is wrong maybe? - keyring.type, - interactiveReplacementToken, - mmiActions, - ]); - - return showNotification ? ( - - - - {t('custodySessionExpired')} - - - { - dispatch(showInteractiveReplacementTokenModal()); - }} - > - {t('learnMoreUpperCase')} - - - - ) : null; -}; - -export default InteractiveReplacementTokenNotification; diff --git a/ui/components/institutional/jwt-dropdown/__snapshots__/jwt-dropdown.test.tsx.snap b/ui/components/institutional/jwt-dropdown/__snapshots__/jwt-dropdown.test.tsx.snap deleted file mode 100644 index 77b89bf5ea68..000000000000 --- a/ui/components/institutional/jwt-dropdown/__snapshots__/jwt-dropdown.test.tsx.snap +++ /dev/null @@ -1,43 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`JwtDropdown should render the Jwt dropdown component 1`] = ` -
-
-

- [selectJWT] -

- -
-
-`; diff --git a/ui/components/institutional/jwt-dropdown/index.ts b/ui/components/institutional/jwt-dropdown/index.ts deleted file mode 100644 index 455c3c0aedaf..000000000000 --- a/ui/components/institutional/jwt-dropdown/index.ts +++ /dev/null @@ -1 +0,0 @@ -export { default } from './jwt-dropdown'; diff --git a/ui/components/institutional/jwt-dropdown/jwt-dropdown.scss b/ui/components/institutional/jwt-dropdown/jwt-dropdown.scss deleted file mode 100644 index 32acb635db1b..000000000000 --- a/ui/components/institutional/jwt-dropdown/jwt-dropdown.scss +++ /dev/null @@ -1,12 +0,0 @@ -@use "design-system"; - -.custody-search-jwt__select { - height: 54px; - width: 100%; - display: flex; - align-items: center; - - &-title { - @include design-system.Paragraph; - } -} diff --git a/ui/components/institutional/jwt-dropdown/jwt-dropdown.stories.tsx b/ui/components/institutional/jwt-dropdown/jwt-dropdown.stories.tsx deleted file mode 100644 index f1cb13d2f9b6..000000000000 --- a/ui/components/institutional/jwt-dropdown/jwt-dropdown.stories.tsx +++ /dev/null @@ -1,27 +0,0 @@ -import React from 'react'; -import { action } from '@storybook/addon-actions'; -import JwtDropdown from '.'; - -export default { - title: 'Components/Institutional/JwtDropdown', - component: JwtDropdown, - args: { - jwtList: ['jwt1', 'jwt2'], - currentJwt: 'jwt1', - onChange: () => { - action('onChange'); - }, - }, -}; - -type JwtDropdownArgs = { - jwtList: string[]; - currentJwt: string; - onChange: (value: string) => void; -}; - -export const DefaultStory = (args: JwtDropdownArgs) => ( - -); - -DefaultStory.storyName = 'JwtDropdown'; diff --git a/ui/components/institutional/jwt-dropdown/jwt-dropdown.test.tsx b/ui/components/institutional/jwt-dropdown/jwt-dropdown.test.tsx deleted file mode 100644 index 18613de6fbf6..000000000000 --- a/ui/components/institutional/jwt-dropdown/jwt-dropdown.test.tsx +++ /dev/null @@ -1,22 +0,0 @@ -import { render, fireEvent } from '@testing-library/react'; -import React from 'react'; -import JwtDropdown from './jwt-dropdown'; - -describe('JwtDropdown', () => { - it('should render the Jwt dropdown component', () => { - const props = { - jwtList: ['jwy1', 'jwt2'], - currentJwt: 'someToken', - onChange: jest.fn(), - }; - - const { getByTestId, container } = render(); - - fireEvent.change(getByTestId('jwt-dropdown'), { - target: { value: 'jwt2' }, - }); - - expect(getByTestId('jwt-dropdown')).toBeDefined(); - expect(container).toMatchSnapshot(); - }); -}); diff --git a/ui/components/institutional/jwt-dropdown/jwt-dropdown.tsx b/ui/components/institutional/jwt-dropdown/jwt-dropdown.tsx deleted file mode 100644 index 58c9cd83f466..000000000000 --- a/ui/components/institutional/jwt-dropdown/jwt-dropdown.tsx +++ /dev/null @@ -1,58 +0,0 @@ -import React from 'react'; -import Dropdown from '../../ui/dropdown'; -import { TextColor } from '../../../helpers/constants/design-system'; -import { Box, Text } from '../../component-library'; -import { useI18nContext } from '../../../hooks/useI18nContext'; - -type JwtDropdownProps = { - jwtList: string[]; - currentJwt: string; - onChange: (value: string) => void; -}; - -const JwtDropdown: React.FC = ({ - currentJwt, - jwtList, - onChange, -}) => { - const t = useI18nContext(); - - return ( - - - {t('selectJWT')} - - item === currentJwt) - ? [] - : [ - { - value: currentJwt, - name: - currentJwt.length > 9 - ? `...${currentJwt.slice(-9)}` - : currentJwt, - }, - ]), - ...jwtList.map((text) => { - return { - value: text, - name: `...${text?.slice(-9)}`, - }; - }), - ]} - onChange={(opt) => onChange(opt.value)} - /> - - ); -}; - -export default JwtDropdown; diff --git a/ui/components/institutional/jwt-url-form/__snapshots__/jwt-url-form.test.tsx.snap b/ui/components/institutional/jwt-url-form/__snapshots__/jwt-url-form.test.tsx.snap deleted file mode 100644 index b27982b28a4f..000000000000 --- a/ui/components/institutional/jwt-url-form/__snapshots__/jwt-url-form.test.tsx.snap +++ /dev/null @@ -1,33 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`JwtUrlForm shows JWT text area when no jwt token exists 1`] = ` -
-
-
-
-

- input text -

-
-