Commit graph

20 commits

Author SHA1 Message Date
seanyesmunt
951745d105 Revert "Remove the need to call 'app.getLocale()'"
This reverts commit 39b662265c.
2021-04-06 15:42:27 -04:00
infinite-persistence
45c158f5b4 Remove the need to call 'app.getLocale()'
The removal is primarily to ease the upcoming language refactoring, but it was also never hit anyway, because if the `storedLanguage` is indeed null or undefined (like in the case of a fresh install), the `then` block never runs.

Fortunately, we do still get the effect of "falling back to OS's language", because `selectLanguage` will call `getDefaultLanguage` if `language` is null. While the `language` localStorage remains null, the rest of the code still gets the native language via `selectLanguage`.

Aside: `getDefaultLanguage` uses `navigator.language`. It does seem to grab my OS's locale correctly.
2021-04-04 22:54:33 -04:00
zeppi
33564b8620 fix lang constant 2021-01-18 14:19:08 -05:00
zeppi
6fb345dbbc zh languages
bugfix

bugfix3

publish

add zh back for homepage selector

test

revert i18n file

DRY publish language
2021-01-11 10:30:26 -05:00
zeppi
1b3bc0f4e3 support consolidating txos
improvements

actual values

bump

bump

devtools revert

bugfix

bump
2021-01-05 12:38:55 -05:00
jessop
e61f8551a3 upgrade electron
disable cors switch

electron version test

v8

wip

v9

bump

nativeImage

clean
2020-10-07 10:14:54 -04:00
Franco Montenegro
cbfed97853 Add app closing behavior setting 2020-08-20 01:16:11 -04:00
infiinte-persistence
ad0d96328b Add ability to support language subsets, with only CT and CS enabled for now.
CT - Chinese Traditional
CS - Chinese Simplified

Note that if English subsets like en-GB is enabled in the future, the default 'en' value used throughout the code (including in redux.git) needs to be changed to 'en-US'.
2020-07-08 14:25:14 -04:00
infiinte-persistence
17d0f00a2e Fix dev base-url being used when generating the hover URL 2020-06-09 09:41:08 -04:00
infiinte-persistence
ae82b3fc05 Create transient "status bar" to display the hover URL.
Implementation:
- <StatusBar> listens to 'update-target-url' and will show/hide itself as needed.
- Handled the display of "lbry://" protocol.

CSS:
- The colors chosen should work on both Light and Dark Theme.
- The delay is necessary to avoid blinkies when the mouse is moving around.

#4259
2020-06-04 10:31:06 -04:00
Sean Yesmunt
662cf9c906 fix tray icons, download icons, and fix embed route 2019-12-20 11:43:26 -05:00
Sean Yesmunt
03acee9ed2 add comment 2019-11-18 15:00:00 -05:00
Jessop
8cb4208282 autoLaunch on startup 2019-11-18 15:00:00 -05:00
Jeremy Kauffman
751b86d05d finished?! 2019-11-13 09:53:01 -05:00
Jeremy Kauffman
8a2393cb67 proper default languages 2019-11-13 09:53:01 -05:00
peterjgrainger
1d053c5302 load translations before the application starts 2019-11-13 09:53:01 -05:00
peterjgrainger
ef1f6e9836 put supported languages in one constants file 2019-11-13 09:53:01 -05:00
peterjgrainger
4a0855e074 Used OS language to default localization 2019-11-13 09:53:01 -05:00
Sean Yesmunt
ab2ee079e2 fix scripts 2019-11-11 13:27:29 -05:00
Sean Yesmunt
6ad31a3ce9 refactor lbrytv web server 2019-11-11 13:27:29 -05:00
Renamed from src/platforms/electron/createWindow.js (Browse further)