1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/app
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
..
_locales Translation helper: substitute react components and component wrapping substrings (#8129) 2020-03-11 12:30:05 -02:30
fonts
images Connect distinct accounts per site (#7004) 2019-12-03 13:39:25 -04:00
manifest Build system refactor (#8140) 2020-03-09 08:55:02 +08:00
scripts Build system refactor (#8140) 2020-03-09 08:55:02 +08:00
vendor/trezor
home.html
loading.html
notification.html
phishing.html Updating deprecated Etherscam link (#7464) 2020-02-03 16:45:53 -03:30
popup.html
trezor-usb-permissions.html
unsupport.html