mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-02 15:55:08 +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 |
||
---|---|---|
.. | ||
translations | ||
i18n.js | ||
index.js |