Whymarrh Whitby
|
a58e549c3f
|
Skip null and undefined keys when translating via context (#6543)
* i18n: Don't translate null or undefined keys
* Add JSDoc for I18nProvider#t context fn
|
6 years ago |
Whymarrh Whitby
|
12cfe8e543
|
Fix binding of this for I18nProvider#tOrKey
|
6 years ago |
Chi Kei Chan
|
31175625b4
|
Folder restructure (#6304)
* Remove ui/app/keychains/
* Remove ui/app/img/ (unused images)
* Move conversion-util to helpers/utils/
* Move token-util to helpers/utils/
* Move /helpers/*.js inside /helpers/utils/
* Move util tests inside /helpers/utils/
* Renameand move confirm-transaction/util.js to helpers/utils/
* Move higher-order-components to helpers/higher-order-components/
* Move infura-conversion.json to helpers/constants/
* Move all utility functions to helpers/utils/
* Move pages directory to top-level
* Move all constants to helpers/constants/
* Move metametrics inside helpers/
* Move app and root inside pages/
* Move routes inside helpers/
* Re-organize ducks/
* Move reducers to ducks/
* Move selectors inside selectors/
* Move test out of test folder
* Move action, reducer, store inside store/
* Move ui components inside ui/
* Move UI components inside ui/
* Move connected components inside components/app/
* Move i18n-helper inside helpers/
* Fix unit tests
* Fix unit test
* Move pages components
* Rename routes component
* Move reducers to ducks/index
* Fix bad path in unit test
|
6 years ago |
Alexander Tseung
|
01f00a9ca6
|
Add tOrKey function to I18nProvider
|
6 years ago |
Alexander Tseung
|
5ee40675b9
|
Refactor transactions list views. Add redesign components
|
6 years ago |
Whymarrh Whitby
|
94489b544a
|
Fallback to English and then the key for I18nProvider#t
|
6 years ago |
Dan
|
7c49009854
|
Unit tests for containers, utils and selectors in send_/
|
7 years ago |
Alexander Tseung
|
92f8157dfe
|
Add withRouter to I18nProvider component
|
7 years ago |
Dan
|
ad603da2e7
|
Stopping wrapping provider children in div; stop wrapping old-ui in provider.
|
7 years ago |
Dan
|
0a711f0de0
|
Removes t from props via metamask-connect and instead places it on context via a provider.
|
7 years ago |