mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-12-07 06:14:24 +00:00
9d1fc97b4e
Closes gh-2067
42 lines
1.2 KiB
JavaScript
42 lines
1.2 KiB
JavaScript
/* Indonesian initialisation for the jQuery UI date picker plugin. */
|
|
/* Written by Deden Fathurahman (dedenf@gmail.com). */
|
|
/* 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( [ "../widgets/datepicker" ], factory );
|
|
} else {
|
|
|
|
// Browser globals
|
|
factory( jQuery.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",
|
|
firstDay: 0,
|
|
isRTL: false,
|
|
showMonthAfterYear: false,
|
|
yearSuffix: "" };
|
|
datepicker.setDefaults( datepicker.regional.id );
|
|
|
|
return datepicker.regional.id;
|
|
|
|
} );
|