0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00
ghost/test/unit/helpers
Hannah Wolfe e1699afc77 Refactored i18n so all logic is in the base class
- preparation for moving the base class out of Ghost
- refactored so that all the logic for file loading and fallbacks live in the base class
- theme i18n now only overrides init with the properties it needs, filepath generation and error handling
- this makes it much easier to move the i18n file out, and eventually have theme i18n live elsewhere too
- also prepares for using DI for logging
2021-05-05 20:29:34 +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 Moved theme service to core/server 2021-04-27 15:14:49 +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 Improved theme locale handling 2021-05-05 16:13:26 +01: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 Improved theme locale handling 2021-05-05 16:13:26 +01: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 Refactored i18n so all logic is in the base class 2021-05-05 20:29:34 +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