mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-01 13:54:35 +03:00
01d9701096
- calling i18n as a global const like this requires it to be loaded before anything else, when we have to manage this with the init() flow - wrapping it inside the function where it's used ensures we don't call i18n til we need it - also improved the i18n called without init error to include the key it was called with |
||
---|---|---|
.. | ||
config | ||
i18n | ||
express.js | ||
html-to-plaintext.js | ||
logging.js | ||
sentry.js | ||
url-utils.js |