Skip to content
Open
4 changes: 4 additions & 0 deletions src/locales/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ export interface BaseLang {
start: string
confirm: string
title: string
week: string
month: string
year: string
quarter: string
// eslint-disable-next-line @typescript-eslint/ban-types
monthTitle: Function
today: string
Expand Down
4 changes: 4 additions & 0 deletions src/locales/en-US.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ const enUS: BaseLang = {
start: 'Start',
confirm: 'Confirm',
title: 'Calendar',
week: 'W',
month: 'M',
year: 'Y',
quarter: 'Q',
monthTitle: (year: number, month: number) =>
`${year}/${Number(month) < 10 ? `0${Number(month)}` : month}`,
today: 'Today',
Expand Down
4 changes: 4 additions & 0 deletions src/locales/id-ID.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ const idID: BaseLang = {
start: 'Mulai',
confirm: 'Mengonfirmasi',
title: 'Kalender',
week: 'Mg',
month: 'Bl',
year: 'Th',
quarter: 'Kt',
monthTitle: (year: number, month: number) =>
`${year}/${Number(month) < 10 ? `0${Number(month)}` : month}`,
today: 'Hari ini',
Expand Down
4 changes: 4 additions & 0 deletions src/locales/tr-TR.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ const trTR: BaseLang = {
start: 'Başlangıç',
confirm: 'Onayla',
title: 'Takvim seçimi',
week: 'H',
month: 'A',
year: 'Y',
quarter: 'Ç',
monthTitle: (year: number, month: number) =>
`${year}/${Number(month) < 10 ? `0${Number(month)}` : month}`,
today: 'Bugün',
Expand Down
4 changes: 4 additions & 0 deletions src/locales/zh-CN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ const zhCN: BaseLang = {
start: '开始',
confirm: '确认',
title: '日历选择',
week: '周',
month: '月',
year: '年',
quarter: '季度',
monthTitle: (year: number, month: number) =>
`${year}年${Number(month) < 10 ? `0${Number(month)}` : month}月`,
today: '今天',
Expand Down
4 changes: 4 additions & 0 deletions src/locales/zh-TW.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ const zhCN: BaseLang = {
start: '開始',
confirm: '確認',
title: '日歷選擇',
week: '周',
month: '月',
year: '年',
quarter: '季度',
monthTitle: (year: number, month: number) =>
`${year}年${Number(month) < 10 ? `0${Number(month)}` : month}月`,
today: '今天',
Expand Down
4 changes: 4 additions & 0 deletions src/locales/zh-UG.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ const zhUG: BaseLang = {
start: 'بېشى',
confirm: 'جەزملەشتۈرۈڭ',
title: 'تاللاڭ',
week: 'ھە',
month: 'ئا',
year: 'ي',
quarter: 'پە',
monthTitle: (year: number, month: number) =>
`${year} يىلى ${Number(month) < 10 ? `0${Number(month)}` : month} ئاي`,
today: 'بۈگۈن',
Expand Down

Large diffs are not rendered by default.

Loading
Loading