0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-04-15 03:01:37 -05:00

Fixed returning key when value is empty string

refs https://github.com/TryGhost/Ghost/issues/15502

- in the event the value is an empty string, we want to return the key
- this config option enables that
This commit is contained in:
Daniel Lockyer 2023-02-27 13:17:27 +01:00
parent 96a64b4982
commit 2804445d41
No known key found for this signature in database

View file

@ -21,6 +21,9 @@ module.exports = (lng = 'en') => {
nsSeparator: false,
keySeparator: false,
// if the value is an empty string, return the key
returnEmptyString: false,
// do not load a fallback
fallbackLng: false,