1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-24 11:01:41 +01:00
metamask-extension/ui/app/pages
Mark Stacey 624523168f
Remove fallback for missing localized messages (#8212)
The translation helper function we use everywhere (`t`) would fallback
to the message `[${key}]` for any key not found in the set of localized
messages. Instead it how returns `undefined` in that case.

`[${key}]` isn't something you'd typically want to show to users, so
this fallback wasn't overly useful in practice. At best it served to
hide errors.

The falsey return value in the case where the message is missing makes
it easier to implement a fallback for that case. Such a fallback is
used in the `confirm-transaction-base` component, to restore the
fallback behavior accidentally changed in #8211
2020-03-23 11:54:57 -03:00
..
add-token Enable arrow-parens ESLint rule 2020-02-15 17:04:21 -03:30
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 Enable arrow-parens ESLint rule 2020-02-15 17:04:21 -03:30
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 Remove fallback for missing localized messages (#8212) 2020-03-23 11:54:57 -03:00
confirm-transaction-switch Implementation encrypt/decrypt feature (#7831) 2020-02-19 14:24:16 -04:00
connected-sites Connect distinct accounts per site (#7004) 2019-12-03 09:35:56 -08:00
create-account Remove recompose (#8097) 2020-02-24 19:28:26 -03:30
error Add top-level error page (#7889) 2020-01-24 17:11:02 -04:00
first-time-flow Translation helper: substitute react components and component wrapping substrings (#8129) 2020-03-11 12:30:05 -02:30
home Display nothing during confirm page load (#8207) 2020-03-17 18:11:44 -03:00
keychains Remove faux <header> elements (#8131) 2020-02-27 18:00:20 -04:00
lock Remove recompose (#8097) 2020-02-24 19:28:26 -03:30
mobile-sync Clear sync timeout on unmount (#8199) 2020-03-16 19:33:43 -04:00
permissions-connect Change permissions connect screen to use browser routing (#8072) 2020-02-27 11:20:05 -04:00
routes LoginPerSite: Support multiple accounts without automatic switching (#8079) 2020-03-06 13:34:56 -08:00
send Remove unused parameters (#8216) 2020-03-19 14:32:38 -03:00
settings Use new Copy icon (#8190) 2020-03-16 09:44:02 -04:00
unlock-page Remove recompose (#8097) 2020-02-24 19:28:26 -03:30
index.js Add top-level error page (#7889) 2020-01-24 17:11:02 -04:00
index.scss Extract style for Home component into separate module (#8139) 2020-02-28 16:27:22 -04:00