80 Commits

Author SHA1 Message Date
Nils Maier
07a3ec3a7b Use correct action in popup 2019-08-27 04:18:51 +02:00
Nils Maier
0f15a4a068 Add translation guide link 2019-08-27 04:13:02 +02:00
Nils Maier
c1e5f63935 Typos 2019-08-27 03:34:15 +02:00
Nils Maier
fe61f6176c Load custom translations
Part of #14
2019-08-27 03:02:17 +02:00
Nils Maier
256c091f15 popup: handle right click too 2019-08-26 20:40:20 +02:00
Nils Maier
544b7d522c less of any 2019-08-26 19:50:06 +02:00
Nils Maier
116d5b9b00 Fix dialogs 2019-08-26 16:12:15 +02:00
Nils Maier
8235af22db Implement own locale loader
Why?
* Because i18n sucks multi-browser, especially on Chrome.
* What's more, this will allow overlaying "incomplete" locales with
  missing strings over the base locale and get a semi-translated one,
  which probably is better than nothing.
* Additionally we kinda need that implementation anyway for node-based
  tests.
* Also, while not currently implemented, it could allow (hot) reloading
  of locales, or loading external ones, which would help translators,
  or providing an option to the user to choose a locale.
* And finally, not calling i18n will avoid the "context switch" into
  browserland.

Some implementation details:
* Before code can use a locale, it has to be loaded. Sadly sync loading
  is not really supported. So `await locale` or `await localize`.
* Background force reloads locales right now, and caches them in
  localStorage. Windows will look into localStorage for that cache.
* The locale loader will not verify locales other than some rudimentary
  checks. It is assumed that shipped locales where verified before
  check-in.
2019-08-26 02:37:27 +02:00
Nils Maier
2bfb3d5363 Always show status in tip 2019-08-25 23:35:07 +02:00
Nils Maier
7dc4dd9da6 Better error messages (somewhat) 2019-08-25 23:30:05 +02:00
Nils Maier
c7c111e1c0 Option to hide contexts
Closes #4
2019-08-25 23:22:47 +02:00
Nils Maier
801eaa819b Egalize menu and popup 2019-08-25 23:01:36 +02:00
Nils Maier
a89acad0c9 Proper types for localize and $ 2019-08-25 22:30:07 +02:00
Nils Maier
70c7e0b0f3 Avoid update races 2019-08-25 21:31:38 +02:00
Nils Maier
af8b05d20c Allow the browserAction button to be turbo again
Closes #13
2019-08-25 21:31:38 +02:00
Nils Maier
d98c4e318a Clear selection errors on changes
Closes #12
2019-08-25 21:07:12 +02:00
Nils Maier
ab2b6e40af Add License to popup 2019-08-25 14:31:37 +02:00
Nils Maier
112d37deb0 Reduce load size of popup 2019-08-25 14:27:54 +02:00
Nils Maier
2f282d3a4b Implement All Tabs actions
Closes #3
2019-08-24 07:30:34 +02:00
Nils Maier
a9f83071dc Cleanup popup 2019-08-24 07:23:56 +02:00
Nils Maier
545d78ad61 Implement a popup menu for the browserAction
Closes #10
2019-08-24 06:28:18 +02:00
Nils Maier
6b07fa2d08 Handle missing-on-init 2019-08-21 16:15:31 +02:00
Nils Maier
bd1b471af2 always save add-paused 2019-08-21 14:30:27 +02:00
Nils Maier
7bb52bf869 avoid updating past state changes 2019-08-21 00:16:07 +02:00
Nils Maier
1513f0b022 Fix some typescript issues 2019-08-21 00:16:07 +02:00
Nils Maier
6c197d8353 Update sizes more often 2019-08-21 00:06:04 +02:00
Nils Maier
64ad9a955f auto prefix with https:// 2019-08-20 23:08:05 +02:00
Nils Maier
aabaeed585 avoid having the tooltip go off-screen 2019-08-20 21:04:02 +02:00
Nils Maier
bf39245874 use the correct Date property 2019-08-20 17:47:27 +02:00
Nils Maier
c1e0d7f531 Initial squashed commit 2019-08-20 16:41:37 +02:00