Files
ui/src/runtime/locale/en.ts
Alex a9c8eb3f60 feat(useLocale): handle generic messages (#3100)
Co-authored-by: hywax <me@hywax.space>
Co-authored-by: Benjamin Canac <canacb1@gmail.com>
2025-03-10 18:37:28 +01:00

57 lines
1.1 KiB
TypeScript

import type { Messages } from '../types'
import { defineLocale } from '../composables/defineLocale'
export default defineLocale<Messages>({
name: 'English',
code: 'en',
messages: {
inputMenu: {
noMatch: 'No matching data',
noData: 'No data',
create: 'Create "{label}"'
},
calendar: {
prevYear: 'Previous year',
nextYear: 'Next year',
prevMonth: 'Previous month',
nextMonth: 'Next month'
},
inputNumber: {
increment: 'Increment',
decrement: 'Decrement'
},
commandPalette: {
placeholder: 'Type a command or search...',
noMatch: 'No matching data',
noData: 'No data',
close: 'Close'
},
selectMenu: {
noMatch: 'No matching data',
noData: 'No data',
create: 'Create "{label}"',
search: 'Search...'
},
toast: {
close: 'Close'
},
carousel: {
prev: 'Prev',
next: 'Next',
goto: 'Go to slide {slide}'
},
modal: {
close: 'Close'
},
slideover: {
close: 'Close'
},
alert: {
close: 'Close'
},
table: {
noData: 'No data'
}
}
})