mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-12-23 01:24:22 +00:00
218c6af95a
Follow-up to dfff5e7e999453f5d080c184bd4e3fdbfc93b83e Fixes gh-2048 Closes gh-2050
44 lines
1.3 KiB
JavaScript
44 lines
1.3 KiB
JavaScript
/* Romanian initialisation for the jQuery UI date picker plugin.
|
|
*
|
|
* Written by Edmond L. (ll_edmond@walla.com)
|
|
* and Ionut G. Stan (ionut.g.stan@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.ro = {
|
|
closeText: "Închide",
|
|
prevText: "Luna precedentă",
|
|
nextText: "Luna următoare ",
|
|
currentText: "Azi",
|
|
monthNames: [ "Ianuarie", "Februarie", "Martie", "Aprilie", "Mai", "Iunie",
|
|
"Iulie", "August", "Septembrie", "Octombrie", "Noiembrie", "Decembrie" ],
|
|
monthNamesShort: [ "Ian", "Feb", "Mar", "Apr", "Mai", "Iun",
|
|
"Iul", "Aug", "Sep", "Oct", "Nov", "Dec" ],
|
|
dayNames: [ "Duminică", "Luni", "Marţi", "Miercuri", "Joi", "Vineri", "Sâmbătă" ],
|
|
dayNamesShort: [ "Dum", "Lun", "Mar", "Mie", "Joi", "Vin", "Sâm" ],
|
|
dayNamesMin: [ "Du", "Lu", "Ma", "Mi", "Jo", "Vi", "Sâ" ],
|
|
weekHeader: "Săpt",
|
|
dateFormat: "dd.mm.yy",
|
|
firstDay: 1,
|
|
isRTL: false,
|
|
showMonthAfterYear: false,
|
|
yearSuffix: "" };
|
|
datepicker.setDefaults( datepicker.regional.ro );
|
|
|
|
return datepicker.regional.ro;
|
|
|
|
} );
|