aboutsummaryrefslogtreecommitdiffstats
path: root/ui/i18n/datepicker-id.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/i18n/datepicker-id.js')
-rw-r--r--ui/i18n/datepicker-id.js36
1 files changed, 36 insertions, 0 deletions
diff --git a/ui/i18n/datepicker-id.js b/ui/i18n/datepicker-id.js
new file mode 100644
index 000000000..a723bbc04
--- /dev/null
+++ b/ui/i18n/datepicker-id.js
@@ -0,0 +1,36 @@
+/* Indonesian initialisation for the jQuery UI date picker plugin. */
+/* Written by Deden Fathurahman (dedenf@gmail.com). */
+(function( factory ) {
+ if ( typeof define === "function" && define.amd ) {
+
+ // AMD. Register as an anonymous module.
+ define([ "../datepicker" ], factory );
+ } else {
+
+ // Browser globals
+ factory( jQuery.datepicker );
+ }
+}(function( datepicker ) {
+ 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'];
+
+}));