This commit is contained in:
Daniel Barbero Martin 2021-12-17 13:38:53 +01:00
parent 95b85284dd
commit a803b5fa90
87 changed files with 26980 additions and 25 deletions

View File

@ -673,7 +673,10 @@ if ($step == 2) {
(!$is_management_allowed | $disabled) (!$is_management_allowed | $disabled)
); );
$table->data[0][2] = __('Use special days list'); $table->colspan[0][1] = 3;
$table->data[0][1] = '<div id="calendar"></div>';
$table->data[1][0] = __('Use special days list');
$data_special_days = Calendar::calendars( $data_special_days = Calendar::calendars(
// Fields. // Fields.
[ '`talert_calendar`.*' ], [ '`talert_calendar`.*' ],
@ -693,7 +696,7 @@ if ($step == 2) {
true true
); );
$table->data[0][3] = html_print_select( $table->data[1][1] = html_print_select(
$data_special_days, $data_special_days,
'special_day', 'special_day',
$special_day, $special_day,
@ -707,8 +710,8 @@ if ($step == 2) {
(!$is_management_allowed | $disabled) (!$is_management_allowed | $disabled)
); );
$table->data[1][0] = __('Time from'); $table->data[2][0] = __('Time from');
$table->data[1][1] = html_print_input_text( $table->data[2][1] = html_print_input_text(
'time_from', 'time_from',
$time_from, $time_from,
'', '',
@ -727,8 +730,8 @@ if ($step == 2) {
'', '',
(!$is_management_allowed | $disabled) (!$is_management_allowed | $disabled)
); );
$table->data[1][2] = __('Time to'); $table->data[2][2] = __('Time to');
$table->data[1][3] = html_print_input_text( $table->data[2][3] = html_print_input_text(
'time_to', 'time_to',
$time_to, $time_to,
'', '',
@ -764,8 +767,8 @@ if ($step == 2) {
(!$is_management_allowed | $disabled) (!$is_management_allowed | $disabled)
); );
$table->data[3][0] = __('Min. number of alerts'); $table->data[4][0] = __('Min. number of alerts');
$table->data[3][1] = html_print_input_text( $table->data[4][1] = html_print_input_text(
'min_alerts', 'min_alerts',
$min_alerts, $min_alerts,
'', '',
@ -785,12 +788,12 @@ if ($step == 2) {
(!$is_management_allowed | $disabled) (!$is_management_allowed | $disabled)
); );
$table->data[3][2] = __('Reset counter for non-sustained alerts'); $table->data[4][2] = __('Reset counter for non-sustained alerts');
$table->data[3][2] .= ui_print_help_tip( $table->data[4][2] .= ui_print_help_tip(
__('Enable this option if you want the counter to be reset when the alert is not being fired consecutively, even if it\'s within the time threshold'), __('Enable this option if you want the counter to be reset when the alert is not being fired consecutively, even if it\'s within the time threshold'),
true true
); );
$table->data[3][3] = html_print_checkbox( $table->data[4][3] = html_print_checkbox(
'min_alerts_reset_counter', 'min_alerts_reset_counter',
1, 1,
$min_alerts_reset_counter, $min_alerts_reset_counter,
@ -801,8 +804,8 @@ if ($step == 2) {
$create_template == 1 ? 'checked=checked' : '' $create_template == 1 ? 'checked=checked' : ''
); );
$table->data[4][0] = __('Max. number of alerts'); $table->data[5][0] = __('Max. number of alerts');
$table->data[4][1] = html_print_input_text( $table->data[5][1] = html_print_input_text(
'max_alerts', 'max_alerts',
$max_alerts, $max_alerts,
'', '',
@ -822,8 +825,8 @@ if ($step == 2) {
(!$is_management_allowed | $disabled) (!$is_management_allowed | $disabled)
); );
$table->data[4][2] = __('Disable event'); $table->data[5][2] = __('Disable event');
$table->data[4][3] = html_print_checkbox( $table->data[5][3] = html_print_checkbox(
'disable_event', 'disable_event',
1, 1,
$disable_event, $disable_event,
@ -831,7 +834,7 @@ if ($step == 2) {
(!$is_management_allowed | $disabled) (!$is_management_allowed | $disabled)
); );
$table->data[5][0] = __('Default action'); $table->data[6][0] = __('Default action');
$usr_groups = implode( $usr_groups = implode(
',', ',',
array_keys(users_get_groups($config['id_user'], 'LM', true)) array_keys(users_get_groups($config['id_user'], 'LM', true))
@ -846,7 +849,7 @@ if ($step == 2) {
$usr_groups $usr_groups
); );
$table->data[5][1] = html_print_select_from_sql( $table->data[6][1] = html_print_select_from_sql(
$sql_query, $sql_query,
'default_action', 'default_action',
$default_action, $default_action,
@ -861,13 +864,13 @@ if ($step == 2) {
false, false,
0 0
); );
$table->data[5][1] .= ui_print_help_tip( $table->data[6][1] .= ui_print_help_tip(
__('Unless they\'re left blank, the fields from the action will override those set on the template.'), __('Unless they\'re left blank, the fields from the action will override those set on the template.'),
true true
); );
$table->data[6][0] = __('Condition type'); $table->data[7][0] = __('Condition type');
$table->data[6][1] = html_print_select( $table->data[7][1] = html_print_select(
alerts_get_alert_templates_types(), alerts_get_alert_templates_types(),
'type', 'type',
$type, $type,
@ -880,15 +883,15 @@ if ($step == 2) {
'', '',
(!$is_management_allowed | $disabled) (!$is_management_allowed | $disabled)
); );
$table->data[6][1] .= '<span id="matches_value" '.($show_matches ? '' : 'class="invisible"').'>'; $table->data[7][1] .= '<span id="matches_value" '.($show_matches ? '' : 'class="invisible"').'>';
$table->data[6][1] .= '&nbsp;'.html_print_checkbox('matches_value', 1, $matches, true); $table->data[7][1] .= '&nbsp;'.html_print_checkbox('matches_value', 1, $matches, true);
$table->data[6][1] .= html_print_label( $table->data[7][1] .= html_print_label(
__('Trigger when matches the value'), __('Trigger when matches the value'),
'checkbox-matches_value', 'checkbox-matches_value',
true true
); );
$table->data[6][1] .= '</span>'; $table->data[7][1] .= '</span>';
$table->colspan[6][1] = 3; $table->colspan[7][1] = 3;
$table->data['value'][0] = __('Value'); $table->data['value'][0] = __('Value');
$table->data['value'][1] = html_print_input_text( $table->data['value'][1] = html_print_input_text(
@ -1277,6 +1280,8 @@ ui_require_javascript_file('pandora_alerts');
ui_include_time_picker(); ui_include_time_picker();
ui_require_jquery_file('ui.datepicker-'.get_user_language(), 'include/javascript/i18n/'); ui_require_jquery_file('ui.datepicker-'.get_user_language(), 'include/javascript/i18n/');
ui_require_javascript_file('tiny_mce', 'include/javascript/tiny_mce/'); ui_require_javascript_file('tiny_mce', 'include/javascript/tiny_mce/');
ui_require_css_file('main.min', 'include/javascript/fullcalendar/');
ui_require_javascript_file('main.min', 'include/javascript/fullcalendar/');
?> ?>
<script type="text/javascript"> <script type="text/javascript">
@ -1542,6 +1547,117 @@ if ($step == 2) {
$("#template-threshold-other_input").hide (); $("#template-threshold-other_input").hide ();
} }
}); });
var calendarEl = document.getElementById('calendar');
var calendar = new FullCalendar.Calendar(calendarEl, {
height: 625,
headerToolbar: {
left: '',
center: '',
right: ''
},
dayHeaderFormat: { weekday: 'short' },
initialView: 'timeGridWeek',
navLinks: false,
selectable: true,
selectMirror: true,
slotDuration: '01:00:00',
slotLabelInterval: '02:00:00',
snapDuration: '00:05:00',
slotLabelFormat: {
hour: 'numeric',
minute: '2-digit',
hour12:false
},
slotMinTime: '00:00:00',
slotMaxTime: '24:00:00',
scrollTime: '00:00:00',
timeFormat: 'H:mm',
locale: 'en-GB',
firstDay: 1,
select: function(arg) {
//console.log(arg);
calendar.addEvent({
title: 'hummmm',
start: arg.start,
end: arg.end,
});
calendar.unselect()
},
eventDrop: function(event) {
event.revert();
},
eventClick: function(arg) {
console.log(arg);
var div = document.createElement('div');
var input = document.createElement('input');
input.setAttribute('type', 'time');
input.setAttribute('value', arg.end)
confirmDialog({
title: 'Eventoooooo',
message: 'ole',
onAccept: function() {
/*
$.ajax({
method: "post",
url: settings.url,
data: {
page: settings.page,
method: "deleteActionAlert",
id_alert: settings.id_alert,
id_action: settings.id_action
},
dataType: "json",
success: function(data) {
// Delete row table.
$(
"#li-al-" + settings.id_alert + "-act-" + settings.id_action
).remove();
var num_row = $("#ul-al-" + settings.id_alert + " li").length;
if (num_row === 0) {
var emptyli =
"<li id='emptyli-al-" +
settings.id_alert +
"'>" +
settings.emptyli +
"</li>";
$("#ul-al-" + settings.id_alert).append(emptyli);
}
},
error: function(error) {
console.log(error);
}
});
*/
}
});
//arg.event.remove()
},
eventOverlap: function(stillEvent, movingEvent) {
return stillEvent.allDay && movingEvent.allDay;
},
selectOverlap: function(event) {
return event.rendering === 'background';
},
eventTimeFormat: {
hour: 'numeric',
minute: '2-digit',
hour12:false
},
eventColor: '#82b92e',
editable: true,
dayMaxEvents: false, // allow "more" link when too many events
events: []
});
calendar.render();
<?php <?php
} else if ($step == 3) { } else if ($step == 3) {
?> ?>

View File

@ -0,0 +1,22 @@
MIT License
Copyright (c) 2021 Adam Shaw
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,28 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var af = {
code: "af",
week: {
dow: 1, // Maandag is die eerste dag van die week.
doy: 4 // Die week wat die 4de Januarie bevat is die eerste week van die jaar.
},
buttonText: {
prev: "Vorige",
next: "Volgende",
today: "Vandag",
year: "Jaar",
month: "Maand",
week: "Week",
day: "Dag",
list: "Agenda"
},
allDayText: "Heeldag",
moreLinkText: "Addisionele",
noEventsText: "Daar is geen gebeurtenisse nie"
};
return af;
})()
);

View File

@ -0,0 +1,29 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var arDz = {
code: "ar-dz",
week: {
dow: 0, // Sunday is the first day of the week.
doy: 4 // The week that contains Jan 1st is the first week of the year.
},
direction: "rtl",
buttonText: {
prev: "السابق",
next: "التالي",
today: "اليوم",
month: "شهر",
week: "أسبوع",
day: "يوم",
list: "أجندة"
},
weekText: "أسبوع",
allDayText: "اليوم كله",
moreLinkText: "أخرى",
noEventsText: "أي أحداث لعرض"
};
return arDz;
})()
);

View File

@ -0,0 +1,29 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var arKw = {
code: "ar-kw",
week: {
dow: 0, // Sunday is the first day of the week.
doy: 12 // The week that contains Jan 1st is the first week of the year.
},
direction: "rtl",
buttonText: {
prev: "السابق",
next: "التالي",
today: "اليوم",
month: "شهر",
week: "أسبوع",
day: "يوم",
list: "أجندة"
},
weekText: "أسبوع",
allDayText: "اليوم كله",
moreLinkText: "أخرى",
noEventsText: "أي أحداث لعرض"
};
return arKw;
})()
);

View File

@ -0,0 +1,29 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var arLy = {
code: "ar-ly",
week: {
dow: 6, // Saturday is the first day of the week.
doy: 12 // The week that contains Jan 1st is the first week of the year.
},
direction: "rtl",
buttonText: {
prev: "السابق",
next: "التالي",
today: "اليوم",
month: "شهر",
week: "أسبوع",
day: "يوم",
list: "أجندة"
},
weekText: "أسبوع",
allDayText: "اليوم كله",
moreLinkText: "أخرى",
noEventsText: "أي أحداث لعرض"
};
return arLy;
})()
);

View File

@ -0,0 +1,29 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var arMa = {
code: "ar-ma",
week: {
dow: 6, // Saturday is the first day of the week.
doy: 12 // The week that contains Jan 1st is the first week of the year.
},
direction: "rtl",
buttonText: {
prev: "السابق",
next: "التالي",
today: "اليوم",
month: "شهر",
week: "أسبوع",
day: "يوم",
list: "أجندة"
},
weekText: "أسبوع",
allDayText: "اليوم كله",
moreLinkText: "أخرى",
noEventsText: "أي أحداث لعرض"
};
return arMa;
})()
);

View File

@ -0,0 +1,29 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var arSa = {
code: "ar-sa",
week: {
dow: 0, // Sunday is the first day of the week.
doy: 6 // The week that contains Jan 1st is the first week of the year.
},
direction: "rtl",
buttonText: {
prev: "السابق",
next: "التالي",
today: "اليوم",
month: "شهر",
week: "أسبوع",
day: "يوم",
list: "أجندة"
},
weekText: "أسبوع",
allDayText: "اليوم كله",
moreLinkText: "أخرى",
noEventsText: "أي أحداث لعرض"
};
return arSa;
})()
);

View File

@ -0,0 +1,29 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var arTn = {
code: "ar-tn",
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.
},
direction: "rtl",
buttonText: {
prev: "السابق",
next: "التالي",
today: "اليوم",
month: "شهر",
week: "أسبوع",
day: "يوم",
list: "أجندة"
},
weekText: "أسبوع",
allDayText: "اليوم كله",
moreLinkText: "أخرى",
noEventsText: "أي أحداث لعرض"
};
return arTn;
})()
);

View File

@ -0,0 +1,29 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var ar = {
code: "ar",
week: {
dow: 6, // Saturday is the first day of the week.
doy: 12 // The week that contains Jan 1st is the first week of the year.
},
direction: "rtl",
buttonText: {
prev: "السابق",
next: "التالي",
today: "اليوم",
month: "شهر",
week: "أسبوع",
day: "يوم",
list: "أجندة"
},
weekText: "أسبوع",
allDayText: "اليوم كله",
moreLinkText: "أخرى",
noEventsText: "أي أحداث لعرض"
};
return ar;
})()
);

View File

@ -0,0 +1,30 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var az = {
code: "az",
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.
},
buttonText: {
prev: "Əvvəl",
next: "Sonra",
today: "Bu Gün",
month: "Ay",
week: "Həftə",
day: "Gün",
list: "Gündəm"
},
weekText: "Həftə",
allDayText: "Bütün Gün",
moreLinkText: function(n) {
return "+ daha çox " + n;
},
noEventsText: "Göstərmək üçün hadisə yoxdur"
};
return az;
})()
);

View File

@ -0,0 +1,29 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var bg = {
code: "bg",
week: {
dow: 1, // Monday is the first day of the week.
doy: 7 // The week that contains Jan 1st is the first week of the year.
},
buttonText: {
prev: "назад",
next: "напред",
today: "днес",
month: "Месец",
week: "Седмица",
day: "Ден",
list: "График"
},
allDayText: "Цял ден",
moreLinkText: function(n) {
return "+още " + n;
},
noEventsText: "Няма събития за показване"
};
return bg;
})()
);

View File

@ -0,0 +1,30 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var bn = {
code: "bn",
week: {
dow: 0, // Sunday is the first day of the week.
doy: 6 // The week that contains Jan 1st is the first week of the year.
},
buttonText: {
prev: "পেছনে",
next: "সামনে",
today: "আজ",
month: "মাস",
week: "সপ্তাহ",
day: "দিন",
list: "তালিকা"
},
weekText: "সপ্তাহ",
allDayText: "সারাদিন",
moreLinkText: function(n) {
return "+অন্যান্য " + n;
},
noEventsText: "কোনো ইভেন্ট নেই"
};
return bn;
})()
);

View File

@ -0,0 +1,30 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var bs = {
code: "bs",
week: {
dow: 1, // Monday is the first day of the week.
doy: 7 // The week that contains Jan 1st is the first week of the year.
},
buttonText: {
prev: "Prošli",
next: "Sljedeći",
today: "Danas",
month: "Mjesec",
week: "Sedmica",
day: "Dan",
list: "Raspored"
},
weekText: "Sed",
allDayText: "Cijeli dan",
moreLinkText: function(n) {
return "+ još " + n;
},
noEventsText: "Nema događaja za prikazivanje"
};
return bs;
})()
);

View File

@ -0,0 +1,28 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var ca = {
code: "ca",
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.
},
buttonText: {
prev: "Anterior",
next: "Següent",
today: "Avui",
month: "Mes",
week: "Setmana",
day: "Dia",
list: "Agenda"
},
weekText: "Set",
allDayText: "Tot el dia",
moreLinkText: "més",
noEventsText: "No hi ha esdeveniments per mostrar"
};
return ca;
})()
);

View File

@ -0,0 +1,30 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var cs = {
code: "cs",
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.
},
buttonText: {
prev: "Dříve",
next: "Později",
today: "Nyní",
month: "Měsíc",
week: "Týden",
day: "Den",
list: "Agenda"
},
weekText: "Týd",
allDayText: "Celý den",
moreLinkText: function(n) {
return "+další: " + n;
},
noEventsText: "Žádné akce k zobrazení"
};
return cs;
})()
);

View File

@ -0,0 +1,29 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var cy = {
code: "cy",
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.
},
buttonText: {
prev: "Blaenorol",
next: "Nesaf",
today: "Heddiw",
year: "Blwyddyn",
month: "Mis",
week: "Wythnos",
day: "Dydd",
list: "Rhestr"
},
weekText: "Wythnos",
allDayText: "Trwy'r dydd",
moreLinkText: "Mwy",
noEventsText: "Dim digwyddiadau"
};
return cy;
})()
);

View File

@ -0,0 +1,28 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var da = {
code: "da",
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.
},
buttonText: {
prev: "Forrige",
next: "Næste",
today: "I dag",
month: "Måned",
week: "Uge",
day: "Dag",
list: "Agenda"
},
weekText: "Uge",
allDayText: "Hele dagen",
moreLinkText: "flere",
noEventsText: "Ingen arrangementer at vise"
};
return da;
})()
);

View File

@ -0,0 +1,73 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
function affix(buttonText) {
return buttonText === "Tag" || buttonText === "Monat"
? "r"
: buttonText === "Jahr"
? "s"
: "";
}
var deAt = {
code: "de-at",
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.
},
buttonText: {
prev: "Zurück",
next: "Vor",
today: "Heute",
year: "Jahr",
month: "Monat",
week: "Woche",
day: "Tag",
list: "Terminübersicht"
},
weekText: "KW",
weekTextLong: "Woche",
allDayText: "Ganztägig",
moreLinkText: function(n) {
return "+ weitere " + n;
},
noEventsText: "Keine Ereignisse anzuzeigen",
buttonHints: {
prev(buttonText) {
return `Vorherige${affix(buttonText)} ${buttonText}`;
},
next(buttonText) {
return `Nächste${affix(buttonText)} ${buttonText}`;
},
today(buttonText) {
// → Heute, Diese Woche, Dieser Monat, Dieses Jahr
if (buttonText === "Tag") {
return "Heute";
}
return `Diese${affix(buttonText)} ${buttonText}`;
}
},
viewHint(buttonText) {
// → Tagesansicht, Wochenansicht, Monatsansicht, Jahresansicht
const glue =
buttonText === "Woche" ? "n" : buttonText === "Monat" ? "s" : "es";
return buttonText + glue + "ansicht";
},
navLinkHint: "Gehe zu $0",
moreLinkHint(eventCnt) {
return (
"Zeige " +
(eventCnt === 1
? "ein weiteres Ereignis"
: eventCnt + " weitere Ereignisse")
);
},
closeHint: "Schließen",
timeHint: "Uhrzeit",
eventHint: "Ereignis"
};
return deAt;
})()
);

View File

@ -0,0 +1,73 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
function affix(buttonText) {
return buttonText === "Tag" || buttonText === "Monat"
? "r"
: buttonText === "Jahr"
? "s"
: "";
}
var de = {
code: "de",
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.
},
buttonText: {
prev: "Zurück",
next: "Vor",
today: "Heute",
year: "Jahr",
month: "Monat",
week: "Woche",
day: "Tag",
list: "Terminübersicht"
},
weekText: "KW",
weekTextLong: "Woche",
allDayText: "Ganztägig",
moreLinkText: function(n) {
return "+ weitere " + n;
},
noEventsText: "Keine Ereignisse anzuzeigen",
buttonHints: {
prev(buttonText) {
return `Vorherige${affix(buttonText)} ${buttonText}`;
},
next(buttonText) {
return `Nächste${affix(buttonText)} ${buttonText}`;
},
today(buttonText) {
// → Heute, Diese Woche, Dieser Monat, Dieses Jahr
if (buttonText === "Tag") {
return "Heute";
}
return `Diese${affix(buttonText)} ${buttonText}`;
}
},
viewHint(buttonText) {
// → Tagesansicht, Wochenansicht, Monatsansicht, Jahresansicht
const glue =
buttonText === "Woche" ? "n" : buttonText === "Monat" ? "s" : "es";
return buttonText + glue + "ansicht";
},
navLinkHint: "Gehe zu $0",
moreLinkHint(eventCnt) {
return (
"Zeige " +
(eventCnt === 1
? "ein weiteres Ereignis"
: eventCnt + " weitere Ereignisse")
);
},
closeHint: "Schließen",
timeHint: "Uhrzeit",
eventHint: "Ereignis"
};
return de;
})()
);

View File

@ -0,0 +1,28 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var el = {
code: "el",
week: {
dow: 1, // Monday is the first day of the week.
doy: 4 // The week that contains Jan 4st is the first week of the year.
},
buttonText: {
prev: "Προηγούμενος",
next: "Επόμενος",
today: "Σήμερα",
month: "Μήνας",
week: "Εβδομάδα",
day: "Ημέρα",
list: "Ατζέντα"
},
weekText: "Εβδ",
allDayText: "Ολοήμερο",
moreLinkText: "περισσότερα",
noEventsText: "Δεν υπάρχουν γεγονότα προς εμφάνιση"
};
return el;
})()
);

View File

@ -0,0 +1,25 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var enAu = {
code: "en-au",
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.
},
buttonHints: {
prev: "Previous $0",
next: "Next $0",
today: "This $0"
},
viewHint: "$0 view",
navLinkHint: "Go to $0",
moreLinkHint(eventCnt) {
return `Show ${eventCnt} more event${eventCnt === 1 ? "" : "s"}`;
}
};
return enAu;
})()
);

View File

@ -0,0 +1,25 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var enGb = {
code: "en-gb",
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.
},
buttonHints: {
prev: "Previous $0",
next: "Next $0",
today: "This $0"
},
viewHint: "$0 view",
navLinkHint: "Go to $0",
moreLinkHint(eventCnt) {
return `Show ${eventCnt} more event${eventCnt === 1 ? "" : "s"}`;
}
};
return enGb;
})()
);

View File

@ -0,0 +1,25 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var enNz = {
code: "en-nz",
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.
},
buttonHints: {
prev: "Previous $0",
next: "Next $0",
today: "This $0"
},
viewHint: "$0 view",
navLinkHint: "Go to $0",
moreLinkHint(eventCnt) {
return `Show ${eventCnt} more event${eventCnt === 1 ? "" : "s"}`;
}
};
return enNz;
})()
);

View File

@ -0,0 +1,28 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var eo = {
code: "eo",
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.
},
buttonText: {
prev: "Antaŭa",
next: "Sekva",
today: "Hodiaŭ",
month: "Monato",
week: "Semajno",
day: "Tago",
list: "Tagordo"
},
weekText: "Sm",
allDayText: "Tuta tago",
moreLinkText: "pli",
noEventsText: "Neniuj eventoj por montri"
};
return eo;
})()
);

View File

@ -0,0 +1,28 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var esUs = {
code: "es",
week: {
dow: 0, // Sunday is the first day of the week.
doy: 6 // The week that contains Jan 1st is the first week of the year.
},
buttonText: {
prev: "Ant",
next: "Sig",
today: "Hoy",
month: "Mes",
week: "Semana",
day: "Día",
list: "Agenda"
},
weekText: "Sm",
allDayText: "Todo el día",
moreLinkText: "más",
noEventsText: "No hay eventos para mostrar"
};
return esUs;
})()
);

View File

@ -0,0 +1,55 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var es = {
code: "es",
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.
},
buttonText: {
prev: "Ant",
next: "Sig",
today: "Hoy",
month: "Mes",
week: "Semana",
day: "Día",
list: "Agenda"
},
buttonHints: {
prev: "$0 antes",
next: "$0 siguiente",
today(buttonText) {
return buttonText === "Día"
? "Hoy"
: (buttonText === "Semana" ? "Esta" : "Este") +
" " +
buttonText.toLocaleLowerCase();
}
},
viewHint(buttonText) {
return (
"Vista " +
(buttonText === "Semana" ? "de la" : "del") +
" " +
buttonText.toLocaleLowerCase()
);
},
weekText: "Sm",
weekTextLong: "Semana",
allDayText: "Todo el día",
moreLinkText: "más",
moreLinkHint(eventCnt) {
return `Mostrar ${eventCnt} eventos más`;
},
noEventsText: "No hay eventos para mostrar",
navLinkHint: "Ir al $0",
closeHint: "Cerrar",
timeHint: "La hora",
eventHint: "Evento"
};
return es;
})()
);

View File

@ -0,0 +1,30 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var et = {
code: "et",
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.
},
buttonText: {
prev: "Eelnev",
next: "Järgnev",
today: "Täna",
month: "Kuu",
week: "Nädal",
day: "Päev",
list: "Päevakord"
},
weekText: "näd",
allDayText: "Kogu päev",
moreLinkText: function(n) {
return "+ veel " + n;
},
noEventsText: "Kuvamiseks puuduvad sündmused"
};
return et;
})()
);

View File

@ -0,0 +1,28 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var eu = {
code: "eu",
week: {
dow: 1, // Monday is the first day of the week.
doy: 7 // The week that contains Jan 1st is the first week of the year.
},
buttonText: {
prev: "Aur",
next: "Hur",
today: "Gaur",
month: "Hilabetea",
week: "Astea",
day: "Eguna",
list: "Agenda"
},
weekText: "As",
allDayText: "Egun osoa",
moreLinkText: "gehiago",
noEventsText: "Ez dago ekitaldirik erakusteko"
};
return eu;
})()
);

View File

@ -0,0 +1,31 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var fa = {
code: "fa",
week: {
dow: 6, // Saturday is the first day of the week.
doy: 12 // The week that contains Jan 1st is the first week of the year.
},
direction: "rtl",
buttonText: {
prev: "قبلی",
next: "بعدی",
today: "امروز",
month: "ماه",
week: "هفته",
day: "روز",
list: "برنامه"
},
weekText: "هف",
allDayText: "تمام روز",
moreLinkText: function(n) {
return "بیش از " + n;
},
noEventsText: "هیچ رویدادی به نمایش"
};
return fa;
})()
);

View File

@ -0,0 +1,28 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var fi = {
code: "fi",
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.
},
buttonText: {
prev: "Edellinen",
next: "Seuraava",
today: "Tänään",
month: "Kuukausi",
week: "Viikko",
day: "Päivä",
list: "Tapahtumat"
},
weekText: "Vk",
allDayText: "Koko päivä",
moreLinkText: "lisää",
noEventsText: "Ei näytettäviä tapahtumia"
};
return fi;
})()
);

View File

@ -0,0 +1,25 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var frCa = {
code: "fr",
buttonText: {
prev: "Précédent",
next: "Suivant",
today: "Aujourd'hui",
year: "Année",
month: "Mois",
week: "Semaine",
day: "Jour",
list: "Mon planning"
},
weekText: "Sem.",
allDayText: "Toute la journée",
moreLinkText: "en plus",
noEventsText: "Aucun événement à afficher"
};
return frCa;
})()
);

View File

@ -0,0 +1,29 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var frCh = {
code: "fr-ch",
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.
},
buttonText: {
prev: "Précédent",
next: "Suivant",
today: "Courant",
year: "Année",
month: "Mois",
week: "Semaine",
day: "Jour",
list: "Mon planning"
},
weekText: "Sm",
allDayText: "Toute la journée",
moreLinkText: "en plus",
noEventsText: "Aucun événement à afficher"
};
return frCh;
})()
);

View File

@ -0,0 +1,29 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var fr = {
code: "fr",
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.
},
buttonText: {
prev: "Précédent",
next: "Suivant",
today: "Aujourd'hui",
year: "Année",
month: "Mois",
week: "Semaine",
day: "Jour",
list: "Planning"
},
weekText: "Sem.",
allDayText: "Toute la journée",
moreLinkText: "en plus",
noEventsText: "Aucun événement à afficher"
};
return fr;
})()
);

View File

@ -0,0 +1,28 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var gl = {
code: "gl",
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.
},
buttonText: {
prev: "Ant",
next: "Seg",
today: "Hoxe",
month: "Mes",
week: "Semana",
day: "Día",
list: "Axenda"
},
weekText: "Sm",
allDayText: "Todo o día",
moreLinkText: "máis",
noEventsText: "Non hai eventos para amosar"
};
return gl;
})()
);

View File

@ -0,0 +1,25 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var he = {
code: "he",
direction: "rtl",
buttonText: {
prev: "הקודם",
next: "הבא",
today: "היום",
month: "חודש",
week: "שבוע",
day: "יום",
list: "סדר יום"
},
allDayText: "כל היום",
moreLinkText: "אחר",
noEventsText: "אין אירועים להצגה",
weekText: "שבוע"
};
return he;
})()
);

View File

@ -0,0 +1,30 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var hi = {
code: "hi",
week: {
dow: 0, // Sunday is the first day of the week.
doy: 6 // The week that contains Jan 1st is the first week of the year.
},
buttonText: {
prev: "पिछला",
next: "अगला",
today: "आज",
month: "महीना",
week: "सप्ताह",
day: "दिन",
list: "कार्यसूची"
},
weekText: "हफ्ता",
allDayText: "सभी दिन",
moreLinkText: function(n) {
return "+अधिक " + n;
},
noEventsText: "कोई घटनाओं को प्रदर्शित करने के लिए"
};
return hi;
})()
);

View File

@ -0,0 +1,30 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var hr = {
code: "hr",
week: {
dow: 1, // Monday is the first day of the week.
doy: 7 // The week that contains Jan 1st is the first week of the year.
},
buttonText: {
prev: "Prijašnji",
next: "Sljedeći",
today: "Danas",
month: "Mjesec",
week: "Tjedan",
day: "Dan",
list: "Raspored"
},
weekText: "Tje",
allDayText: "Cijeli dan",
moreLinkText: function(n) {
return "+ još " + n;
},
noEventsText: "Nema događaja za prikaz"
};
return hr;
})()
);

View File

@ -0,0 +1,28 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var hu = {
code: "hu",
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.
},
buttonText: {
prev: "vissza",
next: "előre",
today: "ma",
month: "Hónap",
week: "Hét",
day: "Nap",
list: "Lista"
},
weekText: "Hét",
allDayText: "Egész nap",
moreLinkText: "további",
noEventsText: "Nincs megjeleníthető esemény"
};
return hu;
})()
);

View File

@ -0,0 +1,30 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var hyAm = {
code: "hy-am",
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.
},
buttonText: {
prev: "Նախորդ",
next: "Հաջորդ",
today: "Այսօր",
month: "Ամիս",
week: "Շաբաթ",
day: "Օր",
list: "Օրվա ցուցակ"
},
weekText: "Շաբ",
allDayText: "Ամբողջ օր",
moreLinkText: function(n) {
return "+ ևս " + n;
},
noEventsText: "Բացակայում է իրադարձությունը ցուցադրելու"
};
return hyAm;
})()
);

View File

@ -0,0 +1,28 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var id = {
code: "id",
week: {
dow: 1, // Monday is the first day of the week.
doy: 7 // The week that contains Jan 1st is the first week of the year.
},
buttonText: {
prev: "mundur",
next: "maju",
today: "hari ini",
month: "Bulan",
week: "Minggu",
day: "Hari",
list: "Agenda"
},
weekText: "Mg",
allDayText: "Sehari penuh",
moreLinkText: "lebih",
noEventsText: "Tidak ada acara untuk ditampilkan"
};
return id;
})()
);

View File

@ -0,0 +1,28 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var is = {
code: "is",
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.
},
buttonText: {
prev: "Fyrri",
next: "Næsti",
today: "Í dag",
month: "Mánuður",
week: "Vika",
day: "Dagur",
list: "Dagskrá"
},
weekText: "Vika",
allDayText: "Allan daginn",
moreLinkText: "meira",
noEventsText: "Engir viðburðir til að sýna"
};
return is;
})()
);

View File

@ -0,0 +1,30 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var it = {
code: "it",
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.
},
buttonText: {
prev: "Prec",
next: "Succ",
today: "Oggi",
month: "Mese",
week: "Settimana",
day: "Giorno",
list: "Agenda"
},
weekText: "Sm",
allDayText: "Tutto il giorno",
moreLinkText: function(n) {
return "+altri " + n;
},
noEventsText: "Non ci sono eventi da visualizzare"
};
return it;
})()
);

View File

@ -0,0 +1,26 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var ja = {
code: "ja",
buttonText: {
prev: "前",
next: "次",
today: "今日",
month: "月",
week: "週",
day: "日",
list: "予定リスト"
},
weekText: "週",
allDayText: "終日",
moreLinkText: function(n) {
return "他 " + n + " 件";
},
noEventsText: "表示する予定はありません"
};
return ja;
})()
);

View File

@ -0,0 +1,30 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var ka = {
code: "ka",
week: {
dow: 1,
doy: 7
},
buttonText: {
prev: "წინა",
next: "შემდეგი",
today: "დღეს",
month: "თვე",
week: "კვირა",
day: "დღე",
list: "დღის წესრიგი"
},
weekText: "კვ",
allDayText: "მთელი დღე",
moreLinkText: function(n) {
return "+ კიდევ " + n;
},
noEventsText: "ღონისძიებები არ არის"
};
return ka;
})()
);

View File

@ -0,0 +1,30 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var kk = {
code: "kk",
week: {
dow: 1, // Monday is the first day of the week.
doy: 7 // The week that contains Jan 1st is the first week of the year.
},
buttonText: {
prev: "Алдыңғы",
next: "Келесі",
today: "Бүгін",
month: "Ай",
week: "Апта",
day: "Күн",
list: "Күн тәртібі"
},
weekText: "Не",
allDayText: "Күні бойы",
moreLinkText: function(n) {
return "+ тағы " + n;
},
noEventsText: "Көрсету үшін оқиғалар жоқ"
};
return kk;
})()
);

View File

@ -0,0 +1,29 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var km = {
code: "km",
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.
},
buttonText: {
prev: "មុន",
next: "បន្ទាប់",
today: "ថ្ងៃនេះ",
year: "ឆ្នាំ",
month: "ខែ",
week: "សប្តាហ៍",
day: "ថ្ងៃ",
list: "បញ្ជី"
},
weekText: "សប្តាហ៍",
allDayText: "ពេញមួយថ្ងៃ",
moreLinkText: "ច្រើនទៀត",
noEventsText: "គ្មានព្រឹត្តិការណ៍ត្រូវបង្ហាញ"
};
return km;
})()
);

View File

@ -0,0 +1,24 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var ko = {
code: "ko",
buttonText: {
prev: "이전달",
next: "다음달",
today: "오늘",
month: "월",
week: "주",
day: "일",
list: "일정목록"
},
weekText: "주",
allDayText: "종일",
moreLinkText: "개",
noEventsText: "일정이 없습니다"
};
return ko;
})()
);

View File

@ -0,0 +1,29 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var ku = {
code: "ku",
week: {
dow: 6, // Saturday is the first day of the week.
doy: 12 // The week that contains Jan 1st is the first week of the year.
},
direction: "rtl",
buttonText: {
prev: "پێشتر",
next: "دواتر",
today: "ئەمڕو",
month: "مانگ",
week: "هەفتە",
day: "ڕۆژ",
list: "بەرنامە"
},
weekText: "هەفتە",
allDayText: "هەموو ڕۆژەکە",
moreLinkText: "زیاتر",
noEventsText: "هیچ ڕووداوێك نیە"
};
return ku;
})()
);

View File

@ -0,0 +1,28 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var lb = {
code: "lb",
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.
},
buttonText: {
prev: "Zréck",
next: "Weider",
today: "Haut",
month: "Mount",
week: "Woch",
day: "Dag",
list: "Terminiwwersiicht"
},
weekText: "W",
allDayText: "Ganzen Dag",
moreLinkText: "méi",
noEventsText: "Nee Evenementer ze affichéieren"
};
return lb;
})()
);

View File

@ -0,0 +1,28 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var lt = {
code: "lt",
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.
},
buttonText: {
prev: "Atgal",
next: "Pirmyn",
today: "Šiandien",
month: "Mėnuo",
week: "Savaitė",
day: "Diena",
list: "Darbotvarkė"
},
weekText: "SAV",
allDayText: "Visą dieną",
moreLinkText: "daugiau",
noEventsText: "Nėra įvykių rodyti"
};
return lt;
})()
);

View File

@ -0,0 +1,30 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var lv = {
code: "lv",
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.
},
buttonText: {
prev: "Iepr.",
next: "Nāk.",
today: "Šodien",
month: "Mēnesis",
week: "Nedēļa",
day: "Diena",
list: "Dienas kārtība"
},
weekText: "Ned.",
allDayText: "Visu dienu",
moreLinkText: function(n) {
return "+vēl " + n;
},
noEventsText: "Nav notikumu"
};
return lv;
})()
);

View File

@ -0,0 +1,26 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var mk = {
code: "mk",
buttonText: {
prev: "претходно",
next: "следно",
today: "Денес",
month: "Месец",
week: "Недела",
day: "Ден",
list: "График"
},
weekText: "Сед",
allDayText: "Цел ден",
moreLinkText: function(n) {
return "+повеќе " + n;
},
noEventsText: "Нема настани за прикажување"
};
return mk;
})()
);

View File

@ -0,0 +1,30 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var ms = {
code: "ms",
week: {
dow: 1, // Monday is the first day of the week.
doy: 7 // The week that contains Jan 1st is the first week of the year.
},
buttonText: {
prev: "Sebelum",
next: "Selepas",
today: "hari ini",
month: "Bulan",
week: "Minggu",
day: "Hari",
list: "Agenda"
},
weekText: "Mg",
allDayText: "Sepanjang hari",
moreLinkText: function(n) {
return "masih ada " + n + " acara";
},
noEventsText: "Tiada peristiwa untuk dipaparkan"
};
return ms;
})()
);

View File

@ -0,0 +1,39 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var nb = {
code: "nb",
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.
},
buttonText: {
prev: "Forrige",
next: "Neste",
today: "I dag",
month: "Måned",
week: "Uke",
day: "Dag",
list: "Agenda"
},
weekText: "Uke",
weekTextLong: "Uke",
allDayText: "Hele dagen",
moreLinkText: "til",
noEventsText: "Ingen hendelser å vise",
buttonHints: {
prev: "Forrige $0",
next: "Neste $0",
today: "Nåværende $0"
},
viewHint: "$0 visning",
navLinkHint: "Gå til $0",
moreLinkHint(eventCnt) {
return `Vis ${eventCnt} flere hendelse${eventCnt === 1 ? "" : "r"}`;
}
};
return nb;
})()
);

View File

@ -0,0 +1,28 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var ne = {
code: "ne", // code for nepal
week: {
dow: 7, // Sunday is the first day of the week.
doy: 1 // The week that contains Jan 1st is the first week of the year.
},
buttonText: {
prev: "अघिल्लो",
next: "अर्को",
today: "आज",
month: "महिना",
week: "हप्ता",
day: "दिन",
list: "सूची"
},
weekText: "हप्ता",
allDayText: "दिनभरि",
moreLinkText: "थप लिंक",
noEventsText: "देखाउनको लागि कुनै घटनाहरू छैनन्"
};
return ne;
})()
);

View File

@ -0,0 +1,28 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var nl = {
code: "nl",
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.
},
buttonText: {
prev: "Vorige",
next: "Volgende",
today: "Vandaag",
year: "Jaar",
month: "Maand",
week: "Week",
day: "Dag",
list: "Agenda"
},
allDayText: "Hele dag",
moreLinkText: "extra",
noEventsText: "Geen evenementen om te laten zien"
};
return nl;
})()
);

View File

@ -0,0 +1,28 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var nn = {
code: "nn",
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.
},
buttonText: {
prev: "Førre",
next: "Neste",
today: "I dag",
month: "Månad",
week: "Veke",
day: "Dag",
list: "Agenda"
},
weekText: "Veke",
allDayText: "Heile dagen",
moreLinkText: "til",
noEventsText: "Ingen hendelser å vise"
};
return nn;
})()
);

View File

@ -0,0 +1,28 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var pl = {
code: "pl",
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.
},
buttonText: {
prev: "Poprzedni",
next: "Następny",
today: "Dziś",
month: "Miesiąc",
week: "Tydzień",
day: "Dzień",
list: "Plan dnia"
},
weekText: "Tydz",
allDayText: "Cały dzień",
moreLinkText: "więcej",
noEventsText: "Brak wydarzeń do wyświetlenia"
};
return pl;
})()
);

View File

@ -0,0 +1,26 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var ptBr = {
code: "pt-br",
buttonText: {
prev: "Anterior",
next: "Próximo",
today: "Hoje",
month: "Mês",
week: "Semana",
day: "Dia",
list: "Lista"
},
weekText: "Sm",
allDayText: "dia inteiro",
moreLinkText: function(n) {
return "mais +" + n;
},
noEventsText: "Não há eventos para mostrar"
};
return ptBr;
})()
);

View File

@ -0,0 +1,28 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var pt = {
code: "pt",
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.
},
buttonText: {
prev: "Anterior",
next: "Seguinte",
today: "Hoje",
month: "Mês",
week: "Semana",
day: "Dia",
list: "Agenda"
},
weekText: "Sem",
allDayText: "Todo o dia",
moreLinkText: "mais",
noEventsText: "Não há eventos para mostrar"
};
return pt;
})()
);

View File

@ -0,0 +1,30 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var ro = {
code: "ro",
week: {
dow: 1, // Monday is the first day of the week.
doy: 7 // The week that contains Jan 1st is the first week of the year.
},
buttonText: {
prev: "precedentă",
next: "următoare",
today: "Azi",
month: "Lună",
week: "Săptămână",
day: "Zi",
list: "Agendă"
},
weekText: "Săpt",
allDayText: "Toată ziua",
moreLinkText: function(n) {
return "+alte " + n;
},
noEventsText: "Nu există evenimente de afișat"
};
return ro;
})()
);

View File

@ -0,0 +1,30 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var ru = {
code: "ru",
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.
},
buttonText: {
prev: "Пред",
next: "След",
today: "Сегодня",
month: "Месяц",
week: "Неделя",
day: "День",
list: "Повестка дня"
},
weekText: "Нед",
allDayText: "Весь день",
moreLinkText: function(n) {
return "+ ещё " + n;
},
noEventsText: "Нет событий для отображения"
};
return ru;
})()
);

View File

@ -0,0 +1,28 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var siLk = {
code: "si-lk",
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.
},
buttonText: {
prev: "පෙර",
next: "පසු",
today: "අද",
month: "මාසය",
week: "සතිය",
day: "දවස",
list: "ලැයිස්තුව"
},
weekText: "සති",
allDayText: "සියලු",
moreLinkText: "තවත්",
noEventsText: "මුකුත් නැත"
};
return siLk;
})()
);

View File

@ -0,0 +1,30 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var sk = {
code: "sk",
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.
},
buttonText: {
prev: "Predchádzajúci",
next: "Nasledujúci",
today: "Dnes",
month: "Mesiac",
week: "Týždeň",
day: "Deň",
list: "Rozvrh"
},
weekText: "Ty",
allDayText: "Celý deň",
moreLinkText: function(n) {
return "+ďalšie: " + n;
},
noEventsText: "Žiadne akcie na zobrazenie"
};
return sk;
})()
);

View File

@ -0,0 +1,28 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var sl = {
code: "sl",
week: {
dow: 1, // Monday is the first day of the week.
doy: 7 // The week that contains Jan 1st is the first week of the year.
},
buttonText: {
prev: "Prejšnji",
next: "Naslednji",
today: "Trenutni",
month: "Mesec",
week: "Teden",
day: "Dan",
list: "Dnevni red"
},
weekText: "Teden",
allDayText: "Ves dan",
moreLinkText: "več",
noEventsText: "Ni dogodkov za prikaz"
};
return sl;
})()
);

View File

@ -0,0 +1,24 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var sm = {
code: "sm",
buttonText: {
prev: "Talu ai",
next: "Mulimuli atu",
today: "Aso nei",
month: "Masina",
week: "Vaiaso",
day: "Aso",
list: "Faasologa"
},
weekText: "Vaiaso",
allDayText: "Aso atoa",
moreLinkText: "sili atu",
noEventsText: "Leai ni mea na tutupu"
};
return sm;
})()
);

View File

@ -0,0 +1,30 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var sq = {
code: "sq",
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.
},
buttonText: {
prev: "mbrapa",
next: "Përpara",
today: "sot",
month: "Muaj",
week: "Javë",
day: "Ditë",
list: "Listë"
},
weekText: "Ja",
allDayText: "Gjithë ditën",
moreLinkText: function(n) {
return "+më tepër " + n;
},
noEventsText: "Nuk ka evente për të shfaqur"
};
return sq;
})()
);

View File

@ -0,0 +1,30 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var srCyrl = {
code: "sr-cyrl",
week: {
dow: 1, // Monday is the first day of the week.
doy: 7 // The week that contains Jan 1st is the first week of the year.
},
buttonText: {
prev: "Претходна",
next: "следећи",
today: "Данас",
month: "Месец",
week: "Недеља",
day: "Дан",
list: "Планер"
},
weekText: "Сед",
allDayText: "Цео дан",
moreLinkText: function(n) {
return "+ још " + n;
},
noEventsText: "Нема догађаја за приказ"
};
return srCyrl;
})()
);

View File

@ -0,0 +1,30 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var sr = {
code: "sr",
week: {
dow: 1, // Monday is the first day of the week.
doy: 7 // The week that contains Jan 1st is the first week of the year.
},
buttonText: {
prev: "Prethodna",
next: "Sledeći",
today: "Danas",
month: "Mеsеc",
week: "Nеdеlja",
day: "Dan",
list: "Planеr"
},
weekText: "Sed",
allDayText: "Cеo dan",
moreLinkText: function(n) {
return "+ još " + n;
},
noEventsText: "Nеma događaja za prikaz"
};
return sr;
})()
);

View File

@ -0,0 +1,54 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var sv = {
code: "sv",
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.
},
buttonText: {
prev: "Förra",
next: "Nästa",
today: "Idag",
month: "Månad",
week: "Vecka",
day: "Dag",
list: "Program"
},
buttonHints: {
prev(buttonText) {
return `Föregående ${buttonText.toLocaleLowerCase()}`;
},
next(buttonText) {
return `Nästa ${buttonText.toLocaleLowerCase()}`;
},
today(buttonText) {
return (
(buttonText === "Program" ? "Detta" : "Denna") +
" " +
buttonText.toLocaleLowerCase()
);
}
},
viewHint: "$0 vy",
navLinkHint: "Gå till $0",
moreLinkHint(eventCnt) {
return `Visa ytterligare ${eventCnt} händelse${
eventCnt === 1 ? "" : "r"
}`;
},
weekText: "v.",
weekTextLong: "Vecka",
allDayText: "Heldag",
moreLinkText: "till",
noEventsText: "Inga händelser att visa",
closeHint: "Stäng",
timeHint: "Klockan",
eventHint: "Händelse"
};
return sv;
})()
);

View File

@ -0,0 +1,30 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var taIn = {
code: "ta-in",
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.
},
buttonText: {
prev: "முந்தைய",
next: "அடுத்தது",
today: "இன்று",
month: "மாதம்",
week: "வாரம்",
day: "நாள்",
list: "தினசரி அட்டவணை"
},
weekText: "வாரம்",
allDayText: "நாள் முழுவதும்",
moreLinkText: function(n) {
return "+ மேலும் " + n;
},
noEventsText: "காண்பிக்க நிகழ்வுகள் இல்லை"
};
return taIn;
})()
);

View File

@ -0,0 +1,31 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var th = {
code: "th",
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.
},
buttonText: {
prev: "ก่อนหน้า",
next: "ถัดไป",
prevYear: "ปีก่อนหน้า",
nextYear: "ปีถัดไป",
year: "ปี",
today: "วันนี้",
month: "เดือน",
week: "สัปดาห์",
day: "วัน",
list: "กำหนดการ"
},
weekText: "สัปดาห์",
allDayText: "ตลอดวัน",
moreLinkText: "เพิ่มเติม",
noEventsText: "ไม่มีกิจกรรมที่จะแสดง"
};
return th;
})()
);

View File

@ -0,0 +1,28 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var tr = {
code: "tr",
week: {
dow: 1, // Monday is the first day of the week.
doy: 7 // The week that contains Jan 1st is the first week of the year.
},
buttonText: {
prev: "geri",
next: "ileri",
today: "bugün",
month: "Ay",
week: "Hafta",
day: "Gün",
list: "Ajanda"
},
weekText: "Hf",
allDayText: "Tüm gün",
moreLinkText: "daha fazla",
noEventsText: "Gösterilecek etkinlik yok"
};
return tr;
})()
);

View File

@ -0,0 +1,18 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var ug = {
code: "ug",
buttonText: {
month: "ئاي",
week: "ھەپتە",
day: "كۈن",
list: "كۈنتەرتىپ"
},
allDayText: "پۈتۈن كۈن"
};
return ug;
})()
);

View File

@ -0,0 +1,30 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var uk = {
code: "uk",
week: {
dow: 1, // Monday is the first day of the week.
doy: 7 // The week that contains Jan 1st is the first week of the year.
},
buttonText: {
prev: "Попередній",
next: "далі",
today: "Сьогодні",
month: "Місяць",
week: "Тиждень",
day: "День",
list: "Порядок денний"
},
weekText: "Тиж",
allDayText: "Увесь день",
moreLinkText: function(n) {
return "+ще " + n + "...";
},
noEventsText: "Немає подій для відображення"
};
return uk;
})()
);

View File

@ -0,0 +1,22 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var uz = {
code: "uz",
buttonText: {
month: "Oy",
week: "Xafta",
day: "Kun",
list: "Kun tartibi"
},
allDayText: "Kun bo'yi",
moreLinkText: function(n) {
return "+ yana " + n;
},
noEventsText: "Ko'rsatish uchun voqealar yo'q"
};
return uz;
})()
);

View File

@ -0,0 +1,30 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var vi = {
code: "vi",
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.
},
buttonText: {
prev: "Trước",
next: "Tiếp",
today: "Hôm nay",
month: "Tháng",
week: "Tuần",
day: "Ngày",
list: "Lịch biểu"
},
weekText: "Tu",
allDayText: "Cả ngày",
moreLinkText: function(n) {
return "+ thêm " + n;
},
noEventsText: "Không có sự kiện để hiển thị"
};
return vi;
})()
);

View File

@ -0,0 +1,31 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var zhCn = {
code: "zh-cn",
week: {
// GB/T 7408-1994《数据元和交换格式·信息交换·日期和时间表示法》与ISO 8601:1988等效
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.
},
buttonText: {
prev: "上月",
next: "下月",
today: "今天",
month: "月",
week: "周",
day: "日",
list: "日程"
},
weekText: "周",
allDayText: "全天",
moreLinkText: function(n) {
return "另外 " + n + " 个";
},
noEventsText: "没有事件显示"
};
return zhCn;
})()
);

View File

@ -0,0 +1,24 @@
FullCalendar.globalLocales.push(
(function() {
"use strict";
var zhTw = {
code: "zh-tw",
buttonText: {
prev: "上月",
next: "下月",
today: "今天",
month: "月",
week: "週",
day: "天",
list: "活動列表"
},
weekText: "周",
allDayText: "整天",
moreLinkText: "顯示更多",
noEventsText: "没有任何活動"
};
return zhTw;
})()
);

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -8430,3 +8430,7 @@ div.stat-win-spinner img {
margin: 5px; margin: 5px;
font-size: 12px; font-size: 12px;
} }
.fc-col-header-cell-cushion {
color: #fff;
}