diff options
Diffstat (limited to 'public/javascripts/i18n/datepicker-id.js')
-rw-r--r-- | public/javascripts/i18n/datepicker-id.js | 46 |
1 files changed, 25 insertions, 21 deletions
diff --git a/public/javascripts/i18n/datepicker-id.js b/public/javascripts/i18n/datepicker-id.js index 0db693faf..17082e9b9 100644 --- a/public/javascripts/i18n/datepicker-id.js +++ b/public/javascripts/i18n/datepicker-id.js @@ -1,37 +1,41 @@ /* Indonesian initialisation for the jQuery UI date picker plugin. */ /* Written by Deden Fathurahman (dedenf@gmail.com). */ -(function( factory ) { +/* Fixed by Denny Septian Panggabean (xamidimura@gmail.com) */ +( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. - define([ "../datepicker" ], factory ); + define( [ "../widgets/datepicker" ], factory ); } else { // Browser globals factory( jQuery.datepicker ); } -}(function( datepicker ) { +} )( function( datepicker ) { +"use strict"; -datepicker.regional['id'] = { - closeText: 'Tutup', - prevText: '<mundur', - nextText: 'maju>', - currentText: 'hari ini', - monthNames: ['Januari','Februari','Maret','April','Mei','Juni', - 'Juli','Agustus','September','Oktober','Nopember','Desember'], - monthNamesShort: ['Jan','Feb','Mar','Apr','Mei','Jun', - 'Jul','Agus','Sep','Okt','Nop','Des'], - dayNames: ['Minggu','Senin','Selasa','Rabu','Kamis','Jumat','Sabtu'], - dayNamesShort: ['Min','Sen','Sel','Rab','kam','Jum','Sab'], - dayNamesMin: ['Mg','Sn','Sl','Rb','Km','jm','Sb'], - weekHeader: 'Mg', - dateFormat: 'dd/mm/yy', +datepicker.regional.id = { + closeText: "Tutup", + prevText: "Mundur", + nextText: "Maju", + currentText: "Hari ini", + monthNames: [ "Januari", "Februari", "Maret", "April", "Mei", "Juni", + "Juli", "Agustus", "September", "Oktober", "Nopember", "Desember" ], + monthNamesShort: [ "Jan", "Feb", "Mar", "Apr", "Mei", "Jun", + "Jul", "Agus", "Sep", "Okt", "Nop", "Des" ], + dayNames: [ "Minggu", "Senin", "Selasa", "Rabu", "Kamis", "Jumat", "Sabtu" ], + dayNamesShort: [ "Min", "Sen", "Sel", "Rab", "Kam", "Jum", "Sab" ], + dayNamesMin: [ "Mg", "Sn", "Sl", "Rb", "Km", "Jm", "Sb" ], + weekHeader: "Mg", + dateFormat: "dd/mm/yy", firstDay: 0, isRTL: false, showMonthAfterYear: false, - yearSuffix: ''}; -datepicker.setDefaults(datepicker.regional['id']); + yearSuffix: "" }; +datepicker.setDefaults( datepicker.regional.id ); -return datepicker.regional['id']; +return datepicker.regional.id; -})); +} ); |