mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-04-15 03:01:37 -05:00
Fixed linting
This commit is contained in:
parent
6d8ca23625
commit
f717c093e7
1 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
}, {})
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue