mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-12-07 06:14:24 +00:00
347c7c4db1
Make code identation consistent with every other source.
38 lines
1.5 KiB
JavaScript
38 lines
1.5 KiB
JavaScript
/* Khmer initialisation for the jQuery calendar extension. */
|
|
/* Written by Chandara Om (chandara.teacher@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['km'] = {
|
|
closeText: 'ធ្វើរួច',
|
|
prevText: 'មុន',
|
|
nextText: 'បន្ទាប់',
|
|
currentText: 'ថ្ងៃនេះ',
|
|
monthNames: ['មករា','កុម្ភៈ','មីនា','មេសា','ឧសភា','មិថុនា',
|
|
'កក្កដា','សីហា','កញ្ញា','តុលា','វិច្ឆិកា','ធ្នូ'],
|
|
monthNamesShort: ['មករា','កុម្ភៈ','មីនា','មេសា','ឧសភា','មិថុនា',
|
|
'កក្កដា','សីហា','កញ្ញា','តុលា','វិច្ឆិកា','ធ្នូ'],
|
|
dayNames: ['អាទិត្យ', 'ចន្ទ', 'អង្គារ', 'ពុធ', 'ព្រហស្បតិ៍', 'សុក្រ', 'សៅរ៍'],
|
|
dayNamesShort: ['អា', 'ច', 'អ', 'ពុ', 'ព្រហ', 'សុ', 'សៅ'],
|
|
dayNamesMin: ['អា', 'ច', 'អ', 'ពុ', 'ព្រហ', 'សុ', 'សៅ'],
|
|
weekHeader: 'សប្ដាហ៍',
|
|
dateFormat: 'dd-mm-yy',
|
|
firstDay: 1,
|
|
isRTL: false,
|
|
showMonthAfterYear: false,
|
|
yearSuffix: ''};
|
|
datepicker.setDefaults(datepicker.regional['km']);
|
|
|
|
return datepicker.regional['km'];
|
|
|
|
}));
|