@schedule-x/translations
Advanced tools
Comparing version 1.43.0 to 1.44.0
interface DatePickerTranslations { | ||
Date: string | ||
'MM/DD/YYYY': string | ||
'Next month': string | ||
'Previous month': string | ||
'Choose Date': string | ||
'Select View': string | ||
Date: string; | ||
"MM/DD/YYYY": string; | ||
"Next month": string; | ||
"Previous month": string; | ||
"Choose Date": string; | ||
"Select View": string; | ||
} | ||
interface CalendarTranslations { | ||
Today: string | ||
Month: string | ||
Week: string | ||
Day: string | ||
events: string | ||
event: string | ||
'No events': string | ||
'Next period': string | ||
'Previous period': string | ||
to: string // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': string | ||
Today: string; | ||
Month: string; | ||
Week: string; | ||
Day: string; | ||
events: string; | ||
event: string; | ||
"No events": string; | ||
"Next period": string; | ||
"Previous period": string; | ||
to: string; // as in 2/1/2020 to 2/2/2020 | ||
"Full day- and multiple day events": string; | ||
} | ||
type Language = DatePickerTranslations & CalendarTranslations | ||
declare const deDE: Language | ||
declare const enUS: Language | ||
declare const itIT: Language | ||
declare const enGB: Language | ||
declare const svSE: Language | ||
declare const zhCN: Language | ||
declare const jaJP: Language | ||
declare const ruRU: Language | ||
declare const koKR: Language | ||
declare const frFR: Language | ||
declare const daDK: Language | ||
declare const plPL: Language | ||
declare const esES: Language | ||
declare const nlNL: Language | ||
declare const ptBR: Language | ||
declare const skSK: Language | ||
declare const mkMK: Language | ||
declare const trTR: Language | ||
declare const kyKG: Language | ||
declare const idID: Language | ||
declare const translate: ( | ||
locale: string, | ||
languages: Record<string, object> | ||
) => (key: string) => string | ||
type Language = DatePickerTranslations & CalendarTranslations; | ||
declare const deDE: Language; | ||
declare const enUS: Language; | ||
declare const itIT: Language; | ||
declare const enGB: Language; | ||
declare const svSE: Language; | ||
declare const zhCN: Language; | ||
declare const jaJP: Language; | ||
declare const ruRU: Language; | ||
declare const koKR: Language; | ||
declare const frFR: Language; | ||
declare const daDK: Language; | ||
declare const plPL: Language; | ||
declare const esES: Language; | ||
declare const nlNL: Language; | ||
declare const ptBR: Language; | ||
declare const skSK: Language; | ||
declare const mkMK: Language; | ||
declare const trTR: Language; | ||
declare const kyKG: Language; | ||
declare const idID: Language; | ||
declare const translate: (locale: string, languages: Record<string, object>) => (key: string) => string; | ||
declare const translations: { | ||
deDE: Language | ||
enUS: Language | ||
itIT: Language | ||
enGB: Language | ||
svSE: Language | ||
zhCN: Language | ||
jaJP: Language | ||
ruRU: Language | ||
koKR: Language | ||
frFR: Language | ||
daDK: Language | ||
mkMK: Language | ||
plPL: Language | ||
esES: Language | ||
nlNL: Language | ||
ptBR: Language | ||
skSK: Language | ||
trTR: Language | ||
kyKG: Language | ||
idID: Language | ||
} | ||
deDE: Language; | ||
enUS: Language; | ||
itIT: Language; | ||
enGB: Language; | ||
svSE: Language; | ||
zhCN: Language; | ||
jaJP: Language; | ||
ruRU: Language; | ||
koKR: Language; | ||
frFR: Language; | ||
daDK: Language; | ||
mkMK: Language; | ||
plPL: Language; | ||
esES: Language; | ||
nlNL: Language; | ||
ptBR: Language; | ||
skSK: Language; | ||
trTR: Language; | ||
kyKG: Language; | ||
idID: Language; | ||
}; | ||
declare const datePickerTranslations: { | ||
deDE: DatePickerTranslations | ||
enUS: DatePickerTranslations | ||
itIT: DatePickerTranslations | ||
enGB: DatePickerTranslations | ||
svSE: DatePickerTranslations | ||
zhCN: DatePickerTranslations | ||
jaJP: DatePickerTranslations | ||
ruRU: DatePickerTranslations | ||
koKR: DatePickerTranslations | ||
frFR: DatePickerTranslations | ||
daDK: DatePickerTranslations | ||
mkMK: DatePickerTranslations | ||
plPL: DatePickerTranslations | ||
esES: DatePickerTranslations | ||
nlNL: DatePickerTranslations | ||
ptBR: DatePickerTranslations | ||
skSK: DatePickerTranslations | ||
trTR: DatePickerTranslations | ||
kyKG: DatePickerTranslations | ||
idID: DatePickerTranslations | ||
} | ||
export { | ||
translate, | ||
translations, | ||
datePickerTranslations, | ||
deDE, | ||
enUS, | ||
itIT, | ||
enGB, | ||
svSE, | ||
zhCN, | ||
jaJP, | ||
ruRU, | ||
koKR, | ||
frFR, | ||
daDK, | ||
plPL, | ||
esES, | ||
mkMK, | ||
nlNL, | ||
ptBR, | ||
skSK, | ||
trTR, | ||
kyKG, | ||
idID, | ||
} | ||
deDE: DatePickerTranslations; | ||
enUS: DatePickerTranslations; | ||
itIT: DatePickerTranslations; | ||
enGB: DatePickerTranslations; | ||
svSE: DatePickerTranslations; | ||
zhCN: DatePickerTranslations; | ||
jaJP: DatePickerTranslations; | ||
ruRU: DatePickerTranslations; | ||
koKR: DatePickerTranslations; | ||
frFR: DatePickerTranslations; | ||
daDK: DatePickerTranslations; | ||
mkMK: DatePickerTranslations; | ||
plPL: DatePickerTranslations; | ||
esES: DatePickerTranslations; | ||
nlNL: DatePickerTranslations; | ||
ptBR: DatePickerTranslations; | ||
skSK: DatePickerTranslations; | ||
trTR: DatePickerTranslations; | ||
kyKG: DatePickerTranslations; | ||
idID: DatePickerTranslations; | ||
}; | ||
export { translate, translations, datePickerTranslations, deDE, enUS, itIT, enGB, svSE, zhCN, jaJP, ruRU, koKR, frFR, daDK, plPL, esES, mkMK, nlNL, ptBR, skSK, trTR, kyKG, idID }; |
1039
dist/core.cjs.js
@@ -1,651 +0,646 @@ | ||
'use strict' | ||
'use strict'; | ||
const datePickerDeDE = { | ||
Date: 'Datum', | ||
'MM/DD/YYYY': 'TT.MM.JJJJ', | ||
'Next month': 'Nächster Monat', | ||
'Previous month': 'Vorheriger Monat', | ||
'Choose Date': 'Datum auswählen', | ||
'Select View': 'Ansicht auswählen', | ||
} | ||
Date: 'Datum', | ||
'MM/DD/YYYY': 'TT.MM.JJJJ', | ||
'Next month': 'Nächster Monat', | ||
'Previous month': 'Vorheriger Monat', | ||
'Choose Date': 'Datum auswählen', | ||
'Select View': 'Ansicht auswählen', | ||
}; | ||
const calendarDeDE = { | ||
Today: 'Heute', | ||
Month: 'Monat', | ||
Week: 'Woche', | ||
Day: 'Tag', | ||
events: 'Ereignisse', | ||
event: 'Ereignis', | ||
'No events': 'Keine Ereignisse', | ||
'Next period': 'Nächster Zeitraum', | ||
'Previous period': 'Vorheriger Zeitraum', | ||
to: 'bis', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Ganztägige und mehrtägige Ereignisse', | ||
} | ||
Today: 'Heute', | ||
Month: 'Monat', | ||
Week: 'Woche', | ||
Day: 'Tag', | ||
events: 'Ereignisse', | ||
event: 'Ereignis', | ||
'No events': 'Keine Ereignisse', | ||
'Next period': 'Nächster Zeitraum', | ||
'Previous period': 'Vorheriger Zeitraum', | ||
to: 'bis', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Ganztägige und mehrtägige Ereignisse', | ||
}; | ||
const deDE = { | ||
...datePickerDeDE, | ||
...calendarDeDE, | ||
} | ||
...datePickerDeDE, | ||
...calendarDeDE, | ||
}; | ||
const datePickerEnUS = { | ||
Date: 'Date', | ||
'MM/DD/YYYY': 'MM/DD/YYYY', | ||
'Next month': 'Next month', | ||
'Previous month': 'Previous month', | ||
'Choose Date': 'Choose Date', | ||
'Select View': 'Select View', | ||
} | ||
Date: 'Date', | ||
'MM/DD/YYYY': 'MM/DD/YYYY', | ||
'Next month': 'Next month', | ||
'Previous month': 'Previous month', | ||
'Choose Date': 'Choose Date', | ||
'Select View': 'Select View', | ||
}; | ||
const calendarEnUS = { | ||
Today: 'Today', | ||
Month: 'Month', | ||
Week: 'Week', | ||
Day: 'Day', | ||
events: 'events', | ||
event: 'event', | ||
'No events': 'No events', | ||
'Next period': 'Next period', | ||
'Previous period': 'Previous period', | ||
to: 'to', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Full day- and multiple day events', | ||
} | ||
Today: 'Today', | ||
Month: 'Month', | ||
Week: 'Week', | ||
Day: 'Day', | ||
events: 'events', | ||
event: 'event', | ||
'No events': 'No events', | ||
'Next period': 'Next period', | ||
'Previous period': 'Previous period', | ||
to: 'to', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Full day- and multiple day events', | ||
}; | ||
const enUS = { | ||
...datePickerEnUS, | ||
...calendarEnUS, | ||
} | ||
...datePickerEnUS, | ||
...calendarEnUS, | ||
}; | ||
const datePickerItIT = { | ||
Date: 'Data', | ||
'MM/DD/YYYY': 'DD/MM/YYYY', | ||
'Next month': 'Mese successivo', | ||
'Previous month': 'Mese precedente', | ||
'Choose Date': 'Scegli la data', | ||
'Select View': 'Seleziona la vista', | ||
} | ||
Date: 'Data', | ||
'MM/DD/YYYY': 'DD/MM/YYYY', | ||
'Next month': 'Mese successivo', | ||
'Previous month': 'Mese precedente', | ||
'Choose Date': 'Scegli la data', | ||
'Select View': 'Seleziona la vista', | ||
}; | ||
const calendarItIT = { | ||
Today: 'Oggi', | ||
Month: 'Mese', | ||
Week: 'Settimana', | ||
Day: 'Giorno', | ||
events: 'eventi', | ||
event: 'evento', | ||
'No events': 'Nessun evento', | ||
'Next period': 'Periodo successivo', | ||
'Previous period': 'Periodo precedente', | ||
to: 'a', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': | ||
'Eventi della giornata e plurigiornalieri', | ||
} | ||
Today: 'Oggi', | ||
Month: 'Mese', | ||
Week: 'Settimana', | ||
Day: 'Giorno', | ||
events: 'eventi', | ||
event: 'evento', | ||
'No events': 'Nessun evento', | ||
'Next period': 'Periodo successivo', | ||
'Previous period': 'Periodo precedente', | ||
to: 'a', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Eventi della giornata e plurigiornalieri', | ||
}; | ||
const itIT = { | ||
...datePickerItIT, | ||
...calendarItIT, | ||
} | ||
...datePickerItIT, | ||
...calendarItIT, | ||
}; | ||
const datePickerEnGB = { | ||
Date: 'Date', | ||
'MM/DD/YYYY': 'DD/MM/YYYY', | ||
'Next month': 'Next month', | ||
'Previous month': 'Previous month', | ||
'Choose Date': 'Choose Date', | ||
'Select View': 'Select View', | ||
} | ||
Date: 'Date', | ||
'MM/DD/YYYY': 'DD/MM/YYYY', | ||
'Next month': 'Next month', | ||
'Previous month': 'Previous month', | ||
'Choose Date': 'Choose Date', | ||
'Select View': 'Select View', | ||
}; | ||
const calendarEnGB = { | ||
Today: 'Today', | ||
Month: 'Month', | ||
Week: 'Week', | ||
Day: 'Day', | ||
events: 'events', | ||
event: 'event', | ||
'No events': 'No events', | ||
'Next period': 'Next period', | ||
'Previous period': 'Previous period', | ||
to: 'to', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Full day- and multiple day events', | ||
} | ||
Today: 'Today', | ||
Month: 'Month', | ||
Week: 'Week', | ||
Day: 'Day', | ||
events: 'events', | ||
event: 'event', | ||
'No events': 'No events', | ||
'Next period': 'Next period', | ||
'Previous period': 'Previous period', | ||
to: 'to', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Full day- and multiple day events', | ||
}; | ||
const enGB = { | ||
...datePickerEnGB, | ||
...calendarEnGB, | ||
} | ||
...datePickerEnGB, | ||
...calendarEnGB, | ||
}; | ||
const datePickerSvSE = { | ||
Date: 'Datum', | ||
'MM/DD/YYYY': 'ÅÅÅÅ-MM-DD', | ||
'Next month': 'Nästa månad', | ||
'Previous month': 'Föregående månad', | ||
'Choose Date': 'Välj datum', | ||
'Select View': 'Välj vy', | ||
} | ||
Date: 'Datum', | ||
'MM/DD/YYYY': 'ÅÅÅÅ-MM-DD', | ||
'Next month': 'Nästa månad', | ||
'Previous month': 'Föregående månad', | ||
'Choose Date': 'Välj datum', | ||
'Select View': 'Välj vy', | ||
}; | ||
const calendarSvSE = { | ||
Today: 'Idag', | ||
Month: 'Månad', | ||
Week: 'Vecka', | ||
Day: 'Dag', | ||
events: 'händelser', | ||
event: 'händelse', | ||
'No events': 'Inga händelser', | ||
'Next period': 'Nästa period', | ||
'Previous period': 'Föregående period', | ||
to: 'till', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Heldags- och flerdagshändelser', | ||
} | ||
Today: 'Idag', | ||
Month: 'Månad', | ||
Week: 'Vecka', | ||
Day: 'Dag', | ||
events: 'händelser', | ||
event: 'händelse', | ||
'No events': 'Inga händelser', | ||
'Next period': 'Nästa period', | ||
'Previous period': 'Föregående period', | ||
to: 'till', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Heldags- och flerdagshändelser', | ||
}; | ||
const svSE = { | ||
...datePickerSvSE, | ||
...calendarSvSE, | ||
} | ||
...datePickerSvSE, | ||
...calendarSvSE, | ||
}; | ||
const datePickerZhCN = { | ||
Date: '日期', | ||
'MM/DD/YYYY': '年/月/日', | ||
'Next month': '下个月', | ||
'Previous month': '上个月', | ||
'Choose Date': '选择日期', | ||
'Select View': '选择视图', | ||
} | ||
Date: '日期', | ||
'MM/DD/YYYY': '年/月/日', | ||
'Next month': '下个月', | ||
'Previous month': '上个月', | ||
'Choose Date': '选择日期', | ||
'Select View': '选择视图', | ||
}; | ||
const calendarZhCN = { | ||
Today: '今天', | ||
Month: '月', | ||
Week: '周', | ||
Day: '日', | ||
events: '场活动', | ||
event: '活动', | ||
'No events': '没有活动', | ||
'Next period': '下一段时间', | ||
'Previous period': '上一段时间', | ||
to: '至', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': '全天和多天活动', | ||
} | ||
Today: '今天', | ||
Month: '月', | ||
Week: '周', | ||
Day: '日', | ||
events: '场活动', | ||
event: '活动', | ||
'No events': '没有活动', | ||
'Next period': '下一段时间', | ||
'Previous period': '上一段时间', | ||
to: '至', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': '全天和多天活动', | ||
}; | ||
const zhCN = { | ||
...datePickerZhCN, | ||
...calendarZhCN, | ||
} | ||
...datePickerZhCN, | ||
...calendarZhCN, | ||
}; | ||
const datePickerJaJP = { | ||
Date: '日付', | ||
'MM/DD/YYYY': '年/月/日', | ||
'Next month': '次の月', | ||
'Previous month': '前の月', | ||
'Choose Date': '日付を選択', | ||
'Select View': 'ビューを選択', | ||
} | ||
Date: '日付', | ||
'MM/DD/YYYY': '年/月/日', | ||
'Next month': '次の月', | ||
'Previous month': '前の月', | ||
'Choose Date': '日付を選択', | ||
'Select View': 'ビューを選択', | ||
}; | ||
const calendarJaJP = { | ||
Today: '今日', | ||
Month: '月', | ||
Week: '週', | ||
Day: '日', | ||
events: 'イベント', | ||
event: 'イベント', | ||
'No events': 'イベントなし', | ||
'Next period': '次の期間', | ||
'Previous period': '前の期間', | ||
to: 'から', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': '終日および複数日イベント', | ||
} | ||
Today: '今日', | ||
Month: '月', | ||
Week: '週', | ||
Day: '日', | ||
events: 'イベント', | ||
event: 'イベント', | ||
'No events': 'イベントなし', | ||
'Next period': '次の期間', | ||
'Previous period': '前の期間', | ||
to: 'から', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': '終日および複数日イベント', | ||
}; | ||
const jaJP = { | ||
...datePickerJaJP, | ||
...calendarJaJP, | ||
} | ||
...datePickerJaJP, | ||
...calendarJaJP, | ||
}; | ||
const datePickerRuRU = { | ||
Date: 'Дата', | ||
'MM/DD/YYYY': 'ММ/ДД/ГГГГ', | ||
'Next month': 'Следующий месяц', | ||
'Previous month': 'Прошлый месяц', | ||
'Choose Date': 'Выберите дату', | ||
'Select View': 'Выберите вид', | ||
} | ||
Date: 'Дата', | ||
'MM/DD/YYYY': 'ММ/ДД/ГГГГ', | ||
'Next month': 'Следующий месяц', | ||
'Previous month': 'Прошлый месяц', | ||
'Choose Date': 'Выберите дату', | ||
'Select View': 'Выберите вид', | ||
}; | ||
const calendarRuRU = { | ||
Today: 'Сегодня', | ||
Month: 'Месяц', | ||
Week: 'Неделя', | ||
Day: 'День', | ||
events: 'события', | ||
event: 'событие', | ||
'No events': 'Нет событий', | ||
'Next period': 'Следующий период', | ||
'Previous period': 'Прошлый период', | ||
to: 'по', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': | ||
'События на целый день и несколько дней подряд', | ||
} | ||
Today: 'Сегодня', | ||
Month: 'Месяц', | ||
Week: 'Неделя', | ||
Day: 'День', | ||
events: 'события', | ||
event: 'событие', | ||
'No events': 'Нет событий', | ||
'Next period': 'Следующий период', | ||
'Previous period': 'Прошлый период', | ||
to: 'по', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'События на целый день и несколько дней подряд', | ||
}; | ||
const ruRU = { | ||
...datePickerRuRU, | ||
...calendarRuRU, | ||
} | ||
...datePickerRuRU, | ||
...calendarRuRU, | ||
}; | ||
const datePickerKoKR = { | ||
Date: '일자', | ||
'MM/DD/YYYY': '년/월/일', | ||
'Next month': '다음 달', | ||
'Previous month': '이전 달', | ||
'Choose Date': '날짜 선택', | ||
'Select View': '보기 선택', | ||
} | ||
Date: '일자', | ||
'MM/DD/YYYY': '년/월/일', | ||
'Next month': '다음 달', | ||
'Previous month': '이전 달', | ||
'Choose Date': '날짜 선택', | ||
'Select View': '보기 선택', | ||
}; | ||
const calendarKoKR = { | ||
Today: '오늘', | ||
Month: '월', | ||
Week: '주', | ||
Day: '일', | ||
events: '일정들', | ||
event: '일정', | ||
'No events': '일정 없음', | ||
'Next period': '다음', | ||
'Previous period': '이전', | ||
to: '부터', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': '종일 및 복수일 일정', | ||
} | ||
Today: '오늘', | ||
Month: '월', | ||
Week: '주', | ||
Day: '일', | ||
events: '일정들', | ||
event: '일정', | ||
'No events': '일정 없음', | ||
'Next period': '다음', | ||
'Previous period': '이전', | ||
to: '부터', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': '종일 및 복수일 일정', | ||
}; | ||
const koKR = { | ||
...datePickerKoKR, | ||
...calendarKoKR, | ||
} | ||
...datePickerKoKR, | ||
...calendarKoKR, | ||
}; | ||
const datePickerFrFR = { | ||
Date: 'Date', | ||
'MM/DD/YYYY': 'JJ/MM/AAAA', | ||
'Next month': 'Mois suivant', | ||
'Previous month': 'Mois précédent', | ||
'Choose Date': 'Choisir une date', | ||
'Select View': 'Choisir la vue', | ||
} | ||
Date: 'Date', | ||
'MM/DD/YYYY': 'JJ/MM/AAAA', | ||
'Next month': 'Mois suivant', | ||
'Previous month': 'Mois précédent', | ||
'Choose Date': 'Choisir une date', | ||
'Select View': 'Choisir la vue', | ||
}; | ||
const calendarFrFR = { | ||
Today: "Aujourd'hui", | ||
Month: 'Mois', | ||
Week: 'Semaine', | ||
Day: 'Jour', | ||
events: 'événements', | ||
event: 'événement', | ||
'No events': 'Aucun événement', | ||
'Next period': 'Période suivante', | ||
'Previous period': 'Période précédente', | ||
to: 'à', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': "Événements d'une ou plusieurs journées", | ||
} | ||
Today: "Aujourd'hui", | ||
Month: 'Mois', | ||
Week: 'Semaine', | ||
Day: 'Jour', | ||
events: 'événements', | ||
event: 'événement', | ||
'No events': 'Aucun événement', | ||
'Next period': 'Période suivante', | ||
'Previous period': 'Période précédente', | ||
to: 'à', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': "Événements d'une ou plusieurs journées", | ||
}; | ||
const frFR = { | ||
...datePickerFrFR, | ||
...calendarFrFR, | ||
} | ||
...datePickerFrFR, | ||
...calendarFrFR, | ||
}; | ||
const datePickerDaDK = { | ||
Date: 'Dato', | ||
'MM/DD/YYYY': 'ÅÅÅÅ-MM-DD', | ||
'Next month': 'Næste måned', | ||
'Previous month': 'Foregående måned', | ||
'Choose Date': 'Vælg dato', | ||
'Select View': 'Vælg visning', | ||
} | ||
Date: 'Dato', | ||
'MM/DD/YYYY': 'ÅÅÅÅ-MM-DD', | ||
'Next month': 'Næste måned', | ||
'Previous month': 'Foregående måned', | ||
'Choose Date': 'Vælg dato', | ||
'Select View': 'Vælg visning', | ||
}; | ||
const calendarDaDK = { | ||
Today: 'I dag', | ||
Month: 'Måned', | ||
Week: 'Uge', | ||
Day: 'Dag', | ||
events: 'begivenheder', | ||
event: 'begivenhed', | ||
'No events': 'Ingen begivenheder', | ||
'Next period': 'Næste periode', | ||
'Previous period': 'Forgående periode', | ||
to: 'til', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': | ||
'Heldagsbegivenheder og flerdagsbegivenheder', | ||
} | ||
Today: 'I dag', | ||
Month: 'Måned', | ||
Week: 'Uge', | ||
Day: 'Dag', | ||
events: 'begivenheder', | ||
event: 'begivenhed', | ||
'No events': 'Ingen begivenheder', | ||
'Next period': 'Næste periode', | ||
'Previous period': 'Forgående periode', | ||
to: 'til', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Heldagsbegivenheder og flerdagsbegivenheder', | ||
}; | ||
const daDK = { | ||
...datePickerDaDK, | ||
...calendarDaDK, | ||
} | ||
...datePickerDaDK, | ||
...calendarDaDK, | ||
}; | ||
const datePickerPlPL = { | ||
Date: 'Data', | ||
'MM/DD/YYYY': 'DD/MM/YYYY', | ||
'Next month': 'Następny miesiąc', | ||
'Previous month': 'Poprzedni miesiąc', | ||
'Choose Date': 'Wybiewrz datę', | ||
'Select View': 'Wybierz widok', | ||
} | ||
Date: 'Data', | ||
'MM/DD/YYYY': 'DD/MM/YYYY', | ||
'Next month': 'Następny miesiąc', | ||
'Previous month': 'Poprzedni miesiąc', | ||
'Choose Date': 'Wybiewrz datę', | ||
'Select View': 'Wybierz widok', | ||
}; | ||
const calendarPlPL = { | ||
Today: 'Dzisiaj', | ||
Month: 'Miesiąc', | ||
Week: 'Tydzień', | ||
Day: 'Dzień', | ||
events: 'wydarzenia', | ||
event: 'wydarzenie', | ||
'No events': 'Brak wydarzeń', | ||
'Next period': 'Następny okres', | ||
'Previous period': 'Poprzedni okres', | ||
to: 'do', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Wydarzenia całodniowe i wielodniowe', | ||
} | ||
Today: 'Dzisiaj', | ||
Month: 'Miesiąc', | ||
Week: 'Tydzień', | ||
Day: 'Dzień', | ||
events: 'wydarzenia', | ||
event: 'wydarzenie', | ||
'No events': 'Brak wydarzeń', | ||
'Next period': 'Następny okres', | ||
'Previous period': 'Poprzedni okres', | ||
to: 'do', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Wydarzenia całodniowe i wielodniowe', | ||
}; | ||
const plPL = { | ||
...datePickerPlPL, | ||
...calendarPlPL, | ||
} | ||
...datePickerPlPL, | ||
...calendarPlPL, | ||
}; | ||
const datePickerEsES = { | ||
Date: 'Fecha', | ||
'MM/DD/YYYY': 'DD/MM/YYYY', | ||
'Next month': 'Siguiente mes', | ||
'Previous month': 'Mes anterior', | ||
'Choose Date': 'Seleccione una fecha', | ||
'Select View': 'Seleccione una vista', | ||
} | ||
Date: 'Fecha', | ||
'MM/DD/YYYY': 'DD/MM/YYYY', | ||
'Next month': 'Siguiente mes', | ||
'Previous month': 'Mes anterior', | ||
'Choose Date': 'Seleccione una fecha', | ||
'Select View': 'Seleccione una vista', | ||
}; | ||
const calendarEsES = { | ||
Today: 'Hoy', | ||
Month: 'Mes', | ||
Week: 'Semana', | ||
Day: 'Día', | ||
events: 'eventos', | ||
event: 'evento', | ||
'No events': 'Sin eventos', | ||
'Next period': 'Siguiente período', | ||
'Previous period': 'Período anterior', | ||
to: 'a', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': | ||
'Día completo y eventos de múltiples días', | ||
} | ||
Today: 'Hoy', | ||
Month: 'Mes', | ||
Week: 'Semana', | ||
Day: 'Día', | ||
events: 'eventos', | ||
event: 'evento', | ||
'No events': 'Sin eventos', | ||
'Next period': 'Siguiente período', | ||
'Previous period': 'Período anterior', | ||
to: 'a', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Día completo y eventos de múltiples días', | ||
}; | ||
const esES = { | ||
...datePickerEsES, | ||
...calendarEsES, | ||
} | ||
...datePickerEsES, | ||
...calendarEsES, | ||
}; | ||
const calendarNlNL = { | ||
Today: 'Vandaag', | ||
Month: 'Maand', | ||
Week: 'Week', | ||
Day: 'Dag', | ||
events: 'gebeurtenissen', | ||
event: 'gebeurtenis', | ||
'No events': 'Geen gebeurtenissen', | ||
'Next period': 'Volgende periode', | ||
'Previous period': 'Vorige periode', | ||
to: 'tot', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': | ||
'Evenementen van een hele dag en meerdere dagen', | ||
} | ||
Today: 'Vandaag', | ||
Month: 'Maand', | ||
Week: 'Week', | ||
Day: 'Dag', | ||
events: 'gebeurtenissen', | ||
event: 'gebeurtenis', | ||
'No events': 'Geen gebeurtenissen', | ||
'Next period': 'Volgende periode', | ||
'Previous period': 'Vorige periode', | ||
to: 'tot', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Evenementen van een hele dag en meerdere dagen', | ||
}; | ||
const datePickerNlNL = { | ||
Date: 'Datum', | ||
'MM/DD/YYYY': 'DD-MM-JJJJ', | ||
'Next month': 'Vorige maand', | ||
'Previous month': 'Volgende maand', | ||
'Choose Date': 'Datum kiezen', | ||
'Select View': 'Weergave kiezen', | ||
} | ||
Date: 'Datum', | ||
'MM/DD/YYYY': 'DD-MM-JJJJ', | ||
'Next month': 'Vorige maand', | ||
'Previous month': 'Volgende maand', | ||
'Choose Date': 'Datum kiezen', | ||
'Select View': 'Weergave kiezen', | ||
}; | ||
const nlNL = { | ||
...datePickerNlNL, | ||
...calendarNlNL, | ||
} | ||
...datePickerNlNL, | ||
...calendarNlNL, | ||
}; | ||
const datePickerPtBR = { | ||
Date: 'Data', | ||
'MM/DD/YYYY': 'DD/MM/YYYY', | ||
'Next month': 'Mês seguinte', | ||
'Previous month': 'Mês anterior', | ||
'Choose Date': 'Escolha uma data', | ||
'Select View': 'Selecione uma visualização', | ||
} | ||
Date: 'Data', | ||
'MM/DD/YYYY': 'DD/MM/YYYY', | ||
'Next month': 'Mês seguinte', | ||
'Previous month': 'Mês anterior', | ||
'Choose Date': 'Escolha uma data', | ||
'Select View': 'Selecione uma visualização', | ||
}; | ||
const calendarPtBR = { | ||
Today: 'Hoje', | ||
Month: 'Mês', | ||
Week: 'Semana', | ||
Day: 'Dia', | ||
events: 'eventos', | ||
event: 'evento', | ||
'No events': 'Sem eventos', | ||
'Next period': 'Período seguinte', | ||
'Previous period': 'Período anterior', | ||
to: 'a', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Dia inteiro e eventos de vários dias', | ||
} | ||
Today: 'Hoje', | ||
Month: 'Mês', | ||
Week: 'Semana', | ||
Day: 'Dia', | ||
events: 'eventos', | ||
event: 'evento', | ||
'No events': 'Sem eventos', | ||
'Next period': 'Período seguinte', | ||
'Previous period': 'Período anterior', | ||
to: 'a', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Dia inteiro e eventos de vários dias', | ||
}; | ||
const ptBR = { | ||
...datePickerPtBR, | ||
...calendarPtBR, | ||
} | ||
...datePickerPtBR, | ||
...calendarPtBR, | ||
}; | ||
const datePickerSkSK = { | ||
Date: 'Dátum', | ||
'MM/DD/YYYY': 'DD/MM/YYYY', | ||
'Next month': 'Ďalší mesiac', | ||
'Previous month': 'Predchádzajúci mesiac', | ||
'Choose Date': 'Vyberte dátum', | ||
'Select View': 'Vyberte zobrazenie', | ||
} | ||
Date: 'Dátum', | ||
'MM/DD/YYYY': 'DD/MM/YYYY', | ||
'Next month': 'Ďalší mesiac', | ||
'Previous month': 'Predchádzajúci mesiac', | ||
'Choose Date': 'Vyberte dátum', | ||
'Select View': 'Vyberte zobrazenie', | ||
}; | ||
const calendarSkSK = { | ||
Today: 'Dnes', | ||
Month: 'Mesiac', | ||
Week: 'Týždeň', | ||
Day: 'Deň', | ||
events: 'udalosti', | ||
event: 'udalosť', | ||
'No events': 'Žiadne udalosti', | ||
'Next period': 'Ďalšie obdobie', | ||
'Previous period': 'Predchádzajúce obdobie', | ||
to: 'do', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Celodenné a viacdňové udalosti', | ||
} | ||
Today: 'Dnes', | ||
Month: 'Mesiac', | ||
Week: 'Týždeň', | ||
Day: 'Deň', | ||
events: 'udalosti', | ||
event: 'udalosť', | ||
'No events': 'Žiadne udalosti', | ||
'Next period': 'Ďalšie obdobie', | ||
'Previous period': 'Predchádzajúce obdobie', | ||
to: 'do', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Celodenné a viacdňové udalosti', | ||
}; | ||
const skSK = { | ||
...datePickerSkSK, | ||
...calendarSkSK, | ||
} | ||
...datePickerSkSK, | ||
...calendarSkSK, | ||
}; | ||
const datePickerMkMK = { | ||
Date: 'Датум', | ||
'MM/DD/YYYY': 'DD/MM/YYYY', | ||
'Next month': 'Следен месец', | ||
'Previous month': 'Претходен месец', | ||
'Choose Date': 'Избери Датум', | ||
'Select View': 'Избери Преглед', | ||
} | ||
Date: 'Датум', | ||
'MM/DD/YYYY': 'DD/MM/YYYY', | ||
'Next month': 'Следен месец', | ||
'Previous month': 'Претходен месец', | ||
'Choose Date': 'Избери Датум', | ||
'Select View': 'Избери Преглед', | ||
}; | ||
const calendarMkMK = { | ||
Today: 'Денес', | ||
Month: 'Месец', | ||
Week: 'Недела', | ||
Day: 'Ден', | ||
events: 'настани', | ||
event: 'настан', | ||
'No events': 'Нема настани', | ||
'Next period': 'Следен период', | ||
'Previous period': 'Претходен период', | ||
to: 'до', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Целодневни и повеќедневни настани', | ||
} | ||
Today: 'Денес', | ||
Month: 'Месец', | ||
Week: 'Недела', | ||
Day: 'Ден', | ||
events: 'настани', | ||
event: 'настан', | ||
'No events': 'Нема настани', | ||
'Next period': 'Следен период', | ||
'Previous period': 'Претходен период', | ||
to: 'до', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Целодневни и повеќедневни настани', | ||
}; | ||
const mkMK = { | ||
...datePickerMkMK, | ||
...calendarMkMK, | ||
} | ||
...datePickerMkMK, | ||
...calendarMkMK, | ||
}; | ||
const datePickerTrTR = { | ||
Date: 'Tarih', | ||
'MM/DD/YYYY': 'GG/AA/YYYY', | ||
'Next month': 'Sonraki ay', | ||
'Previous month': 'Önceki ay', | ||
'Choose Date': 'Tarih Seç', | ||
'Select View': 'Görünüm Seç', | ||
} | ||
Date: 'Tarih', | ||
'MM/DD/YYYY': 'GG/AA/YYYY', | ||
'Next month': 'Sonraki ay', | ||
'Previous month': 'Önceki ay', | ||
'Choose Date': 'Tarih Seç', | ||
'Select View': 'Görünüm Seç', | ||
}; | ||
const calendarTrTR = { | ||
Today: 'Bugün', | ||
Month: 'Aylık', | ||
Week: 'Haftalık', | ||
Day: 'Günlük', | ||
events: 'etkinlikler', | ||
event: 'etkinlik', | ||
'No events': 'Etkinlik yok', | ||
'Next period': 'Sonraki dönem', | ||
'Previous period': 'Önceki dönem', | ||
to: 'dan', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Tüm gün ve çoklu gün etkinlikleri', | ||
} | ||
Today: 'Bugün', | ||
Month: 'Aylık', | ||
Week: 'Haftalık', | ||
Day: 'Günlük', | ||
events: 'etkinlikler', | ||
event: 'etkinlik', | ||
'No events': 'Etkinlik yok', | ||
'Next period': 'Sonraki dönem', | ||
'Previous period': 'Önceki dönem', | ||
to: 'dan', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Tüm gün ve çoklu gün etkinlikleri', | ||
}; | ||
const trTR = { | ||
...datePickerTrTR, | ||
...calendarTrTR, | ||
} | ||
...datePickerTrTR, | ||
...calendarTrTR, | ||
}; | ||
const datePickerKyKG = { | ||
Date: 'Датасы', | ||
'MM/DD/YYYY': 'АА/КК/ЖЖЖЖ', | ||
'Next month': 'Кийинки ай', | ||
'Previous month': 'Өткөн ай', | ||
'Choose Date': 'Күндү тандаңыз', | ||
'Select View': 'Көрүнүштү тандаңыз', | ||
} | ||
Date: 'Датасы', | ||
'MM/DD/YYYY': 'АА/КК/ЖЖЖЖ', | ||
'Next month': 'Кийинки ай', | ||
'Previous month': 'Өткөн ай', | ||
'Choose Date': 'Күндү тандаңыз', | ||
'Select View': 'Көрүнүштү тандаңыз', | ||
}; | ||
const calendarKyKG = { | ||
Today: 'Бүгүн', | ||
Month: 'Ай', | ||
Week: 'Апта', | ||
Day: 'Күн', | ||
events: 'Окуялар', | ||
event: 'Окуя', | ||
'No events': 'Окуя жок', | ||
'Next period': 'Кийинки мезгил', | ||
'Previous period': 'Өткөн мезгил', | ||
to: 'чейин', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': | ||
'Күн бою жана бир нече күн катары менен болгон окуялар', | ||
} | ||
Today: 'Бүгүн', | ||
Month: 'Ай', | ||
Week: 'Апта', | ||
Day: 'Күн', | ||
events: 'Окуялар', | ||
event: 'Окуя', | ||
'No events': 'Окуя жок', | ||
'Next period': 'Кийинки мезгил', | ||
'Previous period': 'Өткөн мезгил', | ||
to: 'чейин', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Күн бою жана бир нече күн катары менен болгон окуялар', | ||
}; | ||
const kyKG = { | ||
...datePickerKyKG, | ||
...calendarKyKG, | ||
} | ||
...datePickerKyKG, | ||
...calendarKyKG, | ||
}; | ||
const datePickerIdID = { | ||
Date: 'Tanggal', | ||
'MM/DD/YYYY': 'DD.MM.YYYY', | ||
'Next month': 'Bulan depan', | ||
'Previous month': 'Bulan sebelumnya', | ||
'Choose Date': 'Pilih tanggal', | ||
'Select View': 'Pilih tampilan', | ||
} | ||
Date: 'Tanggal', | ||
'MM/DD/YYYY': 'DD.MM.YYYY', | ||
'Next month': 'Bulan depan', | ||
'Previous month': 'Bulan sebelumnya', | ||
'Choose Date': 'Pilih tanggal', | ||
'Select View': 'Pilih tampilan', | ||
}; | ||
const calendarIdID = { | ||
Today: 'Hari Ini', | ||
Month: 'Bulan', | ||
Week: 'Minggu', | ||
Day: 'Hari', | ||
events: 'Acara', | ||
event: 'Acara', | ||
'No events': 'Tidak ada acara', | ||
'Next period': 'Periode selanjutnya', | ||
'Previous period': 'Periode sebelumnya', | ||
to: 'sampai', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': | ||
'Sepanjang hari dan acara beberapa hari ', | ||
} | ||
Today: 'Hari Ini', | ||
Month: 'Bulan', | ||
Week: 'Minggu', | ||
Day: 'Hari', | ||
events: 'Acara', | ||
event: 'Acara', | ||
'No events': 'Tidak ada acara', | ||
'Next period': 'Periode selanjutnya', | ||
'Previous period': 'Periode sebelumnya', | ||
to: 'sampai', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Sepanjang hari dan acara beberapa hari ', | ||
}; | ||
const idID = { | ||
...datePickerIdID, | ||
...calendarIdID, | ||
} | ||
...datePickerIdID, | ||
...calendarIdID, | ||
}; | ||
class InvalidLocaleError extends Error { | ||
constructor(locale) { | ||
super(`Invalid locale: ${locale}`) | ||
} | ||
constructor(locale) { | ||
super(`Invalid locale: ${locale}`); | ||
} | ||
} | ||
const translate = (locale, languages) => (key) => { | ||
if (!/^[a-z]{2}-[A-Z]{2}$/.test(locale)) throw new InvalidLocaleError(locale) | ||
const deHyphenatedLocale = locale.replace('-', '') | ||
const language = languages[deHyphenatedLocale] | ||
if (!language) return key | ||
return language[key] || key | ||
} | ||
if (!/^[a-z]{2}-[A-Z]{2}$/.test(locale)) | ||
throw new InvalidLocaleError(locale); | ||
const deHyphenatedLocale = locale.replace('-', ''); | ||
const language = languages[deHyphenatedLocale]; | ||
if (!language) | ||
return key; | ||
return language[key] || key; | ||
}; | ||
const translations = { | ||
deDE, | ||
enUS, | ||
itIT, | ||
enGB, | ||
svSE, | ||
zhCN, | ||
jaJP, | ||
ruRU, | ||
koKR, | ||
frFR, | ||
daDK, | ||
mkMK, | ||
plPL, | ||
esES, | ||
nlNL, | ||
ptBR, | ||
skSK, | ||
trTR, | ||
kyKG, | ||
idID, | ||
} | ||
deDE, | ||
enUS, | ||
itIT, | ||
enGB, | ||
svSE, | ||
zhCN, | ||
jaJP, | ||
ruRU, | ||
koKR, | ||
frFR, | ||
daDK, | ||
mkMK, | ||
plPL, | ||
esES, | ||
nlNL, | ||
ptBR, | ||
skSK, | ||
trTR, | ||
kyKG, | ||
idID, | ||
}; | ||
const datePickerTranslations = { | ||
deDE: datePickerDeDE, | ||
enUS: datePickerEnUS, | ||
itIT: datePickerItIT, | ||
enGB: datePickerEnGB, | ||
svSE: datePickerSvSE, | ||
zhCN: datePickerZhCN, | ||
jaJP: datePickerJaJP, | ||
ruRU: datePickerRuRU, | ||
koKR: datePickerKoKR, | ||
frFR: datePickerFrFR, | ||
daDK: datePickerDaDK, | ||
mkMK: datePickerMkMK, | ||
plPL: datePickerPlPL, | ||
esES: datePickerEsES, | ||
nlNL: datePickerNlNL, | ||
ptBR: datePickerPtBR, | ||
skSK: datePickerSkSK, | ||
trTR: datePickerTrTR, | ||
kyKG: datePickerKyKG, | ||
idID: datePickerIdID, | ||
} | ||
deDE: datePickerDeDE, | ||
enUS: datePickerEnUS, | ||
itIT: datePickerItIT, | ||
enGB: datePickerEnGB, | ||
svSE: datePickerSvSE, | ||
zhCN: datePickerZhCN, | ||
jaJP: datePickerJaJP, | ||
ruRU: datePickerRuRU, | ||
koKR: datePickerKoKR, | ||
frFR: datePickerFrFR, | ||
daDK: datePickerDaDK, | ||
mkMK: datePickerMkMK, | ||
plPL: datePickerPlPL, | ||
esES: datePickerEsES, | ||
nlNL: datePickerNlNL, | ||
ptBR: datePickerPtBR, | ||
skSK: datePickerSkSK, | ||
trTR: datePickerTrTR, | ||
kyKG: datePickerKyKG, | ||
idID: datePickerIdID, | ||
}; | ||
exports.daDK = daDK | ||
exports.datePickerTranslations = datePickerTranslations | ||
exports.deDE = deDE | ||
exports.enGB = enGB | ||
exports.enUS = enUS | ||
exports.esES = esES | ||
exports.frFR = frFR | ||
exports.idID = idID | ||
exports.itIT = itIT | ||
exports.jaJP = jaJP | ||
exports.koKR = koKR | ||
exports.kyKG = kyKG | ||
exports.mkMK = mkMK | ||
exports.nlNL = nlNL | ||
exports.plPL = plPL | ||
exports.ptBR = ptBR | ||
exports.ruRU = ruRU | ||
exports.skSK = skSK | ||
exports.svSE = svSE | ||
exports.trTR = trTR | ||
exports.translate = translate | ||
exports.translations = translations | ||
exports.zhCN = zhCN | ||
exports.daDK = daDK; | ||
exports.datePickerTranslations = datePickerTranslations; | ||
exports.deDE = deDE; | ||
exports.enGB = enGB; | ||
exports.enUS = enUS; | ||
exports.esES = esES; | ||
exports.frFR = frFR; | ||
exports.idID = idID; | ||
exports.itIT = itIT; | ||
exports.jaJP = jaJP; | ||
exports.koKR = koKR; | ||
exports.kyKG = kyKG; | ||
exports.mkMK = mkMK; | ||
exports.nlNL = nlNL; | ||
exports.plPL = plPL; | ||
exports.ptBR = ptBR; | ||
exports.ruRU = ruRU; | ||
exports.skSK = skSK; | ||
exports.svSE = svSE; | ||
exports.trTR = trTR; | ||
exports.translate = translate; | ||
exports.translations = translations; | ||
exports.zhCN = zhCN; |
interface DatePickerTranslations { | ||
Date: string | ||
'MM/DD/YYYY': string | ||
'Next month': string | ||
'Previous month': string | ||
'Choose Date': string | ||
'Select View': string | ||
Date: string; | ||
"MM/DD/YYYY": string; | ||
"Next month": string; | ||
"Previous month": string; | ||
"Choose Date": string; | ||
"Select View": string; | ||
} | ||
interface CalendarTranslations { | ||
Today: string | ||
Month: string | ||
Week: string | ||
Day: string | ||
events: string | ||
event: string | ||
'No events': string | ||
'Next period': string | ||
'Previous period': string | ||
to: string // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': string | ||
Today: string; | ||
Month: string; | ||
Week: string; | ||
Day: string; | ||
events: string; | ||
event: string; | ||
"No events": string; | ||
"Next period": string; | ||
"Previous period": string; | ||
to: string; // as in 2/1/2020 to 2/2/2020 | ||
"Full day- and multiple day events": string; | ||
} | ||
type Language = DatePickerTranslations & CalendarTranslations | ||
declare const deDE: Language | ||
declare const enUS: Language | ||
declare const itIT: Language | ||
declare const enGB: Language | ||
declare const svSE: Language | ||
declare const zhCN: Language | ||
declare const jaJP: Language | ||
declare const ruRU: Language | ||
declare const koKR: Language | ||
declare const frFR: Language | ||
declare const daDK: Language | ||
declare const plPL: Language | ||
declare const esES: Language | ||
declare const nlNL: Language | ||
declare const ptBR: Language | ||
declare const skSK: Language | ||
declare const mkMK: Language | ||
declare const trTR: Language | ||
declare const kyKG: Language | ||
declare const idID: Language | ||
declare const translate: ( | ||
locale: string, | ||
languages: Record<string, object> | ||
) => (key: string) => string | ||
type Language = DatePickerTranslations & CalendarTranslations; | ||
declare const deDE: Language; | ||
declare const enUS: Language; | ||
declare const itIT: Language; | ||
declare const enGB: Language; | ||
declare const svSE: Language; | ||
declare const zhCN: Language; | ||
declare const jaJP: Language; | ||
declare const ruRU: Language; | ||
declare const koKR: Language; | ||
declare const frFR: Language; | ||
declare const daDK: Language; | ||
declare const plPL: Language; | ||
declare const esES: Language; | ||
declare const nlNL: Language; | ||
declare const ptBR: Language; | ||
declare const skSK: Language; | ||
declare const mkMK: Language; | ||
declare const trTR: Language; | ||
declare const kyKG: Language; | ||
declare const idID: Language; | ||
declare const translate: (locale: string, languages: Record<string, object>) => (key: string) => string; | ||
declare const translations: { | ||
deDE: Language | ||
enUS: Language | ||
itIT: Language | ||
enGB: Language | ||
svSE: Language | ||
zhCN: Language | ||
jaJP: Language | ||
ruRU: Language | ||
koKR: Language | ||
frFR: Language | ||
daDK: Language | ||
mkMK: Language | ||
plPL: Language | ||
esES: Language | ||
nlNL: Language | ||
ptBR: Language | ||
skSK: Language | ||
trTR: Language | ||
kyKG: Language | ||
idID: Language | ||
} | ||
deDE: Language; | ||
enUS: Language; | ||
itIT: Language; | ||
enGB: Language; | ||
svSE: Language; | ||
zhCN: Language; | ||
jaJP: Language; | ||
ruRU: Language; | ||
koKR: Language; | ||
frFR: Language; | ||
daDK: Language; | ||
mkMK: Language; | ||
plPL: Language; | ||
esES: Language; | ||
nlNL: Language; | ||
ptBR: Language; | ||
skSK: Language; | ||
trTR: Language; | ||
kyKG: Language; | ||
idID: Language; | ||
}; | ||
declare const datePickerTranslations: { | ||
deDE: DatePickerTranslations | ||
enUS: DatePickerTranslations | ||
itIT: DatePickerTranslations | ||
enGB: DatePickerTranslations | ||
svSE: DatePickerTranslations | ||
zhCN: DatePickerTranslations | ||
jaJP: DatePickerTranslations | ||
ruRU: DatePickerTranslations | ||
koKR: DatePickerTranslations | ||
frFR: DatePickerTranslations | ||
daDK: DatePickerTranslations | ||
mkMK: DatePickerTranslations | ||
plPL: DatePickerTranslations | ||
esES: DatePickerTranslations | ||
nlNL: DatePickerTranslations | ||
ptBR: DatePickerTranslations | ||
skSK: DatePickerTranslations | ||
trTR: DatePickerTranslations | ||
kyKG: DatePickerTranslations | ||
idID: DatePickerTranslations | ||
} | ||
export { | ||
translate, | ||
translations, | ||
datePickerTranslations, | ||
deDE, | ||
enUS, | ||
itIT, | ||
enGB, | ||
svSE, | ||
zhCN, | ||
jaJP, | ||
ruRU, | ||
koKR, | ||
frFR, | ||
daDK, | ||
plPL, | ||
esES, | ||
mkMK, | ||
nlNL, | ||
ptBR, | ||
skSK, | ||
trTR, | ||
kyKG, | ||
idID, | ||
} | ||
deDE: DatePickerTranslations; | ||
enUS: DatePickerTranslations; | ||
itIT: DatePickerTranslations; | ||
enGB: DatePickerTranslations; | ||
svSE: DatePickerTranslations; | ||
zhCN: DatePickerTranslations; | ||
jaJP: DatePickerTranslations; | ||
ruRU: DatePickerTranslations; | ||
koKR: DatePickerTranslations; | ||
frFR: DatePickerTranslations; | ||
daDK: DatePickerTranslations; | ||
mkMK: DatePickerTranslations; | ||
plPL: DatePickerTranslations; | ||
esES: DatePickerTranslations; | ||
nlNL: DatePickerTranslations; | ||
ptBR: DatePickerTranslations; | ||
skSK: DatePickerTranslations; | ||
trTR: DatePickerTranslations; | ||
kyKG: DatePickerTranslations; | ||
idID: DatePickerTranslations; | ||
}; | ||
export { translate, translations, datePickerTranslations, deDE, enUS, itIT, enGB, svSE, zhCN, jaJP, ruRU, koKR, frFR, daDK, plPL, esES, mkMK, nlNL, ptBR, skSK, trTR, kyKG, idID }; |
1017
dist/core.js
const datePickerDeDE = { | ||
Date: 'Datum', | ||
'MM/DD/YYYY': 'TT.MM.JJJJ', | ||
'Next month': 'Nächster Monat', | ||
'Previous month': 'Vorheriger Monat', | ||
'Choose Date': 'Datum auswählen', | ||
'Select View': 'Ansicht auswählen', | ||
} | ||
Date: 'Datum', | ||
'MM/DD/YYYY': 'TT.MM.JJJJ', | ||
'Next month': 'Nächster Monat', | ||
'Previous month': 'Vorheriger Monat', | ||
'Choose Date': 'Datum auswählen', | ||
'Select View': 'Ansicht auswählen', | ||
}; | ||
const calendarDeDE = { | ||
Today: 'Heute', | ||
Month: 'Monat', | ||
Week: 'Woche', | ||
Day: 'Tag', | ||
events: 'Ereignisse', | ||
event: 'Ereignis', | ||
'No events': 'Keine Ereignisse', | ||
'Next period': 'Nächster Zeitraum', | ||
'Previous period': 'Vorheriger Zeitraum', | ||
to: 'bis', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Ganztägige und mehrtägige Ereignisse', | ||
} | ||
Today: 'Heute', | ||
Month: 'Monat', | ||
Week: 'Woche', | ||
Day: 'Tag', | ||
events: 'Ereignisse', | ||
event: 'Ereignis', | ||
'No events': 'Keine Ereignisse', | ||
'Next period': 'Nächster Zeitraum', | ||
'Previous period': 'Vorheriger Zeitraum', | ||
to: 'bis', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Ganztägige und mehrtägige Ereignisse', | ||
}; | ||
const deDE = { | ||
...datePickerDeDE, | ||
...calendarDeDE, | ||
} | ||
...datePickerDeDE, | ||
...calendarDeDE, | ||
}; | ||
const datePickerEnUS = { | ||
Date: 'Date', | ||
'MM/DD/YYYY': 'MM/DD/YYYY', | ||
'Next month': 'Next month', | ||
'Previous month': 'Previous month', | ||
'Choose Date': 'Choose Date', | ||
'Select View': 'Select View', | ||
} | ||
Date: 'Date', | ||
'MM/DD/YYYY': 'MM/DD/YYYY', | ||
'Next month': 'Next month', | ||
'Previous month': 'Previous month', | ||
'Choose Date': 'Choose Date', | ||
'Select View': 'Select View', | ||
}; | ||
const calendarEnUS = { | ||
Today: 'Today', | ||
Month: 'Month', | ||
Week: 'Week', | ||
Day: 'Day', | ||
events: 'events', | ||
event: 'event', | ||
'No events': 'No events', | ||
'Next period': 'Next period', | ||
'Previous period': 'Previous period', | ||
to: 'to', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Full day- and multiple day events', | ||
} | ||
Today: 'Today', | ||
Month: 'Month', | ||
Week: 'Week', | ||
Day: 'Day', | ||
events: 'events', | ||
event: 'event', | ||
'No events': 'No events', | ||
'Next period': 'Next period', | ||
'Previous period': 'Previous period', | ||
to: 'to', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Full day- and multiple day events', | ||
}; | ||
const enUS = { | ||
...datePickerEnUS, | ||
...calendarEnUS, | ||
} | ||
...datePickerEnUS, | ||
...calendarEnUS, | ||
}; | ||
const datePickerItIT = { | ||
Date: 'Data', | ||
'MM/DD/YYYY': 'DD/MM/YYYY', | ||
'Next month': 'Mese successivo', | ||
'Previous month': 'Mese precedente', | ||
'Choose Date': 'Scegli la data', | ||
'Select View': 'Seleziona la vista', | ||
} | ||
Date: 'Data', | ||
'MM/DD/YYYY': 'DD/MM/YYYY', | ||
'Next month': 'Mese successivo', | ||
'Previous month': 'Mese precedente', | ||
'Choose Date': 'Scegli la data', | ||
'Select View': 'Seleziona la vista', | ||
}; | ||
const calendarItIT = { | ||
Today: 'Oggi', | ||
Month: 'Mese', | ||
Week: 'Settimana', | ||
Day: 'Giorno', | ||
events: 'eventi', | ||
event: 'evento', | ||
'No events': 'Nessun evento', | ||
'Next period': 'Periodo successivo', | ||
'Previous period': 'Periodo precedente', | ||
to: 'a', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': | ||
'Eventi della giornata e plurigiornalieri', | ||
} | ||
Today: 'Oggi', | ||
Month: 'Mese', | ||
Week: 'Settimana', | ||
Day: 'Giorno', | ||
events: 'eventi', | ||
event: 'evento', | ||
'No events': 'Nessun evento', | ||
'Next period': 'Periodo successivo', | ||
'Previous period': 'Periodo precedente', | ||
to: 'a', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Eventi della giornata e plurigiornalieri', | ||
}; | ||
const itIT = { | ||
...datePickerItIT, | ||
...calendarItIT, | ||
} | ||
...datePickerItIT, | ||
...calendarItIT, | ||
}; | ||
const datePickerEnGB = { | ||
Date: 'Date', | ||
'MM/DD/YYYY': 'DD/MM/YYYY', | ||
'Next month': 'Next month', | ||
'Previous month': 'Previous month', | ||
'Choose Date': 'Choose Date', | ||
'Select View': 'Select View', | ||
} | ||
Date: 'Date', | ||
'MM/DD/YYYY': 'DD/MM/YYYY', | ||
'Next month': 'Next month', | ||
'Previous month': 'Previous month', | ||
'Choose Date': 'Choose Date', | ||
'Select View': 'Select View', | ||
}; | ||
const calendarEnGB = { | ||
Today: 'Today', | ||
Month: 'Month', | ||
Week: 'Week', | ||
Day: 'Day', | ||
events: 'events', | ||
event: 'event', | ||
'No events': 'No events', | ||
'Next period': 'Next period', | ||
'Previous period': 'Previous period', | ||
to: 'to', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Full day- and multiple day events', | ||
} | ||
Today: 'Today', | ||
Month: 'Month', | ||
Week: 'Week', | ||
Day: 'Day', | ||
events: 'events', | ||
event: 'event', | ||
'No events': 'No events', | ||
'Next period': 'Next period', | ||
'Previous period': 'Previous period', | ||
to: 'to', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Full day- and multiple day events', | ||
}; | ||
const enGB = { | ||
...datePickerEnGB, | ||
...calendarEnGB, | ||
} | ||
...datePickerEnGB, | ||
...calendarEnGB, | ||
}; | ||
const datePickerSvSE = { | ||
Date: 'Datum', | ||
'MM/DD/YYYY': 'ÅÅÅÅ-MM-DD', | ||
'Next month': 'Nästa månad', | ||
'Previous month': 'Föregående månad', | ||
'Choose Date': 'Välj datum', | ||
'Select View': 'Välj vy', | ||
} | ||
Date: 'Datum', | ||
'MM/DD/YYYY': 'ÅÅÅÅ-MM-DD', | ||
'Next month': 'Nästa månad', | ||
'Previous month': 'Föregående månad', | ||
'Choose Date': 'Välj datum', | ||
'Select View': 'Välj vy', | ||
}; | ||
const calendarSvSE = { | ||
Today: 'Idag', | ||
Month: 'Månad', | ||
Week: 'Vecka', | ||
Day: 'Dag', | ||
events: 'händelser', | ||
event: 'händelse', | ||
'No events': 'Inga händelser', | ||
'Next period': 'Nästa period', | ||
'Previous period': 'Föregående period', | ||
to: 'till', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Heldags- och flerdagshändelser', | ||
} | ||
Today: 'Idag', | ||
Month: 'Månad', | ||
Week: 'Vecka', | ||
Day: 'Dag', | ||
events: 'händelser', | ||
event: 'händelse', | ||
'No events': 'Inga händelser', | ||
'Next period': 'Nästa period', | ||
'Previous period': 'Föregående period', | ||
to: 'till', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Heldags- och flerdagshändelser', | ||
}; | ||
const svSE = { | ||
...datePickerSvSE, | ||
...calendarSvSE, | ||
} | ||
...datePickerSvSE, | ||
...calendarSvSE, | ||
}; | ||
const datePickerZhCN = { | ||
Date: '日期', | ||
'MM/DD/YYYY': '年/月/日', | ||
'Next month': '下个月', | ||
'Previous month': '上个月', | ||
'Choose Date': '选择日期', | ||
'Select View': '选择视图', | ||
} | ||
Date: '日期', | ||
'MM/DD/YYYY': '年/月/日', | ||
'Next month': '下个月', | ||
'Previous month': '上个月', | ||
'Choose Date': '选择日期', | ||
'Select View': '选择视图', | ||
}; | ||
const calendarZhCN = { | ||
Today: '今天', | ||
Month: '月', | ||
Week: '周', | ||
Day: '日', | ||
events: '场活动', | ||
event: '活动', | ||
'No events': '没有活动', | ||
'Next period': '下一段时间', | ||
'Previous period': '上一段时间', | ||
to: '至', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': '全天和多天活动', | ||
} | ||
Today: '今天', | ||
Month: '月', | ||
Week: '周', | ||
Day: '日', | ||
events: '场活动', | ||
event: '活动', | ||
'No events': '没有活动', | ||
'Next period': '下一段时间', | ||
'Previous period': '上一段时间', | ||
to: '至', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': '全天和多天活动', | ||
}; | ||
const zhCN = { | ||
...datePickerZhCN, | ||
...calendarZhCN, | ||
} | ||
...datePickerZhCN, | ||
...calendarZhCN, | ||
}; | ||
const datePickerJaJP = { | ||
Date: '日付', | ||
'MM/DD/YYYY': '年/月/日', | ||
'Next month': '次の月', | ||
'Previous month': '前の月', | ||
'Choose Date': '日付を選択', | ||
'Select View': 'ビューを選択', | ||
} | ||
Date: '日付', | ||
'MM/DD/YYYY': '年/月/日', | ||
'Next month': '次の月', | ||
'Previous month': '前の月', | ||
'Choose Date': '日付を選択', | ||
'Select View': 'ビューを選択', | ||
}; | ||
const calendarJaJP = { | ||
Today: '今日', | ||
Month: '月', | ||
Week: '週', | ||
Day: '日', | ||
events: 'イベント', | ||
event: 'イベント', | ||
'No events': 'イベントなし', | ||
'Next period': '次の期間', | ||
'Previous period': '前の期間', | ||
to: 'から', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': '終日および複数日イベント', | ||
} | ||
Today: '今日', | ||
Month: '月', | ||
Week: '週', | ||
Day: '日', | ||
events: 'イベント', | ||
event: 'イベント', | ||
'No events': 'イベントなし', | ||
'Next period': '次の期間', | ||
'Previous period': '前の期間', | ||
to: 'から', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': '終日および複数日イベント', | ||
}; | ||
const jaJP = { | ||
...datePickerJaJP, | ||
...calendarJaJP, | ||
} | ||
...datePickerJaJP, | ||
...calendarJaJP, | ||
}; | ||
const datePickerRuRU = { | ||
Date: 'Дата', | ||
'MM/DD/YYYY': 'ММ/ДД/ГГГГ', | ||
'Next month': 'Следующий месяц', | ||
'Previous month': 'Прошлый месяц', | ||
'Choose Date': 'Выберите дату', | ||
'Select View': 'Выберите вид', | ||
} | ||
Date: 'Дата', | ||
'MM/DD/YYYY': 'ММ/ДД/ГГГГ', | ||
'Next month': 'Следующий месяц', | ||
'Previous month': 'Прошлый месяц', | ||
'Choose Date': 'Выберите дату', | ||
'Select View': 'Выберите вид', | ||
}; | ||
const calendarRuRU = { | ||
Today: 'Сегодня', | ||
Month: 'Месяц', | ||
Week: 'Неделя', | ||
Day: 'День', | ||
events: 'события', | ||
event: 'событие', | ||
'No events': 'Нет событий', | ||
'Next period': 'Следующий период', | ||
'Previous period': 'Прошлый период', | ||
to: 'по', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': | ||
'События на целый день и несколько дней подряд', | ||
} | ||
Today: 'Сегодня', | ||
Month: 'Месяц', | ||
Week: 'Неделя', | ||
Day: 'День', | ||
events: 'события', | ||
event: 'событие', | ||
'No events': 'Нет событий', | ||
'Next period': 'Следующий период', | ||
'Previous period': 'Прошлый период', | ||
to: 'по', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'События на целый день и несколько дней подряд', | ||
}; | ||
const ruRU = { | ||
...datePickerRuRU, | ||
...calendarRuRU, | ||
} | ||
...datePickerRuRU, | ||
...calendarRuRU, | ||
}; | ||
const datePickerKoKR = { | ||
Date: '일자', | ||
'MM/DD/YYYY': '년/월/일', | ||
'Next month': '다음 달', | ||
'Previous month': '이전 달', | ||
'Choose Date': '날짜 선택', | ||
'Select View': '보기 선택', | ||
} | ||
Date: '일자', | ||
'MM/DD/YYYY': '년/월/일', | ||
'Next month': '다음 달', | ||
'Previous month': '이전 달', | ||
'Choose Date': '날짜 선택', | ||
'Select View': '보기 선택', | ||
}; | ||
const calendarKoKR = { | ||
Today: '오늘', | ||
Month: '월', | ||
Week: '주', | ||
Day: '일', | ||
events: '일정들', | ||
event: '일정', | ||
'No events': '일정 없음', | ||
'Next period': '다음', | ||
'Previous period': '이전', | ||
to: '부터', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': '종일 및 복수일 일정', | ||
} | ||
Today: '오늘', | ||
Month: '월', | ||
Week: '주', | ||
Day: '일', | ||
events: '일정들', | ||
event: '일정', | ||
'No events': '일정 없음', | ||
'Next period': '다음', | ||
'Previous period': '이전', | ||
to: '부터', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': '종일 및 복수일 일정', | ||
}; | ||
const koKR = { | ||
...datePickerKoKR, | ||
...calendarKoKR, | ||
} | ||
...datePickerKoKR, | ||
...calendarKoKR, | ||
}; | ||
const datePickerFrFR = { | ||
Date: 'Date', | ||
'MM/DD/YYYY': 'JJ/MM/AAAA', | ||
'Next month': 'Mois suivant', | ||
'Previous month': 'Mois précédent', | ||
'Choose Date': 'Choisir une date', | ||
'Select View': 'Choisir la vue', | ||
} | ||
Date: 'Date', | ||
'MM/DD/YYYY': 'JJ/MM/AAAA', | ||
'Next month': 'Mois suivant', | ||
'Previous month': 'Mois précédent', | ||
'Choose Date': 'Choisir une date', | ||
'Select View': 'Choisir la vue', | ||
}; | ||
const calendarFrFR = { | ||
Today: "Aujourd'hui", | ||
Month: 'Mois', | ||
Week: 'Semaine', | ||
Day: 'Jour', | ||
events: 'événements', | ||
event: 'événement', | ||
'No events': 'Aucun événement', | ||
'Next period': 'Période suivante', | ||
'Previous period': 'Période précédente', | ||
to: 'à', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': "Événements d'une ou plusieurs journées", | ||
} | ||
Today: "Aujourd'hui", | ||
Month: 'Mois', | ||
Week: 'Semaine', | ||
Day: 'Jour', | ||
events: 'événements', | ||
event: 'événement', | ||
'No events': 'Aucun événement', | ||
'Next period': 'Période suivante', | ||
'Previous period': 'Période précédente', | ||
to: 'à', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': "Événements d'une ou plusieurs journées", | ||
}; | ||
const frFR = { | ||
...datePickerFrFR, | ||
...calendarFrFR, | ||
} | ||
...datePickerFrFR, | ||
...calendarFrFR, | ||
}; | ||
const datePickerDaDK = { | ||
Date: 'Dato', | ||
'MM/DD/YYYY': 'ÅÅÅÅ-MM-DD', | ||
'Next month': 'Næste måned', | ||
'Previous month': 'Foregående måned', | ||
'Choose Date': 'Vælg dato', | ||
'Select View': 'Vælg visning', | ||
} | ||
Date: 'Dato', | ||
'MM/DD/YYYY': 'ÅÅÅÅ-MM-DD', | ||
'Next month': 'Næste måned', | ||
'Previous month': 'Foregående måned', | ||
'Choose Date': 'Vælg dato', | ||
'Select View': 'Vælg visning', | ||
}; | ||
const calendarDaDK = { | ||
Today: 'I dag', | ||
Month: 'Måned', | ||
Week: 'Uge', | ||
Day: 'Dag', | ||
events: 'begivenheder', | ||
event: 'begivenhed', | ||
'No events': 'Ingen begivenheder', | ||
'Next period': 'Næste periode', | ||
'Previous period': 'Forgående periode', | ||
to: 'til', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': | ||
'Heldagsbegivenheder og flerdagsbegivenheder', | ||
} | ||
Today: 'I dag', | ||
Month: 'Måned', | ||
Week: 'Uge', | ||
Day: 'Dag', | ||
events: 'begivenheder', | ||
event: 'begivenhed', | ||
'No events': 'Ingen begivenheder', | ||
'Next period': 'Næste periode', | ||
'Previous period': 'Forgående periode', | ||
to: 'til', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Heldagsbegivenheder og flerdagsbegivenheder', | ||
}; | ||
const daDK = { | ||
...datePickerDaDK, | ||
...calendarDaDK, | ||
} | ||
...datePickerDaDK, | ||
...calendarDaDK, | ||
}; | ||
const datePickerPlPL = { | ||
Date: 'Data', | ||
'MM/DD/YYYY': 'DD/MM/YYYY', | ||
'Next month': 'Następny miesiąc', | ||
'Previous month': 'Poprzedni miesiąc', | ||
'Choose Date': 'Wybiewrz datę', | ||
'Select View': 'Wybierz widok', | ||
} | ||
Date: 'Data', | ||
'MM/DD/YYYY': 'DD/MM/YYYY', | ||
'Next month': 'Następny miesiąc', | ||
'Previous month': 'Poprzedni miesiąc', | ||
'Choose Date': 'Wybiewrz datę', | ||
'Select View': 'Wybierz widok', | ||
}; | ||
const calendarPlPL = { | ||
Today: 'Dzisiaj', | ||
Month: 'Miesiąc', | ||
Week: 'Tydzień', | ||
Day: 'Dzień', | ||
events: 'wydarzenia', | ||
event: 'wydarzenie', | ||
'No events': 'Brak wydarzeń', | ||
'Next period': 'Następny okres', | ||
'Previous period': 'Poprzedni okres', | ||
to: 'do', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Wydarzenia całodniowe i wielodniowe', | ||
} | ||
Today: 'Dzisiaj', | ||
Month: 'Miesiąc', | ||
Week: 'Tydzień', | ||
Day: 'Dzień', | ||
events: 'wydarzenia', | ||
event: 'wydarzenie', | ||
'No events': 'Brak wydarzeń', | ||
'Next period': 'Następny okres', | ||
'Previous period': 'Poprzedni okres', | ||
to: 'do', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Wydarzenia całodniowe i wielodniowe', | ||
}; | ||
const plPL = { | ||
...datePickerPlPL, | ||
...calendarPlPL, | ||
} | ||
...datePickerPlPL, | ||
...calendarPlPL, | ||
}; | ||
const datePickerEsES = { | ||
Date: 'Fecha', | ||
'MM/DD/YYYY': 'DD/MM/YYYY', | ||
'Next month': 'Siguiente mes', | ||
'Previous month': 'Mes anterior', | ||
'Choose Date': 'Seleccione una fecha', | ||
'Select View': 'Seleccione una vista', | ||
} | ||
Date: 'Fecha', | ||
'MM/DD/YYYY': 'DD/MM/YYYY', | ||
'Next month': 'Siguiente mes', | ||
'Previous month': 'Mes anterior', | ||
'Choose Date': 'Seleccione una fecha', | ||
'Select View': 'Seleccione una vista', | ||
}; | ||
const calendarEsES = { | ||
Today: 'Hoy', | ||
Month: 'Mes', | ||
Week: 'Semana', | ||
Day: 'Día', | ||
events: 'eventos', | ||
event: 'evento', | ||
'No events': 'Sin eventos', | ||
'Next period': 'Siguiente período', | ||
'Previous period': 'Período anterior', | ||
to: 'a', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': | ||
'Día completo y eventos de múltiples días', | ||
} | ||
Today: 'Hoy', | ||
Month: 'Mes', | ||
Week: 'Semana', | ||
Day: 'Día', | ||
events: 'eventos', | ||
event: 'evento', | ||
'No events': 'Sin eventos', | ||
'Next period': 'Siguiente período', | ||
'Previous period': 'Período anterior', | ||
to: 'a', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Día completo y eventos de múltiples días', | ||
}; | ||
const esES = { | ||
...datePickerEsES, | ||
...calendarEsES, | ||
} | ||
...datePickerEsES, | ||
...calendarEsES, | ||
}; | ||
const calendarNlNL = { | ||
Today: 'Vandaag', | ||
Month: 'Maand', | ||
Week: 'Week', | ||
Day: 'Dag', | ||
events: 'gebeurtenissen', | ||
event: 'gebeurtenis', | ||
'No events': 'Geen gebeurtenissen', | ||
'Next period': 'Volgende periode', | ||
'Previous period': 'Vorige periode', | ||
to: 'tot', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': | ||
'Evenementen van een hele dag en meerdere dagen', | ||
} | ||
Today: 'Vandaag', | ||
Month: 'Maand', | ||
Week: 'Week', | ||
Day: 'Dag', | ||
events: 'gebeurtenissen', | ||
event: 'gebeurtenis', | ||
'No events': 'Geen gebeurtenissen', | ||
'Next period': 'Volgende periode', | ||
'Previous period': 'Vorige periode', | ||
to: 'tot', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Evenementen van een hele dag en meerdere dagen', | ||
}; | ||
const datePickerNlNL = { | ||
Date: 'Datum', | ||
'MM/DD/YYYY': 'DD-MM-JJJJ', | ||
'Next month': 'Vorige maand', | ||
'Previous month': 'Volgende maand', | ||
'Choose Date': 'Datum kiezen', | ||
'Select View': 'Weergave kiezen', | ||
} | ||
Date: 'Datum', | ||
'MM/DD/YYYY': 'DD-MM-JJJJ', | ||
'Next month': 'Vorige maand', | ||
'Previous month': 'Volgende maand', | ||
'Choose Date': 'Datum kiezen', | ||
'Select View': 'Weergave kiezen', | ||
}; | ||
const nlNL = { | ||
...datePickerNlNL, | ||
...calendarNlNL, | ||
} | ||
...datePickerNlNL, | ||
...calendarNlNL, | ||
}; | ||
const datePickerPtBR = { | ||
Date: 'Data', | ||
'MM/DD/YYYY': 'DD/MM/YYYY', | ||
'Next month': 'Mês seguinte', | ||
'Previous month': 'Mês anterior', | ||
'Choose Date': 'Escolha uma data', | ||
'Select View': 'Selecione uma visualização', | ||
} | ||
Date: 'Data', | ||
'MM/DD/YYYY': 'DD/MM/YYYY', | ||
'Next month': 'Mês seguinte', | ||
'Previous month': 'Mês anterior', | ||
'Choose Date': 'Escolha uma data', | ||
'Select View': 'Selecione uma visualização', | ||
}; | ||
const calendarPtBR = { | ||
Today: 'Hoje', | ||
Month: 'Mês', | ||
Week: 'Semana', | ||
Day: 'Dia', | ||
events: 'eventos', | ||
event: 'evento', | ||
'No events': 'Sem eventos', | ||
'Next period': 'Período seguinte', | ||
'Previous period': 'Período anterior', | ||
to: 'a', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Dia inteiro e eventos de vários dias', | ||
} | ||
Today: 'Hoje', | ||
Month: 'Mês', | ||
Week: 'Semana', | ||
Day: 'Dia', | ||
events: 'eventos', | ||
event: 'evento', | ||
'No events': 'Sem eventos', | ||
'Next period': 'Período seguinte', | ||
'Previous period': 'Período anterior', | ||
to: 'a', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Dia inteiro e eventos de vários dias', | ||
}; | ||
const ptBR = { | ||
...datePickerPtBR, | ||
...calendarPtBR, | ||
} | ||
...datePickerPtBR, | ||
...calendarPtBR, | ||
}; | ||
const datePickerSkSK = { | ||
Date: 'Dátum', | ||
'MM/DD/YYYY': 'DD/MM/YYYY', | ||
'Next month': 'Ďalší mesiac', | ||
'Previous month': 'Predchádzajúci mesiac', | ||
'Choose Date': 'Vyberte dátum', | ||
'Select View': 'Vyberte zobrazenie', | ||
} | ||
Date: 'Dátum', | ||
'MM/DD/YYYY': 'DD/MM/YYYY', | ||
'Next month': 'Ďalší mesiac', | ||
'Previous month': 'Predchádzajúci mesiac', | ||
'Choose Date': 'Vyberte dátum', | ||
'Select View': 'Vyberte zobrazenie', | ||
}; | ||
const calendarSkSK = { | ||
Today: 'Dnes', | ||
Month: 'Mesiac', | ||
Week: 'Týždeň', | ||
Day: 'Deň', | ||
events: 'udalosti', | ||
event: 'udalosť', | ||
'No events': 'Žiadne udalosti', | ||
'Next period': 'Ďalšie obdobie', | ||
'Previous period': 'Predchádzajúce obdobie', | ||
to: 'do', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Celodenné a viacdňové udalosti', | ||
} | ||
Today: 'Dnes', | ||
Month: 'Mesiac', | ||
Week: 'Týždeň', | ||
Day: 'Deň', | ||
events: 'udalosti', | ||
event: 'udalosť', | ||
'No events': 'Žiadne udalosti', | ||
'Next period': 'Ďalšie obdobie', | ||
'Previous period': 'Predchádzajúce obdobie', | ||
to: 'do', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Celodenné a viacdňové udalosti', | ||
}; | ||
const skSK = { | ||
...datePickerSkSK, | ||
...calendarSkSK, | ||
} | ||
...datePickerSkSK, | ||
...calendarSkSK, | ||
}; | ||
const datePickerMkMK = { | ||
Date: 'Датум', | ||
'MM/DD/YYYY': 'DD/MM/YYYY', | ||
'Next month': 'Следен месец', | ||
'Previous month': 'Претходен месец', | ||
'Choose Date': 'Избери Датум', | ||
'Select View': 'Избери Преглед', | ||
} | ||
Date: 'Датум', | ||
'MM/DD/YYYY': 'DD/MM/YYYY', | ||
'Next month': 'Следен месец', | ||
'Previous month': 'Претходен месец', | ||
'Choose Date': 'Избери Датум', | ||
'Select View': 'Избери Преглед', | ||
}; | ||
const calendarMkMK = { | ||
Today: 'Денес', | ||
Month: 'Месец', | ||
Week: 'Недела', | ||
Day: 'Ден', | ||
events: 'настани', | ||
event: 'настан', | ||
'No events': 'Нема настани', | ||
'Next period': 'Следен период', | ||
'Previous period': 'Претходен период', | ||
to: 'до', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Целодневни и повеќедневни настани', | ||
} | ||
Today: 'Денес', | ||
Month: 'Месец', | ||
Week: 'Недела', | ||
Day: 'Ден', | ||
events: 'настани', | ||
event: 'настан', | ||
'No events': 'Нема настани', | ||
'Next period': 'Следен период', | ||
'Previous period': 'Претходен период', | ||
to: 'до', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Целодневни и повеќедневни настани', | ||
}; | ||
const mkMK = { | ||
...datePickerMkMK, | ||
...calendarMkMK, | ||
} | ||
...datePickerMkMK, | ||
...calendarMkMK, | ||
}; | ||
const datePickerTrTR = { | ||
Date: 'Tarih', | ||
'MM/DD/YYYY': 'GG/AA/YYYY', | ||
'Next month': 'Sonraki ay', | ||
'Previous month': 'Önceki ay', | ||
'Choose Date': 'Tarih Seç', | ||
'Select View': 'Görünüm Seç', | ||
} | ||
Date: 'Tarih', | ||
'MM/DD/YYYY': 'GG/AA/YYYY', | ||
'Next month': 'Sonraki ay', | ||
'Previous month': 'Önceki ay', | ||
'Choose Date': 'Tarih Seç', | ||
'Select View': 'Görünüm Seç', | ||
}; | ||
const calendarTrTR = { | ||
Today: 'Bugün', | ||
Month: 'Aylık', | ||
Week: 'Haftalık', | ||
Day: 'Günlük', | ||
events: 'etkinlikler', | ||
event: 'etkinlik', | ||
'No events': 'Etkinlik yok', | ||
'Next period': 'Sonraki dönem', | ||
'Previous period': 'Önceki dönem', | ||
to: 'dan', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Tüm gün ve çoklu gün etkinlikleri', | ||
} | ||
Today: 'Bugün', | ||
Month: 'Aylık', | ||
Week: 'Haftalık', | ||
Day: 'Günlük', | ||
events: 'etkinlikler', | ||
event: 'etkinlik', | ||
'No events': 'Etkinlik yok', | ||
'Next period': 'Sonraki dönem', | ||
'Previous period': 'Önceki dönem', | ||
to: 'dan', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Tüm gün ve çoklu gün etkinlikleri', | ||
}; | ||
const trTR = { | ||
...datePickerTrTR, | ||
...calendarTrTR, | ||
} | ||
...datePickerTrTR, | ||
...calendarTrTR, | ||
}; | ||
const datePickerKyKG = { | ||
Date: 'Датасы', | ||
'MM/DD/YYYY': 'АА/КК/ЖЖЖЖ', | ||
'Next month': 'Кийинки ай', | ||
'Previous month': 'Өткөн ай', | ||
'Choose Date': 'Күндү тандаңыз', | ||
'Select View': 'Көрүнүштү тандаңыз', | ||
} | ||
Date: 'Датасы', | ||
'MM/DD/YYYY': 'АА/КК/ЖЖЖЖ', | ||
'Next month': 'Кийинки ай', | ||
'Previous month': 'Өткөн ай', | ||
'Choose Date': 'Күндү тандаңыз', | ||
'Select View': 'Көрүнүштү тандаңыз', | ||
}; | ||
const calendarKyKG = { | ||
Today: 'Бүгүн', | ||
Month: 'Ай', | ||
Week: 'Апта', | ||
Day: 'Күн', | ||
events: 'Окуялар', | ||
event: 'Окуя', | ||
'No events': 'Окуя жок', | ||
'Next period': 'Кийинки мезгил', | ||
'Previous period': 'Өткөн мезгил', | ||
to: 'чейин', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': | ||
'Күн бою жана бир нече күн катары менен болгон окуялар', | ||
} | ||
Today: 'Бүгүн', | ||
Month: 'Ай', | ||
Week: 'Апта', | ||
Day: 'Күн', | ||
events: 'Окуялар', | ||
event: 'Окуя', | ||
'No events': 'Окуя жок', | ||
'Next period': 'Кийинки мезгил', | ||
'Previous period': 'Өткөн мезгил', | ||
to: 'чейин', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Күн бою жана бир нече күн катары менен болгон окуялар', | ||
}; | ||
const kyKG = { | ||
...datePickerKyKG, | ||
...calendarKyKG, | ||
} | ||
...datePickerKyKG, | ||
...calendarKyKG, | ||
}; | ||
const datePickerIdID = { | ||
Date: 'Tanggal', | ||
'MM/DD/YYYY': 'DD.MM.YYYY', | ||
'Next month': 'Bulan depan', | ||
'Previous month': 'Bulan sebelumnya', | ||
'Choose Date': 'Pilih tanggal', | ||
'Select View': 'Pilih tampilan', | ||
} | ||
Date: 'Tanggal', | ||
'MM/DD/YYYY': 'DD.MM.YYYY', | ||
'Next month': 'Bulan depan', | ||
'Previous month': 'Bulan sebelumnya', | ||
'Choose Date': 'Pilih tanggal', | ||
'Select View': 'Pilih tampilan', | ||
}; | ||
const calendarIdID = { | ||
Today: 'Hari Ini', | ||
Month: 'Bulan', | ||
Week: 'Minggu', | ||
Day: 'Hari', | ||
events: 'Acara', | ||
event: 'Acara', | ||
'No events': 'Tidak ada acara', | ||
'Next period': 'Periode selanjutnya', | ||
'Previous period': 'Periode sebelumnya', | ||
to: 'sampai', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': | ||
'Sepanjang hari dan acara beberapa hari ', | ||
} | ||
Today: 'Hari Ini', | ||
Month: 'Bulan', | ||
Week: 'Minggu', | ||
Day: 'Hari', | ||
events: 'Acara', | ||
event: 'Acara', | ||
'No events': 'Tidak ada acara', | ||
'Next period': 'Periode selanjutnya', | ||
'Previous period': 'Periode sebelumnya', | ||
to: 'sampai', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Sepanjang hari dan acara beberapa hari ', | ||
}; | ||
const idID = { | ||
...datePickerIdID, | ||
...calendarIdID, | ||
} | ||
...datePickerIdID, | ||
...calendarIdID, | ||
}; | ||
class InvalidLocaleError extends Error { | ||
constructor(locale) { | ||
super(`Invalid locale: ${locale}`) | ||
} | ||
constructor(locale) { | ||
super(`Invalid locale: ${locale}`); | ||
} | ||
} | ||
const translate = (locale, languages) => (key) => { | ||
if (!/^[a-z]{2}-[A-Z]{2}$/.test(locale)) throw new InvalidLocaleError(locale) | ||
const deHyphenatedLocale = locale.replace('-', '') | ||
const language = languages[deHyphenatedLocale] | ||
if (!language) return key | ||
return language[key] || key | ||
} | ||
if (!/^[a-z]{2}-[A-Z]{2}$/.test(locale)) | ||
throw new InvalidLocaleError(locale); | ||
const deHyphenatedLocale = locale.replace('-', ''); | ||
const language = languages[deHyphenatedLocale]; | ||
if (!language) | ||
return key; | ||
return language[key] || key; | ||
}; | ||
const translations = { | ||
deDE, | ||
enUS, | ||
itIT, | ||
enGB, | ||
svSE, | ||
zhCN, | ||
jaJP, | ||
ruRU, | ||
koKR, | ||
frFR, | ||
daDK, | ||
mkMK, | ||
plPL, | ||
esES, | ||
nlNL, | ||
ptBR, | ||
skSK, | ||
trTR, | ||
kyKG, | ||
idID, | ||
} | ||
deDE, | ||
enUS, | ||
itIT, | ||
enGB, | ||
svSE, | ||
zhCN, | ||
jaJP, | ||
ruRU, | ||
koKR, | ||
frFR, | ||
daDK, | ||
mkMK, | ||
plPL, | ||
esES, | ||
nlNL, | ||
ptBR, | ||
skSK, | ||
trTR, | ||
kyKG, | ||
idID, | ||
}; | ||
const datePickerTranslations = { | ||
deDE: datePickerDeDE, | ||
enUS: datePickerEnUS, | ||
itIT: datePickerItIT, | ||
enGB: datePickerEnGB, | ||
svSE: datePickerSvSE, | ||
zhCN: datePickerZhCN, | ||
jaJP: datePickerJaJP, | ||
ruRU: datePickerRuRU, | ||
koKR: datePickerKoKR, | ||
frFR: datePickerFrFR, | ||
daDK: datePickerDaDK, | ||
mkMK: datePickerMkMK, | ||
plPL: datePickerPlPL, | ||
esES: datePickerEsES, | ||
nlNL: datePickerNlNL, | ||
ptBR: datePickerPtBR, | ||
skSK: datePickerSkSK, | ||
trTR: datePickerTrTR, | ||
kyKG: datePickerKyKG, | ||
idID: datePickerIdID, | ||
} | ||
deDE: datePickerDeDE, | ||
enUS: datePickerEnUS, | ||
itIT: datePickerItIT, | ||
enGB: datePickerEnGB, | ||
svSE: datePickerSvSE, | ||
zhCN: datePickerZhCN, | ||
jaJP: datePickerJaJP, | ||
ruRU: datePickerRuRU, | ||
koKR: datePickerKoKR, | ||
frFR: datePickerFrFR, | ||
daDK: datePickerDaDK, | ||
mkMK: datePickerMkMK, | ||
plPL: datePickerPlPL, | ||
esES: datePickerEsES, | ||
nlNL: datePickerNlNL, | ||
ptBR: datePickerPtBR, | ||
skSK: datePickerSkSK, | ||
trTR: datePickerTrTR, | ||
kyKG: datePickerKyKG, | ||
idID: datePickerIdID, | ||
}; | ||
export { | ||
daDK, | ||
datePickerTranslations, | ||
deDE, | ||
enGB, | ||
enUS, | ||
esES, | ||
frFR, | ||
idID, | ||
itIT, | ||
jaJP, | ||
koKR, | ||
kyKG, | ||
mkMK, | ||
nlNL, | ||
plPL, | ||
ptBR, | ||
ruRU, | ||
skSK, | ||
svSE, | ||
trTR, | ||
translate, | ||
translations, | ||
zhCN, | ||
} | ||
export { daDK, datePickerTranslations, deDE, enGB, enUS, esES, frFR, idID, itIT, jaJP, koKR, kyKG, mkMK, nlNL, plPL, ptBR, ruRU, skSK, svSE, trTR, translate, translations, zhCN }; |
interface DatePickerTranslations { | ||
Date: string | ||
'MM/DD/YYYY': string | ||
'Next month': string | ||
'Previous month': string | ||
'Choose Date': string | ||
'Select View': string | ||
Date: string; | ||
"MM/DD/YYYY": string; | ||
"Next month": string; | ||
"Previous month": string; | ||
"Choose Date": string; | ||
"Select View": string; | ||
} | ||
interface CalendarTranslations { | ||
Today: string | ||
Month: string | ||
Week: string | ||
Day: string | ||
events: string | ||
event: string | ||
'No events': string | ||
'Next period': string | ||
'Previous period': string | ||
to: string // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': string | ||
Today: string; | ||
Month: string; | ||
Week: string; | ||
Day: string; | ||
events: string; | ||
event: string; | ||
"No events": string; | ||
"Next period": string; | ||
"Previous period": string; | ||
to: string; // as in 2/1/2020 to 2/2/2020 | ||
"Full day- and multiple day events": string; | ||
} | ||
type Language = DatePickerTranslations & CalendarTranslations | ||
declare const deDE: Language | ||
declare const enUS: Language | ||
declare const itIT: Language | ||
declare const enGB: Language | ||
declare const svSE: Language | ||
declare const zhCN: Language | ||
declare const jaJP: Language | ||
declare const ruRU: Language | ||
declare const koKR: Language | ||
declare const frFR: Language | ||
declare const daDK: Language | ||
declare const plPL: Language | ||
declare const esES: Language | ||
declare const nlNL: Language | ||
declare const ptBR: Language | ||
declare const skSK: Language | ||
declare const mkMK: Language | ||
declare const trTR: Language | ||
declare const kyKG: Language | ||
declare const idID: Language | ||
declare const translate: ( | ||
locale: string, | ||
languages: Record<string, object> | ||
) => (key: string) => string | ||
type Language = DatePickerTranslations & CalendarTranslations; | ||
declare const deDE: Language; | ||
declare const enUS: Language; | ||
declare const itIT: Language; | ||
declare const enGB: Language; | ||
declare const svSE: Language; | ||
declare const zhCN: Language; | ||
declare const jaJP: Language; | ||
declare const ruRU: Language; | ||
declare const koKR: Language; | ||
declare const frFR: Language; | ||
declare const daDK: Language; | ||
declare const plPL: Language; | ||
declare const esES: Language; | ||
declare const nlNL: Language; | ||
declare const ptBR: Language; | ||
declare const skSK: Language; | ||
declare const mkMK: Language; | ||
declare const trTR: Language; | ||
declare const kyKG: Language; | ||
declare const idID: Language; | ||
declare const translate: (locale: string, languages: Record<string, object>) => (key: string) => string; | ||
declare const translations: { | ||
deDE: Language | ||
enUS: Language | ||
itIT: Language | ||
enGB: Language | ||
svSE: Language | ||
zhCN: Language | ||
jaJP: Language | ||
ruRU: Language | ||
koKR: Language | ||
frFR: Language | ||
daDK: Language | ||
mkMK: Language | ||
plPL: Language | ||
esES: Language | ||
nlNL: Language | ||
ptBR: Language | ||
skSK: Language | ||
trTR: Language | ||
kyKG: Language | ||
idID: Language | ||
} | ||
deDE: Language; | ||
enUS: Language; | ||
itIT: Language; | ||
enGB: Language; | ||
svSE: Language; | ||
zhCN: Language; | ||
jaJP: Language; | ||
ruRU: Language; | ||
koKR: Language; | ||
frFR: Language; | ||
daDK: Language; | ||
mkMK: Language; | ||
plPL: Language; | ||
esES: Language; | ||
nlNL: Language; | ||
ptBR: Language; | ||
skSK: Language; | ||
trTR: Language; | ||
kyKG: Language; | ||
idID: Language; | ||
}; | ||
declare const datePickerTranslations: { | ||
deDE: DatePickerTranslations | ||
enUS: DatePickerTranslations | ||
itIT: DatePickerTranslations | ||
enGB: DatePickerTranslations | ||
svSE: DatePickerTranslations | ||
zhCN: DatePickerTranslations | ||
jaJP: DatePickerTranslations | ||
ruRU: DatePickerTranslations | ||
koKR: DatePickerTranslations | ||
frFR: DatePickerTranslations | ||
daDK: DatePickerTranslations | ||
mkMK: DatePickerTranslations | ||
plPL: DatePickerTranslations | ||
esES: DatePickerTranslations | ||
nlNL: DatePickerTranslations | ||
ptBR: DatePickerTranslations | ||
skSK: DatePickerTranslations | ||
trTR: DatePickerTranslations | ||
kyKG: DatePickerTranslations | ||
idID: DatePickerTranslations | ||
} | ||
export { | ||
translate, | ||
translations, | ||
datePickerTranslations, | ||
deDE, | ||
enUS, | ||
itIT, | ||
enGB, | ||
svSE, | ||
zhCN, | ||
jaJP, | ||
ruRU, | ||
koKR, | ||
frFR, | ||
daDK, | ||
plPL, | ||
esES, | ||
mkMK, | ||
nlNL, | ||
ptBR, | ||
skSK, | ||
trTR, | ||
kyKG, | ||
idID, | ||
} | ||
deDE: DatePickerTranslations; | ||
enUS: DatePickerTranslations; | ||
itIT: DatePickerTranslations; | ||
enGB: DatePickerTranslations; | ||
svSE: DatePickerTranslations; | ||
zhCN: DatePickerTranslations; | ||
jaJP: DatePickerTranslations; | ||
ruRU: DatePickerTranslations; | ||
koKR: DatePickerTranslations; | ||
frFR: DatePickerTranslations; | ||
daDK: DatePickerTranslations; | ||
mkMK: DatePickerTranslations; | ||
plPL: DatePickerTranslations; | ||
esES: DatePickerTranslations; | ||
nlNL: DatePickerTranslations; | ||
ptBR: DatePickerTranslations; | ||
skSK: DatePickerTranslations; | ||
trTR: DatePickerTranslations; | ||
kyKG: DatePickerTranslations; | ||
idID: DatePickerTranslations; | ||
}; | ||
export { translate, translations, datePickerTranslations, deDE, enUS, itIT, enGB, svSE, zhCN, jaJP, ruRU, koKR, frFR, daDK, plPL, esES, mkMK, nlNL, ptBR, skSK, trTR, kyKG, idID }; |
1057
dist/core.umd.js
@@ -1,663 +0,652 @@ | ||
;(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' | ||
? factory(exports) | ||
: typeof define === 'function' && define.amd | ||
? define(['exports'], factory) | ||
: ((global = | ||
typeof globalThis !== 'undefined' ? globalThis : global || self), | ||
factory((global['@schedule-x/translations'] = {}))) | ||
})(this, function (exports) { | ||
'use strict' | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : | ||
typeof define === 'function' && define.amd ? define(['exports'], factory) : | ||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["@schedule-x/translations"] = {})); | ||
})(this, (function (exports) { 'use strict'; | ||
const datePickerDeDE = { | ||
Date: 'Datum', | ||
'MM/DD/YYYY': 'TT.MM.JJJJ', | ||
'Next month': 'Nächster Monat', | ||
'Previous month': 'Vorheriger Monat', | ||
'Choose Date': 'Datum auswählen', | ||
'Select View': 'Ansicht auswählen', | ||
} | ||
Date: 'Datum', | ||
'MM/DD/YYYY': 'TT.MM.JJJJ', | ||
'Next month': 'Nächster Monat', | ||
'Previous month': 'Vorheriger Monat', | ||
'Choose Date': 'Datum auswählen', | ||
'Select View': 'Ansicht auswählen', | ||
}; | ||
const calendarDeDE = { | ||
Today: 'Heute', | ||
Month: 'Monat', | ||
Week: 'Woche', | ||
Day: 'Tag', | ||
events: 'Ereignisse', | ||
event: 'Ereignis', | ||
'No events': 'Keine Ereignisse', | ||
'Next period': 'Nächster Zeitraum', | ||
'Previous period': 'Vorheriger Zeitraum', | ||
to: 'bis', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Ganztägige und mehrtägige Ereignisse', | ||
} | ||
Today: 'Heute', | ||
Month: 'Monat', | ||
Week: 'Woche', | ||
Day: 'Tag', | ||
events: 'Ereignisse', | ||
event: 'Ereignis', | ||
'No events': 'Keine Ereignisse', | ||
'Next period': 'Nächster Zeitraum', | ||
'Previous period': 'Vorheriger Zeitraum', | ||
to: 'bis', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Ganztägige und mehrtägige Ereignisse', | ||
}; | ||
const deDE = { | ||
...datePickerDeDE, | ||
...calendarDeDE, | ||
} | ||
...datePickerDeDE, | ||
...calendarDeDE, | ||
}; | ||
const datePickerEnUS = { | ||
Date: 'Date', | ||
'MM/DD/YYYY': 'MM/DD/YYYY', | ||
'Next month': 'Next month', | ||
'Previous month': 'Previous month', | ||
'Choose Date': 'Choose Date', | ||
'Select View': 'Select View', | ||
} | ||
Date: 'Date', | ||
'MM/DD/YYYY': 'MM/DD/YYYY', | ||
'Next month': 'Next month', | ||
'Previous month': 'Previous month', | ||
'Choose Date': 'Choose Date', | ||
'Select View': 'Select View', | ||
}; | ||
const calendarEnUS = { | ||
Today: 'Today', | ||
Month: 'Month', | ||
Week: 'Week', | ||
Day: 'Day', | ||
events: 'events', | ||
event: 'event', | ||
'No events': 'No events', | ||
'Next period': 'Next period', | ||
'Previous period': 'Previous period', | ||
to: 'to', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Full day- and multiple day events', | ||
} | ||
Today: 'Today', | ||
Month: 'Month', | ||
Week: 'Week', | ||
Day: 'Day', | ||
events: 'events', | ||
event: 'event', | ||
'No events': 'No events', | ||
'Next period': 'Next period', | ||
'Previous period': 'Previous period', | ||
to: 'to', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Full day- and multiple day events', | ||
}; | ||
const enUS = { | ||
...datePickerEnUS, | ||
...calendarEnUS, | ||
} | ||
...datePickerEnUS, | ||
...calendarEnUS, | ||
}; | ||
const datePickerItIT = { | ||
Date: 'Data', | ||
'MM/DD/YYYY': 'DD/MM/YYYY', | ||
'Next month': 'Mese successivo', | ||
'Previous month': 'Mese precedente', | ||
'Choose Date': 'Scegli la data', | ||
'Select View': 'Seleziona la vista', | ||
} | ||
Date: 'Data', | ||
'MM/DD/YYYY': 'DD/MM/YYYY', | ||
'Next month': 'Mese successivo', | ||
'Previous month': 'Mese precedente', | ||
'Choose Date': 'Scegli la data', | ||
'Select View': 'Seleziona la vista', | ||
}; | ||
const calendarItIT = { | ||
Today: 'Oggi', | ||
Month: 'Mese', | ||
Week: 'Settimana', | ||
Day: 'Giorno', | ||
events: 'eventi', | ||
event: 'evento', | ||
'No events': 'Nessun evento', | ||
'Next period': 'Periodo successivo', | ||
'Previous period': 'Periodo precedente', | ||
to: 'a', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': | ||
'Eventi della giornata e plurigiornalieri', | ||
} | ||
Today: 'Oggi', | ||
Month: 'Mese', | ||
Week: 'Settimana', | ||
Day: 'Giorno', | ||
events: 'eventi', | ||
event: 'evento', | ||
'No events': 'Nessun evento', | ||
'Next period': 'Periodo successivo', | ||
'Previous period': 'Periodo precedente', | ||
to: 'a', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Eventi della giornata e plurigiornalieri', | ||
}; | ||
const itIT = { | ||
...datePickerItIT, | ||
...calendarItIT, | ||
} | ||
...datePickerItIT, | ||
...calendarItIT, | ||
}; | ||
const datePickerEnGB = { | ||
Date: 'Date', | ||
'MM/DD/YYYY': 'DD/MM/YYYY', | ||
'Next month': 'Next month', | ||
'Previous month': 'Previous month', | ||
'Choose Date': 'Choose Date', | ||
'Select View': 'Select View', | ||
} | ||
Date: 'Date', | ||
'MM/DD/YYYY': 'DD/MM/YYYY', | ||
'Next month': 'Next month', | ||
'Previous month': 'Previous month', | ||
'Choose Date': 'Choose Date', | ||
'Select View': 'Select View', | ||
}; | ||
const calendarEnGB = { | ||
Today: 'Today', | ||
Month: 'Month', | ||
Week: 'Week', | ||
Day: 'Day', | ||
events: 'events', | ||
event: 'event', | ||
'No events': 'No events', | ||
'Next period': 'Next period', | ||
'Previous period': 'Previous period', | ||
to: 'to', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Full day- and multiple day events', | ||
} | ||
Today: 'Today', | ||
Month: 'Month', | ||
Week: 'Week', | ||
Day: 'Day', | ||
events: 'events', | ||
event: 'event', | ||
'No events': 'No events', | ||
'Next period': 'Next period', | ||
'Previous period': 'Previous period', | ||
to: 'to', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Full day- and multiple day events', | ||
}; | ||
const enGB = { | ||
...datePickerEnGB, | ||
...calendarEnGB, | ||
} | ||
...datePickerEnGB, | ||
...calendarEnGB, | ||
}; | ||
const datePickerSvSE = { | ||
Date: 'Datum', | ||
'MM/DD/YYYY': 'ÅÅÅÅ-MM-DD', | ||
'Next month': 'Nästa månad', | ||
'Previous month': 'Föregående månad', | ||
'Choose Date': 'Välj datum', | ||
'Select View': 'Välj vy', | ||
} | ||
Date: 'Datum', | ||
'MM/DD/YYYY': 'ÅÅÅÅ-MM-DD', | ||
'Next month': 'Nästa månad', | ||
'Previous month': 'Föregående månad', | ||
'Choose Date': 'Välj datum', | ||
'Select View': 'Välj vy', | ||
}; | ||
const calendarSvSE = { | ||
Today: 'Idag', | ||
Month: 'Månad', | ||
Week: 'Vecka', | ||
Day: 'Dag', | ||
events: 'händelser', | ||
event: 'händelse', | ||
'No events': 'Inga händelser', | ||
'Next period': 'Nästa period', | ||
'Previous period': 'Föregående period', | ||
to: 'till', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Heldags- och flerdagshändelser', | ||
} | ||
Today: 'Idag', | ||
Month: 'Månad', | ||
Week: 'Vecka', | ||
Day: 'Dag', | ||
events: 'händelser', | ||
event: 'händelse', | ||
'No events': 'Inga händelser', | ||
'Next period': 'Nästa period', | ||
'Previous period': 'Föregående period', | ||
to: 'till', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Heldags- och flerdagshändelser', | ||
}; | ||
const svSE = { | ||
...datePickerSvSE, | ||
...calendarSvSE, | ||
} | ||
...datePickerSvSE, | ||
...calendarSvSE, | ||
}; | ||
const datePickerZhCN = { | ||
Date: '日期', | ||
'MM/DD/YYYY': '年/月/日', | ||
'Next month': '下个月', | ||
'Previous month': '上个月', | ||
'Choose Date': '选择日期', | ||
'Select View': '选择视图', | ||
} | ||
Date: '日期', | ||
'MM/DD/YYYY': '年/月/日', | ||
'Next month': '下个月', | ||
'Previous month': '上个月', | ||
'Choose Date': '选择日期', | ||
'Select View': '选择视图', | ||
}; | ||
const calendarZhCN = { | ||
Today: '今天', | ||
Month: '月', | ||
Week: '周', | ||
Day: '日', | ||
events: '场活动', | ||
event: '活动', | ||
'No events': '没有活动', | ||
'Next period': '下一段时间', | ||
'Previous period': '上一段时间', | ||
to: '至', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': '全天和多天活动', | ||
} | ||
Today: '今天', | ||
Month: '月', | ||
Week: '周', | ||
Day: '日', | ||
events: '场活动', | ||
event: '活动', | ||
'No events': '没有活动', | ||
'Next period': '下一段时间', | ||
'Previous period': '上一段时间', | ||
to: '至', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': '全天和多天活动', | ||
}; | ||
const zhCN = { | ||
...datePickerZhCN, | ||
...calendarZhCN, | ||
} | ||
...datePickerZhCN, | ||
...calendarZhCN, | ||
}; | ||
const datePickerJaJP = { | ||
Date: '日付', | ||
'MM/DD/YYYY': '年/月/日', | ||
'Next month': '次の月', | ||
'Previous month': '前の月', | ||
'Choose Date': '日付を選択', | ||
'Select View': 'ビューを選択', | ||
} | ||
Date: '日付', | ||
'MM/DD/YYYY': '年/月/日', | ||
'Next month': '次の月', | ||
'Previous month': '前の月', | ||
'Choose Date': '日付を選択', | ||
'Select View': 'ビューを選択', | ||
}; | ||
const calendarJaJP = { | ||
Today: '今日', | ||
Month: '月', | ||
Week: '週', | ||
Day: '日', | ||
events: 'イベント', | ||
event: 'イベント', | ||
'No events': 'イベントなし', | ||
'Next period': '次の期間', | ||
'Previous period': '前の期間', | ||
to: 'から', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': '終日および複数日イベント', | ||
} | ||
Today: '今日', | ||
Month: '月', | ||
Week: '週', | ||
Day: '日', | ||
events: 'イベント', | ||
event: 'イベント', | ||
'No events': 'イベントなし', | ||
'Next period': '次の期間', | ||
'Previous period': '前の期間', | ||
to: 'から', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': '終日および複数日イベント', | ||
}; | ||
const jaJP = { | ||
...datePickerJaJP, | ||
...calendarJaJP, | ||
} | ||
...datePickerJaJP, | ||
...calendarJaJP, | ||
}; | ||
const datePickerRuRU = { | ||
Date: 'Дата', | ||
'MM/DD/YYYY': 'ММ/ДД/ГГГГ', | ||
'Next month': 'Следующий месяц', | ||
'Previous month': 'Прошлый месяц', | ||
'Choose Date': 'Выберите дату', | ||
'Select View': 'Выберите вид', | ||
} | ||
Date: 'Дата', | ||
'MM/DD/YYYY': 'ММ/ДД/ГГГГ', | ||
'Next month': 'Следующий месяц', | ||
'Previous month': 'Прошлый месяц', | ||
'Choose Date': 'Выберите дату', | ||
'Select View': 'Выберите вид', | ||
}; | ||
const calendarRuRU = { | ||
Today: 'Сегодня', | ||
Month: 'Месяц', | ||
Week: 'Неделя', | ||
Day: 'День', | ||
events: 'события', | ||
event: 'событие', | ||
'No events': 'Нет событий', | ||
'Next period': 'Следующий период', | ||
'Previous period': 'Прошлый период', | ||
to: 'по', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': | ||
'События на целый день и несколько дней подряд', | ||
} | ||
Today: 'Сегодня', | ||
Month: 'Месяц', | ||
Week: 'Неделя', | ||
Day: 'День', | ||
events: 'события', | ||
event: 'событие', | ||
'No events': 'Нет событий', | ||
'Next period': 'Следующий период', | ||
'Previous period': 'Прошлый период', | ||
to: 'по', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'События на целый день и несколько дней подряд', | ||
}; | ||
const ruRU = { | ||
...datePickerRuRU, | ||
...calendarRuRU, | ||
} | ||
...datePickerRuRU, | ||
...calendarRuRU, | ||
}; | ||
const datePickerKoKR = { | ||
Date: '일자', | ||
'MM/DD/YYYY': '년/월/일', | ||
'Next month': '다음 달', | ||
'Previous month': '이전 달', | ||
'Choose Date': '날짜 선택', | ||
'Select View': '보기 선택', | ||
} | ||
Date: '일자', | ||
'MM/DD/YYYY': '년/월/일', | ||
'Next month': '다음 달', | ||
'Previous month': '이전 달', | ||
'Choose Date': '날짜 선택', | ||
'Select View': '보기 선택', | ||
}; | ||
const calendarKoKR = { | ||
Today: '오늘', | ||
Month: '월', | ||
Week: '주', | ||
Day: '일', | ||
events: '일정들', | ||
event: '일정', | ||
'No events': '일정 없음', | ||
'Next period': '다음', | ||
'Previous period': '이전', | ||
to: '부터', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': '종일 및 복수일 일정', | ||
} | ||
Today: '오늘', | ||
Month: '월', | ||
Week: '주', | ||
Day: '일', | ||
events: '일정들', | ||
event: '일정', | ||
'No events': '일정 없음', | ||
'Next period': '다음', | ||
'Previous period': '이전', | ||
to: '부터', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': '종일 및 복수일 일정', | ||
}; | ||
const koKR = { | ||
...datePickerKoKR, | ||
...calendarKoKR, | ||
} | ||
...datePickerKoKR, | ||
...calendarKoKR, | ||
}; | ||
const datePickerFrFR = { | ||
Date: 'Date', | ||
'MM/DD/YYYY': 'JJ/MM/AAAA', | ||
'Next month': 'Mois suivant', | ||
'Previous month': 'Mois précédent', | ||
'Choose Date': 'Choisir une date', | ||
'Select View': 'Choisir la vue', | ||
} | ||
Date: 'Date', | ||
'MM/DD/YYYY': 'JJ/MM/AAAA', | ||
'Next month': 'Mois suivant', | ||
'Previous month': 'Mois précédent', | ||
'Choose Date': 'Choisir une date', | ||
'Select View': 'Choisir la vue', | ||
}; | ||
const calendarFrFR = { | ||
Today: "Aujourd'hui", | ||
Month: 'Mois', | ||
Week: 'Semaine', | ||
Day: 'Jour', | ||
events: 'événements', | ||
event: 'événement', | ||
'No events': 'Aucun événement', | ||
'Next period': 'Période suivante', | ||
'Previous period': 'Période précédente', | ||
to: 'à', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': | ||
"Événements d'une ou plusieurs journées", | ||
} | ||
Today: "Aujourd'hui", | ||
Month: 'Mois', | ||
Week: 'Semaine', | ||
Day: 'Jour', | ||
events: 'événements', | ||
event: 'événement', | ||
'No events': 'Aucun événement', | ||
'Next period': 'Période suivante', | ||
'Previous period': 'Période précédente', | ||
to: 'à', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': "Événements d'une ou plusieurs journées", | ||
}; | ||
const frFR = { | ||
...datePickerFrFR, | ||
...calendarFrFR, | ||
} | ||
...datePickerFrFR, | ||
...calendarFrFR, | ||
}; | ||
const datePickerDaDK = { | ||
Date: 'Dato', | ||
'MM/DD/YYYY': 'ÅÅÅÅ-MM-DD', | ||
'Next month': 'Næste måned', | ||
'Previous month': 'Foregående måned', | ||
'Choose Date': 'Vælg dato', | ||
'Select View': 'Vælg visning', | ||
} | ||
Date: 'Dato', | ||
'MM/DD/YYYY': 'ÅÅÅÅ-MM-DD', | ||
'Next month': 'Næste måned', | ||
'Previous month': 'Foregående måned', | ||
'Choose Date': 'Vælg dato', | ||
'Select View': 'Vælg visning', | ||
}; | ||
const calendarDaDK = { | ||
Today: 'I dag', | ||
Month: 'Måned', | ||
Week: 'Uge', | ||
Day: 'Dag', | ||
events: 'begivenheder', | ||
event: 'begivenhed', | ||
'No events': 'Ingen begivenheder', | ||
'Next period': 'Næste periode', | ||
'Previous period': 'Forgående periode', | ||
to: 'til', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': | ||
'Heldagsbegivenheder og flerdagsbegivenheder', | ||
} | ||
Today: 'I dag', | ||
Month: 'Måned', | ||
Week: 'Uge', | ||
Day: 'Dag', | ||
events: 'begivenheder', | ||
event: 'begivenhed', | ||
'No events': 'Ingen begivenheder', | ||
'Next period': 'Næste periode', | ||
'Previous period': 'Forgående periode', | ||
to: 'til', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Heldagsbegivenheder og flerdagsbegivenheder', | ||
}; | ||
const daDK = { | ||
...datePickerDaDK, | ||
...calendarDaDK, | ||
} | ||
...datePickerDaDK, | ||
...calendarDaDK, | ||
}; | ||
const datePickerPlPL = { | ||
Date: 'Data', | ||
'MM/DD/YYYY': 'DD/MM/YYYY', | ||
'Next month': 'Następny miesiąc', | ||
'Previous month': 'Poprzedni miesiąc', | ||
'Choose Date': 'Wybiewrz datę', | ||
'Select View': 'Wybierz widok', | ||
} | ||
Date: 'Data', | ||
'MM/DD/YYYY': 'DD/MM/YYYY', | ||
'Next month': 'Następny miesiąc', | ||
'Previous month': 'Poprzedni miesiąc', | ||
'Choose Date': 'Wybiewrz datę', | ||
'Select View': 'Wybierz widok', | ||
}; | ||
const calendarPlPL = { | ||
Today: 'Dzisiaj', | ||
Month: 'Miesiąc', | ||
Week: 'Tydzień', | ||
Day: 'Dzień', | ||
events: 'wydarzenia', | ||
event: 'wydarzenie', | ||
'No events': 'Brak wydarzeń', | ||
'Next period': 'Następny okres', | ||
'Previous period': 'Poprzedni okres', | ||
to: 'do', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Wydarzenia całodniowe i wielodniowe', | ||
} | ||
Today: 'Dzisiaj', | ||
Month: 'Miesiąc', | ||
Week: 'Tydzień', | ||
Day: 'Dzień', | ||
events: 'wydarzenia', | ||
event: 'wydarzenie', | ||
'No events': 'Brak wydarzeń', | ||
'Next period': 'Następny okres', | ||
'Previous period': 'Poprzedni okres', | ||
to: 'do', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Wydarzenia całodniowe i wielodniowe', | ||
}; | ||
const plPL = { | ||
...datePickerPlPL, | ||
...calendarPlPL, | ||
} | ||
...datePickerPlPL, | ||
...calendarPlPL, | ||
}; | ||
const datePickerEsES = { | ||
Date: 'Fecha', | ||
'MM/DD/YYYY': 'DD/MM/YYYY', | ||
'Next month': 'Siguiente mes', | ||
'Previous month': 'Mes anterior', | ||
'Choose Date': 'Seleccione una fecha', | ||
'Select View': 'Seleccione una vista', | ||
} | ||
Date: 'Fecha', | ||
'MM/DD/YYYY': 'DD/MM/YYYY', | ||
'Next month': 'Siguiente mes', | ||
'Previous month': 'Mes anterior', | ||
'Choose Date': 'Seleccione una fecha', | ||
'Select View': 'Seleccione una vista', | ||
}; | ||
const calendarEsES = { | ||
Today: 'Hoy', | ||
Month: 'Mes', | ||
Week: 'Semana', | ||
Day: 'Día', | ||
events: 'eventos', | ||
event: 'evento', | ||
'No events': 'Sin eventos', | ||
'Next period': 'Siguiente período', | ||
'Previous period': 'Período anterior', | ||
to: 'a', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': | ||
'Día completo y eventos de múltiples días', | ||
} | ||
Today: 'Hoy', | ||
Month: 'Mes', | ||
Week: 'Semana', | ||
Day: 'Día', | ||
events: 'eventos', | ||
event: 'evento', | ||
'No events': 'Sin eventos', | ||
'Next period': 'Siguiente período', | ||
'Previous period': 'Período anterior', | ||
to: 'a', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Día completo y eventos de múltiples días', | ||
}; | ||
const esES = { | ||
...datePickerEsES, | ||
...calendarEsES, | ||
} | ||
...datePickerEsES, | ||
...calendarEsES, | ||
}; | ||
const calendarNlNL = { | ||
Today: 'Vandaag', | ||
Month: 'Maand', | ||
Week: 'Week', | ||
Day: 'Dag', | ||
events: 'gebeurtenissen', | ||
event: 'gebeurtenis', | ||
'No events': 'Geen gebeurtenissen', | ||
'Next period': 'Volgende periode', | ||
'Previous period': 'Vorige periode', | ||
to: 'tot', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': | ||
'Evenementen van een hele dag en meerdere dagen', | ||
} | ||
Today: 'Vandaag', | ||
Month: 'Maand', | ||
Week: 'Week', | ||
Day: 'Dag', | ||
events: 'gebeurtenissen', | ||
event: 'gebeurtenis', | ||
'No events': 'Geen gebeurtenissen', | ||
'Next period': 'Volgende periode', | ||
'Previous period': 'Vorige periode', | ||
to: 'tot', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Evenementen van een hele dag en meerdere dagen', | ||
}; | ||
const datePickerNlNL = { | ||
Date: 'Datum', | ||
'MM/DD/YYYY': 'DD-MM-JJJJ', | ||
'Next month': 'Vorige maand', | ||
'Previous month': 'Volgende maand', | ||
'Choose Date': 'Datum kiezen', | ||
'Select View': 'Weergave kiezen', | ||
} | ||
Date: 'Datum', | ||
'MM/DD/YYYY': 'DD-MM-JJJJ', | ||
'Next month': 'Vorige maand', | ||
'Previous month': 'Volgende maand', | ||
'Choose Date': 'Datum kiezen', | ||
'Select View': 'Weergave kiezen', | ||
}; | ||
const nlNL = { | ||
...datePickerNlNL, | ||
...calendarNlNL, | ||
} | ||
...datePickerNlNL, | ||
...calendarNlNL, | ||
}; | ||
const datePickerPtBR = { | ||
Date: 'Data', | ||
'MM/DD/YYYY': 'DD/MM/YYYY', | ||
'Next month': 'Mês seguinte', | ||
'Previous month': 'Mês anterior', | ||
'Choose Date': 'Escolha uma data', | ||
'Select View': 'Selecione uma visualização', | ||
} | ||
Date: 'Data', | ||
'MM/DD/YYYY': 'DD/MM/YYYY', | ||
'Next month': 'Mês seguinte', | ||
'Previous month': 'Mês anterior', | ||
'Choose Date': 'Escolha uma data', | ||
'Select View': 'Selecione uma visualização', | ||
}; | ||
const calendarPtBR = { | ||
Today: 'Hoje', | ||
Month: 'Mês', | ||
Week: 'Semana', | ||
Day: 'Dia', | ||
events: 'eventos', | ||
event: 'evento', | ||
'No events': 'Sem eventos', | ||
'Next period': 'Período seguinte', | ||
'Previous period': 'Período anterior', | ||
to: 'a', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Dia inteiro e eventos de vários dias', | ||
} | ||
Today: 'Hoje', | ||
Month: 'Mês', | ||
Week: 'Semana', | ||
Day: 'Dia', | ||
events: 'eventos', | ||
event: 'evento', | ||
'No events': 'Sem eventos', | ||
'Next period': 'Período seguinte', | ||
'Previous period': 'Período anterior', | ||
to: 'a', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Dia inteiro e eventos de vários dias', | ||
}; | ||
const ptBR = { | ||
...datePickerPtBR, | ||
...calendarPtBR, | ||
} | ||
...datePickerPtBR, | ||
...calendarPtBR, | ||
}; | ||
const datePickerSkSK = { | ||
Date: 'Dátum', | ||
'MM/DD/YYYY': 'DD/MM/YYYY', | ||
'Next month': 'Ďalší mesiac', | ||
'Previous month': 'Predchádzajúci mesiac', | ||
'Choose Date': 'Vyberte dátum', | ||
'Select View': 'Vyberte zobrazenie', | ||
} | ||
Date: 'Dátum', | ||
'MM/DD/YYYY': 'DD/MM/YYYY', | ||
'Next month': 'Ďalší mesiac', | ||
'Previous month': 'Predchádzajúci mesiac', | ||
'Choose Date': 'Vyberte dátum', | ||
'Select View': 'Vyberte zobrazenie', | ||
}; | ||
const calendarSkSK = { | ||
Today: 'Dnes', | ||
Month: 'Mesiac', | ||
Week: 'Týždeň', | ||
Day: 'Deň', | ||
events: 'udalosti', | ||
event: 'udalosť', | ||
'No events': 'Žiadne udalosti', | ||
'Next period': 'Ďalšie obdobie', | ||
'Previous period': 'Predchádzajúce obdobie', | ||
to: 'do', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Celodenné a viacdňové udalosti', | ||
} | ||
Today: 'Dnes', | ||
Month: 'Mesiac', | ||
Week: 'Týždeň', | ||
Day: 'Deň', | ||
events: 'udalosti', | ||
event: 'udalosť', | ||
'No events': 'Žiadne udalosti', | ||
'Next period': 'Ďalšie obdobie', | ||
'Previous period': 'Predchádzajúce obdobie', | ||
to: 'do', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Celodenné a viacdňové udalosti', | ||
}; | ||
const skSK = { | ||
...datePickerSkSK, | ||
...calendarSkSK, | ||
} | ||
...datePickerSkSK, | ||
...calendarSkSK, | ||
}; | ||
const datePickerMkMK = { | ||
Date: 'Датум', | ||
'MM/DD/YYYY': 'DD/MM/YYYY', | ||
'Next month': 'Следен месец', | ||
'Previous month': 'Претходен месец', | ||
'Choose Date': 'Избери Датум', | ||
'Select View': 'Избери Преглед', | ||
} | ||
Date: 'Датум', | ||
'MM/DD/YYYY': 'DD/MM/YYYY', | ||
'Next month': 'Следен месец', | ||
'Previous month': 'Претходен месец', | ||
'Choose Date': 'Избери Датум', | ||
'Select View': 'Избери Преглед', | ||
}; | ||
const calendarMkMK = { | ||
Today: 'Денес', | ||
Month: 'Месец', | ||
Week: 'Недела', | ||
Day: 'Ден', | ||
events: 'настани', | ||
event: 'настан', | ||
'No events': 'Нема настани', | ||
'Next period': 'Следен период', | ||
'Previous period': 'Претходен период', | ||
to: 'до', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Целодневни и повеќедневни настани', | ||
} | ||
Today: 'Денес', | ||
Month: 'Месец', | ||
Week: 'Недела', | ||
Day: 'Ден', | ||
events: 'настани', | ||
event: 'настан', | ||
'No events': 'Нема настани', | ||
'Next period': 'Следен период', | ||
'Previous period': 'Претходен период', | ||
to: 'до', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Целодневни и повеќедневни настани', | ||
}; | ||
const mkMK = { | ||
...datePickerMkMK, | ||
...calendarMkMK, | ||
} | ||
...datePickerMkMK, | ||
...calendarMkMK, | ||
}; | ||
const datePickerTrTR = { | ||
Date: 'Tarih', | ||
'MM/DD/YYYY': 'GG/AA/YYYY', | ||
'Next month': 'Sonraki ay', | ||
'Previous month': 'Önceki ay', | ||
'Choose Date': 'Tarih Seç', | ||
'Select View': 'Görünüm Seç', | ||
} | ||
Date: 'Tarih', | ||
'MM/DD/YYYY': 'GG/AA/YYYY', | ||
'Next month': 'Sonraki ay', | ||
'Previous month': 'Önceki ay', | ||
'Choose Date': 'Tarih Seç', | ||
'Select View': 'Görünüm Seç', | ||
}; | ||
const calendarTrTR = { | ||
Today: 'Bugün', | ||
Month: 'Aylık', | ||
Week: 'Haftalık', | ||
Day: 'Günlük', | ||
events: 'etkinlikler', | ||
event: 'etkinlik', | ||
'No events': 'Etkinlik yok', | ||
'Next period': 'Sonraki dönem', | ||
'Previous period': 'Önceki dönem', | ||
to: 'dan', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Tüm gün ve çoklu gün etkinlikleri', | ||
} | ||
Today: 'Bugün', | ||
Month: 'Aylık', | ||
Week: 'Haftalık', | ||
Day: 'Günlük', | ||
events: 'etkinlikler', | ||
event: 'etkinlik', | ||
'No events': 'Etkinlik yok', | ||
'Next period': 'Sonraki dönem', | ||
'Previous period': 'Önceki dönem', | ||
to: 'dan', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Tüm gün ve çoklu gün etkinlikleri', | ||
}; | ||
const trTR = { | ||
...datePickerTrTR, | ||
...calendarTrTR, | ||
} | ||
...datePickerTrTR, | ||
...calendarTrTR, | ||
}; | ||
const datePickerKyKG = { | ||
Date: 'Датасы', | ||
'MM/DD/YYYY': 'АА/КК/ЖЖЖЖ', | ||
'Next month': 'Кийинки ай', | ||
'Previous month': 'Өткөн ай', | ||
'Choose Date': 'Күндү тандаңыз', | ||
'Select View': 'Көрүнүштү тандаңыз', | ||
} | ||
Date: 'Датасы', | ||
'MM/DD/YYYY': 'АА/КК/ЖЖЖЖ', | ||
'Next month': 'Кийинки ай', | ||
'Previous month': 'Өткөн ай', | ||
'Choose Date': 'Күндү тандаңыз', | ||
'Select View': 'Көрүнүштү тандаңыз', | ||
}; | ||
const calendarKyKG = { | ||
Today: 'Бүгүн', | ||
Month: 'Ай', | ||
Week: 'Апта', | ||
Day: 'Күн', | ||
events: 'Окуялар', | ||
event: 'Окуя', | ||
'No events': 'Окуя жок', | ||
'Next period': 'Кийинки мезгил', | ||
'Previous period': 'Өткөн мезгил', | ||
to: 'чейин', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': | ||
'Күн бою жана бир нече күн катары менен болгон окуялар', | ||
} | ||
Today: 'Бүгүн', | ||
Month: 'Ай', | ||
Week: 'Апта', | ||
Day: 'Күн', | ||
events: 'Окуялар', | ||
event: 'Окуя', | ||
'No events': 'Окуя жок', | ||
'Next period': 'Кийинки мезгил', | ||
'Previous period': 'Өткөн мезгил', | ||
to: 'чейин', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Күн бою жана бир нече күн катары менен болгон окуялар', | ||
}; | ||
const kyKG = { | ||
...datePickerKyKG, | ||
...calendarKyKG, | ||
} | ||
...datePickerKyKG, | ||
...calendarKyKG, | ||
}; | ||
const datePickerIdID = { | ||
Date: 'Tanggal', | ||
'MM/DD/YYYY': 'DD.MM.YYYY', | ||
'Next month': 'Bulan depan', | ||
'Previous month': 'Bulan sebelumnya', | ||
'Choose Date': 'Pilih tanggal', | ||
'Select View': 'Pilih tampilan', | ||
} | ||
Date: 'Tanggal', | ||
'MM/DD/YYYY': 'DD.MM.YYYY', | ||
'Next month': 'Bulan depan', | ||
'Previous month': 'Bulan sebelumnya', | ||
'Choose Date': 'Pilih tanggal', | ||
'Select View': 'Pilih tampilan', | ||
}; | ||
const calendarIdID = { | ||
Today: 'Hari Ini', | ||
Month: 'Bulan', | ||
Week: 'Minggu', | ||
Day: 'Hari', | ||
events: 'Acara', | ||
event: 'Acara', | ||
'No events': 'Tidak ada acara', | ||
'Next period': 'Periode selanjutnya', | ||
'Previous period': 'Periode sebelumnya', | ||
to: 'sampai', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': | ||
'Sepanjang hari dan acara beberapa hari ', | ||
} | ||
Today: 'Hari Ini', | ||
Month: 'Bulan', | ||
Week: 'Minggu', | ||
Day: 'Hari', | ||
events: 'Acara', | ||
event: 'Acara', | ||
'No events': 'Tidak ada acara', | ||
'Next period': 'Periode selanjutnya', | ||
'Previous period': 'Periode sebelumnya', | ||
to: 'sampai', // as in 2/1/2020 to 2/2/2020 | ||
'Full day- and multiple day events': 'Sepanjang hari dan acara beberapa hari ', | ||
}; | ||
const idID = { | ||
...datePickerIdID, | ||
...calendarIdID, | ||
} | ||
...datePickerIdID, | ||
...calendarIdID, | ||
}; | ||
class InvalidLocaleError extends Error { | ||
constructor(locale) { | ||
super(`Invalid locale: ${locale}`) | ||
} | ||
constructor(locale) { | ||
super(`Invalid locale: ${locale}`); | ||
} | ||
} | ||
const translate = (locale, languages) => (key) => { | ||
if (!/^[a-z]{2}-[A-Z]{2}$/.test(locale)) | ||
throw new InvalidLocaleError(locale) | ||
const deHyphenatedLocale = locale.replace('-', '') | ||
const language = languages[deHyphenatedLocale] | ||
if (!language) return key | ||
return language[key] || key | ||
} | ||
if (!/^[a-z]{2}-[A-Z]{2}$/.test(locale)) | ||
throw new InvalidLocaleError(locale); | ||
const deHyphenatedLocale = locale.replace('-', ''); | ||
const language = languages[deHyphenatedLocale]; | ||
if (!language) | ||
return key; | ||
return language[key] || key; | ||
}; | ||
const translations = { | ||
deDE, | ||
enUS, | ||
itIT, | ||
enGB, | ||
svSE, | ||
zhCN, | ||
jaJP, | ||
ruRU, | ||
koKR, | ||
frFR, | ||
daDK, | ||
mkMK, | ||
plPL, | ||
esES, | ||
nlNL, | ||
ptBR, | ||
skSK, | ||
trTR, | ||
kyKG, | ||
idID, | ||
} | ||
deDE, | ||
enUS, | ||
itIT, | ||
enGB, | ||
svSE, | ||
zhCN, | ||
jaJP, | ||
ruRU, | ||
koKR, | ||
frFR, | ||
daDK, | ||
mkMK, | ||
plPL, | ||
esES, | ||
nlNL, | ||
ptBR, | ||
skSK, | ||
trTR, | ||
kyKG, | ||
idID, | ||
}; | ||
const datePickerTranslations = { | ||
deDE: datePickerDeDE, | ||
enUS: datePickerEnUS, | ||
itIT: datePickerItIT, | ||
enGB: datePickerEnGB, | ||
svSE: datePickerSvSE, | ||
zhCN: datePickerZhCN, | ||
jaJP: datePickerJaJP, | ||
ruRU: datePickerRuRU, | ||
koKR: datePickerKoKR, | ||
frFR: datePickerFrFR, | ||
daDK: datePickerDaDK, | ||
mkMK: datePickerMkMK, | ||
plPL: datePickerPlPL, | ||
esES: datePickerEsES, | ||
nlNL: datePickerNlNL, | ||
ptBR: datePickerPtBR, | ||
skSK: datePickerSkSK, | ||
trTR: datePickerTrTR, | ||
kyKG: datePickerKyKG, | ||
idID: datePickerIdID, | ||
} | ||
deDE: datePickerDeDE, | ||
enUS: datePickerEnUS, | ||
itIT: datePickerItIT, | ||
enGB: datePickerEnGB, | ||
svSE: datePickerSvSE, | ||
zhCN: datePickerZhCN, | ||
jaJP: datePickerJaJP, | ||
ruRU: datePickerRuRU, | ||
koKR: datePickerKoKR, | ||
frFR: datePickerFrFR, | ||
daDK: datePickerDaDK, | ||
mkMK: datePickerMkMK, | ||
plPL: datePickerPlPL, | ||
esES: datePickerEsES, | ||
nlNL: datePickerNlNL, | ||
ptBR: datePickerPtBR, | ||
skSK: datePickerSkSK, | ||
trTR: datePickerTrTR, | ||
kyKG: datePickerKyKG, | ||
idID: datePickerIdID, | ||
}; | ||
exports.daDK = daDK | ||
exports.datePickerTranslations = datePickerTranslations | ||
exports.deDE = deDE | ||
exports.enGB = enGB | ||
exports.enUS = enUS | ||
exports.esES = esES | ||
exports.frFR = frFR | ||
exports.idID = idID | ||
exports.itIT = itIT | ||
exports.jaJP = jaJP | ||
exports.koKR = koKR | ||
exports.kyKG = kyKG | ||
exports.mkMK = mkMK | ||
exports.nlNL = nlNL | ||
exports.plPL = plPL | ||
exports.ptBR = ptBR | ||
exports.ruRU = ruRU | ||
exports.skSK = skSK | ||
exports.svSE = svSE | ||
exports.trTR = trTR | ||
exports.translate = translate | ||
exports.translations = translations | ||
exports.zhCN = zhCN | ||
}) | ||
exports.daDK = daDK; | ||
exports.datePickerTranslations = datePickerTranslations; | ||
exports.deDE = deDE; | ||
exports.enGB = enGB; | ||
exports.enUS = enUS; | ||
exports.esES = esES; | ||
exports.frFR = frFR; | ||
exports.idID = idID; | ||
exports.itIT = itIT; | ||
exports.jaJP = jaJP; | ||
exports.koKR = koKR; | ||
exports.kyKG = kyKG; | ||
exports.mkMK = mkMK; | ||
exports.nlNL = nlNL; | ||
exports.plPL = plPL; | ||
exports.ptBR = ptBR; | ||
exports.ruRU = ruRU; | ||
exports.skSK = skSK; | ||
exports.svSE = svSE; | ||
exports.trTR = trTR; | ||
exports.translate = translate; | ||
exports.translations = translations; | ||
exports.zhCN = zhCN; | ||
})); |
{ | ||
"name": "@schedule-x/translations", | ||
"version": "1.43.0", | ||
"version": "1.44.0", | ||
"description": "Schedule-X translations", | ||
@@ -30,3 +30,3 @@ "author": { | ||
"homepage": "https://schedule-x.dev", | ||
"gitHead": "c3696b1b9e8cbad792a41ad6e36a732e9bd982ac" | ||
"gitHead": "bc64a6613d557c2378364be84f43d0871415a045" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
75116
10
2574