mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 20:03:12 +03:00
Disabled i18next debug mode in development
- I didn't realise how annoying this would be so this commit disables it
This commit is contained in:
parent
2d7e5753d7
commit
0273ba2066
@ -10,7 +10,6 @@ module.exports = (lng = 'en', ns = 'portal') => {
|
|||||||
const i18nextInstance = i18next.createInstance();
|
const i18nextInstance = i18next.createInstance();
|
||||||
i18nextInstance.init({
|
i18nextInstance.init({
|
||||||
lng,
|
lng,
|
||||||
debug: process.env.NODE_ENV === 'development',
|
|
||||||
|
|
||||||
// allow keys to be phrases having `:`, `.`
|
// allow keys to be phrases having `:`, `.`
|
||||||
nsSeparator: false,
|
nsSeparator: false,
|
||||||
|
Loading…
Reference in New Issue
Block a user