mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-27 07:34:59 +05:00
37 lines
1.4 KiB
JavaScript
37 lines
1.4 KiB
JavaScript
/* Greek (el) initialisation for the jQuery UI date picker plugin. */
|
||
/* Written by Alex Cicovic (http://www.alexcicovic.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['el'] = {
|
||
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['el']);
|
||
|
||
return datepicker.regional['el'];
|
||
|
||
}));
|