1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/ui/app/pages
Dan J Miller 92e6338b78
Translation helper: substitute react components and component wrapping substrings (#8129)
* Update i18n-helper to allow substitutions of react components and wrapping of translation substrings

* Simplify code in i18n-helper.js related to substitutions, including react substitutions.

* Remove wrapper support from i18n in favour of using translations in substitutions.

* Fix i18n-helper substitution logic: ensure correct index of substitution is applied

* Throw error if there are not enough substitutions for a translation phrase

* Adds unit tests for now i18n-helper substitution functionality

* Fix grammar, react element line spacing and test layout+readability in i18n-helper.test.js
2020-03-11 12:30:05 -02:30
..
add-token
confirm-add-suggested-token Remove faux <header> elements (#8131) 2020-02-27 18:00:20 -04:00
confirm-add-token Remove faux <header> elements (#8131) 2020-02-27 18:00:20 -04:00
confirm-approve LoginPerSite: Support multiple accounts without automatic switching (#8079) 2020-03-06 13:34:56 -08:00
confirm-decrypt-message LoginPerSite: Support multiple accounts without automatic switching (#8079) 2020-03-06 13:34:56 -08:00
confirm-deploy-contract
confirm-encryption-public-key LoginPerSite: Support multiple accounts without automatic switching (#8079) 2020-03-06 13:34:56 -08:00
confirm-send-ether LoginPerSite: Support multiple accounts without automatic switching (#8079) 2020-03-06 13:34:56 -08:00
confirm-send-token LoginPerSite: Support multiple accounts without automatic switching (#8079) 2020-03-06 13:34:56 -08:00
confirm-token-transaction-base LoginPerSite: Support multiple accounts without automatic switching (#8079) 2020-03-06 13:34:56 -08:00
confirm-transaction LoginPerSite: Support multiple accounts without automatic switching (#8079) 2020-03-06 13:34:56 -08:00
confirm-transaction-base
confirm-transaction-switch
connected-sites
create-account
error
first-time-flow Translation helper: substitute react components and component wrapping substrings (#8129) 2020-03-11 12:30:05 -02:30
home Consolidate Home UI (#8141) 2020-02-28 17:46:01 -04:00
keychains Remove faux <header> elements (#8131) 2020-02-27 18:00:20 -04:00
lock
mobile-sync
permissions-connect
routes LoginPerSite: Support multiple accounts without automatic switching (#8079) 2020-03-06 13:34:56 -08:00
send LoginPerSite: Support multiple accounts without automatic switching (#8079) 2020-03-06 13:34:56 -08:00
settings Use consistent variable name for classnames import (#8143) 2020-03-01 06:14:16 -04:00
unlock-page
index.js
index.scss Extract style for Home component into separate module (#8139) 2020-02-28 16:27:22 -04:00