ThijmenDam / BarTranslate

🚀 BarTranslate, a handy menu bar translator widget for macOS.
https://thijmendam.github.io/BarTranslate/
GNU General Public License v3.0
154 stars 6 forks source link

Host injected CSS externally instead of in the app #20

Closed ThijmenDam closed 1 week ago

ThijmenDam commented 1 year ago

Currently the injected CSS (i.e. the CSS to adapt the Google / DeepL translate page to suit the small window) is embedded in the source code of BarTranslate. This means that whenever Google or DeepL updates their translate page layout, users have to install a new version of BarTranslate to get the updated CSS. This problem can be circumvented if the injected CSS is hosted elsewhere, so that I (or other contributors) can adapt this CSS on the fly.

ThijmenDam commented 1 week ago

Implemented in #46. Will create a release somewhere next week.