mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-08 09:59:59 +00:00
21 lines
423 B
TypeScript
21 lines
423 B
TypeScript
|
import {
|
||
|
currentLocales,
|
||
|
datetimeFormats,
|
||
|
numberFormats,
|
||
|
pluralRules,
|
||
|
} from './i18n'
|
||
|
|
||
|
export default defineI18nConfig(() => {
|
||
|
return {
|
||
|
legacy: false,
|
||
|
availableLocales: currentLocales.map(l => l.code),
|
||
|
fallbackLocale: 'en-US',
|
||
|
fallbackWarn: true,
|
||
|
missingWarn: true,
|
||
|
datetimeFormats,
|
||
|
numberFormats,
|
||
|
// eslint-disable-next-line @typescript-eslint/comma-dangle
|
||
|
pluralRules
|
||
|
}
|
||
|
})
|