Skip to content

Commit 4583d4c

Browse files
authored
Add th.ts
1 parent ce9d1ba commit 4583d4c

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

src/translations/th.ts

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
import type { TranslationsType } from './utils'
2+
3+
const th: TranslationsType = {
4+
save: 'บันทึก',
5+
selectSingle: 'เลือกวันที่',
6+
selectMultiple: 'เลือกวันที่',
7+
selectRange: 'เลือกช่วงวันที่',
8+
notAccordingToDateFormat: (inputFormat) =>
9+
`รูปแบบวันที่จะต้องเป็น ${inputFormat}`,
10+
mustBeHigherThan: (date) => `ต้องอยู่ภายหลังวันที่ ${date}`,
11+
mustBeLowerThan: (date) => `ต้องอยู่ก่อนวันที่ ${date}`,
12+
mustBeBetween: (startDate, endDate) =>
13+
`ต้องอยู่ในช่วงวันที่ ${startDate} - ${endDate}`,
14+
dateIsDisabled: 'ไม่สามารถใช้วันที่นี้ได้',
15+
previous: 'ก่อนหน้า',
16+
next: 'ถัดไป',
17+
typeInDate: 'พิมพ์วันที่',
18+
pickDateFromCalendar: 'เลือกวันที่จากปฏิทิน',
19+
close: 'ปิด',
20+
minute: 'นาที',
21+
hour: 'ชั่วโมง',
22+
}
23+
export default th

0 commit comments

Comments
 (0)