diff options
Diffstat (limited to 'lib/locales/index.ts')
| -rw-r--r-- | lib/locales/index.ts | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/locales/index.ts b/lib/locales/index.ts index c3aaa7c8..c902a8d2 100644 --- a/lib/locales/index.ts +++ b/lib/locales/index.ts @@ -1,5 +1,7 @@ import fs from "fs"; -export default "ar,bn,de,el,en,es,fa,fr,hi,it,ja,ko,nl,pl,pt,ru,th,tr,zh".split(",").reduce((a, l) => { - a[l] = JSON.parse(fs.readFileSync(`lib/locales/${l}.json`)); +export default "ar,bn,de,el,en,es,fa,fr,hi,it,ja,ko,nl,pl,pt,ru,th,tr,zh" + .split(",") + .reduce((a, l) => { + a[l] = JSON.parse(fs.readFileSync(`lib/locales/${l}.json`)); return a; -}, {}); + }, {}); |
