mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-23 02:41:50 +03:00
ad9b18e00f
- final preparation for moving i18n out of Ghost core - logging is passed in via DI - theme i18n needs a config value, but no need to pass all of config for one parameter, a better pattern is to pass the one value needed
8 lines
271 B
JavaScript
8 lines
271 B
JavaScript
const config = require('../../../../shared/config');
|
|
const logging = require('../../../../shared/logging');
|
|
|
|
const ThemeI18n = require('./i18n');
|
|
|
|
module.exports = new ThemeI18n({logging, basePath: config.getContentPath('themes')});
|
|
module.exports.ThemeI18n = ThemeI18n;
|