mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 20:19:34 +01:00
feat(locale): add Thai language (#2980)
This commit is contained in:
committed by
GitHub
parent
b326a14fb0
commit
c8cd06e92d
@@ -16,6 +16,7 @@ export { default as pt } from './pt'
|
||||
export { default as pt_br } from './pt_br'
|
||||
export { default as ru } from './ru'
|
||||
export { default as sk } from './sk'
|
||||
export { default as th } from './th'
|
||||
export { default as tr } from './tr'
|
||||
export { default as uk } from './uk'
|
||||
export { default as zh_hans } from './zh_hans'
|
||||
|
||||
53
src/runtime/locale/th.ts
Normal file
53
src/runtime/locale/th.ts
Normal file
@@ -0,0 +1,53 @@
|
||||
import { defineLocale } from '../composables/defineLocale'
|
||||
|
||||
export default defineLocale({
|
||||
name: 'ไทย',
|
||||
code: 'th',
|
||||
messages: {
|
||||
inputMenu: {
|
||||
noMatch: 'ไม่พบข้อมูลที่ตรงกัน',
|
||||
noData: 'ไม่มีข้อมูล',
|
||||
create: 'สร้าง "{label}"'
|
||||
},
|
||||
calendar: {
|
||||
prevYear: 'ปีก่อนหน้า',
|
||||
nextYear: 'ปีถัดไป',
|
||||
prevMonth: 'เดือนก่อนหน้า',
|
||||
nextMonth: 'เดือนถัดไป'
|
||||
},
|
||||
inputNumber: {
|
||||
increment: 'เพิ่ม',
|
||||
decrement: 'ลด'
|
||||
},
|
||||
commandPalette: {
|
||||
noMatch: 'ไม่พบข้อมูลที่ตรงกัน',
|
||||
noData: 'ไม่มีข้อมูล',
|
||||
close: 'ปิด'
|
||||
},
|
||||
selectMenu: {
|
||||
noMatch: 'ไม่พบข้อมูลที่ตรงกัน',
|
||||
noData: 'ไม่มีข้อมูล',
|
||||
create: 'สร้าง "{label}"'
|
||||
},
|
||||
toast: {
|
||||
close: 'ปิด'
|
||||
},
|
||||
carousel: {
|
||||
prev: 'ย้อนกลับ',
|
||||
next: 'ถัดไป',
|
||||
goto: 'ไปที่ {slide}'
|
||||
},
|
||||
modal: {
|
||||
close: 'ปิด'
|
||||
},
|
||||
slideover: {
|
||||
close: 'ปิด'
|
||||
},
|
||||
alert: {
|
||||
close: 'ปิด'
|
||||
},
|
||||
table: {
|
||||
noData: 'ไม่มีข้อมูล'
|
||||
}
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user