0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/test
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
..
api-acceptance Updated bson-objectid calls to match API change 2021-04-21 16:23:52 +01:00
frontend-acceptance 🐛 Fixed __GHOST_URL__ appearing in sitemaps (#12787) 2021-03-18 17:16:37 +00:00
regression Moved active theme to new theme engine service 2021-04-23 15:28:50 +01:00
unit Moved theme i18n to new theme engine service 2021-04-26 12:29:55 +01:00
utils Updated bson-objectid calls to match API change 2021-04-21 16:23:52 +01:00
.eslintignore
.eslintrc.json Enabled error for "no-shadow" eslint rule 2020-10-27 11:27:37 +13:00
.jshintrc