@meleon/uni-ui
Version:
A uniapp components library written in vue3 and typescript
86 lines (81 loc) • 1.74 kB
TypeScript
declare namespace MeleonLocale {
import type { ValidateMessagesType } from 'b-validate'
type LocaleCategory = 'zh-CN' | 'en-US'
interface CalendarLang {
formatYear: string
formatMonth: string
today: string
view: {
month: string
year: string
week: string
day: string
}
month: {
long: {
January: string
February: string
March: string
April: string
May: string
June: string
July: string
August: string
September: string
October: string
November: string
December: string
}
short: {
January: string
February: string
March: string
April: string
May: string
June: string
July: string
August: string
September: string
October: string
November: string
December: string
}
}
week: {
long: {
self: string
monday: string
tuesday: string
wednesday: string
thursday: string
friday: string
saturday: string
sunday: string
}
short: {
self: string
monday: string
tuesday: string
wednesday: string
thursday: string
friday: string
saturday: string
sunday: string
}
}
}
interface FormLang {
validateMessages: ValidateMessagesType
}
interface CoreLocale {
form: FormLang
locale: LocaleCategory
input: {
placeholder: string
}
select: {
placeholder: string
}
calendar: CalendarLang
}
}