0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core
Hannah Wolfe 9ce407966f Improved theme locale handling
- when activating a theme, we need to load the current locale
- this request used to be buried deep in the themeI18n init call
- now we surface it in the bridge and pass it down, which is closer to what we want to do with eventually initialising the frontend
with everything it needs up front (or not initialising it, if it isn't needed)

- in the related helpers we depend on the site.locale value instead of proxy -> themeI18n -> settingsCache drastically simplifying the code and removing deep requires
- site.locale is updated via middleware and can be relied upon
2021-05-05 16:13:26 +01:00
..
client@16fb465b10 Updated Ghost-Admin to v4.4.0 2021-05-04 11:55:36 +01:00
frontend Improved theme locale handling 2021-05-05 16:13:26 +01:00
server Refactored urlUtils out of ghost-server 2021-05-05 14:24:59 +01:00
shared Improved i18n with unified getCandidateString fn 2021-05-05 15:53:09 +01:00
app.js Added Sentry to new boot process 2021-02-19 09:20:41 +00:00
boot.js Refactored urlUtils out of ghost-server 2021-05-05 14:24:59 +01:00
bridge.js Improved theme locale handling 2021-05-05 16:13:26 +01:00