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

Fixed linting

This commit is contained in:
Daniel Lockyer 2023-03-01 10:30:18 +01:00
parent 6d8ca23625
commit f717c093e7
No known key found for this signature in database

View file

@ -25,10 +25,10 @@ module.exports = (lng = 'en', ns = 'portal') => {
ns: ns,
defaultNS: ns,
resources: SUPPORTED_LOCALES.reduce((acc, lng) => {
acc[lng] = {
[ns]: require(`../locales/${lng}/${ns}.json`)
}
resources: SUPPORTED_LOCALES.reduce((acc, locale) => {
acc[locale] = {
[ns]: require(`../locales/${locale}/${ns}.json`)
};
return acc;
}, {})
});