0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/test/unit
Hannah Wolfe d8318654a9 Improved i18n with unified getCandidateString fn
- the core i18n library and theme i18n library have slightly different methods of getting a candidate string
- both of them use forms of jsonpath, meaning they both require jsonpath as a dependency
- to try to get to a point of being able to rip more things out of ghost, we want to have less dependencies
- so instead of overloading the method, we pass in a stringMode as an argument
- eventually we might not need an overloaded class for themeI18n at all, which would simplify the codebase
2021-05-05 15:53:09 +01:00
..
adapters Removed unused onMany method from events 2021-05-04 13:28:24 +01:00
api 🐛 Fixed __GHOST_URL__ appearing in sitemaps (#12787) 2021-03-18 17:16:37 +00:00
apps Moved active theme to new theme engine service 2021-04-23 15:28:50 +01:00
data Added description to Products & Prices (#12916) 2021-05-04 13:41:48 +01:00
helpers Moved theme service to core/server 2021-04-27 15:14:49 +01:00
lib 🐛 Fixed images not having srcset or sizes attributes (#12800) 2021-03-20 22:17:43 +00:00
models Expanded requires of lib/common i18n and events 2021-05-03 17:14:52 +01:00
server Expanded requires of lib/common i18n and events 2021-05-03 17:14:52 +01:00
services Refactored i18n into a class + index 2021-05-05 15:13:23 +01:00
shared Improved i18n with unified getCandidateString fn 2021-05-05 15:53:09 +01:00
web Fixed broken require path (bridge in tests) 2021-04-26 15:01:10 +01:00