mirror of
https://github.com/elk-zone/elk.git
synced 2024-12-12 12:58:27 +03:00
9da77637b2
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
19 lines
360 B
TypeScript
19 lines
360 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,
|
|
pluralRules,
|
|
}
|
|
})
|