0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-04 02:01:58 -05:00
ghost/test/unit/helpers
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
..
test_tpl
asset_spec.js
author_spec.js
authors_spec.js
body_class_spec.js
cancel_link_spec.js
concat_spec.js
content_spec.js
date_spec.js
encode_spec.js
excerpt_spec.js
facebook_url_spec.js
foreach_spec.js Fixed "no-shadow" eslint warning in tests 2020-10-19 17:45:26 +13:00
get_spec.js
ghost_foot_spec.js Updated tests that were stubbing old ghost_head/ghost_foot settings keys 2020-07-01 17:58:12 +01:00
ghost_head_spec.js Updated tests that were stubbing old ghost_head/ghost_foot settings keys 2020-07-01 17:58:12 +01:00
has_spec.js Fixed "no-shadow" eslint warning in tests 2020-10-19 17:45:26 +13:00
img_url_spec.js Moved core/server/lib/common/logging to core/shared/logging (#11857) 2020-05-28 19:30:23 +01:00
is_spec.js Moved core/server/lib/common/logging to core/shared/logging (#11857) 2020-05-28 19:30:23 +01:00
lang_spec.js Renamed settings keys from default_locale to lang 2020-06-24 14:07:24 +12:00
link_class_spec.js
link_spec.js
meta_description_spec.js
meta_title_spec.js
navigation_spec.js
next_post_spec.js
page_url_spec.js
pagination_spec.js
plural_spec.js
post_class_spec.js
prev_post_spec.js
price_spec.js
raw_spec.js
reading_time_spec.js
t_spec.js 🐛 Fixed incorrect locale loading when changing themes 2021-01-04 17:26:22 +13:00
tags_spec.js
title_spec.js
twitter_url_spec.js
url_spec.js Fixed "no-shadow" eslint warning in tests 2020-10-19 17:45:26 +13:00