Ghost/test/unit
Hannah Wolfe 9614d71e1f Moved theme i18n to new theme engine service
refs: bf0823c9a2

- continuing the work of splitting up the theme service into logical components

- This one is a little more involved, as the i18n initialisation was unnecessarily spread over several locations.
- I moved it into being part of the ActiveTheme class and called in the constructor, meaning we don't need the services.theme.activated event anymore as the constructor is called in the same cases.
- Also moved the event listener for locales into the bridge, as I don't want that inside of theme-engine, and we don't want circular dependencies. We'll figure out a wayto refactor this soon too.
2021-04-26 12:29:55 +01:00
..
adapters Fixed "no-shadow" eslint warning in tests 2020-10-19 17:45:26 +13:00
api 🐛 Fixed __GHOST_URL__ appearing in sitemaps (#12787) 2021-03-18 17:16:37 +00:00
apps Moved active theme to new theme engine service 2021-04-23 15:28:50 +01:00
data Updated bson-objectid calls to match API change 2021-04-21 16:23:52 +01:00
helpers Moved theme i18n to new theme engine service 2021-04-26 12:29:55 +01:00
lib 🐛 Fixed images not having srcset or sizes attributes (#12800) 2021-03-20 22:17:43 +00:00
models 🐛 Fixed performance regression introduced in 4.1.0 (#12807) 2021-03-23 09:11:24 +00:00
server Moved notify out of GhostServer 2021-02-19 20:22:56 +00:00
services Moved theme middleware to new theme engine service 2021-04-24 20:01:09 +01:00
shared/config Fixed config test that failed to detect changes 2021-03-25 13:12:43 +13:00
web Moved getApiVersion to a new shared "bridge" class 2021-04-24 09:55:48 +01:00