mirror of
https://iceshrimp.dev/Crimekillz/jointrashposs.git
synced 2024-11-22 08:53:49 +01:00
32 lines
669 B
TypeScript
32 lines
669 B
TypeScript
import ja from '@/locales/ja-JP.yml';
|
|
import en from '@/locales/en-US.yml';
|
|
|
|
export default defineI18nConfig(() => ({
|
|
legacy: false,
|
|
locale: 'ja',
|
|
fallbackLocale: 'ja',
|
|
messages: {
|
|
ja,
|
|
en,
|
|
},
|
|
datetimeFormats: {
|
|
'en-US': {
|
|
short: {
|
|
year: 'numeric', month: 'short', day: 'numeric'
|
|
},
|
|
long: {
|
|
year: 'numeric', month: 'short', day: 'numeric',
|
|
weekday: 'short', hour: 'numeric', minute: 'numeric'
|
|
}
|
|
},
|
|
'ja-JP': {
|
|
short: {
|
|
year: 'numeric', month: 'short', day: 'numeric'
|
|
},
|
|
long: {
|
|
year: 'numeric', month: 'short', day: 'numeric',
|
|
weekday: 'short', hour: 'numeric', minute: 'numeric', hour12: true
|
|
}
|
|
}
|
|
}
|
|
})); |