mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
2b6aff535e
The "i18n-provider" module has been replaced by a new `i18n.js` module in the `contexts` directory which provides the `t` function via the new React Context API. The legacy context API is still used throughout the codebase, so a legacy context provider has also been added as a shim until we migrate away from the old API. The migration does require changing every single place where the `t` function is used, so it is a non-trivial amount of work. This shim allows us to tackle it one piece at a time without breaking anything. This was placed in a new `contexts` directory because it didn't seem to belong in any existing categories. It certainly isn't a higher-order component. |
||
---|---|---|
.. | ||
add-token | ||
confirm-add-suggested-token | ||
confirm-add-token | ||
confirm-approve | ||
confirm-decrypt-message | ||
confirm-deploy-contract | ||
confirm-encryption-public-key | ||
confirm-send-ether | ||
confirm-send-token | ||
confirm-token-transaction-base | ||
confirm-transaction | ||
confirm-transaction-base | ||
confirm-transaction-switch | ||
connected-sites | ||
create-account | ||
error | ||
first-time-flow | ||
home | ||
keychains | ||
lock | ||
mobile-sync | ||
permissions-connect | ||
routes | ||
send | ||
settings | ||
unlock-page | ||
index.js | ||
index.scss |