0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/test/unit/helpers
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
..
test_tpl Updated {{content}} helper partial template name 2021-02-09 13:59:52 +05:30
asset_spec.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
author_spec.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
authors_spec.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
body_class_spec.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
cancel_link_spec.js Moved hbs engine into new theme engine service 2021-04-19 20:03:30 +01:00
concat_spec.js Moved hbs engine into new theme engine service 2021-04-19 20:03:30 +01:00
content_spec.js Moved hbs engine into new theme engine service 2021-04-19 20:03:30 +01:00
date_spec.js Updated default format for date helper to locale-based date string (#12733) 2021-03-05 13:35:31 +00:00
encode_spec.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
excerpt_spec.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
facebook_url_spec.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
foreach_spec.js Moved hbs engine into new theme engine service 2021-04-19 20:03:30 +01:00
get_spec.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
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 Moved active theme to new theme engine service 2021-04-23 15:28:50 +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 Updated default format for date helper to locale-based date string (#12733) 2021-03-05 13:35:31 +00:00
link_class_spec.js Moved hbs engine into new theme engine service 2021-04-19 20:03:30 +01:00
link_spec.js Moved hbs engine into new theme engine service 2021-04-19 20:03:30 +01:00
meta_description_spec.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
meta_title_spec.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
navigation_spec.js Moved hbs engine into new theme engine service 2021-04-19 20:03:30 +01:00
next_post_spec.js Migrate the default api version from v2 to v3 2021-02-03 15:02:51 +01:00
page_url_spec.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
pagination_spec.js Moved hbs engine into new theme engine service 2021-04-19 20:03:30 +01:00
plural_spec.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
post_class_spec.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
prev_post_spec.js Migrate the default api version from v2 to v3 2021-02-03 15:02:51 +01:00
price_spec.js Moved hbs engine into new theme engine service 2021-04-19 20:03:30 +01:00
raw_spec.js Moved hbs engine into new theme engine service 2021-04-19 20:03:30 +01:00
reading_time_spec.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
t_spec.js Moved theme i18n to new theme engine service 2021-04-26 12:29:55 +01:00
tags_spec.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
title_spec.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
twitter_url_spec.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
url_spec.js Fixed "no-shadow" eslint warning in tests 2020-10-19 17:45:26 +13:00