0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/frontend/services/themes
Naz 33bdd2384b 🐛 Fixed incorrect locale loading when changing themes
closes #12271

- When previous active theme did not have locale data for certain language, loading a theme which has such data did not result in correct locale being loaded
- Underlying issue was in settings cache being outdated during theme change related i18n initialization
- Fix focuses on removing settings cache dependency and and rely on most up to date data about currently active theme
- The benefit of this approach is reduced coupling with settings cache
2021-01-04 17:26:22 +13:00
..
config Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
engines Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
handlebars Switched frontend i18n requires to go through proxy 2020-11-26 14:00:28 +00:00
activate.js 🐛 Fixed incorrect locale loading when changing themes 2021-01-04 17:26:22 +13:00
active.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
engine.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
i18n.js 🐛 Fixed incorrect locale loading when changing themes 2021-01-04 17:26:22 +13:00
index.js 🐛 Fixed incorrect locale loading when changing themes 2021-01-04 17:26:22 +13: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
middleware.js Switched frontend i18n requires to go through proxy 2020-11-26 14:00:28 +00:00
storage.js Switched frontend i18n requires to go through proxy 2020-11-26 14:00:28 +00:00
ThemeStorage.js Extracted core/server/lib/security to @tryghost/security package 2020-08-11 14:06:50 +01:00
to-json.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
validate.js Switched frontend i18n requires to go through proxy 2020-11-26 14:00:28 +00:00