mirror of
https://iceshrimp.dev/Crimekillz/jointrashposs.git
synced 2024-11-21 16:33:48 +01:00
31 lines
646 B
TypeScript
31 lines
646 B
TypeScript
import ja from '@/locales/ja-JP.yml';
|
|
import en from '@/locales/en-US.yml';
|
|
|
|
export default defineI18nConfig(() => ({
|
|
legacy: false,
|
|
locale: '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
|
|
}
|
|
}
|
|
}
|
|
})); |