source: branches/2.5/prototype/modules/calendar/js/I18n.js @ 5341

Revision 5341, 556 bytes checked in by wmerlotto, 12 years ago (diff)

Ticket #2434 - Commit inicial do novo módulo de agenda do Expresso - expressoCalendar

Line 
1// $.fullCalendar.setDefaults = function(d) {
2//     alert(dump( $.fullCalendar.defaults ) );
3//     $.fn.fullCalendar.defaults = $.extend(true, $.fn.fullCalendar.defaults, d);
4//     alert(dump($.fn.fullCalendar.defaults ) );
5// }
6
7$.fullCalendar.applyLocale = function(locale) {
8
9        setDefaults({
10
11        isRTL:  locale.isRTL,
12
13        firstDay: locale.firstDay,
14
15        monthNames: locale.monthNames,
16
17        monthNamesShort: locale.monthNamesShort,
18
19        dayNames: locale.dayNames,
20
21        dayNamesShort: locale.dayNamesShort,
22
23        buttonText: {
24
25        today: locale.currentText
26
27        }
28
29      });
30}
31
Note: See TracBrowser for help on using the repository browser.