1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 01:47:00 +01:00

Merge remote-tracking branch 'origin/develop' into master-sync

* origin/develop: (333 commits)
  Subscribe to event fired by KeyringController on account removal (#20478)
  Updating padding for 'import-token__custom-token-form' to match 'import-token__search-token' in Import Token Modal (#20661)
  [MMI] Adding missing logic to handle custodian approval in token allowance (#20662)
  style: fix Settings pages padding (#20674)
  Fix #20648 - Show Linea ETH fiat value by default (#20672)
  Fix: UnitInput too narrow for small and trailing zeroed numbers (#20666)
  fix(20314): fix window.left negative value causing polifll warning (#20653)
  UX: Create selector for blockie preference (#20577)
  style: update Desktop App settings styles (#20676)
  UX: Nit: Avoid AccountPicker props error (#20645)
  Bump test-dapp to v7.1.0 (#20665)
  use @blockaid/ppom_release vs @blockaid/ppom (#20669)
  Use getEncryptionPublicKey from Core KeyringController (#20646)
  fix/BannerTip to TS (#20538)
  Declared <IconWithFallback/> as deprecated (#20656)
  Bump @metamask/post-message-stream and extension-port-stream core libs (#20659)
  Fix Blockaid and OpenSea BannerAlert placement for Token Allowance, Confirm Pages, SIWE, and Signature V3/V4 pages (#20530)
  Use `verifySeedPhrase` from `KeyringController` (#19817)
  Update network.ts (#20617)
  Declared <TextField/> as deprecated (#20640)
  ...
This commit is contained in:
Mark Stacey 2023-08-31 15:40:05 -02:30
commit df2d57e5db
1158 changed files with 63089 additions and 41146 deletions

View File

@ -3,16 +3,16 @@ version: 2.1
executors: executors:
node-browsers: node-browsers:
docker: docker:
- image: cimg/node:16.20-browsers - image: cimg/node:18.17-browsers
node-browsers-medium-plus: node-browsers-medium-plus:
docker: docker:
- image: cimg/node:16.20-browsers - image: cimg/node:18.17-browsers
resource_class: medium+ resource_class: medium+
environment: environment:
NODE_OPTIONS: --max_old_space_size=2048 NODE_OPTIONS: --max_old_space_size=2048
node-browsers-large: node-browsers-large:
docker: docker:
- image: cimg/node:16.20-browsers - image: cimg/node:18.17-browsers
resource_class: large resource_class: large
environment: environment:
NODE_OPTIONS: --max_old_space_size=2048 NODE_OPTIONS: --max_old_space_size=2048
@ -101,6 +101,9 @@ workflows:
build-type: [main, beta, flask, mmi, desktop] build-type: [main, beta, flask, mmi, desktop]
requires: requires:
- prep-deps - prep-deps
- prep-build-mmi:
requires:
- prep-deps
- prep-build: - prep-build:
requires: requires:
- prep-deps - prep-deps
@ -144,10 +147,19 @@ workflows:
- test-e2e-firefox: - test-e2e-firefox:
requires: requires:
- prep-build-test - prep-build-test
- test-e2e-chrome-rpc:
requires:
- prep-build-test
- test-e2e-chrome-snaps: - test-e2e-chrome-snaps:
requires: requires:
- prep-build-test-flask - prep-build-test
- test-e2e-firefox-snaps: - test-e2e-firefox-snaps:
requires:
- prep-build-test
- test-e2e-chrome-snaps-flask:
requires:
- prep-build-test-flask
- test-e2e-firefox-snaps-flask:
requires: requires:
- prep-build-test-flask - prep-build-test-flask
- test-e2e-chrome-mv3: - test-e2e-chrome-mv3:
@ -186,6 +198,9 @@ workflows:
ignore: master ignore: master
requires: requires:
- prep-build-desktop - prep-build-desktop
- validate-source-maps-mmi:
requires:
- prep-build-mmi
- validate-source-maps-flask: - validate-source-maps-flask:
requires: requires:
- prep-build-flask - prep-build-flask
@ -206,6 +221,7 @@ workflows:
- prep-build-flask - prep-build-flask
- all-tests-pass: - all-tests-pass:
requires: requires:
- test-deps-depcheck
- validate-lavamoat-allow-scripts - validate-lavamoat-allow-scripts
- validate-lavamoat-policy-build - validate-lavamoat-policy-build
- validate-lavamoat-policy-webapp - validate-lavamoat-policy-webapp
@ -222,6 +238,7 @@ workflows:
- validate-source-maps-beta - validate-source-maps-beta
- validate-source-maps-desktop - validate-source-maps-desktop
- validate-source-maps-flask - validate-source-maps-flask
- validate-source-maps-mmi
- test-mozilla-lint - test-mozilla-lint
- test-mozilla-lint-desktop - test-mozilla-lint-desktop
- test-mozilla-lint-flask - test-mozilla-lint-flask
@ -245,6 +262,7 @@ workflows:
- prep-build - prep-build
- trigger-beta-build - trigger-beta-build
- prep-build-desktop - prep-build-desktop
- prep-build-mmi
- prep-build-flask - prep-build-flask
- prep-build-storybook - prep-build-storybook
- prep-build-ts-migration-dashboard - prep-build-ts-migration-dashboard
@ -261,6 +279,7 @@ workflows:
- prep-deps - prep-deps
- prep-build - prep-build
- prep-build-desktop - prep-build-desktop
- prep-build-mmi
- prep-build-flask - prep-build-flask
- all-tests-pass - all-tests-pass
- job-publish-storybook: - job-publish-storybook:
@ -341,27 +360,9 @@ jobs:
# required and add the new dependencies, and the cache will be persisted. # required and add the new dependencies, and the cache will be persisted.
- dependency-cache-v1- - dependency-cache-v1-
- gh/install - gh/install
- run:
name: Set IS_DRAFT environment variable
command: |
PR_NUMBER="${CIRCLE_PULL_REQUEST##*/}"
if [ -n "$PR_NUMBER" ]
then
echo "IS_DRAFT=$(gh pr view --json isDraft --jq '.isDraft' "$PR_NUMBER")" >> "$BASH_ENV"
source "$BASH_ENV"
else
echo "Not a PR; skipping"
fi
- run: - run:
name: Install dependencies name: Install dependencies
command: | command: .circleci/scripts/install-dependencies.sh
if [[ $IS_DRAFT == 'true' ]]
then
# Use GitHub registry on draft PRs, allowing the use of preview builds
METAMASK_NPM_REGISTRY=https://npm.pkg.github.com yarn --immutable
else
yarn --immutable
fi
- save_cache: - save_cache:
key: dependency-cache-v1-{{ checksum "yarn.lock" }} key: dependency-cache-v1-{{ checksum "yarn.lock" }}
paths: paths:
@ -472,6 +473,49 @@ jobs:
- dist-desktop - dist-desktop
- builds-desktop - builds-desktop
prep-build-mmi:
executor: node-browsers-medium-plus
steps:
- run: *shallow-git-clone
- attach_workspace:
at: .
- when:
condition:
not:
matches:
pattern: /^master$/
value: << pipeline.git.branch >>
steps:
- run:
name: build:dist
command: yarn build --build-type mmi dist
- when:
condition:
matches:
pattern: /^master$/
value: << pipeline.git.branch >>
steps:
- run:
name: build:prod
command: yarn build --build-type mmi prod
- run:
name: build:debug
command: find dist/ -type f -exec md5sum {} \; | sort -k 2
- run:
name: Move mmi build to 'dist-mmi' to avoid conflict with production build
command: mv ./dist ./dist-mmi
- run:
name: Move mmi zips to 'builds-mmi' to avoid conflict with production build
command: mv ./builds ./builds-mmi
- persist_to_workspace:
root: .
paths:
- dist-mmi
- builds-mmi
- store_artifacts:
path: builds-mmi
destination: builds-mmi
prep-build-flask: prep-build-flask:
executor: node-browsers-medium-plus executor: node-browsers-medium-plus
steps: steps:
@ -657,6 +701,9 @@ jobs:
- run: - run:
name: lockfile-lint name: lockfile-lint
command: yarn lint:lockfile command: yarn lint:lockfile
- run:
name: check yarn resolutions
command: yarn --check-resolutions
test-lint-changelog: test-lint-changelog:
executor: node-browsers executor: node-browsers
@ -692,7 +739,7 @@ jobs:
at: . at: .
- run: - run:
name: yarn audit name: yarn audit
command: .circleci/scripts/yarn-audit.sh command: yarn audit
test-deps-depcheck: test-deps-depcheck:
executor: node-browsers executor: node-browsers
@ -769,7 +816,118 @@ jobs:
path: test-artifacts path: test-artifacts
destination: test-artifacts destination: test-artifacts
test-e2e-chrome-rpc:
executor: node-browsers
parallelism: 1
steps:
- checkout
- run:
name: Re-Install Chrome
command: ./.circleci/scripts/chrome-install.sh
- attach_workspace:
at: .
- run:
name: Move test build to dist
command: mv ./dist-test ./dist
- run:
name: Move test zips to builds
command: mv ./builds-test ./builds
- run:
name: test:e2e:chrome:rpc
command: |
if .circleci/scripts/test-run-e2e.sh
then
yarn test:e2e:chrome:rpc --retries 2
fi
no_output_timeout: 20m
- run:
name: Merge JUnit report
command: |
if [ "$(ls -A test/test-results/e2e)" ]; then
yarn test:e2e:report
fi
when: always
- store_artifacts:
path: test-artifacts
destination: test-artifacts
- store_test_results:
path: test/test-results/e2e.xml
test-e2e-firefox-snaps: test-e2e-firefox-snaps:
executor: node-browsers
parallelism: 4
steps:
- run: *shallow-git-clone
- run:
name: Install Firefox
command: ./.circleci/scripts/firefox-install.sh
- attach_workspace:
at: .
- run:
name: Move test build to dist
command: mv ./dist-test ./dist
- run:
name: Move test zips to builds
command: mv ./builds-test ./builds
- run:
name: test:e2e:firefox:snaps
command: |
if .circleci/scripts/test-run-e2e.sh
then
yarn test:e2e:firefox:snaps --retries 2 --debug --build-type=main
fi
no_output_timeout: 20m
- run:
name: Merge JUnit report
command: |
if [ "$(ls -A test/test-results/e2e)" ]; then
yarn test:e2e:report
fi
when: always
- store_artifacts:
path: test-artifacts
destination: test-artifacts
- store_test_results:
path: test/test-results/e2e.xml
test-e2e-chrome-snaps:
executor: node-browsers
parallelism: 4
steps:
- run: *shallow-git-clone
- run:
name: Re-Install Chrome
command: ./.circleci/scripts/chrome-install.sh
- attach_workspace:
at: .
- run:
name: Move test build to dist
command: mv ./dist-test ./dist
- run:
name: Move test zips to builds
command: mv ./builds-test ./builds
- run:
name: test:e2e:chrome:snaps
command: |
if .circleci/scripts/test-run-e2e.sh
then
yarn test:e2e:chrome:snaps --retries 2 --debug --build-type=main
fi
no_output_timeout: 20m
- run:
name: Merge JUnit report
command: |
if [ "$(ls -A test/test-results/e2e)" ]; then
yarn test:e2e:report
fi
when: always
- store_artifacts:
path: test-artifacts
destination: test-artifacts
- store_test_results:
path: test/test-results/e2e.xml
test-e2e-firefox-snaps-flask:
executor: node-browsers executor: node-browsers
parallelism: 4 parallelism: 4
steps: steps:
@ -806,7 +964,7 @@ jobs:
- store_test_results: - store_test_results:
path: test/test-results/e2e.xml path: test/test-results/e2e.xml
test-e2e-chrome-snaps: test-e2e-chrome-snaps-flask:
executor: node-browsers executor: node-browsers
parallelism: 4 parallelism: 4
steps: steps:
@ -1188,6 +1346,22 @@ jobs:
name: Validate source maps name: Validate source maps
command: yarn validate-source-maps command: yarn validate-source-maps
validate-source-maps-mmi:
executor: node-browsers
steps:
- run: *shallow-git-clone
- attach_workspace:
at: .
- run:
name: Move mmi build to dist
command: mv ./dist-mmi ./dist
- run:
name: Move mmi zips to builds
command: mv ./builds-mmi ./builds
- run:
name: Validate source maps
command: yarn validate-source-maps
validate-source-maps-flask: validate-source-maps-flask:
executor: node-browsers executor: node-browsers
steps: steps:

View File

@ -0,0 +1,42 @@
#!/usr/bin/env bash
set -e
set -o pipefail
IS_NON_FORK_DRAFT='false'
if [[ -n $CIRCLE_PULL_REQUEST ]] && gh auth status
then
PR_NUMBER="${CIRCLE_PULL_REQUEST##*/}"
if [ -n "$PR_NUMBER" ]
then
IS_NON_FORK_DRAFT="$(gh pr view --json isDraft --jq '.isDraft' "$PR_NUMBER")"
fi
fi
# Build query to see whether there are any "preview-like" packages in the manifest
# A "preview-like" package is a `@metamask`-scoped package with a prerelease version that has no period.
QUERY='.dependencies + .devDependencies' # Get list of all dependencies
QUERY+=' | with_entries( select(.key | startswith("@metamask") ) )' # filter to @metamask-scoped packages
QUERY+=' | to_entries[].value' # Get version ranges
QUERY+=' | select(test("^\\d+\\.\\d+\\.\\d+-[^.]+$"))' # Get pinned versions where the prerelease part has no "."
# Use `-e` flag so that exit code indicates whether any matches were found
if jq -e "${QUERY}" < ./package.json
then
echo "Preview builds detected"
HAS_PREVIEW_BUILDS='true'
else
echo "No preview builds detected"
HAS_PREVIEW_BUILDS='false'
fi
if [[ $IS_NON_FORK_DRAFT == 'true' && $HAS_PREVIEW_BUILDS == 'true' ]]
then
# Use GitHub registry on draft PRs, allowing the use of preview builds
echo "Installing with preview builds"
METAMASK_NPM_REGISTRY=https://npm.pkg.github.com yarn --immutable
else
echo "Installing without preview builds"
yarn --immutable
fi

View File

@ -1,24 +0,0 @@
#!/usr/bin/env bash
set -e
set -u
set -x
set -o pipefail
# use `improved-yarn-audit` since that allows for exclude
# exclusions are in .iyarc now
yarn run improved-yarn-audit \
--ignore-dev-deps \
--min-severity moderate \
--fail-on-missing-exclusions
audit_status="$?"
if [[ "$audit_status" != 0 ]]
then
count="$(yarn npm audit --severity moderate --environment production --json | tail -1 | jq '.data.vulnerabilities.moderate + .data.vulnerabilities.high + .data.vulnerabilities.critical')"
printf "Audit shows %s moderate or high severity advisories _in the production dependencies_\n" "$count"
exit 1
else
printf "Audit shows _zero_ moderate or high severity advisories _in the production dependencies_\n"
fi

View File

@ -45,7 +45,6 @@ ignores:
- 'playwright' - 'playwright'
- 'wait-on' - 'wait-on'
# development tool # development tool
- 'improved-yarn-audit'
- 'nyc' - 'nyc'
# storybook # storybook
- '@storybook/cli' - '@storybook/cli'

View File

@ -72,5 +72,8 @@ module.exports = {
// upgrading eslint and dependencies. This rule should be evaluated and // upgrading eslint and dependencies. This rule should be evaluated and
// if agreeable turned on upstream in @metamask/eslint-config // if agreeable turned on upstream in @metamask/eslint-config
'import/no-named-as-default-member': 'off', 'import/no-named-as-default-member': 'off',
// This is necessary to run eslint on Windows and not get a thousand CRLF errors
'prettier/prettier': ['error', { endOfLine: 'auto' }],
}, },
}; };

View File

@ -239,6 +239,7 @@ module.exports = {
'app/scripts/controllers/app-state.test.js', 'app/scripts/controllers/app-state.test.js',
'app/scripts/controllers/mmi-controller.test.js', 'app/scripts/controllers/mmi-controller.test.js',
'app/scripts/controllers/permissions/**/*.test.js', 'app/scripts/controllers/permissions/**/*.test.js',
'app/scripts/controllers/preferences.test.js',
'app/scripts/lib/**/*.test.js', 'app/scripts/lib/**/*.test.js',
'app/scripts/migrations/*.test.js', 'app/scripts/migrations/*.test.js',
'app/scripts/platforms/*.test.js', 'app/scripts/platforms/*.test.js',
@ -246,6 +247,7 @@ module.exports = {
'shared/**/*.test.js', 'shared/**/*.test.js',
'ui/**/*.test.js', 'ui/**/*.test.js',
'ui/__mocks__/*.js', 'ui/__mocks__/*.js',
'test/e2e/helpers.test.js',
], ],
extends: ['@metamask/eslint-config-mocha'], extends: ['@metamask/eslint-config-mocha'],
rules: { rules: {
@ -267,14 +269,17 @@ module.exports = {
'app/scripts/controllers/app-state.test.js', 'app/scripts/controllers/app-state.test.js',
'app/scripts/controllers/mmi-controller.test.js', 'app/scripts/controllers/mmi-controller.test.js',
'app/scripts/controllers/permissions/**/*.test.js', 'app/scripts/controllers/permissions/**/*.test.js',
'app/scripts/controllers/preferences.test.js',
'app/scripts/lib/**/*.test.js', 'app/scripts/lib/**/*.test.js',
'app/scripts/migrations/*.test.js', 'app/scripts/migrations/*.test.js',
'app/scripts/platforms/*.test.js', 'app/scripts/platforms/*.test.js',
'development/**/*.test.js', 'development/**/*.test.js',
'development/**/*.test.ts',
'shared/**/*.test.js', 'shared/**/*.test.js',
'shared/**/*.test.ts', 'shared/**/*.test.ts',
'test/helpers/*.js', 'test/helpers/*.js',
'test/jest/*.js', 'test/jest/*.js',
'test/e2e/helpers.test.js',
'ui/**/*.test.js', 'ui/**/*.test.js',
'ui/__mocks__/*.js', 'ui/__mocks__/*.js',
'shared/lib/error-utils.test.js', 'shared/lib/error-utils.test.js',

View File

@ -20,5 +20,6 @@ When you're done with your project / bugfix / feature and ready to submit a PR,
- [ ] **Keep it simple**: Try not to include multiple features in a single PR, and don't make extraneous changes outside the scope of your contribution. All those touched files make things harder to review ;) - [ ] **Keep it simple**: Try not to include multiple features in a single PR, and don't make extraneous changes outside the scope of your contribution. All those touched files make things harder to review ;)
- [ ] **PR against `develop`**: Submit your PR against the `develop` branch. This is where we merge new features so they get some time to receive extra testing before being pushed to `master` for production. If your PR is a hot-fix that needs to be published urgently, you may submit a PR against the `master` branch, but this PR will receive tighter scrutiny before merging. - [ ] **PR against `develop`**: Submit your PR against the `develop` branch. This is where we merge new features so they get some time to receive extra testing before being pushed to `master` for production. If your PR is a hot-fix that needs to be published urgently, you may submit a PR against the `master` branch, but this PR will receive tighter scrutiny before merging.
- [ ] **Get reviewed by a core contributor**: Make sure you get a `:thumbsup`, `:+1`, or `LGTM` from a user with a `Member` badge before merging. - [ ] **Get reviewed by a core contributor**: Make sure you get a `:thumbsup`, `:+1`, or `LGTM` from a user with a `Member` badge before merging.
- [ ] **Ensure the PR is correctly labeled.**: More detail about labels definitions can be found [here](https://github.com/MetaMask/metamask-extension/blob/develop/.github/LABELING_GUIDELINES.md).
And that's it! Thanks for helping out. And that's it! Thanks for helping out.

24
.github/LABELING_GUIDELINES.md vendored Normal file
View File

@ -0,0 +1,24 @@
# PR Labeling Guidelines
To maintain a consistent and efficient development workflow, we have set specific label guidelines for all pull requests (PRs). Please ensure you adhere to the following instructions:
### Mandatory Labels:
- **Internal Developers**: Every PR raised by an internal developer must include a label prefixed with `team-` (e.g., `team-extension-ux`, `team-extension-platform`, etc.). This indicates the respective internal team responsible for the PR.
- **External Contributors**: PRs from contributors outside the organization must have the `external-contributor` label.
It's essential to ensure that PRs have the appropriate labels before they are considered for merging.
### Prohibited Labels:
Any PR that includes one of the following labels can not be merged:
- **needs-qa**: The PR requires a full manual QA prior to being added to a release.
- **QA'd but questions**: The PR has been checked by QA, but there are pending questions or clarifications needed on minor issues that were found.
- **issues-found**: The PR has been checked by QA or other reviewers, and appeared to include issues that need to be addressed.
- **need-ux-ds-review**: The PR requires a review from the User Experience or Design System teams.
- **blocked**: There are unresolved dependencies or other issues blocking the progress of this PR.
- **stale**: The PR has not had recent activity in the last 90 days. It will be closed in 7 days.
- **DO-NOT-MERGE**: The PR should not be merged under any circumstances.
To maintain code quality and project integrity, it's crucial to respect these label guidelines. Please ensure you review and update labels appropriately throughout the PR lifecycle.
Thank you for your cooperation!

View File

@ -0,0 +1,97 @@
import * as core from '@actions/core';
import { context, getOctokit } from '@actions/github';
import { GitHub } from '@actions/github/lib/utils';
main().catch((error: Error): void => {
console.error(error);
process.exit(1);
});
async function main(): Promise<void> {
// "GITHUB_TOKEN" is an automatically generated, repository-specific access token provided by GitHub Actions.
const githubToken = process.env.GITHUB_TOKEN;
if (!githubToken) {
core.setFailed('GITHUB_TOKEN not found');
process.exit(1);
}
// Initialise octokit, required to call Github GraphQL API
const octokit: InstanceType<typeof GitHub> = getOctokit(githubToken);
// Retrieve pull request info from context
const prRepoOwner = context.repo.owner;
const prRepoName = context.repo.repo;
const prNumber = context.payload.pull_request?.number;
if (!prNumber) {
core.setFailed('Pull request number not found');
process.exit(1);
}
// Retrieve pull request labels
const prLabels = await retrievePullRequestLabels(octokit, prRepoOwner, prRepoName, prNumber);
const preventMergeLabels = ["needs-qa", "QA'd but questions", "issues-found", "need-ux-ds-review", "blocked", "stale", "DO-NOT-MERGE"];
let hasTeamLabel = false;
// Check pull request has at least required QA label and team label
for (const label of prLabels) {
if (label.startsWith("team-") || label === "external-contributor") {
console.log(`PR contains a team label as expected: ${label}`);
hasTeamLabel = true;
}
if (preventMergeLabels.includes(label)) {
throw new Error(`PR cannot be merged because it still contains this label: ${label}`);
}
if (hasTeamLabel) {
return;
}
}
// Otherwise, throw an arror to prevent from merging
let errorMessage = '';
if (!hasTeamLabel) {
errorMessage += 'No team labels found on the PR. ';
}
errorMessage += `Please make sure the PR is appropriately labeled before merging it.\n\nSee labeling guidelines for more detail: https://github.com/MetaMask/metamask-extension/blob/develop/.github/LABELING_GUIDELINES.md`;
throw new Error(errorMessage);
}
// This function retrieves the pull request on a specific repo
async function retrievePullRequestLabels(octokit: InstanceType<typeof GitHub>, repoOwner: string, repoName: string, prNumber: number): Promise<string[]> {
const retrievePullRequestLabelsQuery = `
query RetrievePullRequestLabels($repoOwner: String!, $repoName: String!, $prNumber: Int!) {
repository(owner: $repoOwner, name: $repoName) {
pullRequest(number: $prNumber) {
labels(first: 100) {
nodes {
name
}
}
}
}
}
`;
const retrievePullRequestLabelsResult: {
repository: {
pullRequest: {
labels: {
nodes: {
name: string;
}[];
}
};
};
} = await octokit.graphql(retrievePullRequestLabelsQuery, {
repoOwner,
repoName,
prNumber,
});
const pullRequestLabels = retrievePullRequestLabelsResult?.repository?.pullRequest?.labels?.nodes?.map(labelObject => labelObject?.name);
return pullRequestLabels || [];
}

View File

@ -0,0 +1,120 @@
import * as core from '@actions/core';
import { context, getOctokit } from '@actions/github';
import { GitHub } from '@actions/github/lib/utils';
main().catch((error: Error): void => {
console.error(error);
process.exit(1);
});
async function main(): Promise<void> {
// "GITHUB_TOKEN" is an automatically generated, repository-specific access token provided by GitHub Actions.
// We can't use "GITHUB_TOKEN" here, as its permissions are scoped to the repository where the action is running.
// "GITHUB_TOKEN" does not have access to other repositories, even when they belong to the same organization.
// As we want to update bug report issues which are not located in the same repository,
// we need to create our own "BUG_REPORT_TOKEN" with "repo" permissions.
// Such a token allows to access other repositories of the MetaMask organisation.
const personalAccessToken = process.env.BUG_REPORT_TOKEN;
if (!personalAccessToken) {
core.setFailed('BUG_REPORT_TOKEN not found');
process.exit(1);
}
const repoOwner = context.repo.owner; // MetaMask
const bugReportRepo = process.env.BUG_REPORT_REPO;
if (!bugReportRepo) {
core.setFailed('BUG_REPORT_REPO not found');
process.exit(1);
}
// Extract branch name from the context
const branchName: string = context.payload.pull_request?.head.ref || "";
// Extract semver version number from the branch name
const releaseVersionNumberMatch = branchName.match(/^Version-v(\d+\.\d+\.\d+)$/);
if (!releaseVersionNumberMatch) {
core.setFailed(`Failed to extract version number from branch name: ${branchName}`);
process.exit(1);
}
const releaseVersionNumber = releaseVersionNumberMatch[1];
// Initialise octokit, required to call Github GraphQL API
const octokit: InstanceType<typeof GitHub> = getOctokit(personalAccessToken);
const bugReportIssue = await retrieveOpenBugReportIssue(octokit, repoOwner, bugReportRepo, releaseVersionNumber);
if (!bugReportIssue) {
throw new Error(`No open bug report issue was found for release ${releaseVersionNumber} on ${repoOwner}/${bugReportRepo} repo`);
}
if (bugReportIssue.title?.toLocaleLowerCase() !== `v${releaseVersionNumber} Bug Report`.toLocaleLowerCase()) {
throw new Error(`Unexpected bug report title: "${bugReportIssue.title}" instead of "v${releaseVersionNumber} Bug Report"`);
}
console.log(`Closing bug report issue with title "${bugReportIssue.title}" and id: ${bugReportIssue.id}`);
await closeIssue(octokit, bugReportIssue.id);
console.log(`Issue with id: ${bugReportIssue.id} successfully closed`);
}
// This function retrieves the issue titled "vx.y.z Bug Report" on a specific repo
async function retrieveOpenBugReportIssue(octokit: InstanceType<typeof GitHub>, repoOwner: string, repoName: string, releaseVersionNumber: string): Promise<{
id: string;
title: string;
} | undefined> {
const retrieveOpenBugReportIssueQuery = `
query RetrieveOpenBugReportIssue {
search(query: "repo:${repoOwner}/${repoName} type:issue is:open in:title v${releaseVersionNumber} Bug Report", type: ISSUE, first: 1) {
nodes {
... on Issue {
id
title
}
}
}
}
`;
const retrieveOpenBugReportIssueQueryResult: {
search: {
nodes: {
id: string;
title: string;
}[];
};
} = await octokit.graphql(retrieveOpenBugReportIssueQuery);
const bugReportIssues = retrieveOpenBugReportIssueQueryResult?.search?.nodes;
return bugReportIssues?.length > 0 ? bugReportIssues[0] : undefined;
}
// This function closes a Github issue, based on its ID
async function closeIssue(octokit: InstanceType<typeof GitHub>, issueId: string): Promise<string> {
const closeIssueMutation = `
mutation CloseIssue($issueId: ID!) {
updateIssue(input: {id: $issueId, state: CLOSED}) {
clientMutationId
}
}
`;
const closeIssueMutationResult: {
updateIssue: {
clientMutationId: string;
};
} = await octokit.graphql(closeIssueMutation, {
issueId,
});
const clientMutationId = closeIssueMutationResult?.updateIssue?.clientMutationId;
return clientMutationId;
}

View File

@ -37,4 +37,4 @@ jobs:
env: env:
RELEASE_LABEL_TOKEN: ${{ secrets.RELEASE_LABEL_TOKEN }} RELEASE_LABEL_TOKEN: ${{ secrets.RELEASE_LABEL_TOKEN }}
NEXT_SEMVER_VERSION: ${{ env.NEXT_SEMVER_VERSION }} NEXT_SEMVER_VERSION: ${{ env.NEXT_SEMVER_VERSION }}
run: npm run add-release-label-to-pr-and-linked-issues run: yarn run add-release-label-to-pr-and-linked-issues

38
.github/workflows/check-pr-labels.yml vendored Normal file
View File

@ -0,0 +1,38 @@
name: "Check PR has required labels"
on:
pull_request:
branches:
- develop
types:
- opened
- reopened
- synchronize
- labeled
- unlabeled
jobs:
check-pr-labels:
runs-on: ubuntu-latest
permissions:
pull-requests: read
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0 # This is needed to checkout all branches
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: yarn
- name: Install dependencies
run: yarn --immutable
- name: Check PR has required labels
id: check-pr-has-required-labels
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: yarn run check-pr-has-required-labels

34
.github/workflows/close-bug-report.yml vendored Normal file
View File

@ -0,0 +1,34 @@
name: Close release bug report issue when release branch gets merged
on:
pull_request:
branches:
- master
types:
- closed
jobs:
close-bug-report:
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true && startsWith(github.event.pull_request.head.ref, 'Version-v')
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 1 # This retrieves only the latest commit.
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: yarn
- name: Install dependencies
run: yarn --immutable
- name: Close release bug report issue
id: close-release-bug-report-issue
env:
BUG_REPORT_REPO: MetaMask-planning
BUG_REPORT_TOKEN: ${{ secrets.BUG_REPORT_TOKEN }}
run: yarn run close-release-bug-report-issue

35
.github/workflows/create-bug-report.yml vendored Normal file
View File

@ -0,0 +1,35 @@
name: Create release bug report issue when release branch gets created
on: create
jobs:
create-bug-report:
runs-on: ubuntu-latest
steps:
- name: Extract version from branch name if release branch
id: extract_version
run: |
if [[ "$GITHUB_REF" == "refs/heads/Version-v"* ]]; then
version="${GITHUB_REF#refs/heads/Version-v}"
echo "New release branch($version), continue next steps"
echo "version=$version" >> "$GITHUB_ENV"
else
echo "Not a release branch, skip next steps"
fi
- name: Create bug report issue on planning repo
if: env.version
run: |
payload=$(cat <<EOF
{
"title": "v${{ env.version }} Bug Report",
"body": "This bug report was automatically created by a GitHub action upon the creation of release branch \`Version-v${{ env.version }}\` (release cut).\n\n**Expected actions for release engineers:**\n\n1. Convert this issue into a Zenhub epic and link all bugs identified during the release regression testing phase to this epic.\n\n2. After completing the first regression run, move this epic to \"Regression Completed\" on the [Extension Release Regression board](https://app.zenhub.com/workspaces/extension-release-regression-6478c62d937eaa15e95c33c5/board?filterLogic=any&labels=release-${{ env.version }},release-task).\n\nNote that once the release is prepared for store submission, meaning the \`Version-v${{ env.version }}\` branch merges into \`master\`, another GitHub action will automatically close this epic.",
"labels": ["type-bug", "regression-RC", "release-${{ env.version }}"]
}
EOF
)
curl -X POST \
-H "Authorization: token ${{ secrets.BUG_REPORT_TOKEN }}" \
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/MetaMask/MetaMask-planning/issues \
-d "$payload"

View File

@ -1,17 +0,0 @@
# Fails the pull request if it has the "DO-NOT-MERGE" label
name: Check "DO-NOT-MERGE" label
on:
pull_request:
types: [opened, reopened, labeled, unlabeled, synchronize]
jobs:
do-not-merge:
runs-on: ubuntu-latest
if: ${{ contains(github.event.pull_request.labels.*.name, 'DO-NOT-MERGE') }}
steps:
- name: 'Check for label "DO-NOT-MERGE"'
run: |
echo 'This check fails PRs with the "DO-NOT-MERGE" label to block merging'
exit 1

View File

@ -1,7 +1,9 @@
name: 'Close stale issues and PRs' name: 'Close stale issues and PRs'
# run every 2 hours
on: on:
schedule: schedule:
- cron: '0 12 * * *' - cron: '0 */2 * * *'
jobs: jobs:
stale: stale:
@ -12,17 +14,16 @@ jobs:
steps: steps:
- uses: actions/stale@72afbce2b0dbd1d903bb142cebe2d15dc307ae57 - uses: actions/stale@72afbce2b0dbd1d903bb142cebe2d15dc307ae57
with: with:
stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity in the last 90 days. It will be closed in 45 days. Thank you for your contributions.'
stale-issue-label: 'stale' stale-issue-label: 'stale'
only-issue-labels: 'type-bug' only-issue-labels: 'type-bug'
exempt-issue-labels: 'type-security, type-pinned, feature-request, awaiting-metamask' exempt-issue-labels: 'type-security'
stale-pr-message: 'This PR has been automatically marked as stale because it has not had recent activity in the last 60 days. It will be closed in 14 days. Thank you for your contributions.'
stale-pr-label: 'stale'
exempt-pr-labels: 'work-in-progress'
close-issue-message: 'This issue was closed because there has been no follow up activity in the last 7 days. If you feel this was closed in error, please reopen and provide evidence on the latest release of the extension. Thank you for your contributions.'
close-pr-message: 'This PR was closed because there has been no follow up activity in the last 7 days. Thank you for your contributions.'
days-before-issue-stale: 90 days-before-issue-stale: 90
days-before-pr-stale: 60 stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity in the last 90 days. It will be closed in 45 days if there is no further activity. The MetaMask team intends on reviewing this issue before close, and removing the stale label if it is still a bug. We welcome new comments on this issue. We do not intend on closing issues if they report bugs that are still reproducible. Thank you for your contributions.'
days-before-issue-close: 45 days-before-issue-close: 45
close-issue-message: 'This issue was closed because there has been no follow up activity in the last 45 days. If you feel this was closed in error, please reopen and provide evidence on the latest release of the extension. Thank you for your contributions.'
stale-pr-label: 'stale'
days-before-pr-stale: 60
stale-pr-message: 'This PR has been automatically marked as stale because it has not had recent activity in the last 60 days. It will be closed in 14 days. Thank you for your contributions.'
days-before-pr-close: 14 days-before-pr-close: 14
operations-per-run: 1 close-pr-message: 'This PR was closed because there has been no follow up activity in the last 14 days. Thank you for your contributions.'
operations-per-run: 600

10
.iyarc
View File

@ -1,10 +0,0 @@
# improved-yarn-audit advisory exclusions
GHSA-257v-vj4p-3w2h
# request library is subject to SSRF.
# addressed by temporary patch in .yarn/patches/request-npm-2.88.2-f4a57c72c4.patch
GHSA-p8p7-x288-28g6
# tough-cookie
# this will go away soon when we get rid of web3-provider-engine
GHSA-72xf-g2v4-qvf3

View File

@ -12,3 +12,5 @@ INFURA_PROJECT_ID=00000000000
; Set this to test changes to the phishing warning page. ; Set this to test changes to the phishing warning page.
;PHISHING_WARNING_PAGE_URL= ;PHISHING_WARNING_PAGE_URL=
BLOCKAID_FILE_CDN=
BLOCKAID_PUBLIC_KEY=

View File

@ -8,7 +8,10 @@ module.exports = {
'./app/scripts/controllers/app-state.test.js', './app/scripts/controllers/app-state.test.js',
'./app/scripts/controllers/permissions/**/*.test.js', './app/scripts/controllers/permissions/**/*.test.js',
'./app/scripts/controllers/mmi-controller.test.js', './app/scripts/controllers/mmi-controller.test.js',
'./app/scripts/controllers/preferences.test.js',
'./app/scripts/constants/error-utils.test.js', './app/scripts/constants/error-utils.test.js',
'./development/fitness-functions/**/*.test.ts',
'./test/e2e/helpers.test.js',
], ],
recursive: true, recursive: true,
require: ['test/env.js', 'test/setup.js'], require: ['test/env.js', 'test/setup.js'],

2
.nvmrc
View File

@ -1 +1 @@
v16 v18

View File

@ -1,2 +1,5 @@
# All of these are defaults except singleQuote and endOfLine, but we specify them
# for explicitness
endOfLine: auto
singleQuote: true singleQuote: true
trailingComma: all trailingComma: all

View File

@ -1,5 +1,8 @@
import { draftTransactionInitialState } from '../ui/ducks/send'; import { draftTransactionInitialState } from '../ui/ducks/send';
import { KeyringType } from '../shared/constants/keyring'; import { KeyringType } from '../shared/constants/keyring';
import { NetworkType } from '@metamask/controller-utils';
import { NetworkStatus } from '@metamask/network-controller';
import { CHAIN_IDS } from '../shared/constants/network';
const state = { const state = {
invalidCustomNetwork: { invalidCustomNetwork: {
@ -17,6 +20,15 @@ const state = {
url: 'https://metamask.github.io/test-dapp/', url: 'https://metamask.github.io/test-dapp/',
}, },
metamask: { metamask: {
announcements: {
22: {
id: 22,
date: null,
image: {
src: 'images/global-menu-block-explorer.svg',
},
}
},
tokenList: { tokenList: {
'0x514910771af9ca656af840dff83e8264ecf986ca': { '0x514910771af9ca656af840dff83e8264ecf986ca': {
address: '0x514910771af9ca656af840dff83e8264ecf986ca', address: '0x514910771af9ca656af840dff83e8264ecf986ca',
@ -164,6 +176,15 @@ const state = {
1559: true, 1559: true,
}, },
}, },
selectedNetworkClientId: NetworkType.mainnet,
networksMetadata: {
[NetworkType.mainnet]: {
EIPS: {
1559: true,
},
status: NetworkStatus.Available,
},
},
gasFeeEstimates: '0x5208', gasFeeEstimates: '0x5208',
swapsState: { swapsState: {
quotes: {}, quotes: {},
@ -509,6 +530,12 @@ const state = {
preferences: { preferences: {
useNativeCurrencyAsPrimaryCurrency: true, useNativeCurrencyAsPrimaryCurrency: true,
}, },
incomingTransactionsPreferences: {
[CHAIN_IDS.MAINNET]: true,
[CHAIN_IDS.GOERLI]: false,
[CHAIN_IDS.OPTIMISM_TESTNET]: false,
[CHAIN_IDS.AVALANCHE_TESTNET]: true,
},
firstTimeFlowType: 'create', firstTimeFlowType: 'create',
completedOnboarding: true, completedOnboarding: true,
knownMethodData: { knownMethodData: {
@ -1599,7 +1626,7 @@ const state = {
}, },
}; };
export const networkList = [ export const networkList = [
{ {
blockExplorerUrl: 'https://etherscan.io', blockExplorerUrl: 'https://etherscan.io',
chainId: '0x1', chainId: '0x1',
@ -1673,6 +1700,6 @@ export const networkList = [
rpcUrl: 'https://polygon-rpc.com', rpcUrl: 'https://polygon-rpc.com',
ticker: 'MATIC', ticker: 'MATIC',
}, },
] ];
export default state; export default state;

View File

@ -0,0 +1,46 @@
diff --git a/dist/KeyringController.d.ts b/dist/KeyringController.d.ts
index ccfd5ca9accf782b0a612ab1666501898cf2abb9..f772552156491b308f2aa29a734a5138237d951e 100644
--- a/dist/KeyringController.d.ts
+++ b/dist/KeyringController.d.ts
@@ -1,10 +1,11 @@
import type { TxData, TypedTransaction } from '@ethereumjs/tx';
-import { type MetaMaskKeyring as QRKeyring, type IKeyringState as IQRKeyringState } from '@keystonehq/metamask-airgapped-keyring';
+import type { MetaMaskKeyring as QRKeyring, IKeyringState as IQRKeyringState } from '@keystonehq/metamask-airgapped-keyring';
import type { RestrictedControllerMessenger } from '@metamask/base-controller';
import { BaseControllerV2 } from '@metamask/base-controller';
import type { PersonalMessageParams, TypedMessageParams } from '@metamask/message-manager';
import type { PreferencesController } from '@metamask/preferences-controller';
-import { type Hex, type Keyring, type Json } from '@metamask/utils';
+import type { Hex, Keyring, Json } from '@metamask/utils';
+import type { KeyringController as EthKeyringController } from '@metamask/eth-keyring-controller';
import type { Patch } from 'immer';
declare const name = "KeyringController";
/**
@@ -135,6 +136,10 @@ export declare class KeyringController extends BaseControllerV2<typeof name, Key
* @param opts.state - Initial state to set on this controller.
*/
constructor({ removeIdentity, syncIdentities, updateIdentities, setSelectedAddress, setAccountLabel, encryptor, keyringBuilders, cacheEncryptionKey, messenger, state, }: KeyringControllerOptions);
+ /**
+ * Gets the internal keyring controller.
+ */
+ getEthKeyringController(): EthKeyringController;
/**
* Adds a new account to the default (first) HD seed phrase keyring.
*
diff --git a/dist/KeyringController.js b/dist/KeyringController.js
index 9e241ba3b5445a053e3b20ee70a579118b7b2934..eb1f7bce9d3607017b39e087db227e8a7dadd849 100644
--- a/dist/KeyringController.js
+++ b/dist/KeyringController.js
@@ -153,6 +153,12 @@ class KeyringController extends base_controller_1.BaseControllerV2 {
this.setSelectedAddress = setSelectedAddress;
this.setAccountLabel = setAccountLabel;
}
+ /**
+ * Gets the internal keyring controller.
+ */
+ getEthKeyringController() {
+ return __classPrivateFieldGet(this, _KeyringController_keyring, "f");
+ }
/**
* Adds a new account to the default (first) HD seed phrase keyring.
*

View File

@ -1,17 +0,0 @@
diff --git a/dist/SignatureController.js b/dist/SignatureController.js
index b58b27e84aa84393afb366d4585c084d0380d21d..0629bcf517db744ccfa40e4d7d8f2829fa95559e 100644
--- a/dist/SignatureController.js
+++ b/dist/SignatureController.js
@@ -237,8 +237,11 @@ _SignatureController_keyringController = new WeakMap(), _SignatureController_isE
yield __classPrivateFieldGet(this, _SignatureController_instances, "m", _SignatureController_requestApproval).call(this, messageParamsWithId, approvalType);
}
catch (error) {
+ signaturePromise.catch(() => {
+ // Expecting reject error but throwing manually rather than waiting
+ });
__classPrivateFieldGet(this, _SignatureController_instances, "m", _SignatureController_cancelAbstractMessage).call(this, messageManager, messageId);
- throw eth_rpc_errors_1.ethErrors.provider.userRejectedRequest('User rejected the request.');
+ throw eth_rpc_errors_1.ethErrors.provider.userRejectedRequest(`MetaMask ${messageName} Signature: User denied message signature.`);
}
yield signMessage(messageParamsWithId, version, signingOpts);
return signaturePromise;

View File

@ -0,0 +1,26 @@
diff --git a/dist/SignatureController.js b/dist/SignatureController.js
index a2f064efa2a2700db00767daa4ce6bd22b1932c4..17edb51b6c526f27fb4c19f2d2fda3d7140c66b4 100644
--- a/dist/SignatureController.js
+++ b/dist/SignatureController.js
@@ -283,8 +283,11 @@ _SignatureController_keyringController = new WeakMap(), _SignatureController_isE
resultCallbacks = acceptResult.resultCallbacks;
}
catch (_a) {
+ signaturePromise.catch(() => {
+ // Expecting reject error but throwing manually rather than waiting
+ });
__classPrivateFieldGet(this, _SignatureController_instances, "m", _SignatureController_cancelAbstractMessage).call(this, messageManager, messageId);
- throw eth_rpc_errors_1.ethErrors.provider.userRejectedRequest('User rejected the request.');
+ throw eth_rpc_errors_1.ethErrors.provider.userRejectedRequest(`MetaMask ${messageName} Signature: User denied message signature.`);
}
yield signMessage(messageParamsWithId, signingOpts);
const signatureResult = yield signaturePromise;
@@ -305,7 +308,7 @@ _SignatureController_keyringController = new WeakMap(), _SignatureController_isE
return __awaiter(this, void 0, void 0, function* () {
return yield __classPrivateFieldGet(this, _SignatureController_instances, "m", _SignatureController_signAbstractMessage).call(this, __classPrivateFieldGet(this, _SignatureController_personalMessageManager, "f"), controller_utils_1.ApprovalType.PersonalSign, msgParams, (cleanMsgParams) => __awaiter(this, void 0, void 0, function* () { return yield __classPrivateFieldGet(this, _SignatureController_keyringController, "f").signPersonalMessage(cleanMsgParams); }));
});
-}, _SignatureController_signTypedMessage = function _SignatureController_signTypedMessage(msgParams,
+}, _SignatureController_signTypedMessage = function _SignatureController_signTypedMessage(msgParams,
/* istanbul ignore next */
opts = { parseJsonData: true }) {
return __awaiter(this, void 0, void 0, function* () {

View File

@ -1,69 +0,0 @@
# Improved yarn audit is patched to work with yarn version 2+. The primary need
# is to retool the script to first use yarn's new audit command and parameters
# as well as to change the process for how it reads the result due to an update
# in returned shape of audit command's data.
diff --git a/bin/improved-yarn-audit b/bin/improved-yarn-audit
index 52df548151aa28289565e3335b2cd7a92fa38325..7e058df6a4a159596df72c9475a36b747580cd98 100755
--- a/bin/improved-yarn-audit
+++ b/bin/improved-yarn-audit
@@ -15,6 +15,7 @@ const { tmpdir } = require("os")
const path = require("path")
const { env, exit, platform } = require("process")
const { createInterface } = require("readline")
+const { Stream } = require("stream")
const GITHUB_ADVISORY_CODE = "GHSA"
@@ -250,7 +251,15 @@ async function iterateOverAuditResults(action) {
const auditResultsFileStream = getAuditResultsFileStream("r")
const iterator = createInterface(auditResultsFileStream)
- iterator.on("line", action)
+ iterator.on("line", async (result) => {
+ const parsed = parseAuditJson(result);
+ const advisories = Stream.Readable.from(
+ Object.values(parsed.advisories).map(advisory => JSON.stringify(advisory))
+ );
+ for await (const data of advisories) {
+ action(data);
+ }
+ });
await new Promise((resolve) => iterator.on("close", resolve))
@@ -305,10 +314,10 @@ async function streamYarnAuditOutput(auditParams, auditResultsFileStream) {
}
async function invokeYarnAudit() {
- const auditParams = ["audit", "--json", `--level=${minSeverityName}`]
+ const auditParams = ["npm", "audit", "--recursive", "--json", `--severity=${minSeverityName}`]
if (ignoreDevDependencies) {
- auditParams.push("--groups=dependencies")
+ auditParams.push("--environment=production")
}
cleanupAuditResultsFile()
@@ -420,17 +429,17 @@ async function runAuditReport() {
let devDependencyAdvisories = []
let devDependencyAdvisoryIds = []
- await iterateOverAuditResults((resultJson) => {
- const potentialResult = parseAuditJson(resultJson)
+ await iterateOverAuditResults((resultJsonString) => {
+ const potentialResult = parseAuditJson(resultJsonString);
if (
- typeof potentialResult.type !== "string" ||
- potentialResult.type !== "auditAdvisory"
+ typeof potentialResult.github_advisory_id !== "string"
) {
return
}
- const result = potentialResult.data.advisory
+
+ const result = potentialResult;
allAdvisories.push(result)

View File

@ -1,48 +0,0 @@
# Lockfile lint's current version does not work with the updated structure of the yarn v2 lockfile
# This patch updates it so that it can parse and read the lockfile entries.
diff --git a/src/ParseLockfile.js b/src/ParseLockfile.js
index 0f0c951027ec83c61769bb6a48943420dff133b8..bad2d251cf376bf3ef4b444a0d49f03a602d7a6e 100644
--- a/src/ParseLockfile.js
+++ b/src/ParseLockfile.js
@@ -21,13 +21,13 @@ const {
* @return boolean
*/
function checkSampleContent (lockfile) {
- const [sampleKey, sampleValue] = Object.entries(lockfile)[0]
+ const [sampleKey, sampleValue] = Object.entries(lockfile)[1]
return (
sampleKey.match(/.*@.*/) &&
(sampleValue &&
typeof sampleValue === 'object' &&
sampleValue.hasOwnProperty('version') &&
- sampleValue.hasOwnProperty('resolved'))
+ sampleValue.hasOwnProperty('resolution'))
)
}
/**
@@ -41,7 +41,24 @@ function yarnParseAndVerify (lockfileBuffer) {
if (!hasSensibleContent) {
throw Error('Lockfile does not seem to contain a valid dependency list')
}
- return {type: 'success', object: lockfile}
+ const normalized = Object.fromEntries(Object.entries(lockfile).map(([packageName, packageDetails]) => {
+ const resolution = packageDetails.resolution;
+ if (!resolution) {
+ return [packageName, packageDetails];
+ }
+ const splitByAt = resolution.split('@');
+ let resolvedPackageName;
+ let host;
+ if (splitByAt.length > 2 && resolution[0] === '@') {
+ resolvedPackageName = `@${splitByAt[1]}`;
+ host = splitByAt[2];
+ } else {
+ [resolvedPackageName, host] = splitByAt;
+ }
+
+ return [packageName, { ...packageDetails, resolved: host}]
+ }))
+ return {type: 'success', object: normalized}
}
class ParseLockfile {
/**

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

881
.yarn/releases/yarn-4.0.0-rc.48.cjs vendored Executable file

File diff suppressed because one or more lines are too long

View File

@ -1,3 +1,7 @@
compressionLevel: mixed
enableGlobalCache: false
enableScripts: false enableScripts: false
enableTelemetry: false enableTelemetry: false
@ -8,21 +12,101 @@ logFilters:
nodeLinker: node-modules nodeLinker: node-modules
npmAuditIgnoreAdvisories:
### Advisories:
# Issue: yargs-parser Vulnerable to Prototype Pollution
# URL - https://github.com/advisories/GHSA-p9pc-299p-vxgp
# The affected version (<5.0.0) is only included via @ensdomains/ens via
# 'solc' which is not used in the imports we use from this package.
- 1088783
# Issue: protobufjs Prototype Pollution vulnerability
# URL - https://github.com/advisories/GHSA-h755-8qp9-cq85
# Not easily patched. Minimally effects the extension due to usage of
# LavaMoat lockdown.
- 1092429
# Issue: Regular Expression Denial of Service (ReDOS)
# URL: https://github.com/advisories/GHSA-257v-vj4p-3w2h
# color-string is listed as a dependency of 'color' which is brought in by
# @metamask/jazzicon v2.0.0 but there is work done on that repository to
# remove the color dependency. We should upgrade
- 1089718
# Issue: semver vulnerable to Regular Expression Denial of Service
# URL: https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
# semver is used in the solidity compiler portion of @truffle/codec that does
# not appear to be used.
- 1092461
### Package Deprecations:
# React-tippy brings in popper.js and react-tippy has not been updated in
# three years.
- 'popper.js (deprecation)'
# React-router is out of date and brings in the following deprecated package
- 'mini-create-react-context (deprecation)'
# The affected version, which is less than 7.0.0, is brought in by
# ethereumjs-wallet version 0.6.5 used in the extension but only in a single
# file app/scripts/account-import-strategies/index.js, which may be easy to
# upgrade.
- 'uuid (deprecation)'
# @npmcli/move-file is brought in via CopyWebpackPlugin used in the storybook
# main.js file, which can be upgraded to remove this dependency in favor of
# @npmcli/fs
- '@npmcli/move-file (deprecation)'
# Upgrading babel will result in the following deprecated packages being
# updated:
- 'core-js (deprecation)'
# Material UI dependencies are planned for removal
- '@material-ui/core (deprecation)'
- '@material-ui/styles (deprecation)'
- '@material-ui/system (deprecation)'
# @ensdomains/ens should be explored for upgrade. The following packages are
# deprecated and would be resolved by upgrading to newer versions of
# ensdomains packages:
- '@ensdomains/ens (deprecation)'
- '@ensdomains/resolver (deprecation)'
- 'testrpc (deprecation)'
# Dependencies brought in by @truffle/decoder that are deprecated:
- 'cids (deprecation)' # via @ensdomains/content-hash
- 'multibase (deprecation)' # via cids
- 'multicodec (deprecation)' # via cids
# MetaMask owned repositories brought in by other MetaMask dependencies that
# can be resolved by updating the versions throughout the dependency tree
- 'eth-sig-util (deprecation)' # via @metamask/eth-ledger-bridge-keyring
- '@metamask/controller-utils (deprecation)' # via @metamask/phishin-controller
- 'safe-event-emitter (deprecation)' # via eth-block-tracker and others
# @metamask-institutional relies upon crypto which is deprecated
- 'crypto (deprecation)'
# @metamask/providers uses webextension-polyfill-ts which has been moved to
# @types/webextension-polyfill
- 'webextension-polyfill-ts (deprecation)'
npmRegistries: npmRegistries:
"https://npm.pkg.github.com": 'https://npm.pkg.github.com':
npmAlwaysAuth: true npmAlwaysAuth: true
npmAuthToken: "${GITHUB_PACKAGE_READ_TOKEN-}" npmAuthToken: '${GITHUB_PACKAGE_READ_TOKEN-}'
npmScopes: npmScopes:
metamask: metamask:
npmRegistryServer: "${METAMASK_NPM_REGISTRY:-https://registry.yarnpkg.com}" npmRegistryServer: '${METAMASK_NPM_REGISTRY:-https://registry.yarnpkg.com}'
plugins: plugins:
- path: .yarn/plugins/@yarnpkg/plugin-allow-scripts.cjs - path: .yarn/plugins/@yarnpkg/plugin-allow-scripts.cjs
spec: "https://raw.githubusercontent.com/LavaMoat/LavaMoat/main/packages/yarn-plugin-allow-scripts/bundles/@yarnpkg/plugin-allow-scripts.js" spec: 'https://raw.githubusercontent.com/LavaMoat/LavaMoat/main/packages/yarn-plugin-allow-scripts/bundles/@yarnpkg/plugin-allow-scripts.js'
- path: .yarn/plugins/@yarnpkg/plugin-version.cjs
spec: "@yarnpkg/plugin-version"
- path: .yarn/plugins/@yarnpkg/plugin-engines.cjs - path: .yarn/plugins/@yarnpkg/plugin-engines.cjs
spec: "https://raw.githubusercontent.com/devoto13/yarn-plugin-engines/main/bundles/%40yarnpkg/plugin-engines.js" spec: 'https://raw.githubusercontent.com/devoto13/yarn-plugin-engines/main/bundles/%40yarnpkg/plugin-engines.js'
yarnPath: .yarn/releases/yarn-3.2.4.cjs yarnPath: .yarn/releases/yarn-4.0.0-rc.48.cjs

View File

@ -111,7 +111,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [10.34.1] ## [10.34.1]
### Fixed ### Fixed
- Fix bug that could cause a failure in the persistence of network related data ([#20080](https://github.com/MetaMask/metamask-extension/pull/20080)) - Fix bug that could cause a failure in the persistence of network related data ([#20080](https://github.com/MetaMask/metamask-extension/pull/20080))
- Fix ([#20080](https://github.com/MetaMask/metamask-extension/pull/20080)) - Fix possible crash when opening the network menu ([#20181](https://github.com/MetaMask/metamask-extension/pull/20181))
## [10.34.0] ## [10.34.0]
### Added ### Added

View File

@ -14,11 +14,11 @@ To learn how to contribute to the MetaMask project itself, visit our [Internal D
## Building locally ## Building locally
- Install [Node.js](https://nodejs.org) version 16 - Install [Node.js](https://nodejs.org) version 18
- If you are using [nvm](https://github.com/nvm-sh/nvm#installing-and-updating) (recommended) running `nvm use` will automatically choose the right node version for you. - If you are using [nvm](https://github.com/nvm-sh/nvm#installing-and-updating) (recommended) running `nvm use` will automatically choose the right node version for you.
- Install [Yarn v3](https://yarnpkg.com/getting-started/install) - Install [Yarn v3](https://yarnpkg.com/getting-started/install)
- ONLY follow the steps in the "Install Corepack" and "Updating the global Yarn version" sections - ONLY follow the steps in the "Install Corepack" and "Updating the global Yarn version" sections
- DO NOT take any of the steps in the "Initializing your project", "Updating to the latest versions" or "Installing the latest build fresh from master" sections. These steps could result in your repo being reset or installing the wrong yarn version, which can break your build. - DO NOT take any of the steps in the "Initializing your project", "Updating to the latest versions" or "Installing the latest build fresh from master" sections. These steps could result in your repo being reset or installing the wrong yarn version, which can break your build.
- Duplicate `.metamaskrc.dist` within the root and rename it to `.metamaskrc` - Duplicate `.metamaskrc.dist` within the root and rename it to `.metamaskrc`
- Replace the `INFURA_PROJECT_ID` value with your own personal [Infura Project ID](https://infura.io/docs). - Replace the `INFURA_PROJECT_ID` value with your own personal [Infura Project ID](https://infura.io/docs).
- If debugging MetaMetrics, you'll need to add a value for `SEGMENT_WRITE_KEY` [Segment write key](https://segment.com/docs/connections/find-writekey/), see [Developing on MetaMask - Segment](./development/README.md#segment). - If debugging MetaMetrics, you'll need to add a value for `SEGMENT_WRITE_KEY` [Segment write key](https://segment.com/docs/connections/find-writekey/), see [Developing on MetaMask - Segment](./development/README.md#segment).
@ -88,15 +88,17 @@ These test scripts all support additional options, which might be helpful for de
Single e2e tests can be run with `yarn test:e2e:single test/e2e/tests/TEST_NAME.spec.js` along with the options below. Single e2e tests can be run with `yarn test:e2e:single test/e2e/tests/TEST_NAME.spec.js` along with the options below.
```console ```console
--browser Set the browser used; either 'chrome' or 'firefox'. --browser Set the browser used; either 'chrome' or 'firefox'.
[string] [choices: "chrome", "firefox"] [string] [choices: "chrome", "firefox"]
--debug Run tests in debug mode, logging each driver interaction --debug Run tests in debug mode, logging each driver interaction
[boolean] [default: false] [boolean] [default: false]
--retries Set how many times the test should be retried upon failure. --retries Set how many times the test should be retried upon failure.
[number] [default: 0] [number] [default: 0]
--leave-running Leaves the browser running after a test fails, along with --leave-running Leaves the browser running after a test fails, along with
anything else that the test used (ganache, the test dapp, anything else that the test used (ganache, the test dapp,
etc.) [boolean] [default: false] etc.) [boolean] [default: false]
--update-snapshot Update E2E test snapshots
[alias: -u] [boolean] [default: false]
``` ```
For example, to run the `account-details` tests using Chrome, with debug logging and with the browser set to remain open upon failure, you would use: For example, to run the `account-details` tests using Chrome, with debug logging and with the browser set to remain open upon failure, you would use:

View File

@ -169,9 +169,6 @@
"copyAddress": { "copyAddress": {
"message": "አድራሻን ወደ ቅንጥብ ሰሌዳ ቅዳ" "message": "አድራሻን ወደ ቅንጥብ ሰሌዳ ቅዳ"
}, },
"copyPrivateKey": {
"message": "የግል ቁልፍዎ ይህ ነው (ለመቅዳት ጠቅ ያድርጉ)"
},
"copyToClipboard": { "copyToClipboard": {
"message": "ወደ ቅንጥብ ሰሌዳ ገልብጥ" "message": "ወደ ቅንጥብ ሰሌዳ ገልብጥ"
}, },
@ -205,9 +202,6 @@
"deleteNetwork": { "deleteNetwork": {
"message": "አውታረ መረብ ይሰረዝ?" "message": "አውታረ መረብ ይሰረዝ?"
}, },
"deleteNetworkDescription": {
"message": "ይህን አውታረ መረብ ለመሰረዝ እንደሚፈልጉ እርግጠኛ ነዎት?"
},
"details": { "details": {
"message": "ዝርዝሮች" "message": "ዝርዝሮች"
}, },
@ -235,9 +229,6 @@
"ensRegistrationError": { "ensRegistrationError": {
"message": "በ ENS የስም ምዝገባ ላይ የተፈጠረ ስህተት" "message": "በ ENS የስም ምዝገባ ላይ የተፈጠረ ስህተት"
}, },
"enterPassword": {
"message": "የይለፍ ቃል ያስገቡ"
},
"enterPasswordContinue": { "enterPasswordContinue": {
"message": "ለመቀጠል የይለፍ ቃል ያስገቡ" "message": "ለመቀጠል የይለፍ ቃል ያስገቡ"
}, },
@ -250,9 +241,6 @@
"expandView": { "expandView": {
"message": "እይታን ዘርጋ" "message": "እይታን ዘርጋ"
}, },
"exportPrivateKey": {
"message": "የግል ቁልፍን ላክ"
},
"failed": { "failed": {
"message": "አልተሳካም" "message": "አልተሳካም"
}, },
@ -612,9 +600,6 @@
"searchResults": { "searchResults": {
"message": "ውጤቶችን ፈልግ" "message": "ውጤቶችን ፈልግ"
}, },
"searchTokens": {
"message": "ተለዋጭ ስሞችን ፈልግ"
},
"securityAndPrivacy": { "securityAndPrivacy": {
"message": "ደህንነት እና ግላዊነት" "message": "ደህንነት እና ግላዊነት"
}, },
@ -654,9 +639,6 @@
"showHexDataDescription": { "showHexDataDescription": {
"message": "በመላኪያ ማያ ላይ የ hex ውሂብ መስክን ለማሳየት ይህን ይምረጡ" "message": "በመላኪያ ማያ ላይ የ hex ውሂብ መስክን ለማሳየት ይህን ይምረጡ"
}, },
"showPrivateKeys": {
"message": "የግል ቁልፎችን አሳይ"
},
"sigRequest": { "sigRequest": {
"message": "የፊርማ ጥያቄ" "message": "የፊርማ ጥያቄ"
}, },
@ -777,9 +759,6 @@
"tryAgain": { "tryAgain": {
"message": "እንደገና ሞክር" "message": "እንደገና ሞክር"
}, },
"typePassword": {
"message": "የ MetaMask የይለፍ ቃልዎን ይጻፉ"
},
"unapproved": { "unapproved": {
"message": "ያልተፈቀደ" "message": "ያልተፈቀደ"
}, },

View File

@ -179,9 +179,6 @@
"copyAddress": { "copyAddress": {
"message": "نسخ العنوان إلى الحافظة" "message": "نسخ العنوان إلى الحافظة"
}, },
"copyPrivateKey": {
"message": "هذا هو مفتاحك الخاص (انقر للنسخ)"
},
"copyToClipboard": { "copyToClipboard": {
"message": "نسخ إلى الحافظة" "message": "نسخ إلى الحافظة"
}, },
@ -218,9 +215,6 @@
"deleteNetwork": { "deleteNetwork": {
"message": "هل تريد حذف الشبكة؟" "message": "هل تريد حذف الشبكة؟"
}, },
"deleteNetworkDescription": {
"message": "هل أنت متأكد أنك تريد حذف هذه الشبكة؟"
},
"details": { "details": {
"message": "التفاصيل" "message": "التفاصيل"
}, },
@ -248,9 +242,6 @@
"ensRegistrationError": { "ensRegistrationError": {
"message": "خطأ في تسجيل اسم ENS" "message": "خطأ في تسجيل اسم ENS"
}, },
"enterPassword": {
"message": "أدخل كلمة مرور"
},
"enterPasswordContinue": { "enterPasswordContinue": {
"message": "أدخل كلمة المرور للمتابعة" "message": "أدخل كلمة المرور للمتابعة"
}, },
@ -263,9 +254,6 @@
"expandView": { "expandView": {
"message": "توسيع العرض" "message": "توسيع العرض"
}, },
"exportPrivateKey": {
"message": "تصدير المفتاح الخاص"
},
"failed": { "failed": {
"message": "فشل" "message": "فشل"
}, },
@ -624,9 +612,6 @@
"searchResults": { "searchResults": {
"message": "نتائج البحث" "message": "نتائج البحث"
}, },
"searchTokens": {
"message": "البحث عن العملات الرمزية"
},
"securityAndPrivacy": { "securityAndPrivacy": {
"message": "الأمن والخصوصية" "message": "الأمن والخصوصية"
}, },
@ -666,9 +651,6 @@
"showHexDataDescription": { "showHexDataDescription": {
"message": "حدد هذا لإظهار حقل بيانات سداسي عشرية على شاشة الإرسال" "message": "حدد هذا لإظهار حقل بيانات سداسي عشرية على شاشة الإرسال"
}, },
"showPrivateKeys": {
"message": "عرض المفاتيح الخاصة"
},
"sigRequest": { "sigRequest": {
"message": "طلب التوقيع" "message": "طلب التوقيع"
}, },
@ -789,9 +771,6 @@
"tryAgain": { "tryAgain": {
"message": "إعادة المحاولة" "message": "إعادة المحاولة"
}, },
"typePassword": {
"message": "أدخل كلمة مرور MetaMask الخاصة بك"
},
"unapproved": { "unapproved": {
"message": "تم الرفض" "message": "تم الرفض"
}, },

View File

@ -175,9 +175,6 @@
"copyAddress": { "copyAddress": {
"message": "Копирайте адреса в клипборда" "message": "Копирайте адреса в клипборда"
}, },
"copyPrivateKey": {
"message": "Това е Вашият личен ключ (кликнете, за да го копирате)"
},
"copyToClipboard": { "copyToClipboard": {
"message": "Копиране в буферната памет" "message": "Копиране в буферната памет"
}, },
@ -214,9 +211,6 @@
"deleteNetwork": { "deleteNetwork": {
"message": "Да се изтрие ли мрежата?" "message": "Да се изтрие ли мрежата?"
}, },
"deleteNetworkDescription": {
"message": "Наистина ли искате да изтриете тази мрежа?"
},
"details": { "details": {
"message": "Подробности" "message": "Подробности"
}, },
@ -244,9 +238,6 @@
"ensRegistrationError": { "ensRegistrationError": {
"message": "Грешка при регистрацията на име на ENS" "message": "Грешка при регистрацията на име на ENS"
}, },
"enterPassword": {
"message": "Въведете парола"
},
"enterPasswordContinue": { "enterPasswordContinue": {
"message": "Въведете парола, за да продължите" "message": "Въведете парола, за да продължите"
}, },
@ -259,9 +250,6 @@
"expandView": { "expandView": {
"message": "Разгъване на изглед" "message": "Разгъване на изглед"
}, },
"exportPrivateKey": {
"message": "Експортиране на частен ключ"
},
"failed": { "failed": {
"message": "Неуспешно" "message": "Неуспешно"
}, },
@ -623,9 +611,6 @@
"searchResults": { "searchResults": {
"message": "Резултати от търсенето" "message": "Резултати от търсенето"
}, },
"searchTokens": {
"message": "Търсене на маркери"
},
"securityAndPrivacy": { "securityAndPrivacy": {
"message": "Сигурност и поверителност" "message": "Сигурност и поверителност"
}, },
@ -665,9 +650,6 @@
"showHexDataDescription": { "showHexDataDescription": {
"message": "Изберете това, за да се покаже полето с шестнадесетични данни на екрана за изпращане" "message": "Изберете това, за да се покаже полето с шестнадесетични данни на екрана за изпращане"
}, },
"showPrivateKeys": {
"message": "Показване на частни ключове"
},
"sigRequest": { "sigRequest": {
"message": "Заявка за подпис" "message": "Заявка за подпис"
}, },
@ -788,9 +770,6 @@
"tryAgain": { "tryAgain": {
"message": "Нов опит" "message": "Нов опит"
}, },
"typePassword": {
"message": "Въведете паролата си за MetaMask"
},
"unapproved": { "unapproved": {
"message": "Неодобрено" "message": "Неодобрено"
}, },

View File

@ -172,9 +172,6 @@
"copyAddress": { "copyAddress": {
"message": "ক্লিপবোর্ডে ঠিকানা কপি করুন" "message": "ক্লিপবোর্ডে ঠিকানা কপি করুন"
}, },
"copyPrivateKey": {
"message": "এটি হল আপনার গোপন কী (কপি করতে ক্লিক করুন)"
},
"copyToClipboard": { "copyToClipboard": {
"message": "ক্লিপবোর্ডে কপি করুন" "message": "ক্লিপবোর্ডে কপি করুন"
}, },
@ -211,9 +208,6 @@
"deleteNetwork": { "deleteNetwork": {
"message": "নেটওয়ার্ক মুছবেন?" "message": "নেটওয়ার্ক মুছবেন?"
}, },
"deleteNetworkDescription": {
"message": "আপনি কি এই নেটওয়ার্কটি মোছার বিষয়ে নিশ্চিত?"
},
"details": { "details": {
"message": "বিশদ বিবরণ" "message": "বিশদ বিবরণ"
}, },
@ -241,9 +235,6 @@
"ensRegistrationError": { "ensRegistrationError": {
"message": "ENS নাম নিবন্ধীকরণে ত্রুটি হয়েছে" "message": "ENS নাম নিবন্ধীকরণে ত্রুটি হয়েছে"
}, },
"enterPassword": {
"message": "পাসওয়ার্ড লিখুন"
},
"enterPasswordContinue": { "enterPasswordContinue": {
"message": "অবিরত রাখতে পাসওয়ার্ড লিখুন" "message": "অবিরত রাখতে পাসওয়ার্ড লিখুন"
}, },
@ -256,9 +247,6 @@
"expandView": { "expandView": {
"message": "ভিউ সম্প্রসারিত করুন" "message": "ভিউ সম্প্রসারিত করুন"
}, },
"exportPrivateKey": {
"message": "ব্যক্তিগত কী রপ্তানি করুন"
},
"failed": { "failed": {
"message": "ব্যর্থ হয়েছে" "message": "ব্যর্থ হয়েছে"
}, },
@ -621,9 +609,6 @@
"searchResults": { "searchResults": {
"message": "অনুসন্ধানের ফলাফলগুলি" "message": "অনুসন্ধানের ফলাফলগুলি"
}, },
"searchTokens": {
"message": "টোকেনগুলি অনুসন্ধান করুন"
},
"securityAndPrivacy": { "securityAndPrivacy": {
"message": "নিরাপত্তা এবং গোপনীয়তা" "message": "নিরাপত্তা এবং গোপনীয়তা"
}, },
@ -663,9 +648,6 @@
"showHexDataDescription": { "showHexDataDescription": {
"message": "পাঠাবার স্ক্রিনে হেক্স ডেটা ফিল্ডটি দেখাবার জন্য এটি নির্বাচন করুন" "message": "পাঠাবার স্ক্রিনে হেক্স ডেটা ফিল্ডটি দেখাবার জন্য এটি নির্বাচন করুন"
}, },
"showPrivateKeys": {
"message": "গোপনীয় কীগুলি দেখান"
},
"sigRequest": { "sigRequest": {
"message": "স্বাক্ষরের অনুরোধ" "message": "স্বাক্ষরের অনুরোধ"
}, },
@ -786,9 +768,6 @@
"tryAgain": { "tryAgain": {
"message": "আবার করুন" "message": "আবার করুন"
}, },
"typePassword": {
"message": "আপনার MetaMask পাসওয়ার্ড টাইপ করুন"
},
"unapproved": { "unapproved": {
"message": "অননুমোদিত" "message": "অননুমোদিত"
}, },

View File

@ -172,9 +172,6 @@
"copyAddress": { "copyAddress": {
"message": "Copiar adreça al porta-retalls" "message": "Copiar adreça al porta-retalls"
}, },
"copyPrivateKey": {
"message": "Aquesta és la teva clau privada (fes clic per a copiar)"
},
"copyToClipboard": { "copyToClipboard": {
"message": "Copia al porta-retalls" "message": "Copia al porta-retalls"
}, },
@ -211,9 +208,6 @@
"deleteNetwork": { "deleteNetwork": {
"message": "Esborrar Xarxa?" "message": "Esborrar Xarxa?"
}, },
"deleteNetworkDescription": {
"message": "Estàs segur que vols eliminar aquesta xarxa?"
},
"details": { "details": {
"message": "Detalls" "message": "Detalls"
}, },
@ -241,9 +235,6 @@
"ensRegistrationError": { "ensRegistrationError": {
"message": "Error al registre de nom ENS" "message": "Error al registre de nom ENS"
}, },
"enterPassword": {
"message": "Introdueix contrasenya"
},
"enterPasswordContinue": { "enterPasswordContinue": {
"message": "Introdueix la contrasenya per continuar" "message": "Introdueix la contrasenya per continuar"
}, },
@ -256,9 +247,6 @@
"expandView": { "expandView": {
"message": "Eixamplar Vista" "message": "Eixamplar Vista"
}, },
"exportPrivateKey": {
"message": "Exportar Clau Privada."
},
"failed": { "failed": {
"message": "Fallit" "message": "Fallit"
}, },
@ -608,9 +596,6 @@
"searchResults": { "searchResults": {
"message": "Resultats de Cerca" "message": "Resultats de Cerca"
}, },
"searchTokens": {
"message": "Tokens per cercar"
},
"securityAndPrivacy": { "securityAndPrivacy": {
"message": "Seguretat i privacitat" "message": "Seguretat i privacitat"
}, },
@ -650,9 +635,6 @@
"showHexDataDescription": { "showHexDataDescription": {
"message": "Selecciona això per a mostrar el camp de dades Hex a la pantalla d'enviament" "message": "Selecciona això per a mostrar el camp de dades Hex a la pantalla d'enviament"
}, },
"showPrivateKeys": {
"message": "Mostrar Claus Privades"
},
"sigRequest": { "sigRequest": {
"message": "Sol·licitud de Signatura" "message": "Sol·licitud de Signatura"
}, },
@ -767,9 +749,6 @@
"tryAgain": { "tryAgain": {
"message": "Torna-ho a provar" "message": "Torna-ho a provar"
}, },
"typePassword": {
"message": "Tecleja la teva contrasenya de MetaMask"
},
"unapproved": { "unapproved": {
"message": "Pendent d'aprovació" "message": "Pendent d'aprovació"
}, },

View File

@ -72,9 +72,6 @@
"copiedExclamation": { "copiedExclamation": {
"message": "Zkopírováno!" "message": "Zkopírováno!"
}, },
"copyPrivateKey": {
"message": "Toto je váš privátní klíč (kliknutím zkopírujte)"
},
"copyToClipboard": { "copyToClipboard": {
"message": "Kopírovat do schránky" "message": "Kopírovat do schránky"
}, },
@ -105,15 +102,9 @@
"edit": { "edit": {
"message": "Upravit" "message": "Upravit"
}, },
"enterPassword": {
"message": "Zadejte heslo"
},
"etherscanView": { "etherscanView": {
"message": "Prohlédněte si účet na Etherscan" "message": "Prohlédněte si účet na Etherscan"
}, },
"exportPrivateKey": {
"message": "Exportovat privátní klíč"
},
"failed": { "failed": {
"message": "Neúspěšné" "message": "Neúspěšné"
}, },
@ -289,9 +280,6 @@
"search": { "search": {
"message": "Hledat" "message": "Hledat"
}, },
"searchTokens": {
"message": "Hledat tokeny"
},
"seedPhraseReq": { "seedPhraseReq": {
"message": "klíčové fráze mají 12 slov" "message": "klíčové fráze mají 12 slov"
}, },
@ -307,9 +295,6 @@
"settings": { "settings": {
"message": "Nastavení" "message": "Nastavení"
}, },
"showPrivateKeys": {
"message": "Zobrazit privátní klíče"
},
"sigRequest": { "sigRequest": {
"message": "Požadavek podpisu" "message": "Požadavek podpisu"
}, },
@ -358,9 +343,6 @@
"transactionError": { "transactionError": {
"message": "Chyba transakce. Vyhozena výjimka v kódu kontraktu." "message": "Chyba transakce. Vyhozena výjimka v kódu kontraktu."
}, },
"typePassword": {
"message": "Zadejte své heslo"
},
"unapproved": { "unapproved": {
"message": "Neschváleno" "message": "Neschváleno"
}, },

View File

@ -175,9 +175,6 @@
"copyAddress": { "copyAddress": {
"message": "Kopier adresse til udklipsholder" "message": "Kopier adresse til udklipsholder"
}, },
"copyPrivateKey": {
"message": "Dette er din private nøgle (klik for at kopiere)"
},
"copyToClipboard": { "copyToClipboard": {
"message": "Kopiér til udklipsholderen" "message": "Kopiér til udklipsholderen"
}, },
@ -214,9 +211,6 @@
"deleteNetwork": { "deleteNetwork": {
"message": "Slet Netværk?" "message": "Slet Netværk?"
}, },
"deleteNetworkDescription": {
"message": "Er du sikker på, at du vil slette dette netværk?"
},
"details": { "details": {
"message": "Detaljer" "message": "Detaljer"
}, },
@ -244,9 +238,6 @@
"ensRegistrationError": { "ensRegistrationError": {
"message": "Fejl i ENS-navneregistrering" "message": "Fejl i ENS-navneregistrering"
}, },
"enterPassword": {
"message": "Indtast kodeord"
},
"enterPasswordContinue": { "enterPasswordContinue": {
"message": "Indtast adgangskode for at fortsætte" "message": "Indtast adgangskode for at fortsætte"
}, },
@ -259,9 +250,6 @@
"expandView": { "expandView": {
"message": "Udvis Visning" "message": "Udvis Visning"
}, },
"exportPrivateKey": {
"message": "Eksporter privat nøgle"
},
"failed": { "failed": {
"message": "Mislykkedes" "message": "Mislykkedes"
}, },
@ -608,9 +596,6 @@
"searchResults": { "searchResults": {
"message": "Søg Resultater" "message": "Søg Resultater"
}, },
"searchTokens": {
"message": "Søg efter tokens"
},
"securityAndPrivacy": { "securityAndPrivacy": {
"message": "Sikkerhed & Privatliv" "message": "Sikkerhed & Privatliv"
}, },
@ -647,9 +632,6 @@
"showHexDataDescription": { "showHexDataDescription": {
"message": "Vælg dette for at vise hex-datafeltet på send-skærmen" "message": "Vælg dette for at vise hex-datafeltet på send-skærmen"
}, },
"showPrivateKeys": {
"message": "Vis private nøgler"
},
"sigRequest": { "sigRequest": {
"message": "Signaturforespørgsel" "message": "Signaturforespørgsel"
}, },
@ -761,9 +743,6 @@
"tryAgain": { "tryAgain": {
"message": "Prøv igen" "message": "Prøv igen"
}, },
"typePassword": {
"message": "Skriv din MetaMask-adgangskode"
},
"unapproved": { "unapproved": {
"message": "Ikke godkendt" "message": "Ikke godkendt"
}, },

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -153,9 +153,6 @@
"accountSelectionRequired": { "accountSelectionRequired": {
"message": "You need to select an account!" "message": "You need to select an account!"
}, },
"activated": {
"message": "Active"
},
"active": { "active": {
"message": "Active" "message": "Active"
}, },
@ -192,18 +189,9 @@
"addContact": { "addContact": {
"message": "Add contact" "message": "Add contact"
}, },
"addCustomIPFSGateway": {
"message": "Add custom IPFS gateway"
},
"addCustomIPFSGatewayDescription": {
"message": "The IPFS gateway makes it possible to access and view data hosted by third parties. You can add a custom IPFS gateway or continue using the default."
},
"addCustomNetwork": { "addCustomNetwork": {
"message": "Add custom network" "message": "Add custom network"
}, },
"addCustomToken": {
"message": "Add custom token"
},
"addEthereumChainConfirmationDescription": { "addEthereumChainConfirmationDescription": {
"message": "This will allow this network to be used within MetaMask." "message": "This will allow this network to be used within MetaMask."
}, },
@ -252,6 +240,9 @@
"addHardwareWallet": { "addHardwareWallet": {
"message": "Add hardware wallet" "message": "Add hardware wallet"
}, },
"addIPFSGateway": {
"message": "Add your preferred IPFS gateway"
},
"addMemo": { "addMemo": {
"message": "Add memo" "message": "Add memo"
}, },
@ -296,6 +287,9 @@
"address": { "address": {
"message": "Address" "message": "Address"
}, },
"addressCopied": {
"message": "Address copied!"
},
"advanced": { "advanced": {
"message": "Advanced" "message": "Advanced"
}, },
@ -374,9 +368,6 @@
"message": "Allow $1 to withdraw and spend up to the following amount:", "message": "Allow $1 to withdraw and spend up to the following amount:",
"description": "The url of the site that requested permission to 'withdraw and spend'" "description": "The url of the site that requested permission to 'withdraw and spend'"
}, },
"amlCompliance": {
"message": "AML/CFT Compliance"
},
"amount": { "amount": {
"message": "Amount" "message": "Amount"
}, },
@ -569,12 +560,48 @@
"blockaid": { "blockaid": {
"message": "Blockaid" "message": "Blockaid"
}, },
"blockaidDescriptionApproveFarming": {
"message": "If you approve this request, a third party known for scams might take all your assets."
},
"blockaidDescriptionBlurFarming": {
"message": "If you approve this request, someone can steal your assets listed on Blur."
},
"blockaidDescriptionFailed": {
"message": "Because of an error, this request was not verified by the security provider. Proceed with caution."
},
"blockaidDescriptionMaliciousDomain": {
"message": "You're interacting with a malicious domain. If you approve this request, you might lose your assets."
},
"blockaidDescriptionMightLoseAssets": {
"message": "If you approve this request, you might lose your assets."
},
"blockaidDescriptionSeaportFarming": {
"message": "If you approve this request, someone can steal your assets listed on OpenSea."
},
"blockaidDescriptionTransferFarming": {
"message": "If you approve this request, a third party known for scams will take all your assets."
},
"blockaidTitleDeceptive": {
"message": "This is a deceptive request"
},
"blockaidTitleMayNotBeSafe": {
"message": "Request may not be safe"
},
"blockaidTitleSuspicious": {
"message": "This is a suspicious request"
},
"blockies": { "blockies": {
"message": "Blockies" "message": "Blockies"
}, },
"bridge": { "bridge": {
"message": "Bridge" "message": "Bridge"
}, },
"bridgeDescription": {
"message": "Transfer tokens from different networks"
},
"bridgeDisabled": {
"message": "Bridge is not available in this network"
},
"browserNotSupported": { "browserNotSupported": {
"message": "Your browser is not supported..." "message": "Your browser is not supported..."
}, },
@ -594,6 +621,16 @@
"message": "Buy $1", "message": "Buy $1",
"description": "$1 is the ticker symbol of a an asset the user is being prompted to purchase" "description": "$1 is the ticker symbol of a an asset the user is being prompted to purchase"
}, },
"buyDescription": {
"message": "Hold up your crypto and earn potential profits"
},
"buyDisabled": {
"message": "Buy is not available in this network"
},
"buyMoreAsset": {
"message": "Buy more $1",
"description": "$1 is the ticker symbol of a an asset the user is being prompted to purchase"
},
"buyNow": { "buyNow": {
"message": "Buy Now" "message": "Buy Now"
}, },
@ -674,45 +711,9 @@
"close": { "close": {
"message": "Close" "message": "Close"
}, },
"codefiCompliance": {
"message": "Codefi Compliance"
},
"coingecko": { "coingecko": {
"message": "CoinGecko" "message": "CoinGecko"
}, },
"complianceActivatedDesc": {
"message": "You can now use compliance in MetaMask Institutional. Receiving AML/CFT analysis within the confirmation screen on all the addresses you interact with."
},
"complianceActivatedTitle": {
"message": "Your compliance feature is activated"
},
"complianceBlurb0": {
"message": "DeFi raises AML/CFT risk for institutions, given the decentralised pools and pseudonymous counterparties."
},
"complianceBlurb1": {
"message": "Codefi Compliance is the only product capable of running AML/CFT analysis on DeFi pools. This allows you to identify and avoid pools and counterparties that fail your risk setting."
},
"complianceBlurbStep1": {
"message": "Sign up to Codefi Compliance below"
},
"complianceBlurbStep2": {
"message": "Create an organisation"
},
"complianceBlurbStep3": {
"message": "Create a project"
},
"complianceBlurbStep4": {
"message": "Set your compliance settings"
},
"complianceBlurbStep5": {
"message": "Click the \"Enable Compliance in MMI\" button"
},
"complianceBlurpStep0": {
"message": "Steps to enable AML/CFT Compliance:"
},
"complianceSettingsExplanation": {
"message": "Change your settings or view reports by opening up Codefi Compliance or disconnect below."
},
"configureSnapPopupDescription": { "configureSnapPopupDescription": {
"message": "You're now leaving MetaMask to configure this snap." "message": "You're now leaving MetaMask to configure this snap."
}, },
@ -836,9 +837,6 @@
"connectingToSepolia": { "connectingToSepolia": {
"message": "Connecting to Sepolia test network" "message": "Connecting to Sepolia test network"
}, },
"connectionError": {
"message": "Connection error"
},
"connectionFailed": { "connectionFailed": {
"message": "Connection failed" "message": "Connection failed"
}, },
@ -849,6 +847,9 @@
"connectionRequest": { "connectionRequest": {
"message": "Connection request" "message": "Connection request"
}, },
"connections": {
"message": "Connections"
},
"contactUs": { "contactUs": {
"message": "Contact us" "message": "Contact us"
}, },
@ -913,9 +914,6 @@
"copyAddress": { "copyAddress": {
"message": "Copy address to clipboard" "message": "Copy address to clipboard"
}, },
"copyPrivateKey": {
"message": "This is your private key (click to copy)"
},
"copyRawTransactionData": { "copyRawTransactionData": {
"message": "Copy raw transaction data" "message": "Copy raw transaction data"
}, },
@ -1138,8 +1136,12 @@
"deleteNetwork": { "deleteNetwork": {
"message": "Delete network?" "message": "Delete network?"
}, },
"deleteNetworkDescription": { "deleteNetworkIntro": {
"message": "Are you sure you want to delete this network?" "message": "If you delete this network, you will need to add it again to view your assets in this network"
},
"deleteNetworkTitle": {
"message": "Delete $1 network?",
"description": "$1 represents the name of the network"
}, },
"deposit": { "deposit": {
"message": "Deposit" "message": "Deposit"
@ -1157,6 +1159,9 @@
"message": "Description from $1", "message": "Description from $1",
"description": "$1 represents the name of the snap" "description": "$1 represents the name of the snap"
}, },
"desktopApp": {
"message": "Desktop App"
},
"desktopConnectionCriticalErrorDescription": { "desktopConnectionCriticalErrorDescription": {
"message": "This error could be intermittent, so try restarting the extension or disable MetaMask Desktop." "message": "This error could be intermittent, so try restarting the extension or disable MetaMask Desktop."
}, },
@ -1287,6 +1292,12 @@
"dismissReminderField": { "dismissReminderField": {
"message": "Dismiss Secret Recovery Phrase backup reminder" "message": "Dismiss Secret Recovery Phrase backup reminder"
}, },
"displayNftMedia": {
"message": "Display NFT media"
},
"displayNftMediaDescription": {
"message": "Displaying NFT media and data exposes your IP address to OpenSea or other third parties. This can allow attackers to associate your IP address with your Ethereum address. NFT autodetection relies on this setting, and won't be available when this is turned off."
},
"domain": { "domain": {
"message": "Domain" "message": "Domain"
}, },
@ -1409,15 +1420,12 @@
"enableAutoDetect": { "enableAutoDetect": {
"message": " Enable autodetect" "message": " Enable autodetect"
}, },
"enableForAllNetworks": {
"message": "Enable for all networks"
},
"enableFromSettings": { "enableFromSettings": {
"message": " Enable it from Settings." "message": " Enable it from Settings."
}, },
"enableOpenSeaAPI": {
"message": "Enable OpenSea API"
},
"enableOpenSeaAPIDescription": {
"message": "Use OpenSea's API to fetch NFT data. NFT auto-detection relies on OpenSea's API, and will not be available when this is turned off."
},
"enableSmartSwaps": { "enableSmartSwaps": {
"message": "Enable smart swaps" "message": "Enable smart swaps"
}, },
@ -1445,6 +1453,24 @@
"enhancedTokenDetectionAlertMessage": { "enhancedTokenDetectionAlertMessage": {
"message": "Enhanced token detection is currently available on $1. $2" "message": "Enhanced token detection is currently available on $1. $2"
}, },
"ensDomainsSettingDescriptionIntro": {
"message": "MetaMask lets you see ENS domains like \"https://metamask.eth\" right in your browser's address bar. Here's how it works:"
},
"ensDomainsSettingDescriptionOutro": {
"message": "Regular browsers don't usually handle ENS or IPFS addresses, but MetaMask helps with that. Using this feature might share your IP address with IPFS third-party services."
},
"ensDomainsSettingDescriptionPoint1": {
"message": "MetaMask checks with Ethereum's ENS contract to find the code connected to the ENS name."
},
"ensDomainsSettingDescriptionPoint2": {
"message": "If the code is linked to IPFS, it gets the content from the IPFS network."
},
"ensDomainsSettingDescriptionPoint3": {
"message": "Then, you can see the content, usually a website or something similar."
},
"ensDomainsSettingTitle": {
"message": "Show ENS domains in address bar"
},
"ensIllegalCharacter": { "ensIllegalCharacter": {
"message": "Illegal character for ENS." "message": "Illegal character for ENS."
}, },
@ -1472,9 +1498,6 @@
"enterOptionalPassword": { "enterOptionalPassword": {
"message": "Enter optional password" "message": "Enter optional password"
}, },
"enterPassword": {
"message": "Enter password"
},
"enterPasswordContinue": { "enterPasswordContinue": {
"message": "Enter password to continue" "message": "Enter password to continue"
}, },
@ -1551,11 +1574,8 @@
"exploreMetaMaskSnaps": { "exploreMetaMaskSnaps": {
"message": "Explore MetaMask Snaps" "message": "Explore MetaMask Snaps"
}, },
"exportPrivateKey": {
"message": "Export private key"
},
"extendWalletWithSnaps": { "extendWalletWithSnaps": {
"message": "Extend the wallet experience." "message": "Customize your wallet experience."
}, },
"externalExtension": { "externalExtension": {
"message": "External extension" "message": "External extension"
@ -1772,8 +1792,11 @@
"hardwareWallets": { "hardwareWallets": {
"message": "Connect a hardware wallet" "message": "Connect a hardware wallet"
}, },
"hardwareWalletsInfo": {
"message": "Hardware wallet integrations use API calls to external servers, which can see your IP address and the smart contract addresses you interact with."
},
"hardwareWalletsMsg": { "hardwareWalletsMsg": {
"message": "Select a hardware wallet you'd like to use with MetaMask." "message": "Select a hardware wallet you would like to use with MetaMask."
}, },
"here": { "here": {
"message": "here", "message": "here",
@ -1972,9 +1995,6 @@
"message": "Installed on $1", "message": "Installed on $1",
"description": "$1 is the date when the snap has been installed" "description": "$1 is the date when the snap has been installed"
}, },
"institutionalFeatures": {
"message": "Institutional Features"
},
"insufficientBalance": { "insufficientBalance": {
"message": "Insufficient balance." "message": "Insufficient balance."
}, },
@ -2055,6 +2075,22 @@
"invalidSeedPhraseCaseSensitive": { "invalidSeedPhraseCaseSensitive": {
"message": "Invalid input! Secret Recovery Phrase is case sensitive." "message": "Invalid input! Secret Recovery Phrase is case sensitive."
}, },
"ipfsGateway": {
"message": "IPFS gateway"
},
"ipfsGatewayDescription": {
"message": "MetaMask uses third-party services to show images of your NFTs stored on IPFS, display information related to ENS addresses entered in your browser's address bar, and fetch icons for different tokens. Your IP address may be exposed to these services when youre using them."
},
"ipfsToggleModalDescriptionOne": {
"message": "We use third-party services to show images of your NFTs stored on IPFS, display information related to ENS addresses entered in your browser's address bar, and fetch icons for different tokens. Your IP address may be exposed to these services when youre using them."
},
"ipfsToggleModalDescriptionTwo": {
"message": "Selecting Confirm turns on IPFS resolution. You can turn it off in $1 at any time.",
"description": "$1 is the method to turn off ipfs"
},
"ipfsToggleModalSettings": {
"message": "Settings > Security and privacy"
},
"jazzAndBlockies": { "jazzAndBlockies": {
"message": "Jazzicons and Blockies are two different styles of unique icons that help you identify an account at a glance." "message": "Jazzicons and Blockies are two different styles of unique icons that help you identify an account at a glance."
}, },
@ -2313,9 +2349,6 @@
"mmiAddToken": { "mmiAddToken": {
"message": "The page at $1 would like to authorise the following custodian token in MetaMask Institutional" "message": "The page at $1 would like to authorise the following custodian token in MetaMask Institutional"
}, },
"mmiAuthenticate": {
"message": "The page at $1 would like to authorise the following projects compliance settings in MetaMask Institutional"
},
"mmiBuiltAroundTheWorld": { "mmiBuiltAroundTheWorld": {
"message": "MetaMask Institutional is designed and built around the world." "message": "MetaMask Institutional is designed and built around the world."
}, },
@ -2323,7 +2356,7 @@
"message": "more" "message": "more"
}, },
"moreComingSoon": { "moreComingSoon": {
"message": "More coming soon..." "message": "More providers coming soon"
}, },
"multipleSnapConnectionWarning": { "multipleSnapConnectionWarning": {
"message": "$1 wants to connect with $2 snaps. Only proceed if you trust this website.", "message": "$1 wants to connect with $2 snaps. Only proceed if you trust this website.",
@ -2539,8 +2572,8 @@
"noNFTs": { "noNFTs": {
"message": "No NFTs yet" "message": "No NFTs yet"
}, },
"noReport": { "noNetworksFound": {
"message": "No Report" "message": "No networks found for the given search query"
}, },
"noSnaps": { "noSnaps": {
"message": "You don't have any snaps installed." "message": "You don't have any snaps installed."
@ -2747,6 +2780,21 @@
"notifications22Title": { "notifications22Title": {
"message": "Looking for your account details or the block explorer URL?" "message": "Looking for your account details or the block explorer URL?"
}, },
"notifications23ActionText": {
"message": "Enable security alerts"
},
"notifications23DescriptionOne": {
"message": "Steer clear of known scams while still preserving your privacy with security alerts powered by Blockaid."
},
"notifications23DescriptionThree": {
"message": "If you enabled security alerts from OpenSea, we've moved you over to this feature."
},
"notifications23DescriptionTwo": {
"message": "Always do your own due diligence before approving requests."
},
"notifications23Title": {
"message": "Stay safe with security alerts"
},
"notifications24ActionText": { "notifications24ActionText": {
"message": "Got it" "message": "Got it"
}, },
@ -2838,7 +2886,7 @@
"message": "👓 We are making transactions easier to read." "message": "👓 We are making transactions easier to read."
}, },
"notificationsEmptyText": { "notificationsEmptyText": {
"message": "Nothing to see here." "message": "This is where you can find notifications from your installed snaps."
}, },
"notificationsHeader": { "notificationsHeader": {
"message": "Notifications" "message": "Notifications"
@ -2987,10 +3035,6 @@
"onboardingPinExtensionTitle": { "onboardingPinExtensionTitle": {
"message": "Your MetaMask install is complete!" "message": "Your MetaMask install is complete!"
}, },
"onboardingShowIncomingTransactionsDescription": {
"message": "Showing incoming transactions in your wallet relies on communication with $1. Etherscan will have access to your Ethereum address and your IP address. View $2.",
"description": "$1 is a clickable link with text defined by the 'etherscan' key. $2 is a clickable link with text defined by the 'privacyMsg' key."
},
"onboardingUsePhishingDetectionDescription": { "onboardingUsePhishingDetectionDescription": {
"message": "Phishing detection alerts rely on communication with $1. jsDeliver will have access to your IP address. View $2.", "message": "Phishing detection alerts rely on communication with $1. jsDeliver will have access to your IP address. View $2.",
"description": "The $1 is the word 'jsDeliver', from key 'jsDeliver' and $2 is the words Privacy Policy from key 'privacyMsg', both separated here so that it can be wrapped as a link" "description": "The $1 is the word 'jsDeliver', from key 'jsDeliver' and $2 is the words Privacy Policy from key 'privacyMsg', both separated here so that it can be wrapped as a link"
@ -3001,9 +3045,6 @@
"onlyConnectTrust": { "onlyConnectTrust": {
"message": "Only connect with sites you trust." "message": "Only connect with sites you trust."
}, },
"openCodefiCompliance": {
"message": "Open Codefi Compliance"
},
"openFullScreenForLedgerWebHid": { "openFullScreenForLedgerWebHid": {
"message": "Go to full screen to connect your Ledger.", "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." "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."
@ -3167,6 +3208,14 @@
"message": "Allow the snap to derive arbitrary keys unique to this snap, without exposing them. These keys are separate from your MetaMask account(s) and not related to your private keys or Secret Recovery Phrase. Other snaps cannot access this information.", "message": "Allow the snap to derive arbitrary keys unique to this snap, without exposing them. These keys are separate from your MetaMask account(s) and not related to your private keys or Secret Recovery Phrase. Other snaps cannot access this information.",
"description": "An extended description for the `snap_getEntropy` permission" "description": "An extended description for the `snap_getEntropy` permission"
}, },
"permission_lifecycleHooks": {
"message": "Use lifecycle hooks.",
"description": "The description for the `endowment:lifecycle-hooks` permission"
},
"permission_lifecycleHooksDescription": {
"message": "Allow the snap to use lifecycle hooks to run code at specific times during its lifecycle.",
"description": "An extended description for the `endowment:lifecycle-hooks` permission"
},
"permission_longRunning": { "permission_longRunning": {
"message": "Run indefinitely.", "message": "Run indefinitely.",
"description": "The description for the `endowment:long-running` permission" "description": "The description for the `endowment:long-running` permission"
@ -3291,9 +3340,6 @@
"portfolioDashboard": { "portfolioDashboard": {
"message": "Portfolio Dashboard" "message": "Portfolio Dashboard"
}, },
"portfolioView": {
"message": "Portfolio view"
},
"preferredLedgerConnectionType": { "preferredLedgerConnectionType": {
"message": "Preferred Ledger connection type", "message": "Preferred Ledger connection type",
"description": "A header for a dropdown in Settings > Advanced. Appears above the ledgerConnectionPreferenceDescription message" "description": "A header for a dropdown in Settings > Advanced. Appears above the ledgerConnectionPreferenceDescription message"
@ -3339,12 +3385,6 @@
"proceedWithTransaction": { "proceedWithTransaction": {
"message": "I want to proceed anyway" "message": "I want to proceed anyway"
}, },
"projectIdInvalid": {
"message": "Provided Project ID is invalid"
},
"projectName": {
"message": "Project Name"
},
"proposedApprovalLimit": { "proposedApprovalLimit": {
"message": "Proposed approval limit" "message": "Proposed approval limit"
}, },
@ -3463,12 +3503,6 @@
"replace": { "replace": {
"message": "replace" "message": "replace"
}, },
"reportLastRun": {
"message": "Report last run"
},
"reportLastRunTooltip": {
"message": "The date and time of when the last AML/CFT report was run"
},
"requestFlaggedAsMaliciousFallbackCopyReason": { "requestFlaggedAsMaliciousFallbackCopyReason": {
"message": "The security provider has not shared additional details" "message": "The security provider has not shared additional details"
}, },
@ -3607,18 +3641,9 @@
"revokeSpendingCapTooltipText": { "revokeSpendingCapTooltipText": {
"message": "This third party will be unable to spend any more of your current or future tokens." "message": "This third party will be unable to spend any more of your current or future tokens."
}, },
"riskRating": {
"message": "Risk rating"
},
"riskRatingTooltip": {
"message": "The risk rating of the address you are interacting with based on your risk settings"
},
"rpcUrl": { "rpcUrl": {
"message": "New RPC URL" "message": "New RPC URL"
}, },
"runReport": {
"message": "Run report"
},
"safeTransferFrom": { "safeTransferFrom": {
"message": "Safe transfer from" "message": "Safe transfer from"
}, },
@ -3643,9 +3668,6 @@
"searchResults": { "searchResults": {
"message": "Search results" "message": "Search results"
}, },
"searchTokens": {
"message": "Search tokens"
},
"secretRecoveryPhrase": { "secretRecoveryPhrase": {
"message": "Secret Recovery Phrase" "message": "Secret Recovery Phrase"
}, },
@ -3658,9 +3680,25 @@
"securityAlert": { "securityAlert": {
"message": "Security alert from $1 and $2" "message": "Security alert from $1 and $2"
}, },
"securityAlerts": {
"message": "Security alerts"
},
"securityAlertsDescription1": {
"message": "This feature alerts you to malicious activity by locally reviewing your transactions and signature requests. Your data isn't shared with the third parties providing this service. Always do your own due diligence before approving any requests. There's no guarantee that this feature will detect all malicious activity."
},
"securityAlertsDescription2": {
"message": "Always be sure to do your own due diligence before approving any requests. There's no guarantee all mailcious activity will be detected by this feature."
},
"securityAndPrivacy": { "securityAndPrivacy": {
"message": "Security & privacy" "message": "Security & privacy"
}, },
"securityProviderAdviceBy": {
"message": "Security advice by $1",
"description": "The security provider that is providing data"
},
"seeDetails": {
"message": "See details"
},
"seedPhraseConfirm": { "seedPhraseConfirm": {
"message": "Confirm Secret Recovery Phrase" "message": "Confirm Secret Recovery Phrase"
}, },
@ -3739,6 +3777,9 @@
"selectAnAccountHelp": { "selectAnAccountHelp": {
"message": "Select the custodian accounts to use in MetaMask Institutional." "message": "Select the custodian accounts to use in MetaMask Institutional."
}, },
"selectAnAction": {
"message": "Select an action"
},
"selectHdPath": { "selectHdPath": {
"message": "Select HD path" "message": "Select HD path"
}, },
@ -3766,6 +3807,9 @@
"sendBugReport": { "sendBugReport": {
"message": "Send us a bug report." "message": "Send us a bug report."
}, },
"sendDescription": {
"message": "Send crypto to any account"
},
"sendSpecifiedTokens": { "sendSpecifiedTokens": {
"message": "Send $1", "message": "Send $1",
"description": "Symbol of the specified token" "description": "Symbol of the specified token"
@ -3831,21 +3875,21 @@
"message": "This relies on $1 which will have access to your Ethereum address and your IP address. $2", "message": "This relies on $1 which will have access to your Ethereum address and your IP address. $2",
"description": "$1 is the link to etherscan url and $2 is the link to the privacy policy of consensys APIs" "description": "$1 is the link to etherscan url and $2 is the link to the privacy policy of consensys APIs"
}, },
"showIncomingTransactionsInformation": {
"message": "This relies on each network which will have access to your Ethereum address and your IP address."
},
"showMore": { "showMore": {
"message": "Show more" "message": "Show more"
}, },
"showNft": {
"message": "Show NFT"
},
"showPermissions": { "showPermissions": {
"message": "Show permissions" "message": "Show permissions"
}, },
"showPrivateKey": { "showPrivateKey": {
"message": "Show private key" "message": "Show private key"
}, },
"showPrivateKeys": {
"message": "Show Private Keys"
},
"showReport": {
"message": "Show report"
},
"showTestnetNetworks": { "showTestnetNetworks": {
"message": "Show test networks" "message": "Show test networks"
}, },
@ -3885,6 +3929,9 @@
"skipAccountSecurityDetails": { "skipAccountSecurityDetails": {
"message": "I understand that until I back up my Secret Recovery Phrase, I may lose my accounts and all of their assets." "message": "I understand that until I back up my Secret Recovery Phrase, I may lose my accounts and all of their assets."
}, },
"smartContracts": {
"message": "Smart contracts"
},
"smartSwap": { "smartSwap": {
"message": "Smart swap" "message": "Smart swap"
}, },
@ -4075,9 +4122,6 @@
"somethingWentWrong": { "somethingWentWrong": {
"message": "Oops! Something went wrong." "message": "Oops! Something went wrong."
}, },
"source": {
"message": "Source"
},
"speedUp": { "speedUp": {
"message": "Speed up" "message": "Speed up"
}, },
@ -4212,6 +4256,9 @@
"stake": { "stake": {
"message": "Stake" "message": "Stake"
}, },
"stakeDescription": {
"message": "Hold up your crypto and earn potential profits"
},
"stateLogError": { "stateLogError": {
"message": "Error in retrieving state logs." "message": "Error in retrieving state logs."
}, },
@ -4348,6 +4395,9 @@
"swap": { "swap": {
"message": "Swap" "message": "Swap"
}, },
"swapAdjustSlippage": {
"message": "Adjust slippage"
},
"swapAggregator": { "swapAggregator": {
"message": "Aggregator" "message": "Aggregator"
}, },
@ -4400,15 +4450,18 @@
"swapDecentralizedExchange": { "swapDecentralizedExchange": {
"message": "Decentralized exchange" "message": "Decentralized exchange"
}, },
"swapDescription": {
"message": "Swap and trade your tokens"
},
"swapDirectContract": { "swapDirectContract": {
"message": "Direct contract" "message": "Direct contract"
}, },
"swapDisabled": {
"message": "Swap is not available in this network"
},
"swapEditLimit": { "swapEditLimit": {
"message": "Edit limit" "message": "Edit limit"
}, },
"swapEditTransactionSettings": {
"message": "Edit transaction settings"
},
"swapEnableDescription": { "swapEnableDescription": {
"message": "This is required and gives MetaMask permission to swap your $1.", "message": "This is required and gives MetaMask permission to swap your $1.",
"description": "Gives the user info about the required approval transaction for swaps. $1 will be the symbol of a token being approved for swaps." "description": "Gives the user info about the required approval transaction for swaps. $1 will be the symbol of a token being approved for swaps."
@ -4469,6 +4522,9 @@
"message": "Gas fees are paid to crypto miners who process transactions on the $1 network. MetaMask does not profit from gas fees.", "message": "Gas fees are paid to crypto miners who process transactions on the $1 network. MetaMask does not profit from gas fees.",
"description": "$1 is the selected network, e.g. Ethereum or BSC" "description": "$1 is the selected network, e.g. Ethereum or BSC"
}, },
"swapHighSlippage": {
"message": "High slippage"
},
"swapHighSlippageWarning": { "swapHighSlippageWarning": {
"message": "Slippage amount is very high." "message": "Slippage amount is very high."
}, },
@ -4483,6 +4539,9 @@
"swapLearnMore": { "swapLearnMore": {
"message": "Learn more about Swaps" "message": "Learn more about Swaps"
}, },
"swapLowSlippage": {
"message": "Low slippage"
},
"swapLowSlippageError": { "swapLowSlippageError": {
"message": "Transaction may fail, max slippage too low." "message": "Transaction may fail, max slippage too low."
}, },
@ -4593,6 +4652,20 @@
"swapShowLatestQuotes": { "swapShowLatestQuotes": {
"message": "Show latest quotes" "message": "Show latest quotes"
}, },
"swapSlippageHighDescription": {
"message": "The slippage entered ($1%) is considered very high and may result in a bad rate",
"description": "$1 is the amount of % for slippage"
},
"swapSlippageHighTitle": {
"message": "High slippage"
},
"swapSlippageLowDescription": {
"message": "A value this low ($1%) may result in a failed swap",
"description": "$1 is the amount of % for slippage"
},
"swapSlippageLowTitle": {
"message": "Low slippage"
},
"swapSlippageNegative": { "swapSlippageNegative": {
"message": "Slippage must be greater or equal to zero" "message": "Slippage must be greater or equal to zero"
}, },
@ -4606,27 +4679,15 @@
"message": "Slippage tolerance must be 15% or less. Anything higher will result in a bad rate." "message": "Slippage tolerance must be 15% or less. Anything higher will result in a bad rate."
}, },
"swapSlippageOverLimitTitle": { "swapSlippageOverLimitTitle": {
"message": "Reduce slippage to continue" "message": "Very high slippage"
}, },
"swapSlippagePercent": { "swapSlippagePercent": {
"message": "$1%", "message": "$1%",
"description": "$1 is the amount of % for slippage" "description": "$1 is the amount of % for slippage"
}, },
"swapSlippageTooLowDescription": {
"message": "Max slippage is too low which may cause your transaction to fail."
},
"swapSlippageTooLowTitle": {
"message": "Increase slippage to avoid transaction failure"
},
"swapSlippageTooltip": { "swapSlippageTooltip": {
"message": "If the price changes between the time your order is placed and confirmed its called “slippage”. Your swap will automatically cancel if slippage exceeds your “slippage tolerance” setting." "message": "If the price changes between the time your order is placed and confirmed its called “slippage”. Your swap will automatically cancel if slippage exceeds your “slippage tolerance” setting."
}, },
"swapSlippageVeryHighDescription": {
"message": "The slippage entered is considered very high and may result in a bad rate"
},
"swapSlippageVeryHighTitle": {
"message": "Very high slippage"
},
"swapSlippageZeroDescription": { "swapSlippageZeroDescription": {
"message": "There are fewer zero-slippage quote providers which will result in a less competitive quote." "message": "There are fewer zero-slippage quote providers which will result in a less competitive quote."
}, },
@ -4672,6 +4733,9 @@
"message": "We were unable to retrieve your $1 balance", "message": "We were unable to retrieve your $1 balance",
"description": "This message communicates to the user that their balance of a given token is currently unavailable. $1 will be replaced by a token symbol" "description": "This message communicates to the user that their balance of a given token is currently unavailable. $1 will be replaced by a token symbol"
}, },
"swapTokenNotAvailable": {
"message": "Token is not available to swap in this region"
},
"swapTokenToToken": { "swapTokenToToken": {
"message": "Swap $1 to $2", "message": "Swap $1 to $2",
"description": "Used in the transaction display list to describe a swap. $1 and $2 are the symbols of tokens in involved in a swap." "description": "Used in the transaction display list to describe a swap. $1 and $2 are the symbols of tokens in involved in a swap."
@ -5105,9 +5169,6 @@
"txInsightsNotSupported": { "txInsightsNotSupported": {
"message": "Transaction insights not supported for this contract at this time." "message": "Transaction insights not supported for this contract at this time."
}, },
"typePassword": {
"message": "Type your MetaMask password"
},
"typeYourSRP": { "typeYourSRP": {
"message": "Type your Secret Recovery Phrase" "message": "Type your Secret Recovery Phrase"
}, },
@ -5178,11 +5239,17 @@
"urlExistsErrorMsg": { "urlExistsErrorMsg": {
"message": "This URL is currently used by the $1 network." "message": "This URL is currently used by the $1 network."
}, },
"use4ByteResolution": {
"message": "Decode smart contracts"
},
"use4ByteResolutionDescription": {
"message": "To improve user experience, we customize the activity tab with messages based on the smart contracts you interact with. MetaMask uses a service called 4byte.directory to decode data and show you a version of a smart contract that's easier to read. This helps reduce your chances of approving malicious smart contract actions, but can result in your IP address being shared."
},
"useMultiAccountBalanceChecker": { "useMultiAccountBalanceChecker": {
"message": "Batch account balance requests" "message": "Batch account balance requests"
}, },
"useMultiAccountBalanceCheckerDescription": { "useMultiAccountBalanceCheckerSettingDescription": {
"message": "We batch accounts and query Infura to responsively show your balances. If you turn this off, only active accounts will be queried. Some dapps won't work unless you connect your wallet." "message": "Get faster balance updates by batching account balance requests. This lets us fetch your account balances together, so you get quicker updates for an improved experience. When this feature is off, third parties may be less likely to associate your accounts with each other."
}, },
"useNftDetection": { "useNftDetection": {
"message": "Autodetect NFTs" "message": "Autodetect NFTs"
@ -5289,6 +5356,9 @@
"visitWebSite": { "visitWebSite": {
"message": "Visit our website" "message": "Visit our website"
}, },
"wallet": {
"message": "Wallet"
},
"walletConnectionGuide": { "walletConnectionGuide": {
"message": "our hardware wallet connection guide" "message": "our hardware wallet connection guide"
}, },
@ -5316,8 +5386,7 @@
"message": "Want to add this network?" "message": "Want to add this network?"
}, },
"wantsToAddThisAsset": { "wantsToAddThisAsset": {
"message": "$1 wants to add this asset to your wallet", "message": "This allows the following asset to be added to your wallet."
"description": "$1 is the name of the website that wants to add an asset to your wallet"
}, },
"warning": { "warning": {
"message": "Warning" "message": "Warning"

File diff suppressed because it is too large Load Diff

View File

@ -100,9 +100,6 @@
"addContact": { "addContact": {
"message": "Agregar contacto" "message": "Agregar contacto"
}, },
"addCustomToken": {
"message": "Añadir token personalizado"
},
"addEthereumChainConfirmationDescription": { "addEthereumChainConfirmationDescription": {
"message": "Esto permitirá que la red se utilice en MetaMask." "message": "Esto permitirá que la red se utilice en MetaMask."
}, },
@ -472,9 +469,6 @@
"copyAddress": { "copyAddress": {
"message": "Copiar dirección al Portapapeles" "message": "Copiar dirección al Portapapeles"
}, },
"copyPrivateKey": {
"message": "Esta es su clave privada (haga clic para copiarla)"
},
"copyRawTransactionData": { "copyRawTransactionData": {
"message": "Copiar los datos de las transacciones en bruto" "message": "Copiar los datos de las transacciones en bruto"
}, },
@ -578,9 +572,6 @@
"deleteNetwork": { "deleteNetwork": {
"message": "¿Eliminar red?" "message": "¿Eliminar red?"
}, },
"deleteNetworkDescription": {
"message": "¿Está seguro de que quiere eliminar esta red?"
},
"description": { "description": {
"message": "Descripción" "message": "Descripción"
}, },
@ -734,12 +725,6 @@
"enableFromSettings": { "enableFromSettings": {
"message": " Actívela en Configuración." "message": " Actívela en Configuración."
}, },
"enableOpenSeaAPI": {
"message": "Activar API de OpenSea"
},
"enableOpenSeaAPIDescription": {
"message": "Utilice la API de OpenSea para obtener los datos de NFT. La autodetección de NFT depende de la API de OpenSea y no estará disponible si la API está desactivada."
},
"enableToken": { "enableToken": {
"message": "activar $1", "message": "activar $1",
"description": "$1 is a token symbol, e.g. ETH" "description": "$1 is a token symbol, e.g. ETH"
@ -773,9 +758,6 @@
"enterMaxSpendLimit": { "enterMaxSpendLimit": {
"message": "Escribir límite máximo de gastos" "message": "Escribir límite máximo de gastos"
}, },
"enterPassword": {
"message": "Escribir contraseña"
},
"enterPasswordContinue": { "enterPasswordContinue": {
"message": "Escribir contraseña para continuar" "message": "Escribir contraseña para continuar"
}, },
@ -832,9 +814,6 @@
"experimental": { "experimental": {
"message": "Experimental" "message": "Experimental"
}, },
"exportPrivateKey": {
"message": "Exportar clave privada"
},
"externalExtension": { "externalExtension": {
"message": "Extensión externa" "message": "Extensión externa"
}, },
@ -1626,14 +1605,6 @@
"onboardingPinExtensionTitle": { "onboardingPinExtensionTitle": {
"message": "¡Su instalación de MetaMask ha finalizado!" "message": "¡Su instalación de MetaMask ha finalizado!"
}, },
"onboardingShowIncomingTransactionsDescription": {
"message": "Mostrar las transacciones entrantes en su cartera depende de la comunicación con $1. Etherscan tendrá acceso a su dirección de Ethereum y a su dirección IP. Ver $2.",
"description": "$1 is a clickable link with text defined by the 'etherscan' key. $2 is a clickable link with text defined by the 'privacyMsg' key."
},
"onboardingUsePhishingDetectionDescription": {
"message": "Las alertas de detección de phishing se basan en la comunicación con $1. jsDeliver tendrá acceso a su dirección IP. Ver $2.",
"description": "The $1 is the word 'jsDeliver', from key 'jsDeliver' and $2 is the words Privacy Policy from key 'privacyMsg', both separated here so that it can be wrapped as a link"
},
"onlyAddTrustedNetworks": { "onlyAddTrustedNetworks": {
"message": "Un proveedor de red malintencionado puede mentir sobre el estado de la cadena de bloques y registrar su actividad de red. Agregue solo redes personalizadas de confianza." "message": "Un proveedor de red malintencionado puede mentir sobre el estado de la cadena de bloques y registrar su actividad de red. Agregue solo redes personalizadas de confianza."
}, },
@ -1882,9 +1853,6 @@
"searchResults": { "searchResults": {
"message": "Resultados de la búsqueda" "message": "Resultados de la búsqueda"
}, },
"searchTokens": {
"message": "Buscar tokens"
},
"secretRecoveryPhrase": { "secretRecoveryPhrase": {
"message": "Frase secreta de recuperación" "message": "Frase secreta de recuperación"
}, },
@ -2026,9 +1994,6 @@
"showPermissions": { "showPermissions": {
"message": "Mostrar permisos" "message": "Mostrar permisos"
}, },
"showPrivateKeys": {
"message": "Mostrar claves privadas"
},
"showTestnetNetworks": { "showTestnetNetworks": {
"message": "Mostrar redes de prueba" "message": "Mostrar redes de prueba"
}, },
@ -2062,9 +2027,6 @@
"somethingWentWrong": { "somethingWentWrong": {
"message": "Lo lamentamos, se produjo un error." "message": "Lo lamentamos, se produjo un error."
}, },
"source": {
"message": "Fuente"
},
"speedUp": { "speedUp": {
"message": "Acelerar" "message": "Acelerar"
}, },
@ -2646,9 +2608,6 @@
"txInsightsNotSupported": { "txInsightsNotSupported": {
"message": "En este momento no se admiten informaciones sobre las transacciones para este contrato." "message": "En este momento no se admiten informaciones sobre las transacciones para este contrato."
}, },
"typePassword": {
"message": "Escriba su contraseña de MetaMask"
},
"u2f": { "u2f": {
"message": "U2F", "message": "U2F",
"description": "A name on an API for the browser to interact with devices that support the U2F protocol. On some browsers we use it to connect MetaMask to Ledger devices." "description": "A name on an API for the browser to interact with devices that support the U2F protocol. On some browsers we use it to connect MetaMask to Ledger devices."

View File

@ -175,9 +175,6 @@
"copyAddress": { "copyAddress": {
"message": "Kopeeri aadress lõikelauale" "message": "Kopeeri aadress lõikelauale"
}, },
"copyPrivateKey": {
"message": "See on teie privaatne võti (klõpsake kopeerimiseks)"
},
"copyToClipboard": { "copyToClipboard": {
"message": "Kopeeri lõikelauale" "message": "Kopeeri lõikelauale"
}, },
@ -214,9 +211,6 @@
"deleteNetwork": { "deleteNetwork": {
"message": "Võrk kustutada?" "message": "Võrk kustutada?"
}, },
"deleteNetworkDescription": {
"message": "Olete kindel, et soovite selle võrgu kustutada?"
},
"details": { "details": {
"message": "Üksikasjad" "message": "Üksikasjad"
}, },
@ -244,9 +238,6 @@
"ensRegistrationError": { "ensRegistrationError": {
"message": "Tõrge ENS-i nime registreerimisel" "message": "Tõrge ENS-i nime registreerimisel"
}, },
"enterPassword": {
"message": "Sisestage parool"
},
"enterPasswordContinue": { "enterPasswordContinue": {
"message": "Jätkamiseks sisestage parool" "message": "Jätkamiseks sisestage parool"
}, },
@ -259,9 +250,6 @@
"expandView": { "expandView": {
"message": "Laienda vaadet" "message": "Laienda vaadet"
}, },
"exportPrivateKey": {
"message": "Ekspordi privaatvõti"
},
"failed": { "failed": {
"message": "Nurjus" "message": "Nurjus"
}, },
@ -617,9 +605,6 @@
"searchResults": { "searchResults": {
"message": "Otsingutulemused" "message": "Otsingutulemused"
}, },
"searchTokens": {
"message": "Lubade otsimine"
},
"securityAndPrivacy": { "securityAndPrivacy": {
"message": "Turvalisus ja privaatsus" "message": "Turvalisus ja privaatsus"
}, },
@ -659,9 +644,6 @@
"showHexDataDescription": { "showHexDataDescription": {
"message": "Valige see, et kuvada saatmisekraanil hex-andmete väli" "message": "Valige see, et kuvada saatmisekraanil hex-andmete väli"
}, },
"showPrivateKeys": {
"message": "Kuva privaatvõtmed"
},
"sigRequest": { "sigRequest": {
"message": "Allkirja taotlus" "message": "Allkirja taotlus"
}, },
@ -782,9 +764,6 @@
"tryAgain": { "tryAgain": {
"message": "Proovi uuesti" "message": "Proovi uuesti"
}, },
"typePassword": {
"message": "Sisestage oma MetaMaski parool"
},
"unapproved": { "unapproved": {
"message": "Kinnitamata" "message": "Kinnitamata"
}, },

View File

@ -175,9 +175,6 @@
"copyAddress": { "copyAddress": {
"message": "کاپی آدرس به کلیپ بورد" "message": "کاپی آدرس به کلیپ بورد"
}, },
"copyPrivateKey": {
"message": "این کلید خصوصی شما است (برای کاپی نمودن کلیک کنید)"
},
"copyToClipboard": { "copyToClipboard": {
"message": "کپی در بریده‌دان" "message": "کپی در بریده‌دان"
}, },
@ -214,9 +211,6 @@
"deleteNetwork": { "deleteNetwork": {
"message": "شبکه حذف شود؟" "message": "شبکه حذف شود؟"
}, },
"deleteNetworkDescription": {
"message": "آیا مطمئن هستید که این شبکه حذف شود؟"
},
"details": { "details": {
"message": "جزئیات" "message": "جزئیات"
}, },
@ -244,9 +238,6 @@
"ensRegistrationError": { "ensRegistrationError": {
"message": "خطا در ثبت نام ENS" "message": "خطا در ثبت نام ENS"
}, },
"enterPassword": {
"message": "رمز عبور را وارد کنید"
},
"enterPasswordContinue": { "enterPasswordContinue": {
"message": "برای ادامه رمز عبور را وارد کنید" "message": "برای ادامه رمز عبور را وارد کنید"
}, },
@ -259,9 +250,6 @@
"expandView": { "expandView": {
"message": "توسعه ساحه دید" "message": "توسعه ساحه دید"
}, },
"exportPrivateKey": {
"message": "صدور کلید شخصی"
},
"failed": { "failed": {
"message": "ناموفق شد" "message": "ناموفق شد"
}, },
@ -627,9 +615,6 @@
"searchResults": { "searchResults": {
"message": "نتایج جستجو" "message": "نتایج جستجو"
}, },
"searchTokens": {
"message": "رمزیاب های جستجو"
},
"securityAndPrivacy": { "securityAndPrivacy": {
"message": "امنیت و حریم خصوصی" "message": "امنیت و حریم خصوصی"
}, },
@ -669,9 +654,6 @@
"showHexDataDescription": { "showHexDataDescription": {
"message": "برای نمایش بخش اطلاعات hex در صفحه ارسال این را انتخاب نمایید" "message": "برای نمایش بخش اطلاعات hex در صفحه ارسال این را انتخاب نمایید"
}, },
"showPrivateKeys": {
"message": "نمایش کلید های شخصی"
},
"sigRequest": { "sigRequest": {
"message": "درخواست امضاء" "message": "درخواست امضاء"
}, },
@ -792,9 +774,6 @@
"tryAgain": { "tryAgain": {
"message": "امتحان مجدد" "message": "امتحان مجدد"
}, },
"typePassword": {
"message": "رمز عبور MetaMask تان را تایپ نمایید"
},
"unapproved": { "unapproved": {
"message": "تصدیق ناشده" "message": "تصدیق ناشده"
}, },

View File

@ -175,9 +175,6 @@
"copyAddress": { "copyAddress": {
"message": "Kopioi osoite leikepöydälle" "message": "Kopioi osoite leikepöydälle"
}, },
"copyPrivateKey": {
"message": "Tämä on yksityinen avaimesi (kopioi napsauttamalla)"
},
"copyToClipboard": { "copyToClipboard": {
"message": "Kopioi leikepöydälle" "message": "Kopioi leikepöydälle"
}, },
@ -214,9 +211,6 @@
"deleteNetwork": { "deleteNetwork": {
"message": "Poistetaanko verkko?" "message": "Poistetaanko verkko?"
}, },
"deleteNetworkDescription": {
"message": "Haluatko varmasti poistaa tämän verkon?"
},
"details": { "details": {
"message": "Tiedot" "message": "Tiedot"
}, },
@ -244,9 +238,6 @@
"ensRegistrationError": { "ensRegistrationError": {
"message": "Virhe ENS-nimen rekisteröinnissä" "message": "Virhe ENS-nimen rekisteröinnissä"
}, },
"enterPassword": {
"message": "Kirjoita salasana"
},
"enterPasswordContinue": { "enterPasswordContinue": {
"message": "Syötä salasana voidaksesi jatkaa" "message": "Syötä salasana voidaksesi jatkaa"
}, },
@ -259,9 +250,6 @@
"expandView": { "expandView": {
"message": "Laajenna näkymää" "message": "Laajenna näkymää"
}, },
"exportPrivateKey": {
"message": "Vie yksityinen avain"
},
"failed": { "failed": {
"message": "Epäonnistui" "message": "Epäonnistui"
}, },
@ -624,9 +612,6 @@
"searchResults": { "searchResults": {
"message": "Hakutulokset" "message": "Hakutulokset"
}, },
"searchTokens": {
"message": "Hae tietueita"
},
"securityAndPrivacy": { "securityAndPrivacy": {
"message": "Turva & yksityisyys" "message": "Turva & yksityisyys"
}, },
@ -666,9 +651,6 @@
"showHexDataDescription": { "showHexDataDescription": {
"message": "Näytä hex-tietokenttä lähetysnäytössä valitsemalla tämän" "message": "Näytä hex-tietokenttä lähetysnäytössä valitsemalla tämän"
}, },
"showPrivateKeys": {
"message": "Näytä yksityiset avaimet"
},
"sigRequest": { "sigRequest": {
"message": "Allekirjoitus pyydetään" "message": "Allekirjoitus pyydetään"
}, },
@ -789,9 +771,6 @@
"tryAgain": { "tryAgain": {
"message": "Yritä uudelleen" "message": "Yritä uudelleen"
}, },
"typePassword": {
"message": "Kirjoita MetaMask-salasanasi"
},
"unapproved": { "unapproved": {
"message": "Ei hyväksytty" "message": "Ei hyväksytty"
}, },

View File

@ -154,9 +154,6 @@
"copyAddress": { "copyAddress": {
"message": "Kopyahin ang address sa clipboard" "message": "Kopyahin ang address sa clipboard"
}, },
"copyPrivateKey": {
"message": "Ito ang iyong pribadong private key (i-click para kopyahin)"
},
"copyToClipboard": { "copyToClipboard": {
"message": "Kopyahin sa clipboard" "message": "Kopyahin sa clipboard"
}, },
@ -190,9 +187,6 @@
"deleteNetwork": { "deleteNetwork": {
"message": "I-delete ang Network?" "message": "I-delete ang Network?"
}, },
"deleteNetworkDescription": {
"message": "Sigurado ka bang gusto mong i-delete ang network na ito?"
},
"details": { "details": {
"message": "Mga Detalye" "message": "Mga Detalye"
}, },
@ -220,9 +214,6 @@
"ensRegistrationError": { "ensRegistrationError": {
"message": "May error sa pagrerehistro ng ENS name" "message": "May error sa pagrerehistro ng ENS name"
}, },
"enterPassword": {
"message": "Ilagay ang password"
},
"enterPasswordContinue": { "enterPasswordContinue": {
"message": "Ilagay ang password para magpatuloy" "message": "Ilagay ang password para magpatuloy"
}, },
@ -232,9 +223,6 @@
"expandView": { "expandView": {
"message": "I-expand ang View" "message": "I-expand ang View"
}, },
"exportPrivateKey": {
"message": "I-export ang Private Key"
},
"failed": { "failed": {
"message": "Nabigo" "message": "Nabigo"
}, },
@ -551,9 +539,6 @@
"searchResults": { "searchResults": {
"message": "Mga Resulta ng Paghahanap" "message": "Mga Resulta ng Paghahanap"
}, },
"searchTokens": {
"message": "Maghanap ng Mga Token"
},
"securityAndPrivacy": { "securityAndPrivacy": {
"message": "Seguridad at Privacy" "message": "Seguridad at Privacy"
}, },
@ -593,9 +578,6 @@
"showHexDataDescription": { "showHexDataDescription": {
"message": "Piliin ito para ipakita ang hex data field sa screen ng pagpapadala" "message": "Piliin ito para ipakita ang hex data field sa screen ng pagpapadala"
}, },
"showPrivateKeys": {
"message": "Ipakita ang mga Private Key"
},
"sign": { "sign": {
"message": "I-sign" "message": "I-sign"
}, },
@ -704,9 +686,6 @@
"tryAgain": { "tryAgain": {
"message": "Subukang muli" "message": "Subukang muli"
}, },
"typePassword": {
"message": "I-type ang iyong password sa MetaMask"
},
"unapproved": { "unapproved": {
"message": "Hindi inaprubahan" "message": "Hindi inaprubahan"
}, },

File diff suppressed because it is too large Load Diff

View File

@ -175,9 +175,6 @@
"copyAddress": { "copyAddress": {
"message": "העתק כתובת ללוח" "message": "העתק כתובת ללוח"
}, },
"copyPrivateKey": {
"message": "זה המפתח הפרטי שלך (נא להקיש כדי להעתיק)"
},
"copyToClipboard": { "copyToClipboard": {
"message": "העתק ללוח" "message": "העתק ללוח"
}, },
@ -214,9 +211,6 @@
"deleteNetwork": { "deleteNetwork": {
"message": "למחוק את הרשת?" "message": "למחוק את הרשת?"
}, },
"deleteNetworkDescription": {
"message": "הנך בטוח/ה שברצונך למחוק רשת זו?"
},
"details": { "details": {
"message": "פרטים" "message": "פרטים"
}, },
@ -244,9 +238,6 @@
"ensRegistrationError": { "ensRegistrationError": {
"message": "שגיאה ברישום שם ENS" "message": "שגיאה ברישום שם ENS"
}, },
"enterPassword": {
"message": "יש להזין ססמה"
},
"enterPasswordContinue": { "enterPasswordContinue": {
"message": "יש להזין ססמה כדי להמשיך" "message": "יש להזין ססמה כדי להמשיך"
}, },
@ -259,9 +250,6 @@
"expandView": { "expandView": {
"message": "הרחב תצוגה" "message": "הרחב תצוגה"
}, },
"exportPrivateKey": {
"message": "יצא/י מפתח פרטי"
},
"failed": { "failed": {
"message": "נכשל" "message": "נכשל"
}, },
@ -624,9 +612,6 @@
"searchResults": { "searchResults": {
"message": "תוצאות חיפוש" "message": "תוצאות חיפוש"
}, },
"searchTokens": {
"message": "חיפוש טוקנים"
},
"securityAndPrivacy": { "securityAndPrivacy": {
"message": "אבטחה ופרטיות" "message": "אבטחה ופרטיות"
}, },
@ -666,9 +651,6 @@
"showHexDataDescription": { "showHexDataDescription": {
"message": "בחר/י בזה כדי להציג את שדה הנתונים ההקסדצימאלים על מסך השליחה" "message": "בחר/י בזה כדי להציג את שדה הנתונים ההקסדצימאלים על מסך השליחה"
}, },
"showPrivateKeys": {
"message": "הצג מפתחות פרטיים"
},
"sigRequest": { "sigRequest": {
"message": "בקשת חתימה" "message": "בקשת חתימה"
}, },
@ -789,9 +771,6 @@
"tryAgain": { "tryAgain": {
"message": "ניסיון חוזר" "message": "ניסיון חוזר"
}, },
"typePassword": {
"message": "נא להקליד את סיסמת MetaMask שלך"
},
"unapproved": { "unapproved": {
"message": "לא אושר" "message": "לא אושר"
}, },

File diff suppressed because it is too large Load Diff

View File

@ -60,9 +60,6 @@
"copiedExclamation": { "copiedExclamation": {
"message": "कॉपी कर दिया गया!" "message": "कॉपी कर दिया गया!"
}, },
"copyPrivateKey": {
"message": "यह आपकी निजी कुंजी है (कॉपी करने के लिए क्लिक करें)।"
},
"copyToClipboard": { "copyToClipboard": {
"message": "क्लिपबोर्ड पर कॉपी करें" "message": "क्लिपबोर्ड पर कॉपी करें"
}, },
@ -87,15 +84,9 @@
"edit": { "edit": {
"message": "संपादित करें" "message": "संपादित करें"
}, },
"enterPassword": {
"message": "पासवर्ड दर्ज करें"
},
"etherscanView": { "etherscanView": {
"message": "ईथरस्कैन पर खाता देखें" "message": "ईथरस्कैन पर खाता देखें"
}, },
"exportPrivateKey": {
"message": "निजी कुंजी निर्यात करें"
},
"failed": { "failed": {
"message": "विफल" "message": "विफल"
}, },
@ -281,9 +272,6 @@
"settings": { "settings": {
"message": "सेटिंग्स" "message": "सेटिंग्स"
}, },
"showPrivateKeys": {
"message": "निजी कुंजी दिखाएँ"
},
"sigRequest": { "sigRequest": {
"message": "हस्ताक्षर अनुरोध" "message": "हस्ताक्षर अनुरोध"
}, },
@ -317,9 +305,6 @@
"total": { "total": {
"message": "कुल" "message": "कुल"
}, },
"typePassword": {
"message": "अपना पासवर्ड टाइप करें"
},
"unknown": { "unknown": {
"message": "अज्ञात नेटवर्क" "message": "अज्ञात नेटवर्क"
}, },

View File

@ -175,9 +175,6 @@
"copyAddress": { "copyAddress": {
"message": "Kopiraj adresu u međuspremnik" "message": "Kopiraj adresu u međuspremnik"
}, },
"copyPrivateKey": {
"message": "Ovo je vaš privatni ključ (kliknite za kopiranje)"
},
"copyToClipboard": { "copyToClipboard": {
"message": "Kopiraj u međuspremnik" "message": "Kopiraj u međuspremnik"
}, },
@ -214,9 +211,6 @@
"deleteNetwork": { "deleteNetwork": {
"message": "Izbrisati mrežu?" "message": "Izbrisati mrežu?"
}, },
"deleteNetworkDescription": {
"message": "Sigurno želite izbrisati ovu mrežu?"
},
"details": { "details": {
"message": "Detalji" "message": "Detalji"
}, },
@ -244,9 +238,6 @@
"ensRegistrationError": { "ensRegistrationError": {
"message": "Greška u registraciji naziva ENS" "message": "Greška u registraciji naziva ENS"
}, },
"enterPassword": {
"message": "Upiši lozinku"
},
"enterPasswordContinue": { "enterPasswordContinue": {
"message": "Upišite lozinku za nastavak" "message": "Upišite lozinku za nastavak"
}, },
@ -259,9 +250,6 @@
"expandView": { "expandView": {
"message": "Proširi prikaz" "message": "Proširi prikaz"
}, },
"exportPrivateKey": {
"message": "Izvezi privatni ključ"
},
"failed": { "failed": {
"message": "Neuspješno" "message": "Neuspješno"
}, },
@ -620,9 +608,6 @@
"searchResults": { "searchResults": {
"message": "Rezultati pretraživanja" "message": "Rezultati pretraživanja"
}, },
"searchTokens": {
"message": "Pretraži tokene"
},
"securityAndPrivacy": { "securityAndPrivacy": {
"message": "Sigurnost i privatnost" "message": "Sigurnost i privatnost"
}, },
@ -662,9 +647,6 @@
"showHexDataDescription": { "showHexDataDescription": {
"message": "Odaberite ovu stavku za prikaz polja namijenjenog za podatke hex na zaslonu za slanje" "message": "Odaberite ovu stavku za prikaz polja namijenjenog za podatke hex na zaslonu za slanje"
}, },
"showPrivateKeys": {
"message": "Prikaži privatne ključe"
},
"sigRequest": { "sigRequest": {
"message": "Zahtjev za potpisom" "message": "Zahtjev za potpisom"
}, },
@ -782,9 +764,6 @@
"tryAgain": { "tryAgain": {
"message": "Pokušaj ponovo" "message": "Pokušaj ponovo"
}, },
"typePassword": {
"message": "Upišite svoju lozinku MetaMask."
},
"unapproved": { "unapproved": {
"message": "Neodobreno" "message": "Neodobreno"
}, },

View File

@ -108,9 +108,6 @@
"copyAddress": { "copyAddress": {
"message": "Kopi adrès clipboard" "message": "Kopi adrès clipboard"
}, },
"copyPrivateKey": {
"message": "Sa a se kle prive ou (klike pou ou kopye)"
},
"copyToClipboard": { "copyToClipboard": {
"message": "Kopi clipboard" "message": "Kopi clipboard"
}, },
@ -147,9 +144,6 @@
"edit": { "edit": {
"message": "Korije" "message": "Korije"
}, },
"enterPassword": {
"message": "Mete modpas"
},
"enterPasswordContinue": { "enterPasswordContinue": {
"message": "Mete modpas pou kontinye" "message": "Mete modpas pou kontinye"
}, },
@ -159,9 +153,6 @@
"expandView": { "expandView": {
"message": "Elaji Wè" "message": "Elaji Wè"
}, },
"exportPrivateKey": {
"message": "Voye Kòd Prive"
},
"failed": { "failed": {
"message": "Tonbe" "message": "Tonbe"
}, },
@ -452,9 +443,6 @@
"searchResults": { "searchResults": {
"message": "Rezilta rechèch" "message": "Rezilta rechèch"
}, },
"searchTokens": {
"message": "Rechèch Tokens"
},
"seedPhraseReq": { "seedPhraseReq": {
"message": "Seed fraz yo se 12 long mo" "message": "Seed fraz yo se 12 long mo"
}, },
@ -485,9 +473,6 @@
"showHexDataDescription": { "showHexDataDescription": {
"message": "Pran sa pouw ka montre chan entèfas hex data a" "message": "Pran sa pouw ka montre chan entèfas hex data a"
}, },
"showPrivateKeys": {
"message": "Montre Kle Prive"
},
"sigRequest": { "sigRequest": {
"message": "Demann Siyati" "message": "Demann Siyati"
}, },
@ -557,9 +542,6 @@
"tryAgain": { "tryAgain": {
"message": "Eseye anko" "message": "Eseye anko"
}, },
"typePassword": {
"message": "Tape modpas ou"
},
"unapproved": { "unapproved": {
"message": "Pa apwouve" "message": "Pa apwouve"
}, },

View File

@ -175,9 +175,6 @@
"copyAddress": { "copyAddress": {
"message": "Másolja a címet a vágólapra" "message": "Másolja a címet a vágólapra"
}, },
"copyPrivateKey": {
"message": "Ez a saját titkos kulcsod (kattints rá a másoláshoz)"
},
"copyToClipboard": { "copyToClipboard": {
"message": "Másolás a vágólapra" "message": "Másolás a vágólapra"
}, },
@ -214,9 +211,6 @@
"deleteNetwork": { "deleteNetwork": {
"message": "Törli a hálózatot?" "message": "Törli a hálózatot?"
}, },
"deleteNetworkDescription": {
"message": "Biztosan törli ezt a hálózatot?"
},
"details": { "details": {
"message": "Részletek" "message": "Részletek"
}, },
@ -244,9 +238,6 @@
"ensRegistrationError": { "ensRegistrationError": {
"message": "Hiba történt az ENS név regisztrációjakor" "message": "Hiba történt az ENS név regisztrációjakor"
}, },
"enterPassword": {
"message": "Adja meg a jelszót"
},
"enterPasswordContinue": { "enterPasswordContinue": {
"message": "A folytatáshoz adja meg a jelszót" "message": "A folytatáshoz adja meg a jelszót"
}, },
@ -259,9 +250,6 @@
"expandView": { "expandView": {
"message": "Nézet nagyítása" "message": "Nézet nagyítása"
}, },
"exportPrivateKey": {
"message": "Privát kulcs exportálása"
},
"failed": { "failed": {
"message": "Sikertelen" "message": "Sikertelen"
}, },
@ -620,9 +608,6 @@
"searchResults": { "searchResults": {
"message": "Keresési eredmények" "message": "Keresési eredmények"
}, },
"searchTokens": {
"message": "Keresés a tokenek között"
},
"securityAndPrivacy": { "securityAndPrivacy": {
"message": "Biztonság és adatvédelem" "message": "Biztonság és adatvédelem"
}, },
@ -662,9 +647,6 @@
"showHexDataDescription": { "showHexDataDescription": {
"message": "Válassza ezt, ha a hex adatmezőt a küldő képernyőn szeretné megnézni" "message": "Válassza ezt, ha a hex adatmezőt a küldő képernyőn szeretné megnézni"
}, },
"showPrivateKeys": {
"message": "Mutassa a privát kulcsokat"
},
"sigRequest": { "sigRequest": {
"message": "Aláírás kérése" "message": "Aláírás kérése"
}, },
@ -782,9 +764,6 @@
"tryAgain": { "tryAgain": {
"message": "Újra" "message": "Újra"
}, },
"typePassword": {
"message": "Írd be MetaMask jelszavadat"
},
"unapproved": { "unapproved": {
"message": "Jóvá nem hagyott" "message": "Jóvá nem hagyott"
}, },

File diff suppressed because it is too large Load Diff

View File

@ -155,9 +155,6 @@
"addContact": { "addContact": {
"message": "Aggiungi contatto" "message": "Aggiungi contatto"
}, },
"addCustomToken": {
"message": "Aggiungi token personalizzato"
},
"addEthereumChainConfirmationDescription": { "addEthereumChainConfirmationDescription": {
"message": "Ciò consentirà a questa rete di essere utilizzata all'interno di MetaMask." "message": "Ciò consentirà a questa rete di essere utilizzata all'interno di MetaMask."
}, },
@ -576,9 +573,6 @@
"copyAddress": { "copyAddress": {
"message": "Copia l'indirizzo" "message": "Copia l'indirizzo"
}, },
"copyPrivateKey": {
"message": "Questa è la tua chiave privata (clicca per copiare)"
},
"copyRawTransactionData": { "copyRawTransactionData": {
"message": "Copia i dati grezzi della transazione" "message": "Copia i dati grezzi della transazione"
}, },
@ -713,9 +707,6 @@
"deleteNetwork": { "deleteNetwork": {
"message": "Cancella la rete?" "message": "Cancella la rete?"
}, },
"deleteNetworkDescription": {
"message": "Sei sicuro di voler eliminare questa rete?"
},
"deprecatedTestNetworksLink": { "deprecatedTestNetworksLink": {
"message": "Scopri di più" "message": "Scopri di più"
}, },
@ -840,9 +831,6 @@
"enterMaxSpendLimit": { "enterMaxSpendLimit": {
"message": "Inserisici Limite Spesa" "message": "Inserisici Limite Spesa"
}, },
"enterPassword": {
"message": "Inserisci password"
},
"enterPasswordContinue": { "enterPasswordContinue": {
"message": "Inserisci la tua password per continuare" "message": "Inserisci la tua password per continuare"
}, },
@ -875,9 +863,6 @@
"expandView": { "expandView": {
"message": "Espandi Vista" "message": "Espandi Vista"
}, },
"exportPrivateKey": {
"message": "Esporta Chiave Privata"
},
"externalExtension": { "externalExtension": {
"message": "Estensione Esterna" "message": "Estensione Esterna"
}, },
@ -1377,9 +1362,6 @@
"searchResults": { "searchResults": {
"message": "Risultati Ricerca" "message": "Risultati Ricerca"
}, },
"searchTokens": {
"message": "Cerca Tokens"
},
"securityAndPrivacy": { "securityAndPrivacy": {
"message": "Sicurezza & Privacy" "message": "Sicurezza & Privacy"
}, },
@ -1442,9 +1424,6 @@
"showPermissions": { "showPermissions": {
"message": "Mostra permessi" "message": "Mostra permessi"
}, },
"showPrivateKeys": {
"message": "Mostra Chiave Privata"
},
"sigRequest": { "sigRequest": {
"message": "Firma Richiesta" "message": "Firma Richiesta"
}, },
@ -1797,9 +1776,6 @@
"tryAgain": { "tryAgain": {
"message": "Prova di nuovo" "message": "Prova di nuovo"
}, },
"typePassword": {
"message": "Inserisci Password"
},
"unapproved": { "unapproved": {
"message": "Non approvata" "message": "Non approvata"
}, },

File diff suppressed because it is too large Load Diff

View File

@ -175,9 +175,6 @@
"copyAddress": { "copyAddress": {
"message": "ವಿಳಾಸವನ್ನು ಕ್ಲಿಪ್‌ಬೋರ್ಡ್‌ಗೆ ನಕಲಿಸಿ" "message": "ವಿಳಾಸವನ್ನು ಕ್ಲಿಪ್‌ಬೋರ್ಡ್‌ಗೆ ನಕಲಿಸಿ"
}, },
"copyPrivateKey": {
"message": "ಇದು ನಿಮ್ಮ ಖಾಸಗಿ ಕೀ ಆಗಿದೆ (ನಕಲಿಸಲು ಕ್ಲಿಕ್ ಮಾಡಿ)"
},
"copyToClipboard": { "copyToClipboard": {
"message": "ಕ್ಲಿಪ್‌ಬೋರ್ಡ್‌ಗೆ ನಕಲಿಸಿ" "message": "ಕ್ಲಿಪ್‌ಬೋರ್ಡ್‌ಗೆ ನಕಲಿಸಿ"
}, },
@ -214,9 +211,6 @@
"deleteNetwork": { "deleteNetwork": {
"message": "ನೆಟ್‌ವರ್ಕ್ ಅಳಿಸುವುದೇ?" "message": "ನೆಟ್‌ವರ್ಕ್ ಅಳಿಸುವುದೇ?"
}, },
"deleteNetworkDescription": {
"message": "ನೀವು ಈ ನೆಟ್‌ವರ್ಕ್ ಅನ್ನು ಖಚಿತವಾಗಿ ಅಳಿಸಲು ಬಯಸುತ್ತೀರಾ?"
},
"details": { "details": {
"message": "ವಿವರಗಳು" "message": "ವಿವರಗಳು"
}, },
@ -244,9 +238,6 @@
"ensRegistrationError": { "ensRegistrationError": {
"message": "ENS ಹೆಸರಿನ ನೋಂದಣಿಯಲ್ಲಿ ದೋಷ" "message": "ENS ಹೆಸರಿನ ನೋಂದಣಿಯಲ್ಲಿ ದೋಷ"
}, },
"enterPassword": {
"message": "ಪಾಸ್‌ವರ್ಡ್‌ ಅನ್ನು ನಮೂದಿಸಿ"
},
"enterPasswordContinue": { "enterPasswordContinue": {
"message": "ಮುಂದುವರೆಯಲು ಪಾಸ್‌ವರ್ಡ್ ನಮೂದಿಸಿ" "message": "ಮುಂದುವರೆಯಲು ಪಾಸ್‌ವರ್ಡ್ ನಮೂದಿಸಿ"
}, },
@ -259,9 +250,6 @@
"expandView": { "expandView": {
"message": "ವಿಸ್ತರಿಸಿದ ವೀಕ್ಷಣೆ" "message": "ವಿಸ್ತರಿಸಿದ ವೀಕ್ಷಣೆ"
}, },
"exportPrivateKey": {
"message": "ಖಾಸಗಿ ಕೀಲಿಯನ್ನು ರಫ್ತು ಮಾಡಿ"
},
"failed": { "failed": {
"message": "ವಿಫಲವಾಗಿದೆ" "message": "ವಿಫಲವಾಗಿದೆ"
}, },
@ -627,9 +615,6 @@
"searchResults": { "searchResults": {
"message": "ಹುಡುಕಾಟ ಫಲಿತಾಂಶಗಳು" "message": "ಹುಡುಕಾಟ ಫಲಿತಾಂಶಗಳು"
}, },
"searchTokens": {
"message": "ಟೋಕನ್‌ಗಳನ್ನು ಹುಡುಕಿ"
},
"securityAndPrivacy": { "securityAndPrivacy": {
"message": "ಭದ್ರತೆ ಮತ್ತು ಗೌಪ್ಯತೆ" "message": "ಭದ್ರತೆ ಮತ್ತು ಗೌಪ್ಯತೆ"
}, },
@ -669,9 +654,6 @@
"showHexDataDescription": { "showHexDataDescription": {
"message": "ಕಳುಹಿಸುವ ಪರದೆಯಲ್ಲಿ ಹೆಕ್ಸ್ ಡೇಟಾ ಕ್ಷೇತ್ರವನ್ನು ತೋರಿಸಲು ಇದನ್ನು ಆಯ್ಕೆಮಾಡಿ" "message": "ಕಳುಹಿಸುವ ಪರದೆಯಲ್ಲಿ ಹೆಕ್ಸ್ ಡೇಟಾ ಕ್ಷೇತ್ರವನ್ನು ತೋರಿಸಲು ಇದನ್ನು ಆಯ್ಕೆಮಾಡಿ"
}, },
"showPrivateKeys": {
"message": "ಖಾಸಗಿ ಕೀಗಳನ್ನು ತೋರಿಸಿ"
},
"sigRequest": { "sigRequest": {
"message": "ಸಹಿಯ ವಿನಂತಿ" "message": "ಸಹಿಯ ವಿನಂತಿ"
}, },
@ -792,9 +774,6 @@
"tryAgain": { "tryAgain": {
"message": "ಪುನಃ ಪ್ರಯತ್ನಿಸಿ" "message": "ಪುನಃ ಪ್ರಯತ್ನಿಸಿ"
}, },
"typePassword": {
"message": "ನಿಮ್ಮ MetaMask ಪಾಸ್‌ವರ್ಡ್ ಅನ್ನು ಟೈಪ್ ಮಾಡಿ"
},
"unapproved": { "unapproved": {
"message": "ಅನುಮೋದಿಸದಿರುವುದು" "message": "ಅನುಮೋದಿಸದಿರುವುದು"
}, },

File diff suppressed because it is too large Load Diff

View File

@ -175,9 +175,6 @@
"copyAddress": { "copyAddress": {
"message": "Kopijuoti adresą į iškarpinę" "message": "Kopijuoti adresą į iškarpinę"
}, },
"copyPrivateKey": {
"message": "Tai yra jūsų asmeninis raktas (spustelėkite, kad nukopijuotumėte)"
},
"copyToClipboard": { "copyToClipboard": {
"message": "Kopijuoti į iškarpinę" "message": "Kopijuoti į iškarpinę"
}, },
@ -214,9 +211,6 @@
"deleteNetwork": { "deleteNetwork": {
"message": "Panaikinti tinklą?" "message": "Panaikinti tinklą?"
}, },
"deleteNetworkDescription": {
"message": "Ar tikrai norite panaikinti šį tinklą?"
},
"details": { "details": {
"message": "Išsami informacija" "message": "Išsami informacija"
}, },
@ -244,9 +238,6 @@
"ensRegistrationError": { "ensRegistrationError": {
"message": "ENS pavadinimo registracijos klaida" "message": "ENS pavadinimo registracijos klaida"
}, },
"enterPassword": {
"message": "Įveskite slaptažodį"
},
"enterPasswordContinue": { "enterPasswordContinue": {
"message": "Norėdami tęsti, įveskite slaptažodį" "message": "Norėdami tęsti, įveskite slaptažodį"
}, },
@ -259,9 +250,6 @@
"expandView": { "expandView": {
"message": "Išskleisti rodinį" "message": "Išskleisti rodinį"
}, },
"exportPrivateKey": {
"message": "Eksportuoti asmeninį raktą"
},
"failed": { "failed": {
"message": "Nepavyko" "message": "Nepavyko"
}, },
@ -627,9 +615,6 @@
"searchResults": { "searchResults": {
"message": "Paieškos rezultatai" "message": "Paieškos rezultatai"
}, },
"searchTokens": {
"message": "Ieškoti žetonų"
},
"securityAndPrivacy": { "securityAndPrivacy": {
"message": "Sauga ir privatumas" "message": "Sauga ir privatumas"
}, },
@ -669,9 +654,6 @@
"showHexDataDescription": { "showHexDataDescription": {
"message": "Pasirinkite tai, kad siuntimo ekrane būtų rodomas šešioliktainių duomenų laukas" "message": "Pasirinkite tai, kad siuntimo ekrane būtų rodomas šešioliktainių duomenų laukas"
}, },
"showPrivateKeys": {
"message": "Rodyti asmeninius raktus"
},
"sigRequest": { "sigRequest": {
"message": "Parašo užklausa" "message": "Parašo užklausa"
}, },
@ -792,9 +774,6 @@
"tryAgain": { "tryAgain": {
"message": "Bandyti dar kartą" "message": "Bandyti dar kartą"
}, },
"typePassword": {
"message": "Įveskite savo „MetaMask“ slaptažodį"
},
"unapproved": { "unapproved": {
"message": "Nepatvirtinta" "message": "Nepatvirtinta"
}, },

View File

@ -175,9 +175,6 @@
"copyAddress": { "copyAddress": {
"message": "Iekopēt adresi starpliktuvē" "message": "Iekopēt adresi starpliktuvē"
}, },
"copyPrivateKey": {
"message": "Šī ir jūsu privātā atslēga (noklikšķiniet, lai nokopētu)"
},
"copyToClipboard": { "copyToClipboard": {
"message": "Kopēt starpliktuvē" "message": "Kopēt starpliktuvē"
}, },
@ -214,9 +211,6 @@
"deleteNetwork": { "deleteNetwork": {
"message": "Dzēst tīklu?" "message": "Dzēst tīklu?"
}, },
"deleteNetworkDescription": {
"message": "Vai tiešām vēlaties dzēst šo tīklu?"
},
"details": { "details": {
"message": "Informācija" "message": "Informācija"
}, },
@ -244,9 +238,6 @@
"ensRegistrationError": { "ensRegistrationError": {
"message": "Kļūda ENS vārda reģistrācijā" "message": "Kļūda ENS vārda reģistrācijā"
}, },
"enterPassword": {
"message": "Ievadiet paroli"
},
"enterPasswordContinue": { "enterPasswordContinue": {
"message": "Ievadiet paroli, lai turpinātu" "message": "Ievadiet paroli, lai turpinātu"
}, },
@ -259,9 +250,6 @@
"expandView": { "expandView": {
"message": "Izvērst skatījumu" "message": "Izvērst skatījumu"
}, },
"exportPrivateKey": {
"message": "Eksportēt privāto atslēgu"
},
"failed": { "failed": {
"message": "Neizdevās" "message": "Neizdevās"
}, },
@ -623,9 +611,6 @@
"searchResults": { "searchResults": {
"message": "Meklēšanas rezultāti" "message": "Meklēšanas rezultāti"
}, },
"searchTokens": {
"message": "Meklēt marķierus"
},
"securityAndPrivacy": { "securityAndPrivacy": {
"message": "Drošība un konfidencialitāte" "message": "Drošība un konfidencialitāte"
}, },
@ -665,9 +650,6 @@
"showHexDataDescription": { "showHexDataDescription": {
"message": "Atlasiet šo, lai atvērtu hex datus sūtīšanas ekrānā" "message": "Atlasiet šo, lai atvērtu hex datus sūtīšanas ekrānā"
}, },
"showPrivateKeys": {
"message": "Rādīt privātās atslēgas"
},
"sigRequest": { "sigRequest": {
"message": "Paraksta pieprasījums" "message": "Paraksta pieprasījums"
}, },
@ -788,9 +770,6 @@
"tryAgain": { "tryAgain": {
"message": "Mēģināt vēlreiz" "message": "Mēģināt vēlreiz"
}, },
"typePassword": {
"message": "Ievadiet savu MetaMask paroli"
},
"unapproved": { "unapproved": {
"message": "Nav apstiprināts" "message": "Nav apstiprināts"
}, },

View File

@ -175,9 +175,6 @@
"copyAddress": { "copyAddress": {
"message": "Salin alamat kepada papan klip" "message": "Salin alamat kepada papan klip"
}, },
"copyPrivateKey": {
"message": "Ini kunci persendirian anda (klik untuk menyalin)"
},
"copyToClipboard": { "copyToClipboard": {
"message": "Salin ke papan keratan" "message": "Salin ke papan keratan"
}, },
@ -214,9 +211,6 @@
"deleteNetwork": { "deleteNetwork": {
"message": "Padamkan Rangkaian?" "message": "Padamkan Rangkaian?"
}, },
"deleteNetworkDescription": {
"message": "Anda pasti anda ingin padamkan rangkaian ini?"
},
"details": { "details": {
"message": "Butiran" "message": "Butiran"
}, },
@ -241,9 +235,6 @@
"ensRegistrationError": { "ensRegistrationError": {
"message": "Ralat dalam pendaftaran nama ENS" "message": "Ralat dalam pendaftaran nama ENS"
}, },
"enterPassword": {
"message": "Masukkan kata laluan"
},
"enterPasswordContinue": { "enterPasswordContinue": {
"message": "Masukkan kata laluan untuk teruskan" "message": "Masukkan kata laluan untuk teruskan"
}, },
@ -256,9 +247,6 @@
"expandView": { "expandView": {
"message": "Kembangkan Paparan" "message": "Kembangkan Paparan"
}, },
"exportPrivateKey": {
"message": "Eksport Kekunci Persendirian"
},
"failed": { "failed": {
"message": "Gagal" "message": "Gagal"
}, },
@ -607,9 +595,6 @@
"searchResults": { "searchResults": {
"message": "Hasil Carian" "message": "Hasil Carian"
}, },
"searchTokens": {
"message": "Cari Token"
},
"securityAndPrivacy": { "securityAndPrivacy": {
"message": "Keselamatan & Privasi" "message": "Keselamatan & Privasi"
}, },
@ -649,9 +634,6 @@
"showHexDataDescription": { "showHexDataDescription": {
"message": "Pilih ini untuk menunjukkan medan data hex pada skrin hantar" "message": "Pilih ini untuk menunjukkan medan data hex pada skrin hantar"
}, },
"showPrivateKeys": {
"message": "Tunjukkan Kunci Persendirian"
},
"sigRequest": { "sigRequest": {
"message": "Permintaan Tandatangan" "message": "Permintaan Tandatangan"
}, },
@ -769,9 +751,6 @@
"tryAgain": { "tryAgain": {
"message": "Cuba lagi" "message": "Cuba lagi"
}, },
"typePassword": {
"message": "Taip kata laluan MetaMask anda"
},
"unapproved": { "unapproved": {
"message": "Belum Diluluskan" "message": "Belum Diluluskan"
}, },

View File

@ -60,9 +60,6 @@
"copiedExclamation": { "copiedExclamation": {
"message": "Gekopieerd!" "message": "Gekopieerd!"
}, },
"copyPrivateKey": {
"message": "Dit is uw privésleutel (klik om te kopiëren)"
},
"copyToClipboard": { "copyToClipboard": {
"message": "Kopieer naar klembord" "message": "Kopieer naar klembord"
}, },
@ -84,15 +81,9 @@
"edit": { "edit": {
"message": "Bewerk" "message": "Bewerk"
}, },
"enterPassword": {
"message": "Voer wachtwoord in"
},
"etherscanView": { "etherscanView": {
"message": "Bekijk account op Etherscan" "message": "Bekijk account op Etherscan"
}, },
"exportPrivateKey": {
"message": "Exporteer privésleutel"
},
"failed": { "failed": {
"message": "mislukt" "message": "mislukt"
}, },
@ -271,9 +262,6 @@
"settings": { "settings": {
"message": "instellingen" "message": "instellingen"
}, },
"showPrivateKeys": {
"message": "Privésleutels weergeven"
},
"sigRequest": { "sigRequest": {
"message": "Ondertekeningsverzoek" "message": "Ondertekeningsverzoek"
}, },
@ -307,9 +295,6 @@
"total": { "total": {
"message": "Totaal" "message": "Totaal"
}, },
"typePassword": {
"message": "Typ uw wachtwoord"
},
"unknown": { "unknown": {
"message": "Onbekend" "message": "Onbekend"
}, },

View File

@ -172,9 +172,6 @@
"copyAddress": { "copyAddress": {
"message": "Kopier adresse til utklippstavlen " "message": "Kopier adresse til utklippstavlen "
}, },
"copyPrivateKey": {
"message": "Dette er din private nøkkel (klikk for å kopiere)"
},
"copyToClipboard": { "copyToClipboard": {
"message": "Kopiér til utklippstavlen" "message": "Kopiér til utklippstavlen"
}, },
@ -211,9 +208,6 @@
"deleteNetwork": { "deleteNetwork": {
"message": "Slette nettverk? " "message": "Slette nettverk? "
}, },
"deleteNetworkDescription": {
"message": "Er du sikker på at du vil slette dette nettverket?"
},
"details": { "details": {
"message": "Detaljer" "message": "Detaljer"
}, },
@ -241,9 +235,6 @@
"ensRegistrationError": { "ensRegistrationError": {
"message": "Feil i ENS-navneregistrering" "message": "Feil i ENS-navneregistrering"
}, },
"enterPassword": {
"message": "Skriv inn passord "
},
"enterPasswordContinue": { "enterPasswordContinue": {
"message": "Skriv inn passord for å fortsette" "message": "Skriv inn passord for å fortsette"
}, },
@ -256,9 +247,6 @@
"expandView": { "expandView": {
"message": "Utvid visning" "message": "Utvid visning"
}, },
"exportPrivateKey": {
"message": "Eksporter privat nøkkel"
},
"failed": { "failed": {
"message": "Mislyktes" "message": "Mislyktes"
}, },
@ -611,9 +599,6 @@
"searchResults": { "searchResults": {
"message": "Søkeresultater" "message": "Søkeresultater"
}, },
"searchTokens": {
"message": "Søk i sjetonger"
},
"securityAndPrivacy": { "securityAndPrivacy": {
"message": "Sikkerhet og personvern" "message": "Sikkerhet og personvern"
}, },
@ -650,9 +635,6 @@
"showHexDataDescription": { "showHexDataDescription": {
"message": "Velg dette for å vise hex-datafeltet på sendskjermen" "message": "Velg dette for å vise hex-datafeltet på sendskjermen"
}, },
"showPrivateKeys": {
"message": "Vis private nøkler"
},
"sigRequest": { "sigRequest": {
"message": "Signaturforespørsel " "message": "Signaturforespørsel "
}, },
@ -767,9 +749,6 @@
"tryAgain": { "tryAgain": {
"message": "Prøv igjen" "message": "Prøv igjen"
}, },
"typePassword": {
"message": "Skriv inn MetaMask-passordet"
},
"unapproved": { "unapproved": {
"message": "Ikke godkjent " "message": "Ikke godkjent "
}, },

View File

@ -338,9 +338,6 @@
"copyAddress": { "copyAddress": {
"message": "Kopyahin ang address sa clipboard" "message": "Kopyahin ang address sa clipboard"
}, },
"copyPrivateKey": {
"message": "Ito ang iyong pribadong key (i-click para kopyahin)"
},
"copyToClipboard": { "copyToClipboard": {
"message": "Kopyahin sa clipboard" "message": "Kopyahin sa clipboard"
}, },
@ -409,9 +406,6 @@
"deleteNetwork": { "deleteNetwork": {
"message": "I-delete ang Network?" "message": "I-delete ang Network?"
}, },
"deleteNetworkDescription": {
"message": "Sigurado ka bang gusto mong i-delete ang network na ito?"
},
"details": { "details": {
"message": "Mga Detalye" "message": "Mga Detalye"
}, },
@ -492,9 +486,6 @@
"enterMaxSpendLimit": { "enterMaxSpendLimit": {
"message": "Ilagay ang Max na Limitasyon sa Paggastos" "message": "Ilagay ang Max na Limitasyon sa Paggastos"
}, },
"enterPassword": {
"message": "Ilagay ang password"
},
"enterPasswordContinue": { "enterPasswordContinue": {
"message": "Ilagay ang password para magpatuloy" "message": "Ilagay ang password para magpatuloy"
}, },
@ -545,9 +536,6 @@
"expandView": { "expandView": {
"message": "I-expand ang view" "message": "I-expand ang view"
}, },
"exportPrivateKey": {
"message": "I-export ang Pribadong Key"
},
"externalExtension": { "externalExtension": {
"message": "External Extension" "message": "External Extension"
}, },
@ -1214,9 +1202,6 @@
"searchResults": { "searchResults": {
"message": "Mga Resulta ng Paghahanap" "message": "Mga Resulta ng Paghahanap"
}, },
"searchTokens": {
"message": "Maghanap ng Mga Token"
},
"securityAndPrivacy": { "securityAndPrivacy": {
"message": "Seguridad at Privacy" "message": "Seguridad at Privacy"
}, },
@ -1315,9 +1300,6 @@
"showPermissions": { "showPermissions": {
"message": "Ipakita ang mga pahintulot" "message": "Ipakita ang mga pahintulot"
}, },
"showPrivateKeys": {
"message": "Ipakita ang Mga Private Key"
},
"sigRequest": { "sigRequest": {
"message": "Request ng Signature" "message": "Request ng Signature"
}, },
@ -1770,9 +1752,6 @@
"tryAgain": { "tryAgain": {
"message": "Subukan ulit" "message": "Subukan ulit"
}, },
"typePassword": {
"message": "Uri ng password ng iyong MetaMask"
},
"unapproved": { "unapproved": {
"message": "Hindi inaprubahan" "message": "Hindi inaprubahan"
}, },

View File

@ -175,9 +175,6 @@
"copyAddress": { "copyAddress": {
"message": "Skopiuj adres do schowka" "message": "Skopiuj adres do schowka"
}, },
"copyPrivateKey": {
"message": "To jest Twój prywatny klucz (kliknij żeby skopiować)"
},
"copyToClipboard": { "copyToClipboard": {
"message": "Skopiuj do schowka" "message": "Skopiuj do schowka"
}, },
@ -214,9 +211,6 @@
"deleteNetwork": { "deleteNetwork": {
"message": "Usunąć sieć?" "message": "Usunąć sieć?"
}, },
"deleteNetworkDescription": {
"message": "Czy na pewno chcesz usunąć tę sieć?"
},
"details": { "details": {
"message": "Szczegóły" "message": "Szczegóły"
}, },
@ -244,9 +238,6 @@
"ensRegistrationError": { "ensRegistrationError": {
"message": "Błąd w rejestracji nazwy ENS" "message": "Błąd w rejestracji nazwy ENS"
}, },
"enterPassword": {
"message": "Wpisz hasło"
},
"enterPasswordContinue": { "enterPasswordContinue": {
"message": "Podaj hasło żeby kontynuować" "message": "Podaj hasło żeby kontynuować"
}, },
@ -259,9 +250,6 @@
"expandView": { "expandView": {
"message": "Rozwiń widok" "message": "Rozwiń widok"
}, },
"exportPrivateKey": {
"message": "Eksportuj klucz prywatny"
},
"failed": { "failed": {
"message": "Nie udało się" "message": "Nie udało się"
}, },
@ -621,9 +609,6 @@
"searchResults": { "searchResults": {
"message": "Wyniki wyszukiwania" "message": "Wyniki wyszukiwania"
}, },
"searchTokens": {
"message": "Szukaj tokenów"
},
"securityAndPrivacy": { "securityAndPrivacy": {
"message": "Bezpieczeństwo i prywatność" "message": "Bezpieczeństwo i prywatność"
}, },
@ -663,9 +648,6 @@
"showHexDataDescription": { "showHexDataDescription": {
"message": "Wybierz to żeby pokazać pole danych hex na ekranie wysyłania" "message": "Wybierz to żeby pokazać pole danych hex na ekranie wysyłania"
}, },
"showPrivateKeys": {
"message": "Pokaż prywatne klucze"
},
"sigRequest": { "sigRequest": {
"message": "Prośba o podpis" "message": "Prośba o podpis"
}, },
@ -780,9 +762,6 @@
"tryAgain": { "tryAgain": {
"message": "Spróbuj ponownie" "message": "Spróbuj ponownie"
}, },
"typePassword": {
"message": "Wpisz hasło"
},
"unapproved": { "unapproved": {
"message": "Niezatwierdzone" "message": "Niezatwierdzone"
}, },

File diff suppressed because it is too large Load Diff

View File

@ -100,9 +100,6 @@
"addContact": { "addContact": {
"message": "Adicionar contato" "message": "Adicionar contato"
}, },
"addCustomToken": {
"message": "Adicionar token personalizado"
},
"addEthereumChainConfirmationDescription": { "addEthereumChainConfirmationDescription": {
"message": "Isso permitirá que essa rede seja usada dentro da MetaMask." "message": "Isso permitirá que essa rede seja usada dentro da MetaMask."
}, },
@ -472,9 +469,6 @@
"copyAddress": { "copyAddress": {
"message": "Copiar endereço para a área de transferência" "message": "Copiar endereço para a área de transferência"
}, },
"copyPrivateKey": {
"message": "Essa é a sua chave privada (clique para copiar)"
},
"copyRawTransactionData": { "copyRawTransactionData": {
"message": "Copiar dados brutos da transação" "message": "Copiar dados brutos da transação"
}, },
@ -578,9 +572,6 @@
"deleteNetwork": { "deleteNetwork": {
"message": "Excluir rede?" "message": "Excluir rede?"
}, },
"deleteNetworkDescription": {
"message": "Quer mesmo excluir essa rede?"
},
"description": { "description": {
"message": "Descrição" "message": "Descrição"
}, },
@ -734,12 +725,6 @@
"enableFromSettings": { "enableFromSettings": {
"message": " Ative nas Configurações." "message": " Ative nas Configurações."
}, },
"enableOpenSeaAPI": {
"message": "Ativar a API OpenSea"
},
"enableOpenSeaAPIDescription": {
"message": "Use a API OpenSea para recuperar dados de NFTs. A detecção automática de NFTs depende da API OpenSea e não estará disponível quando essa opção estiver desativada."
},
"enableToken": { "enableToken": {
"message": "ativar $1", "message": "ativar $1",
"description": "$1 is a token symbol, e.g. ETH" "description": "$1 is a token symbol, e.g. ETH"
@ -773,9 +758,6 @@
"enterMaxSpendLimit": { "enterMaxSpendLimit": {
"message": "Digite um limite máximo de gastos" "message": "Digite um limite máximo de gastos"
}, },
"enterPassword": {
"message": "Digite a senha"
},
"enterPasswordContinue": { "enterPasswordContinue": {
"message": "Digite a senha para continuar" "message": "Digite a senha para continuar"
}, },
@ -832,9 +814,6 @@
"experimental": { "experimental": {
"message": "Experimental" "message": "Experimental"
}, },
"exportPrivateKey": {
"message": "Exportar chave privada"
},
"externalExtension": { "externalExtension": {
"message": "Extensão externa" "message": "Extensão externa"
}, },
@ -1626,10 +1605,6 @@
"onboardingPinExtensionTitle": { "onboardingPinExtensionTitle": {
"message": "Sua instalação da MetaMask está concluída!" "message": "Sua instalação da MetaMask está concluída!"
}, },
"onboardingShowIncomingTransactionsDescription": {
"message": "A exibição de transações recebidas na sua carteira depende de comunicação com $1. O Etherscan terá acesso ao seu endereço Ethereum e ao seu endereço IP. Veja $2.",
"description": "$1 is a clickable link with text defined by the 'etherscan' key. $2 is a clickable link with text defined by the 'privacyMsg' key."
},
"onboardingUsePhishingDetectionDescription": { "onboardingUsePhishingDetectionDescription": {
"message": "Os alertas de detecção de phishing dependem de comunicação com $1. O jsDeliver terá acesso ao seu endereço IP. Veja $2.", "message": "Os alertas de detecção de phishing dependem de comunicação com $1. O jsDeliver terá acesso ao seu endereço IP. Veja $2.",
"description": "The $1 is the word 'jsDeliver', from key 'jsDeliver' and $2 is the words Privacy Policy from key 'privacyMsg', both separated here so that it can be wrapped as a link" "description": "The $1 is the word 'jsDeliver', from key 'jsDeliver' and $2 is the words Privacy Policy from key 'privacyMsg', both separated here so that it can be wrapped as a link"
@ -1882,9 +1857,6 @@
"searchResults": { "searchResults": {
"message": "Resultados da busca" "message": "Resultados da busca"
}, },
"searchTokens": {
"message": "Buscar tokens"
},
"secretRecoveryPhrase": { "secretRecoveryPhrase": {
"message": "Frase de Recuperação Secreta" "message": "Frase de Recuperação Secreta"
}, },
@ -2026,9 +1998,6 @@
"showPermissions": { "showPermissions": {
"message": "Mostrar permissões" "message": "Mostrar permissões"
}, },
"showPrivateKeys": {
"message": "Mostrar chaves privadas"
},
"showTestnetNetworks": { "showTestnetNetworks": {
"message": "Mostrar redes de teste" "message": "Mostrar redes de teste"
}, },
@ -2062,9 +2031,6 @@
"somethingWentWrong": { "somethingWentWrong": {
"message": "Opa! Ocorreu algum erro." "message": "Opa! Ocorreu algum erro."
}, },
"source": {
"message": "Fonte"
},
"speedUp": { "speedUp": {
"message": "Acelerar" "message": "Acelerar"
}, },
@ -2646,9 +2612,6 @@
"txInsightsNotSupported": { "txInsightsNotSupported": {
"message": "As informações sobre transações não são suportadas para esse contrato, por ora." "message": "As informações sobre transações não são suportadas para esse contrato, por ora."
}, },
"typePassword": {
"message": "Digite sua senha da MetaMask"
},
"u2f": { "u2f": {
"message": "U2F", "message": "U2F",
"description": "A name on an API for the browser to interact with devices that support the U2F protocol. On some browsers we use it to connect MetaMask to Ledger devices." "description": "A name on an API for the browser to interact with devices that support the U2F protocol. On some browsers we use it to connect MetaMask to Ledger devices."

View File

@ -175,9 +175,6 @@
"copyAddress": { "copyAddress": {
"message": "Copiere adresă în clipboard" "message": "Copiere adresă în clipboard"
}, },
"copyPrivateKey": {
"message": "Aceasta este cheia dumneavoastră privată (clic pentru a copia)"
},
"copyToClipboard": { "copyToClipboard": {
"message": "Copiați în clipboard" "message": "Copiați în clipboard"
}, },
@ -214,9 +211,6 @@
"deleteNetwork": { "deleteNetwork": {
"message": "Ștergeți rețeaua?" "message": "Ștergeți rețeaua?"
}, },
"deleteNetworkDescription": {
"message": "Sigur vreți să ștergeți această rețea?"
},
"details": { "details": {
"message": "Detalii" "message": "Detalii"
}, },
@ -244,9 +238,6 @@
"ensRegistrationError": { "ensRegistrationError": {
"message": "Eroare la înregistrarea numelui ENS" "message": "Eroare la înregistrarea numelui ENS"
}, },
"enterPassword": {
"message": "Introduceți parola"
},
"enterPasswordContinue": { "enterPasswordContinue": {
"message": "Introduceți parola pentru a continua" "message": "Introduceți parola pentru a continua"
}, },
@ -259,9 +250,6 @@
"expandView": { "expandView": {
"message": "Extindeți vizualizarea" "message": "Extindeți vizualizarea"
}, },
"exportPrivateKey": {
"message": "Exportați cheia privată"
},
"failed": { "failed": {
"message": "Eșuat" "message": "Eșuat"
}, },
@ -614,9 +602,6 @@
"searchResults": { "searchResults": {
"message": "Rezultate căutare" "message": "Rezultate căutare"
}, },
"searchTokens": {
"message": "Căutați token-uri"
},
"securityAndPrivacy": { "securityAndPrivacy": {
"message": "Securitate și confidențialitate" "message": "Securitate și confidențialitate"
}, },
@ -656,9 +641,6 @@
"showHexDataDescription": { "showHexDataDescription": {
"message": "Selectați această opțiune pentru a arăta câmpul de date hexazecimale în ecranul de trimitere." "message": "Selectați această opțiune pentru a arăta câmpul de date hexazecimale în ecranul de trimitere."
}, },
"showPrivateKeys": {
"message": "Afișați cheile private"
},
"sigRequest": { "sigRequest": {
"message": "Solicitare de semnătură" "message": "Solicitare de semnătură"
}, },
@ -773,9 +755,6 @@
"tryAgain": { "tryAgain": {
"message": "Încearcă din nou" "message": "Încearcă din nou"
}, },
"typePassword": {
"message": "Scrieți parola dvs. pentru MetaMask"
},
"unapproved": { "unapproved": {
"message": "Neaprobat" "message": "Neaprobat"
}, },

File diff suppressed because it is too large Load Diff

View File

@ -169,9 +169,6 @@
"copyAddress": { "copyAddress": {
"message": "Kopírovať adresu do schránky" "message": "Kopírovať adresu do schránky"
}, },
"copyPrivateKey": {
"message": "Toto je váš privátní klíč (kliknutím zkopírujte)"
},
"copyToClipboard": { "copyToClipboard": {
"message": "Kopírovat do schránky" "message": "Kopírovat do schránky"
}, },
@ -208,9 +205,6 @@
"deleteNetwork": { "deleteNetwork": {
"message": "Odstrániť sieť?" "message": "Odstrániť sieť?"
}, },
"deleteNetworkDescription": {
"message": "Naozaj chcete túto sieť odstrániť?"
},
"details": { "details": {
"message": "Podrobnosti" "message": "Podrobnosti"
}, },
@ -238,9 +232,6 @@
"ensRegistrationError": { "ensRegistrationError": {
"message": "Chyba pri registrácii názvu ENS" "message": "Chyba pri registrácii názvu ENS"
}, },
"enterPassword": {
"message": "Zadejte heslo"
},
"enterPasswordContinue": { "enterPasswordContinue": {
"message": "Pokračujte zadaním hesla" "message": "Pokračujte zadaním hesla"
}, },
@ -253,9 +244,6 @@
"expandView": { "expandView": {
"message": "Rozbaliť zobrazenie" "message": "Rozbaliť zobrazenie"
}, },
"exportPrivateKey": {
"message": "Exportovat privátní klíč"
},
"failed": { "failed": {
"message": "Neúspěšné" "message": "Neúspěšné"
}, },
@ -599,9 +587,6 @@
"searchResults": { "searchResults": {
"message": "Výsledky vyhľadávania" "message": "Výsledky vyhľadávania"
}, },
"searchTokens": {
"message": "Hledat tokeny"
},
"securityAndPrivacy": { "securityAndPrivacy": {
"message": "Bezpečnosť a súkromie" "message": "Bezpečnosť a súkromie"
}, },
@ -641,9 +626,6 @@
"showHexDataDescription": { "showHexDataDescription": {
"message": "Vyberte toto, ak chcete, aby sa na obrazovke odosielania zobrazilo hex dátové pole" "message": "Vyberte toto, ak chcete, aby sa na obrazovke odosielania zobrazilo hex dátové pole"
}, },
"showPrivateKeys": {
"message": "Zobrazit privátní klíče"
},
"sigRequest": { "sigRequest": {
"message": "Požadavek podpisu" "message": "Požadavek podpisu"
}, },
@ -758,9 +740,6 @@
"tryAgain": { "tryAgain": {
"message": "Skúsiť znova" "message": "Skúsiť znova"
}, },
"typePassword": {
"message": "Zadejte své heslo"
},
"unapproved": { "unapproved": {
"message": "Neschváleno" "message": "Neschváleno"
}, },

View File

@ -175,9 +175,6 @@
"copyAddress": { "copyAddress": {
"message": "Kopiraj naslov v odložišče" "message": "Kopiraj naslov v odložišče"
}, },
"copyPrivateKey": {
"message": "To je vaš zesebni ključ (kliknite za kopiranje)"
},
"copyToClipboard": { "copyToClipboard": {
"message": "Kopiraj v odložišče" "message": "Kopiraj v odložišče"
}, },
@ -214,9 +211,6 @@
"deleteNetwork": { "deleteNetwork": {
"message": "Izbrišem to omrežje?" "message": "Izbrišem to omrežje?"
}, },
"deleteNetworkDescription": {
"message": "Ali ste prepričani, da želite izbrisati to omrežje?"
},
"details": { "details": {
"message": "Podrobnosti" "message": "Podrobnosti"
}, },
@ -244,9 +238,6 @@
"ensRegistrationError": { "ensRegistrationError": {
"message": "Napaka pri registraciji imena ENS" "message": "Napaka pri registraciji imena ENS"
}, },
"enterPassword": {
"message": "Vnesite geslo"
},
"enterPasswordContinue": { "enterPasswordContinue": {
"message": "Za nadaljevanje vnesite geslo" "message": "Za nadaljevanje vnesite geslo"
}, },
@ -259,9 +250,6 @@
"expandView": { "expandView": {
"message": "Razširi pogled" "message": "Razširi pogled"
}, },
"exportPrivateKey": {
"message": "Izvozi zasebni ključ"
},
"failed": { "failed": {
"message": "Ni uspelo" "message": "Ni uspelo"
}, },
@ -615,9 +603,6 @@
"searchResults": { "searchResults": {
"message": "Rezultati iskanja" "message": "Rezultati iskanja"
}, },
"searchTokens": {
"message": "Iskanje žetonov"
},
"securityAndPrivacy": { "securityAndPrivacy": {
"message": "Varnost in zasebnost" "message": "Varnost in zasebnost"
}, },
@ -657,9 +642,6 @@
"showHexDataDescription": { "showHexDataDescription": {
"message": "Izberite za prikaz hex podatkov na zaslonu za pošiljanje" "message": "Izberite za prikaz hex podatkov na zaslonu za pošiljanje"
}, },
"showPrivateKeys": {
"message": "Pokaži zasebni ključ"
},
"sigRequest": { "sigRequest": {
"message": "Zahteva za podpis" "message": "Zahteva za podpis"
}, },
@ -780,9 +762,6 @@
"tryAgain": { "tryAgain": {
"message": "Poskusi znova" "message": "Poskusi znova"
}, },
"typePassword": {
"message": "Vnesite vaše MetaMask geslo"
},
"unapproved": { "unapproved": {
"message": "Neodobreno" "message": "Neodobreno"
}, },

View File

@ -172,9 +172,6 @@
"copyAddress": { "copyAddress": {
"message": "Kopirajte adresu u ostavu" "message": "Kopirajte adresu u ostavu"
}, },
"copyPrivateKey": {
"message": "Ovo je vaš privatni ključ (kliknite kako biste ga kopirali)"
},
"copyToClipboard": { "copyToClipboard": {
"message": "Копирај у меморију" "message": "Копирај у меморију"
}, },
@ -211,9 +208,6 @@
"deleteNetwork": { "deleteNetwork": {
"message": "Da li želite da obrišete mrežu?" "message": "Da li želite da obrišete mrežu?"
}, },
"deleteNetworkDescription": {
"message": "Da li ste sigurni da želite da izbrišete ovu mrežu?"
},
"details": { "details": {
"message": "Детаљи" "message": "Детаљи"
}, },
@ -241,9 +235,6 @@
"ensRegistrationError": { "ensRegistrationError": {
"message": "Greška u registraciji ENS imena." "message": "Greška u registraciji ENS imena."
}, },
"enterPassword": {
"message": "Unesite lozinku"
},
"enterPasswordContinue": { "enterPasswordContinue": {
"message": "Unesite lozinku kako biste nastavili" "message": "Unesite lozinku kako biste nastavili"
}, },
@ -256,9 +247,6 @@
"expandView": { "expandView": {
"message": "Proširite prikaz" "message": "Proširite prikaz"
}, },
"exportPrivateKey": {
"message": "Izvezite privatni ključ"
},
"failed": { "failed": {
"message": "Neuspešno" "message": "Neuspešno"
}, },
@ -618,9 +606,6 @@
"searchResults": { "searchResults": {
"message": "Rezultati pretrage" "message": "Rezultati pretrage"
}, },
"searchTokens": {
"message": "Pretražite tokene"
},
"securityAndPrivacy": { "securityAndPrivacy": {
"message": "Bezbednost i privatnost" "message": "Bezbednost i privatnost"
}, },
@ -660,9 +645,6 @@
"showHexDataDescription": { "showHexDataDescription": {
"message": "Izaberite ovo da bi se pokazalo polje sa hex podacima na „Pošalji” ekranu " "message": "Izaberite ovo da bi se pokazalo polje sa hex podacima na „Pošalji” ekranu "
}, },
"showPrivateKeys": {
"message": "Prikažite privatne ključeve"
},
"sigRequest": { "sigRequest": {
"message": "Zahtev za potpisom" "message": "Zahtev za potpisom"
}, },
@ -780,9 +762,6 @@
"tryAgain": { "tryAgain": {
"message": "Пробај поново" "message": "Пробај поново"
}, },
"typePassword": {
"message": "Ukucajte svoju MetaMask šifru"
},
"unapproved": { "unapproved": {
"message": "Neodobren" "message": "Neodobren"
}, },

View File

@ -169,9 +169,6 @@
"copyAddress": { "copyAddress": {
"message": "Kopiera adress till urklipp" "message": "Kopiera adress till urklipp"
}, },
"copyPrivateKey": {
"message": "Det här är din privata nyckel (klicka för att kopiera)"
},
"copyToClipboard": { "copyToClipboard": {
"message": "Kopiera till Urklipp" "message": "Kopiera till Urklipp"
}, },
@ -208,9 +205,6 @@
"deleteNetwork": { "deleteNetwork": {
"message": "Radera nätverk?" "message": "Radera nätverk?"
}, },
"deleteNetworkDescription": {
"message": "Är du säker på att du vill ta bort detta nätverk?"
},
"details": { "details": {
"message": "Info" "message": "Info"
}, },
@ -238,9 +232,6 @@
"ensRegistrationError": { "ensRegistrationError": {
"message": "Fel i ENS-namnregistrering" "message": "Fel i ENS-namnregistrering"
}, },
"enterPassword": {
"message": "Ange lösenord"
},
"enterPasswordContinue": { "enterPasswordContinue": {
"message": "Ange lösenord för att fortsätta" "message": "Ange lösenord för att fortsätta"
}, },
@ -253,9 +244,6 @@
"expandView": { "expandView": {
"message": "Expandera vy" "message": "Expandera vy"
}, },
"exportPrivateKey": {
"message": "Exportera privat nyckel"
},
"failed": { "failed": {
"message": "Misslyckades" "message": "Misslyckades"
}, },
@ -611,9 +599,6 @@
"searchResults": { "searchResults": {
"message": "Sökresultat" "message": "Sökresultat"
}, },
"searchTokens": {
"message": "Sök tokens"
},
"securityAndPrivacy": { "securityAndPrivacy": {
"message": "Säkerhet och integritet" "message": "Säkerhet och integritet"
}, },
@ -653,9 +638,6 @@
"showHexDataDescription": { "showHexDataDescription": {
"message": "Välj detta för att visa hex-datafältet på sändarskärmen" "message": "Välj detta för att visa hex-datafältet på sändarskärmen"
}, },
"showPrivateKeys": {
"message": "Visa privata nycklar"
},
"sigRequest": { "sigRequest": {
"message": "Signaturförfrågan" "message": "Signaturförfrågan"
}, },
@ -767,9 +749,6 @@
"tryAgain": { "tryAgain": {
"message": "Försök igen" "message": "Försök igen"
}, },
"typePassword": {
"message": "Ange ditt MetaMask-lösenord"
},
"unapproved": { "unapproved": {
"message": "Inte godkänd" "message": "Inte godkänd"
}, },

View File

@ -169,9 +169,6 @@
"copyAddress": { "copyAddress": {
"message": "Nakili anwani kwenye ubao wa kunakilia" "message": "Nakili anwani kwenye ubao wa kunakilia"
}, },
"copyPrivateKey": {
"message": "Huu ni ufunguo wako wa kibinafsi (bofya ili unakili)"
},
"copyToClipboard": { "copyToClipboard": {
"message": "Nakili kwenye ubao wa kunakili" "message": "Nakili kwenye ubao wa kunakili"
}, },
@ -208,9 +205,6 @@
"deleteNetwork": { "deleteNetwork": {
"message": "Futa Mtandao?" "message": "Futa Mtandao?"
}, },
"deleteNetworkDescription": {
"message": "Una uhakika unataka kufuta mtandao huu?"
},
"details": { "details": {
"message": "Maelezo" "message": "Maelezo"
}, },
@ -238,9 +232,6 @@
"ensRegistrationError": { "ensRegistrationError": {
"message": "Hitilafu imetokea kwenye usajili wa jina la ENS" "message": "Hitilafu imetokea kwenye usajili wa jina la ENS"
}, },
"enterPassword": {
"message": "Ingiza nenosiri"
},
"enterPasswordContinue": { "enterPasswordContinue": {
"message": "Ingiza nenosiri ili uendelee" "message": "Ingiza nenosiri ili uendelee"
}, },
@ -253,9 +244,6 @@
"expandView": { "expandView": {
"message": "Panua Mwonekano" "message": "Panua Mwonekano"
}, },
"exportPrivateKey": {
"message": "Panua Mwonekano"
},
"failed": { "failed": {
"message": "Imeshindwa" "message": "Imeshindwa"
}, },
@ -605,9 +593,6 @@
"searchResults": { "searchResults": {
"message": "Matokeo ya Utafutaji" "message": "Matokeo ya Utafutaji"
}, },
"searchTokens": {
"message": "Tafuta Vianzio"
},
"securityAndPrivacy": { "securityAndPrivacy": {
"message": "Ulinzi na Faragha" "message": "Ulinzi na Faragha"
}, },
@ -647,9 +632,6 @@
"showHexDataDescription": { "showHexDataDescription": {
"message": "Chagua hii ili uonyeshe sehemu ya data ya hex kwenye skrini ya tuma" "message": "Chagua hii ili uonyeshe sehemu ya data ya hex kwenye skrini ya tuma"
}, },
"showPrivateKeys": {
"message": "Onyesha Fungo Binafsi"
},
"sigRequest": { "sigRequest": {
"message": "Ombi la Saini" "message": "Ombi la Saini"
}, },
@ -770,9 +752,6 @@
"tryAgain": { "tryAgain": {
"message": "Jaribu tena" "message": "Jaribu tena"
}, },
"typePassword": {
"message": "Andika nenosiri lako la MetaMask"
},
"unapproved": { "unapproved": {
"message": "Haijaidhinishwa" "message": "Haijaidhinishwa"
}, },

View File

@ -87,9 +87,6 @@
"copiedExclamation": { "copiedExclamation": {
"message": "நகலெடுக்கப்பட்டன!" "message": "நகலெடுக்கப்பட்டன!"
}, },
"copyPrivateKey": {
"message": "இது உங்கள் தனிப்பட்ட விசை (நகலெடுக்க கிளிக் செய்யவும்)"
},
"copyToClipboard": { "copyToClipboard": {
"message": "கிளிப்போர்டுக்கு நகலெடு" "message": "கிளிப்போர்டுக்கு நகலெடு"
}, },
@ -126,15 +123,9 @@
"edit": { "edit": {
"message": "திருத்து" "message": "திருத்து"
}, },
"enterPassword": {
"message": "கடவுச்சொல்லை உள்ளிடவும்"
},
"etherscanView": { "etherscanView": {
"message": "Etherscan கணக்கைப் பார்க்கவும்" "message": "Etherscan கணக்கைப் பார்க்கவும்"
}, },
"exportPrivateKey": {
"message": "தனியார் விசை ஐ ஏற்றுமதி செய்க"
},
"failed": { "failed": {
"message": "தோல்வி" "message": "தோல்வி"
}, },
@ -359,9 +350,6 @@
"search": { "search": {
"message": "தேடல்" "message": "தேடல்"
}, },
"searchTokens": {
"message": "தேடல் டோக்கன்ஸ்"
},
"seedPhraseReq": { "seedPhraseReq": {
"message": "விதை வாக்கியங்கள் 12 வார்த்தைகள் நீண்டவை" "message": "விதை வாக்கியங்கள் 12 வார்த்தைகள் நீண்டவை"
}, },
@ -377,9 +365,6 @@
"settings": { "settings": {
"message": "அமைப்புகள்" "message": "அமைப்புகள்"
}, },
"showPrivateKeys": {
"message": "தனிப்பட்ட விசைகளைக் காண்பி"
},
"sigRequest": { "sigRequest": {
"message": "கையொப்பம் கோரிக்கை" "message": "கையொப்பம் கோரிக்கை"
}, },
@ -428,9 +413,6 @@
"tryAgain": { "tryAgain": {
"message": "மீண்டும் முயல்க" "message": "மீண்டும் முயல்க"
}, },
"typePassword": {
"message": "உங்கள் கடவுச்சொல்லை தட்டச்சு செய்யவும்"
},
"unapproved": { "unapproved": {
"message": "அங்கீகரிக்கப்படாத" "message": "அங்கீகரிக்கப்படாத"
}, },

View File

@ -78,9 +78,6 @@
"copiedExclamation": { "copiedExclamation": {
"message": "คัดลอกแล้ว!" "message": "คัดลอกแล้ว!"
}, },
"copyPrivateKey": {
"message": "นี่คือคีย์ส่วนตัวของคุณ(กดเพื่อคัดลอก)"
},
"copyToClipboard": { "copyToClipboard": {
"message": "คัดลอกไปคลิปบอร์ด" "message": "คัดลอกไปคลิปบอร์ด"
}, },
@ -117,18 +114,12 @@
"editContact": { "editContact": {
"message": "แก้ไขผู้ติดต่อ" "message": "แก้ไขผู้ติดต่อ"
}, },
"enterPassword": {
"message": "ใส่รหัสผ่าน"
},
"etherscanView": { "etherscanView": {
"message": "ดูบัญชีบน Etherscan" "message": "ดูบัญชีบน Etherscan"
}, },
"expandView": { "expandView": {
"message": "ขยายมุมมอง" "message": "ขยายมุมมอง"
}, },
"exportPrivateKey": {
"message": "ส่งออกคีย์ส่วนตัว"
},
"failed": { "failed": {
"message": "ล้มเหลว" "message": "ล้มเหลว"
}, },
@ -338,9 +329,6 @@
"settings": { "settings": {
"message": "การตั้งค่า" "message": "การตั้งค่า"
}, },
"showPrivateKeys": {
"message": "แสดงคีย์ส่วนตัว"
},
"sigRequest": { "sigRequest": {
"message": "ขอลายเซ็น" "message": "ขอลายเซ็น"
}, },
@ -392,9 +380,6 @@
"transactionDropped": { "transactionDropped": {
"message": "ธุรกรรมถูกยกเลิกเมื่อ $2" "message": "ธุรกรรมถูกยกเลิกเมื่อ $2"
}, },
"typePassword": {
"message": "พิมพ์รหัสผ่านของคุณ"
},
"unknown": { "unknown": {
"message": "ไม่รู้จัก" "message": "ไม่รู้จัก"
}, },

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -175,9 +175,6 @@
"copyAddress": { "copyAddress": {
"message": "Копіювати адресу в буфер обміну" "message": "Копіювати адресу в буфер обміну"
}, },
"copyPrivateKey": {
"message": "Це ваш закритий ключ (натисніть, щоб скопіювати)"
},
"copyToClipboard": { "copyToClipboard": {
"message": "Копіювати в буфер" "message": "Копіювати в буфер"
}, },
@ -214,9 +211,6 @@
"deleteNetwork": { "deleteNetwork": {
"message": "Видалити мережу?" "message": "Видалити мережу?"
}, },
"deleteNetworkDescription": {
"message": "Ви впевнені, що хочете видалити цю мережу?"
},
"details": { "details": {
"message": "Деталі" "message": "Деталі"
}, },
@ -244,9 +238,6 @@
"ensRegistrationError": { "ensRegistrationError": {
"message": "Помилка у реєстрації ENS ім'я" "message": "Помилка у реєстрації ENS ім'я"
}, },
"enterPassword": {
"message": "Введіть пароль"
},
"enterPasswordContinue": { "enterPasswordContinue": {
"message": "Введіть пароль, щоб продовжити" "message": "Введіть пароль, щоб продовжити"
}, },
@ -259,9 +250,6 @@
"expandView": { "expandView": {
"message": "Розгорнути подання" "message": "Розгорнути подання"
}, },
"exportPrivateKey": {
"message": "Експортувати приватний ключ"
},
"failed": { "failed": {
"message": "Помилка" "message": "Помилка"
}, },
@ -627,9 +615,6 @@
"searchResults": { "searchResults": {
"message": "Результати пошуку" "message": "Результати пошуку"
}, },
"searchTokens": {
"message": "Шукати токени"
},
"securityAndPrivacy": { "securityAndPrivacy": {
"message": "Безпека й конфіденційність" "message": "Безпека й конфіденційність"
}, },
@ -669,9 +654,6 @@
"showHexDataDescription": { "showHexDataDescription": {
"message": "Оберіть це, щоб показати поле для шістнадцятирикових даних на екрані надсилання" "message": "Оберіть це, щоб показати поле для шістнадцятирикових даних на екрані надсилання"
}, },
"showPrivateKeys": {
"message": "Показати приватні ключі"
},
"sigRequest": { "sigRequest": {
"message": "Запит підпису" "message": "Запит підпису"
}, },
@ -792,9 +774,6 @@
"tryAgain": { "tryAgain": {
"message": "Повторити" "message": "Повторити"
}, },
"typePassword": {
"message": "Введіть ваш пароль MetaMask"
},
"unapproved": { "unapproved": {
"message": "Не затверджено" "message": "Не затверджено"
}, },

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -42,9 +42,6 @@
"addContact": { "addContact": {
"message": "新增合約" "message": "新增合約"
}, },
"addCustomToken": {
"message": "Add Custom Token"
},
"addEthereumChainConfirmationDescription": { "addEthereumChainConfirmationDescription": {
"message": "這會允許在 MetaMask 內使用這個網路。" "message": "這會允許在 MetaMask 內使用這個網路。"
}, },
@ -337,9 +334,6 @@
"copyAddress": { "copyAddress": {
"message": "複製到剪貼簿" "message": "複製到剪貼簿"
}, },
"copyPrivateKey": {
"message": "這是您的私鑰(點擊複製)"
},
"copyToClipboard": { "copyToClipboard": {
"message": "複製到剪貼簿" "message": "複製到剪貼簿"
}, },
@ -411,9 +405,6 @@
"deleteNetwork": { "deleteNetwork": {
"message": "刪除網路?" "message": "刪除網路?"
}, },
"deleteNetworkDescription": {
"message": "你確定要刪除網路嗎?"
},
"details": { "details": {
"message": "詳情" "message": "詳情"
}, },
@ -503,9 +494,6 @@
"enterMaxSpendLimit": { "enterMaxSpendLimit": {
"message": "輸入最大花費限制" "message": "輸入最大花費限制"
}, },
"enterPassword": {
"message": "請輸入密碼"
},
"enterPasswordContinue": { "enterPasswordContinue": {
"message": "請輸入密碼" "message": "請輸入密碼"
}, },
@ -553,9 +541,6 @@
"expandView": { "expandView": {
"message": "展開畫面" "message": "展開畫面"
}, },
"exportPrivateKey": {
"message": "匯出私鑰"
},
"externalExtension": { "externalExtension": {
"message": "外部擴充功能" "message": "外部擴充功能"
}, },
@ -1136,9 +1121,6 @@
"searchResults": { "searchResults": {
"message": "搜尋結果" "message": "搜尋結果"
}, },
"searchTokens": {
"message": "搜尋代幣"
},
"secureWallet": { "secureWallet": {
"message": "Secure Wallet" "message": "Secure Wallet"
}, },
@ -1240,9 +1222,6 @@
"showPermissions": { "showPermissions": {
"message": "顯示權限" "message": "顯示權限"
}, },
"showPrivateKeys": {
"message": "顯示私鑰"
},
"sigRequest": { "sigRequest": {
"message": "請求簽署" "message": "請求簽署"
}, },
@ -1449,9 +1428,6 @@
"tryAgain": { "tryAgain": {
"message": "再試一次" "message": "再試一次"
}, },
"typePassword": {
"message": "請輸入密碼"
},
"unapproved": { "unapproved": {
"message": "未批准" "message": "未批准"
}, },

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 240 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 140 KiB

View File

@ -1,6 +0,0 @@
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<path
d="M12.36 6L12.76 8H18V14H14.64L14.24 12H7V6H12.36ZM14 4H5V21H7V14H12.6L13 16H20V6H14.4L14 4Z"
fill="black"
/>
</svg>

Before

Width:  |  Height:  |  Size: 231 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

BIN
app/images/default_nft.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 KiB

47
app/images/gnosis.svg Normal file
View File

@ -0,0 +1,47 @@
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="1080" height="1080" viewBox="0 0 1080 1080" xml:space="preserve">
<desc>Created with Fabric.js 5.2.4</desc>
<defs>
</defs>
<g transform="matrix(1 0 0 1 540 540)" id="6d236122-bb3d-4e42-9c6b-8d2a0958998c" >
</g>
<g transform="matrix(1 0 0 1 540 540)" id="e68d71f6-858d-496f-973e-8d82de5e6bfb" >
<rect style="stroke: none; stroke-width: 1; stroke-dasharray: none; stroke-linecap: butt; stroke-dashoffset: 0; stroke-linejoin: miter; stroke-miterlimit: 4; fill: rgb(255,255,255); fill-rule: nonzero; opacity: 1; visibility: hidden;" vector-effect="non-scaling-stroke" x="-540" y="-540" rx="0" ry="0" width="1080" height="1080" />
</g>
<g transform="matrix(12.89 0 0 12.89 539.9 539.9)" id="fc2f5ed2-9b97-4553-a90e-ba5317325e12" >
<circle style="stroke: rgb(0,0,0); stroke-opacity: 0; stroke-width: 0; stroke-dasharray: none; stroke-linecap: butt; stroke-dashoffset: 0; stroke-linejoin: miter; stroke-miterlimit: 4; fill: rgb(240,235,222); fill-rule: nonzero; opacity: 1;" vector-effect="non-scaling-stroke" cx="0" cy="0" r="35" />
</g>
<g transform="matrix(1 0 0 1 540 540)" >
<g style="" vector-effect="non-scaling-stroke" >
<g transform="matrix(1 0 0 1 -184.84 -28.38)" >
<path style="stroke: none; stroke-width: 1; stroke-dasharray: none; stroke-linecap: butt; stroke-dashoffset: 0; stroke-linejoin: miter; stroke-miterlimit: 4; fill: rgb(19,54,41); fill-rule: nonzero; opacity: 1;" vector-effect="non-scaling-stroke" transform=" translate(-215.27, -371.55)" d="M 131.685 352.096 C 131.319 328.91 138.859 306.291 153.063 287.962 L 298.861 433.76 C 280.484 447.873 257.897 455.402 234.727 455.138 C 207.433 455.025 181.289 444.133 161.989 424.833 C 142.69 405.534 131.797 379.39 131.685 352.096 Z" stroke-linecap="round" />
</g>
<g transform="matrix(1 0 0 1 185.45 -28.86)" >
<path style="stroke: none; stroke-width: 1; stroke-dasharray: none; stroke-linecap: butt; stroke-dashoffset: 0; stroke-linejoin: miter; stroke-miterlimit: 4; fill: rgb(19,54,41); fill-rule: nonzero; opacity: 1;" vector-effect="non-scaling-stroke" transform=" translate(-585.54, -371.07)" d="M 565.443 455.03 C 579.094 455.087 592.621 452.441 605.245 447.247 C 617.869 442.052 629.34 434.411 638.997 424.763 C 648.655 415.116 656.308 403.652 661.516 391.034 C 666.723 378.415 669.383 364.891 669.34 351.24 C 669.596 328.071 662.068 305.487 647.962 287.106 L 501.736 433.332 C 519.913 447.55 542.367 455.198 565.443 455.03 Z" stroke-linecap="round" />
</g>
<g transform="matrix(1 0 0 1 0 96.31)" >
<path style="stroke: none; stroke-width: 1; stroke-dasharray: none; stroke-linecap: butt; stroke-dashoffset: 0; stroke-linejoin: miter; stroke-miterlimit: 4; fill: rgb(19,54,41); fill-rule: nonzero; opacity: 1;" vector-effect="non-scaling-stroke" transform=" translate(-400.1, -496.24)" d="M 678.219 257.499 C 700.697 283.894 713.049 317.427 713.065 352.097 C 713.037 391.086 697.528 428.47 669.948 456.03 C 642.369 483.589 604.974 499.071 565.984 499.071 C 531.496 499.109 498.103 486.956 471.707 464.759 L 400.946 535.52 L 330.184 464.759 C 303.77 486.996 270.329 499.153 235.8 499.071 C 216.449 499.141 197.275 495.392 179.376 488.039 C 161.476 480.685 145.204 469.872 131.491 456.219 C 117.778 442.566 106.893 426.34 99.4623 408.473 C 92.0311 390.606 88.1987 371.448 88.1848 352.097 C 88.2124 317.587 100.356 284.183 122.497 257.713 L 89.4674 224.684 L 57.9353 192.616 C 19.9503 255.069 -0.0950739 326.78 0.000339029 399.877 C -0.0137127 452.416 10.3265 504.443 30.4292 552.985 C 50.532 601.526 80.0034 645.631 117.159 682.777 C 154.315 719.923 198.428 749.382 246.975 769.472 C 295.521 789.562 347.551 799.888 400.09 799.86 C 506.118 799.832 607.802 757.729 682.815 682.796 C 757.828 607.863 800.04 506.225 800.181 400.197 C 800.841 327.112 780.991 255.307 742.887 192.937 L 678.219 257.499 Z" stroke-linecap="round" />
</g>
<g transform="matrix(1 0 0 1 0 -162.9)" >
<path style="stroke: none; stroke-width: 1; stroke-dasharray: none; stroke-linecap: butt; stroke-dashoffset: 0; stroke-linejoin: miter; stroke-miterlimit: 4; fill: rgb(19,54,41); fill-rule: nonzero; opacity: 1;" vector-effect="non-scaling-stroke" transform=" translate(-400.09, -237.03)" d="M 689.873 123.993 C 652.563 84.7656 607.659 53.5429 557.896 32.2262 C 508.132 10.9095 454.551 -0.0550433 400.414 0.000207773 C 346.266 -0.0259924 292.677 10.9513 242.9 32.2658 C 193.123 53.5803 148.197 84.7874 110.848 123.993 C 101.121 134.682 91.6082 145.371 82.7363 156.808 L 400.093 474.058 L 717.45 156.488 C 709.071 144.991 699.854 134.13 689.873 123.993 L 689.873 123.993 Z M 400.414 399.984 L 154.566 154.136 C 186.709 121.65 225.008 95.8997 267.221 78.3905 C 309.434 60.8813 354.714 51.9648 400.414 52.1627 C 446.121 51.9109 491.418 60.8027 533.638 78.3151 C 575.859 95.8274 614.151 121.607 646.261 154.136 L 400.414 399.984 Z" stroke-linecap="round" />
</g>
</g>
</g>
<g transform="matrix(0 0 0 0 0 0)" >
<g style="" >
</g>
</g>
<g transform="matrix(0 0 0 0 0 0)" >
<g style="" >
</g>
</g>
<g transform="matrix(NaN NaN NaN NaN 0 0)" >
<g style="" >
</g>
</g>
<g transform="matrix(NaN NaN NaN NaN 0 0)" >
<g style="" >
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 5.2 KiB

View File

@ -1,72 +0,0 @@
import { strict as assert } from 'assert';
import { stripHexPrefix } from '../../../shared/modules/hexstring-utils';
import accountImporter from '.';
describe('Account Import Strategies', function () {
const privkey =
'0x4cfd3e90fc78b0f86bf7524722150bb8da9c60cd532564d7ff43f5716514f553';
const json =
'{"version":3,"id":"dbb54385-0a99-437f-83c0-647de9f244c3","address":"a7f92ce3fba24196cf6f4bd2e1eb3db282ba998c","Crypto":{"ciphertext":"bde13d9ade5c82df80281ca363320ce254a8a3a06535bbf6ffdeaf0726b1312c","cipherparams":{"iv":"fbf93718a57f26051b292f072f2e5b41"},"cipher":"aes-128-ctr","kdf":"scrypt","kdfparams":{"dklen":32,"salt":"7ffe00488319dec48e4c49a120ca49c6afbde9272854c64d9541c83fc6acdffe","n":8192,"r":8,"p":1},"mac":"2adfd9c4bc1cdac4c85bddfb31d9e21a684e0e050247a70c5698facf6b7d4681"}}';
describe('private key import', function () {
it('imports a private key and strips 0x prefix', async function () {
const importPrivKey = await accountImporter.importAccount('Private Key', [
privkey,
]);
assert.equal(importPrivKey, stripHexPrefix(privkey));
});
it('throws an error for empty string private key', async function () {
await assert.rejects(
async () => {
await accountImporter.importAccount('Private Key', ['']);
},
Error,
'no empty strings',
);
});
it('throws an error for undefined string private key', async function () {
await assert.rejects(async () => {
await accountImporter.importAccount('Private Key', [undefined]);
});
await assert.rejects(async () => {
await accountImporter.importAccount('Private Key', []);
});
});
it('throws an error for invalid private key', async function () {
await assert.rejects(async () => {
await accountImporter.importAccount('Private Key', ['popcorn']);
});
});
});
describe('JSON keystore import', function () {
it('fails when password is incorrect for keystore', async function () {
const wrongPassword = 'password2';
try {
await accountImporter.importAccount('JSON File', [json, wrongPassword]);
} catch (error) {
assert.equal(
error.message,
'Key derivation failed - possibly wrong passphrase',
);
}
});
it('imports json string and password to return a private key', async function () {
const fileContentsPassword = 'password1';
const importJson = await accountImporter.importAccount('JSON File', [
json,
fileContentsPassword,
]);
assert.equal(
importJson,
'0x5733876abe94146069ce8bcbabbde2677f2e35fa33e875e92041ed2ac87e5bc7',
);
});
});
});

View File

@ -1,75 +0,0 @@
import { isValidMnemonic } from '@ethersproject/hdnode';
import {
bufferToHex,
getBinarySize,
isValidPrivate,
toBuffer,
} from 'ethereumjs-util';
import Wallet from 'ethereumjs-wallet';
import importers from 'ethereumjs-wallet/thirdparty';
import log from 'loglevel';
import { stripHexPrefix } from '../../../shared/modules/hexstring-utils';
import { addHexPrefix } from '../lib/util';
const accountImporter = {
async importAccount(strategy, args) {
const importer = this.strategies[strategy];
const privateKeyHex = importer(...args);
return privateKeyHex;
},
strategies: {
'Private Key': (privateKey) => {
if (!privateKey) {
throw new Error('Cannot import an empty key.'); // It should never get here, because this should be stopped in the UI
}
// Check if the user has entered an SRP by mistake instead of a private key
if (isValidMnemonic(privateKey.trim())) {
throw new Error(`t('importAccountErrorIsSRP')`);
}
const trimmedPrivateKey = privateKey.replace(/\s+/gu, ''); // Remove all whitespace
const prefixedPrivateKey = addHexPrefix(trimmedPrivateKey);
let buffer;
try {
buffer = toBuffer(prefixedPrivateKey);
} catch (e) {
throw new Error(`t('importAccountErrorNotHexadecimal')`);
}
try {
if (
!isValidPrivate(buffer) ||
getBinarySize(prefixedPrivateKey) !== 64 + '0x'.length // Fixes issue #17719 -- isValidPrivate() will let a key of 63 hex digits through without complaining, this line ensures 64 hex digits + '0x' = 66 digits
) {
throw new Error(`t('importAccountErrorNotAValidPrivateKey')`);
}
} catch (e) {
throw new Error(`t('importAccountErrorNotAValidPrivateKey')`);
}
const strippedPrivateKey = stripHexPrefix(prefixedPrivateKey);
return strippedPrivateKey;
},
'JSON File': (input, password) => {
let wallet;
try {
wallet = importers.fromEtherWallet(input, password);
} catch (e) {
log.debug('Attempt to import as EtherWallet format failed, trying V3');
wallet = Wallet.fromV3(input, password, true);
}
return walletToPrivateKey(wallet);
},
},
};
function walletToPrivateKey(wallet) {
const privateKeyBuffer = wallet.getPrivateKey();
return bufferToHex(privateKeyBuffer);
}
export default accountImporter;

View File

@ -493,6 +493,9 @@ export function setupController(
getIpfsGateway: controller.preferencesController.getIpfsGateway.bind( getIpfsGateway: controller.preferencesController.getIpfsGateway.bind(
controller.preferencesController, controller.preferencesController,
), ),
getUseAddressBarEnsResolution: () =>
controller.preferencesController.store.getState()
.useAddressBarEnsResolution,
provider: controller.provider, provider: controller.provider,
}); });
@ -821,6 +824,13 @@ export function setupController(
}); });
} }
///: END:ONLY_INCLUDE_IN ///: END:ONLY_INCLUDE_IN
///: BEGIN:ONLY_INCLUDE_IN(snaps)
// Updates the snaps registry and check for newly blocked snaps to block if the user has at least one snap installed.
if (Object.keys(controller.snapController.state.snaps).length > 0) {
controller.snapController.updateBlockedSnaps();
}
///: END:ONLY_INCLUDE_IN
} }
// //

View File

@ -456,7 +456,6 @@ export default class AppStateController extends EventEmitter {
_acceptApproval() { _acceptApproval() {
if (!this._approvalRequestId) { if (!this._approvalRequestId) {
log.error('Attempted to accept missing unlock approval request');
return; return;
} }
try { try {
@ -465,7 +464,7 @@ export default class AppStateController extends EventEmitter {
this._approvalRequestId, this._approvalRequestId,
); );
} catch (error) { } catch (error) {
log.error('Failed to accept transaction approval request', error); log.error('Failed to unlock approval request', error);
} }
this._approvalRequestId = null; this._approvalRequestId = null;

View File

@ -1,10 +1,7 @@
import { ObservableStore } from '@metamask/obs-store'; import { ObservableStore } from '@metamask/obs-store';
import log from 'loglevel';
import { ORIGIN_METAMASK } from '../../../shared/constants/app'; import { ORIGIN_METAMASK } from '../../../shared/constants/app';
import AppStateController from './app-state'; import AppStateController from './app-state';
jest.mock('loglevel');
let appStateController, mockStore; let appStateController, mockStore;
describe('AppStateController', () => { describe('AppStateController', () => {
@ -147,52 +144,6 @@ describe('AppStateController', () => {
expect.any(String), expect.any(String),
); );
}); });
it('logs if rejecting approval request throws', async () => {
appStateController._approvalRequestId = 'mock-approval-request-id';
appStateController = new AppStateController({
addUnlockListener: jest.fn(),
isUnlocked: jest.fn(() => true),
onInactiveTimeout: jest.fn(),
showUnlockRequest: jest.fn(),
preferencesStore: {
subscribe: jest.fn(),
getState: jest.fn(() => ({
preferences: {
autoLockTimeLimit: 0,
},
})),
},
qrHardwareStore: {
subscribe: jest.fn(),
},
messenger: {
call: jest.fn(() => {
throw new Error('mock error');
}),
},
});
appStateController.handleUnlock();
expect(log.error).toHaveBeenCalledTimes(1);
expect(log.error).toHaveBeenCalledWith(
'Attempted to accept missing unlock approval request',
);
});
it('returns without call messenger if no approval request in pending', async () => {
const emitSpy = jest.spyOn(appStateController, 'emit');
appStateController.handleUnlock();
expect(emitSpy).toHaveBeenCalledTimes(0);
expect(appStateController.messagingSystem.call).toHaveBeenCalledTimes(0);
expect(log.error).toHaveBeenCalledTimes(1);
expect(log.error).toHaveBeenCalledWith(
'Attempted to accept missing unlock approval request',
);
});
}); });
describe('setDefaultHomeActiveTabName', () => { describe('setDefaultHomeActiveTabName', () => {

View File

@ -45,7 +45,10 @@ export type CoreMessage = AbstractMessage & {
}; };
export type StateMessage = Required< export type StateMessage = Required<
Omit<AbstractMessage, 'securityProviderResponse' | 'metadata' | 'error'> Omit<
AbstractMessage,
'securityAlertResponse' | 'securityProviderResponse' | 'metadata' | 'error'
>
>; >;
export type DecryptMessageControllerState = { export type DecryptMessageControllerState = {

View File

@ -225,6 +225,8 @@ describe('DetectTokensController', function () {
tokenListController, tokenListController,
onInfuraIsBlocked: sinon.stub(), onInfuraIsBlocked: sinon.stub(),
onInfuraIsUnblocked: sinon.stub(), onInfuraIsUnblocked: sinon.stub(),
networkConfigurations: {},
onAccountRemoved: sinon.stub(),
}); });
preferences.setAddresses([ preferences.setAddresses([
'0x7e57e2', '0x7e57e2',

View File

@ -19,7 +19,7 @@ const messageIdMock2 = '456';
const stateMock = { test: 123 }; const stateMock = { test: 123 };
const addressMock = '0xc38bf1ad06ef69f0c04e29dbeb4152b4175f0a8d'; const addressMock = '0xc38bf1ad06ef69f0c04e29dbeb4152b4175f0a8d';
const publicKeyMock = '32762347862378feb87123781623a='; const publicKeyMock = '32762347862378feb87123781623a=';
const keyringMock = { type: KeyringType.hdKeyTree }; const keyringTypeMock = KeyringType.hdKeyTree;
const messageParamsMock = { const messageParamsMock = {
from: addressMock, from: addressMock,
@ -73,11 +73,6 @@ const createEncryptionPublicKeyManagerMock = <T>() =>
}, },
} as any as jest.Mocked<T>); } as any as jest.Mocked<T>);
const createKeyringControllerMock = () => ({
getKeyringForAccount: jest.fn(),
getEncryptionPublicKey: jest.fn(),
});
describe('EncryptionPublicKeyController', () => { describe('EncryptionPublicKeyController', () => {
let encryptionPublicKeyController: EncryptionPublicKeyController; let encryptionPublicKeyController: EncryptionPublicKeyController;
@ -88,7 +83,8 @@ describe('EncryptionPublicKeyController', () => {
const encryptionPublicKeyManagerMock = const encryptionPublicKeyManagerMock =
createEncryptionPublicKeyManagerMock<EncryptionPublicKeyManager>(); createEncryptionPublicKeyManagerMock<EncryptionPublicKeyManager>();
const messengerMock = createMessengerMock(); const messengerMock = createMessengerMock();
const keyringControllerMock = createKeyringControllerMock(); const getEncryptionPublicKeyMock = jest.fn();
const getAccountKeyringTypeMock = jest.fn();
const getStateMock = jest.fn(); const getStateMock = jest.fn();
const metricsEventMock = jest.fn(); const metricsEventMock = jest.fn();
@ -101,7 +97,8 @@ describe('EncryptionPublicKeyController', () => {
encryptionPublicKeyController = new EncryptionPublicKeyController({ encryptionPublicKeyController = new EncryptionPublicKeyController({
messenger: messengerMock as any, messenger: messengerMock as any,
keyringController: keyringControllerMock as any, getEncryptionPublicKey: getEncryptionPublicKeyMock as any,
getAccountKeyringType: getAccountKeyringTypeMock as any,
getState: getStateMock as any, getState: getStateMock as any,
metricsEvent: metricsEventMock as any, metricsEvent: metricsEventMock as any,
} as EncryptionPublicKeyControllerOptions); } as EncryptionPublicKeyControllerOptions);
@ -203,9 +200,7 @@ describe('EncryptionPublicKeyController', () => {
])( ])(
'throws if keyring is not supported', 'throws if keyring is not supported',
async (keyringName, keyringType) => { async (keyringName, keyringType) => {
keyringControllerMock.getKeyringForAccount.mockResolvedValueOnce({ getAccountKeyringTypeMock.mockResolvedValueOnce(keyringType);
type: keyringType,
});
await expect( await expect(
encryptionPublicKeyController.newRequestEncryptionPublicKey( encryptionPublicKeyController.newRequestEncryptionPublicKey(
@ -219,9 +214,7 @@ describe('EncryptionPublicKeyController', () => {
); );
it('adds message to message manager', async () => { it('adds message to message manager', async () => {
keyringControllerMock.getKeyringForAccount.mockResolvedValueOnce( getAccountKeyringTypeMock.mockResolvedValueOnce(keyringTypeMock);
keyringMock,
);
await encryptionPublicKeyController.newRequestEncryptionPublicKey( await encryptionPublicKeyController.newRequestEncryptionPublicKey(
addressMock, addressMock,
@ -243,9 +236,7 @@ describe('EncryptionPublicKeyController', () => {
from: messageParamsMock.data, from: messageParamsMock.data,
}); });
keyringControllerMock.getEncryptionPublicKey.mockResolvedValueOnce( getEncryptionPublicKeyMock.mockResolvedValueOnce(publicKeyMock);
publicKeyMock,
);
}); });
it('approves message and signs', async () => { it('approves message and signs', async () => {
@ -253,10 +244,8 @@ describe('EncryptionPublicKeyController', () => {
messageParamsMock, messageParamsMock,
); );
expect( expect(getEncryptionPublicKeyMock).toHaveBeenCalledTimes(1);
keyringControllerMock.getEncryptionPublicKey, expect(getEncryptionPublicKeyMock).toHaveBeenCalledWith(
).toHaveBeenCalledTimes(1);
expect(keyringControllerMock.getEncryptionPublicKey).toHaveBeenCalledWith(
messageParamsMock.data, messageParamsMock.data,
); );
@ -294,10 +283,8 @@ describe('EncryptionPublicKeyController', () => {
}); });
it('rejects message on error', async () => { it('rejects message on error', async () => {
keyringControllerMock.getEncryptionPublicKey.mockReset(); getEncryptionPublicKeyMock.mockReset();
keyringControllerMock.getEncryptionPublicKey.mockRejectedValue( getEncryptionPublicKeyMock.mockRejectedValue(new Error('Test Error'));
new Error('Test Error'),
);
await expect( await expect(
encryptionPublicKeyController.encryptionPublicKey(messageParamsMock), encryptionPublicKeyController.encryptionPublicKey(messageParamsMock),
@ -312,10 +299,8 @@ describe('EncryptionPublicKeyController', () => {
}); });
it('rejects approval on error', async () => { it('rejects approval on error', async () => {
keyringControllerMock.getEncryptionPublicKey.mockReset(); getEncryptionPublicKeyMock.mockReset();
keyringControllerMock.getEncryptionPublicKey.mockRejectedValue( getEncryptionPublicKeyMock.mockRejectedValue(new Error('Test Error'));
new Error('Test Error'),
);
await expect( await expect(
encryptionPublicKeyController.encryptionPublicKey(messageParamsMock), encryptionPublicKeyController.encryptionPublicKey(messageParamsMock),

View File

@ -4,7 +4,6 @@ import {
EncryptionPublicKeyManager, EncryptionPublicKeyManager,
EncryptionPublicKeyParamsMetamask, EncryptionPublicKeyParamsMetamask,
} from '@metamask/message-manager'; } from '@metamask/message-manager';
import { KeyringController } from '@metamask/eth-keyring-controller';
import { import {
AbstractMessageManager, AbstractMessageManager,
AbstractMessage, AbstractMessage,
@ -45,7 +44,10 @@ export type CoreMessage = AbstractMessage & {
}; };
export type StateMessage = Required< export type StateMessage = Required<
Omit<AbstractMessage, 'securityProviderResponse' | 'metadata' | 'error'> Omit<
AbstractMessage,
'securityAlertResponse' | 'securityProviderResponse' | 'metadata' | 'error'
>
> & { > & {
msgParams: string; msgParams: string;
}; };
@ -83,7 +85,8 @@ export type EncryptionPublicKeyControllerMessenger =
export type EncryptionPublicKeyControllerOptions = { export type EncryptionPublicKeyControllerOptions = {
messenger: EncryptionPublicKeyControllerMessenger; messenger: EncryptionPublicKeyControllerMessenger;
keyringController: KeyringController; getEncryptionPublicKey: (address: string) => Promise<string>;
getAccountKeyringType: (account: string) => Promise<string>;
getState: () => any; getState: () => any;
metricsEvent: (payload: any, options?: any) => void; metricsEvent: (payload: any, options?: any) => void;
}; };
@ -98,7 +101,9 @@ export default class EncryptionPublicKeyController extends BaseControllerV2<
> { > {
hub: EventEmitter; hub: EventEmitter;
private _keyringController: KeyringController; private _getEncryptionPublicKey: (address: string) => Promise<string>;
private _getAccountKeyringType: (account: string) => Promise<string>;
private _getState: () => any; private _getState: () => any;
@ -111,13 +116,15 @@ export default class EncryptionPublicKeyController extends BaseControllerV2<
* *
* @param options - The controller options. * @param options - The controller options.
* @param options.messenger - The restricted controller messenger for the EncryptionPublicKey controller. * @param options.messenger - The restricted controller messenger for the EncryptionPublicKey controller.
* @param options.keyringController - An instance of a keyring controller used to extract the encryption public key. * @param options.getEncryptionPublicKey - Callback to get the keyring encryption public key.
* @param options.getAccountKeyringType - Callback to get the keyring type.
* @param options.getState - Callback to retrieve all user state. * @param options.getState - Callback to retrieve all user state.
* @param options.metricsEvent - A function for emitting a metric event. * @param options.metricsEvent - A function for emitting a metric event.
*/ */
constructor({ constructor({
messenger, messenger,
keyringController, getEncryptionPublicKey,
getAccountKeyringType,
getState, getState,
metricsEvent, metricsEvent,
}: EncryptionPublicKeyControllerOptions) { }: EncryptionPublicKeyControllerOptions) {
@ -128,7 +135,8 @@ export default class EncryptionPublicKeyController extends BaseControllerV2<
state: getDefaultState(), state: getDefaultState(),
}); });
this._keyringController = keyringController; this._getEncryptionPublicKey = getEncryptionPublicKey;
this._getAccountKeyringType = getAccountKeyringType;
this._getState = getState; this._getState = getState;
this._metricsEvent = metricsEvent; this._metricsEvent = metricsEvent;
@ -186,9 +194,9 @@ export default class EncryptionPublicKeyController extends BaseControllerV2<
address: string, address: string,
req: OriginalRequest, req: OriginalRequest,
): Promise<string> { ): Promise<string> {
const keyring = await this._keyringController.getKeyringForAccount(address); const keyringType = await this._getAccountKeyringType(address);
switch (keyring.type) { switch (keyringType) {
case KeyringType.ledger: { case KeyringType.ledger: {
return new Promise((_, reject) => { return new Promise((_, reject) => {
reject( reject(
@ -244,7 +252,7 @@ export default class EncryptionPublicKeyController extends BaseControllerV2<
await this._encryptionPublicKeyManager.approveMessage(msgParams); await this._encryptionPublicKeyManager.approveMessage(msgParams);
// EncryptionPublicKey message // EncryptionPublicKey message
const publicKey = await this._keyringController.getEncryptionPublicKey( const publicKey = await this._getEncryptionPublicKey(
cleanMessageParams.from, cleanMessageParams.from,
); );

Some files were not shown because too many files have changed in this diff Show More