0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00
ghost/core/shared
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
..
config Added default API version to config 2021-04-21 14:57:07 +01:00
bridge.js Moved theme i18n to new theme engine service 2021-04-26 12:29:55 +01:00
express.js
html-to-plaintext.js Added paywall card to mark end of free content preview (#12663) 2021-02-17 23:00:26 +00:00
logging.js Added ElasticSearch logging when available 2021-02-25 15:50:58 +00:00
sentry.js Moved Sentry noop function into block 2020-11-10 11:04:21 +00:00
url-utils.js Added default API version to config 2021-04-21 14:57:07 +01:00