147 Commits

Author SHA1 Message Date
Nils Maier
98ebb160f9 Silence a console.log 2019-08-29 19:37:09 +02:00
Nils Maier
d1cc406f05 select: frontend/backend mappings were out of sync
Closes #27
2019-08-29 19:36:06 +02:00
dewuer
687b6e1aa9 pl locale
Closes #19
2019-08-29 09:52:26 +02:00
aliron19
c960d48b72 es-ES locale
Closes #26
2019-08-29 08:24:11 +02:00
Nils Maier
c8c7506efc Properly translate Filters heading
Reported in #26
2019-08-29 08:14:22 +02:00
Nils Maier
91edcee28c FIx filters message names 2019-08-29 08:14:22 +02:00
Nils Maier
a425a786ef Do not log "custom" 2019-08-29 08:14:22 +02:00
Nils Maier
f023351acc
Update Readme.md 2019-08-28 18:39:44 +02:00
Nils Maier
c8610eee29 Add some additional file exts to the def filters 2019-08-28 17:59:29 +02:00
BigBaguette
f7a70ec2ea Add fr-FR locale 2019-08-28 17:16:34 +02:00
Nils Maier
69d8ffe8a5 Minor typos 2019-08-28 05:52:32 +02:00
Nils Maier
71240ec1e8
More typos 2019-08-28 05:45:06 +02:00
Nils Maier
a6f3c7a647
Some typos 2019-08-28 05:41:41 +02:00
Nils Maier
eab9631a11 Fix typo 2019-08-28 04:10:24 +02:00
Nils Maier
9e29db911c Update dependencies 2019-08-27 19:37:55 +02:00
Nils Maier
8d1040115a
Update information about translations 2019-08-27 19:32:11 +02:00
Nils Maier
3551545eae add DE locale 2019-08-27 19:12:36 +02:00
Nils Maier
01001dc7b2 Add missing i18n and fix some typos 2019-08-27 18:53:31 +02:00
Nils Maier
b4e6ab80d2 Add locale descriptions 2019-08-27 16:43:49 +02:00
Nils Maier
d0f6c4f7f3 Version 4.0.3 v4.0.3 2019-08-27 04:49:37 +02:00
Nils Maier
5b05d52886 Remove url hashes 2019-08-27 04:49:37 +02:00
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
6e4a338789
Add bits about translations 2019-08-27 03:26:33 +02:00
Nils Maier
37a97b73b3
Translations info 2019-08-27 03:23:44 +02:00
Nils Maier
fe61f6176c Load custom translations
Part of #14
2019-08-27 03:02:17 +02:00
Nils Maier
48bde9cfdb Create contextual menus first 2019-08-26 20:43:34 +02:00
Nils Maier
256c091f15 popup: handle right click too 2019-08-26 20:40:20 +02:00
Nils Maier
b4ce2d1d75 Drop unused icons 2019-08-26 19:54:57 +02:00
Nils Maier
29fd59c8fd Increase recent lists to 15
Because why not?!
Also closes #15
2019-08-26 19:51:30 +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
976c57c043 i18n: rely less on exceptions 2019-08-26 02:57:06 +02:00
Nils Maier
d00b25cbe7 Add language and language_code to locales 2019-08-26 02:47:53 +02:00
Nils Maier
572bab27a0 menu handlers are not necessary promises 2019-08-26 02:40:54 +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
a9a811d96b Oops 2019-08-25 23:14:54 +02:00
Nils Maier
801eaa819b Egalize menu and popup 2019-08-25 23:01:36 +02:00
Nils Maier
d6539c5f96 Add .custom to newly created filters too 2019-08-25 22:31:20 +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
176060183e Select the proper turbo list 2019-08-25 20:55:54 +02:00
Nils Maier
26cd8e8a00 Actually store the last-type 2019-08-25 20:55:44 +02:00
Nils Maier
a9df98c2f6 Overhault fast filter matching
Closes #11
2019-08-25 20:55:26 +02:00