Skip to content

[WIP] Theme i18n #21490

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 15 commits into from
2 changes: 2 additions & 0 deletions ghost/core/core/frontend/helpers/t.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,7 @@ module.exports = function t(text, options = {}) {
}
}

// The helper should always return a string, not a SafeString
// HTML escaping is handled by the template engine based on whether {{ or {{{ was used
return themeI18n.t(text, bindings);
};
312 changes: 0 additions & 312 deletions ghost/core/core/frontend/services/theme-engine/i18n/I18n.js

This file was deleted.

Loading