jquery-ui/ui/i18n/datepicker-ar.js
Adam Lidén Hällgren 3126e12869 Datepicker: Remove symbols in localization
Fixes gh-2048
Closes gh-2050
Ref gh-2067
2022-07-14 18:47:30 +02:00

43 lines
1.5 KiB
JavaScript

/* Arabic Translation for jQuery UI date picker plugin. */
/* Used in most of Arab countries, primarily in Bahrain, */
/* Kuwait, Oman, Qatar, Saudi Arabia and the United Arab Emirates, Egypt, Sudan and Yemen. */
/* Written by Mohammed Alshehri -- m@dralshehri.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.ar = {
closeText: "إغلاق",
prevText: "السابق",
nextText: "التالي",
currentText: "اليوم",
monthNames: [ "يناير", "فبراير", "مارس", "أبريل", "مايو", "يونيو",
"يوليو", "أغسطس", "سبتمبر", "أكتوبر", "نوفمبر", "ديسمبر" ],
monthNamesShort: [ "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12" ],
dayNames: [ "الأحد", "الاثنين", "الثلاثاء", "الأربعاء", "الخميس", "الجمعة", "السبت" ],
dayNamesShort: [ "أحد", "اثنين", "ثلاثاء", "أربعاء", "خميس", "جمعة", "سبت" ],
dayNamesMin: [ "ح", "ن", "ث", "ر", "خ", "ج", "س" ],
weekHeader: "أسبوع",
dateFormat: "dd/mm/yy",
firstDay: 0,
isRTL: true,
showMonthAfterYear: false,
yearSuffix: "" };
datepicker.setDefaults( datepicker.regional.ar );
return datepicker.regional.ar;
} );