fullcalendar
Version:
FullCalendar Vanilla JS package for rendering a calendar
58 lines (53 loc) • 2.04 kB
JavaScript
/*!
FullCalendar (Vanilla JS) v7.1.4
Docs & License: https://fullcalendar.io
(c) 2026 Adam Shaw
*/
(function ({ F: globalLocales }) {
// седмица and година are feminine; ден, месец, and the период fallback are masculine
function __bg$isFeminine(unit) {
return unit === 'week' || unit === 'year';
}
function __bg$unitLabel(unitText) {
return (unitText || 'период').toLocaleLowerCase('bg');
}
var __bg$l10 = {
code: 'bg',
week: {
dow: 1, // Monday is the first day of the week.
doy: 4, // The week that contains Jan 4th is the first week of the year.
},
prevText: 'назад',
nextText: 'напред',
todayText: 'днес',
yearText: 'година',
monthText: 'Месец',
weekTextLong: 'Седмица',
dayText: 'Ден',
listText: 'График',
allDayText: 'Цял ден',
moreLinkText(n) {
return '+още ' + n;
},
noEventsText: 'Няма събития за показване',
prevHint(unitText, unit) {
return `${__bg$isFeminine(unit) ? 'Предишна' : 'Предишен'} ${__bg$unitLabel(unitText)}`;
},
nextHint(unitText, unit) {
return `${__bg$isFeminine(unit) ? 'Следваща' : 'Следващ'} ${__bg$unitLabel(unitText)}`;
},
todayHint(unitText, unit) {
if (unit === 'day') {
return 'Днес';
}
return `${__bg$isFeminine(unit) ? 'Тази' : 'Този'} ${__bg$unitLabel(unitText)}`;
},
navLinkHint: 'Отиди на $0',
moreLinkHint(eventCnt) {
return eventCnt === 1 ? 'Покажи още едно събитие' : `Покажи още ${eventCnt} събития`;
},
closeHint: 'Затвори',
eventsHint: 'Събития',
};
globalLocales.push(__bg$l10);
})(FullCalendar.Shared);