mirror of
https://github.com/MichMich/MagicMirror.git
synced 2026-07-21 10:16:42 -07:00
ed95826d19
Another step towards ES modules: this converts `Translator` to a proper module and imports it where needed, instead of relying on it being globally available. The goal is to gradually get rid of the old global-script style in the core. It makes dependencies explicit, reduces hidden coupling and keeps the codebase easier to maintain going forward. The code change is tiny - the bigger and harder part was adapting the tests to the new loading behavior.