Ghost/core/frontend/services/themes
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
..
activate.js Moved theme i18n to new theme engine service 2021-04-26 12:29:55 +01:00
index.js Moved theme i18n to new theme engine service 2021-04-26 12:29:55 +01:00
list.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
loader.js Refactored package-json lib into a class 2020-11-25 09:19:35 +00:00
storage.js Fixed fs error during theme install deleting active theme (#12688) 2021-02-23 08:49:48 +00:00
ThemeStorage.js Extracted core/server/lib/security to @tryghost/security package 2020-08-11 14:06:50 +01:00
to-json.js Moved active theme to new theme engine service 2021-04-23 15:28:50 +01:00
validate.js Switched frontend i18n requires to go through proxy 2020-11-26 14:00:28 +00:00