mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
92e6338b78
* 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 |
||
---|---|---|
.. | ||
common.util.js | ||
common.util.test.js | ||
confirm-tx.util.js | ||
confirm-tx.util.test.js | ||
conversion-util.js | ||
conversion-util.test.js | ||
conversions.util.js | ||
fetch-with-cache.js | ||
fetch-with-cache.test.js | ||
formatters.js | ||
gas-time-estimates.util.js | ||
i18n-helper.js | ||
i18n-helper.test.js | ||
metametrics.util.js | ||
switch-direction.js | ||
token-util.js | ||
transactions.util.js | ||
transactions.util.test.js | ||
util.js | ||
util.test.js |