lbry-desktop/ui
infinite-persistence cef9ade10e Render whole app on language change
## Issues
1. We were manually adding `selectLanguage(state)` as a prop to components used in Settings Page to trigger a render. Flaws:
    - Unclear that the unused prop is just to trigger a render.
    - Manually adding on a case-by-case basis will break over time (missed component).

2. The translation file fetching is delayed (at least in Odysee) and also takes time, so the GUI will end up having mixed strings on F5, depending on when the fetch completed.

## Approach
Make the app wrapper have a key that's tied to the language and translation data, so the entire app renders when language changes. Seems like a common design in most apps.

## Ticket
odysee 921
2022-03-07 09:40:09 -05:00
..
component Render whole app on language change 2022-03-07 09:40:09 -05:00
constants finish view data hosting 2022-02-25 17:52:35 -05:00
effects disable keycode back in text area 2022-02-06 20:11:59 -05:00
modal Display release notes and version for Linux installations using .deb packages. 2022-03-04 10:58:19 -05:00
page Render whole app on language change 2022-03-07 09:40:09 -05:00
redux Fix small typo in actions/app.js 2022-03-04 10:58:19 -05:00
scss reverts electron updates testing 2022-02-23 12:36:55 -05:00
util Add disk space functions for windows and mac. 2022-03-01 11:09:50 -05:00
analytics.js cleanup 2022-02-06 22:43:05 -05:00
app.js refactor lbrytv web server 2019-11-11 13:27:29 -05:00
comments.js Comment Moderation - time based bans 2021-09-03 07:17:56 +08:00
i18n.js cut SIMPLE_SITE 2021-10-20 17:05:37 -04:00
index.jsx Display release notes and version for Linux installations using .deb packages. 2022-03-04 10:58:19 -05:00
lbry.js integrate all the things 2021-10-15 23:49:41 -04:00
logWarningConsoleMessage.js new lbc icon 2020-09-29 17:12:32 -04:00
native.js working 2020-12-16 10:52:22 -05:00
reducers.js remove lbryinc web, update sitename, etc 2021-10-21 21:20:59 -04:00
rewards.js integrate all the things 2021-10-15 23:49:41 -04:00
store.js integrate all the things 2021-10-15 23:49:41 -04:00