Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

enh(date): adding datepicker libraries #7040

Merged
merged 1 commit into from
Dec 14, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions www/include/common/javascript/datepicker/datepicker-af.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
/* Afrikaans initialisation for the jQuery UI date picker plugin. */
/* Written by Renier Pretorius. */
( function( factory ) {
if ( typeof define === "function" && define.amd ) {

// AMD. Register as an anonymous module.
define( [ "../widgets/datepicker" ], factory );
} else {

// Browser globals
factory( jQuery.datepicker );
}
}( function( datepicker ) {

datepicker.regional.af = {
closeText: "Selekteer",
prevText: "Vorige",
nextText: "Volgende",
currentText: "Vandag",
monthNames: [ "Januarie","Februarie","Maart","April","Mei","Junie",
"Julie","Augustus","September","Oktober","November","Desember" ],
monthNamesShort: [ "Jan", "Feb", "Mrt", "Apr", "Mei", "Jun",
"Jul", "Aug", "Sep", "Okt", "Nov", "Des" ],
dayNames: [ "Sondag", "Maandag", "Dinsdag", "Woensdag", "Donderdag", "Vrydag", "Saterdag" ],
dayNamesShort: [ "Son", "Maa", "Din", "Woe", "Don", "Vry", "Sat" ],
dayNamesMin: [ "So","Ma","Di","Wo","Do","Vr","Sa" ],
weekHeader: "Wk",
dateFormat: "dd/mm/yy",
firstDay: 1,
isRTL: false,
showMonthAfterYear: false,
yearSuffix: "" };
datepicker.setDefaults( datepicker.regional.af );

return datepicker.regional.af;

} ) );
39 changes: 39 additions & 0 deletions www/include/common/javascript/datepicker/datepicker-ar.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
/* 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 ) {
if ( typeof define === "function" && define.amd ) {

// AMD. Register as an anonymous module.
define( [ "../widgets/datepicker" ], factory );
} else {

// Browser globals
factory( jQuery.datepicker );
}
}( function( datepicker ) {

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;

} ) );
37 changes: 37 additions & 0 deletions www/include/common/javascript/datepicker/datepicker-az.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
/* Azerbaijani (UTF-8) initialisation for the jQuery UI date picker plugin. */
/* Written by Jamil Najafov (necefov33@gmail.com). */
( function( factory ) {
if ( typeof define === "function" && define.amd ) {

// AMD. Register as an anonymous module.
define( [ "../widgets/datepicker" ], factory );
} else {

// Browser globals
factory( jQuery.datepicker );
}
}( function( datepicker ) {

datepicker.regional.az = {
closeText: "Bağla",
prevText: "<Geri",
nextText: "İrəli>",
currentText: "Bugün",
monthNames: [ "Yanvar","Fevral","Mart","Aprel","May","İyun",
"İyul","Avqust","Sentyabr","Oktyabr","Noyabr","Dekabr" ],
monthNamesShort: [ "Yan","Fev","Mar","Apr","May","İyun",
"İyul","Avq","Sen","Okt","Noy","Dek" ],
dayNames: [ "Bazar","Bazar ertəsi","Çərşənbə axşamı","Çərşənbə","Cümə axşamı","Cümə","Şənbə" ],
dayNamesShort: [ "B","Be","Ça","Ç","Ca","C","Ş" ],
dayNamesMin: [ "B","B","Ç","С","Ç","C","Ş" ],
weekHeader: "Hf",
dateFormat: "dd.mm.yy",
firstDay: 1,
isRTL: false,
showMonthAfterYear: false,
yearSuffix: "" };
datepicker.setDefaults( datepicker.regional.az );

return datepicker.regional.az;

} ) );
37 changes: 37 additions & 0 deletions www/include/common/javascript/datepicker/datepicker-be.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
/* Belarusian initialisation for the jQuery UI date picker plugin. */
/* Written by Pavel Selitskas <p.selitskas@gmail.com> */
( function( factory ) {
if ( typeof define === "function" && define.amd ) {

// AMD. Register as an anonymous module.
define( [ "../widgets/datepicker" ], factory );
} else {

// Browser globals
factory( jQuery.datepicker );
}
}( function( datepicker ) {

datepicker.regional.be = {
closeText: "Зачыніць",
prevText: "&larr;Папяр.",
nextText: "Наст.&rarr;",
currentText: "Сёньня",
monthNames: [ "Студзень","Люты","Сакавік","Красавік","Травень","Чэрвень",
"Ліпень","Жнівень","Верасень","Кастрычнік","Лістапад","Сьнежань" ],
monthNamesShort: [ "Сту","Лют","Сак","Кра","Тра","Чэр",
"Ліп","Жні","Вер","Кас","Ліс","Сьн" ],
dayNames: [ "нядзеля","панядзелак","аўторак","серада","чацьвер","пятніца","субота" ],
dayNamesShort: [ "ндз","пнд","аўт","срд","чцв","птн","сбт" ],
dayNamesMin: [ "Нд","Пн","Аў","Ср","Чц","Пт","Сб" ],
weekHeader: "Тд",
dateFormat: "dd.mm.yy",
firstDay: 1,
isRTL: false,
showMonthAfterYear: false,
yearSuffix: "" };
datepicker.setDefaults( datepicker.regional.be );

return datepicker.regional.be;

} ) );
38 changes: 38 additions & 0 deletions www/include/common/javascript/datepicker/datepicker-bg.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
/* Bulgarian initialisation for the jQuery UI date picker plugin. */
/* Written by Stoyan Kyosev (http://svest.org). */
( function( factory ) {
if ( typeof define === "function" && define.amd ) {

// AMD. Register as an anonymous module.
define( [ "../widgets/datepicker" ], factory );
} else {

// Browser globals
factory( jQuery.datepicker );
}
}( function( datepicker ) {

datepicker.regional.bg = {
closeText: "затвори",
prevText: "&#x3C;назад",
nextText: "напред&#x3E;",
nextBigText: "&#x3E;&#x3E;",
currentText: "днес",
monthNames: [ "Януари","Февруари","Март","Април","Май","Юни",
"Юли","Август","Септември","Октомври","Ноември","Декември" ],
monthNamesShort: [ "Яну","Фев","Мар","Апр","Май","Юни",
"Юли","Авг","Сеп","Окт","Нов","Дек" ],
dayNames: [ "Неделя","Понеделник","Вторник","Сряда","Четвъртък","Петък","Събота" ],
dayNamesShort: [ "Нед","Пон","Вто","Сря","Чет","Пет","Съб" ],
dayNamesMin: [ "Не","По","Вт","Ср","Че","Пе","Съ" ],
weekHeader: "Wk",
dateFormat: "dd.mm.yy",
firstDay: 1,
isRTL: false,
showMonthAfterYear: false,
yearSuffix: "" };
datepicker.setDefaults( datepicker.regional.bg );

return datepicker.regional.bg;

} ) );
37 changes: 37 additions & 0 deletions www/include/common/javascript/datepicker/datepicker-bs.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
/* Bosnian i18n for the jQuery UI date picker plugin. */
/* Written by Kenan Konjo. */
( function( factory ) {
if ( typeof define === "function" && define.amd ) {

// AMD. Register as an anonymous module.
define( [ "../widgets/datepicker" ], factory );
} else {

// Browser globals
factory( jQuery.datepicker );
}
}( function( datepicker ) {

datepicker.regional.bs = {
closeText: "Zatvori",
prevText: "&#x3C;",
nextText: "&#x3E;",
currentText: "Danas",
monthNames: [ "Januar","Februar","Mart","April","Maj","Juni",
"Juli","August","Septembar","Oktobar","Novembar","Decembar" ],
monthNamesShort: [ "Jan","Feb","Mar","Apr","Maj","Jun",
"Jul","Aug","Sep","Okt","Nov","Dec" ],
dayNames: [ "Nedelja","Ponedeljak","Utorak","Srijeda","Četvrtak","Petak","Subota" ],
dayNamesShort: [ "Ned","Pon","Uto","Sri","Čet","Pet","Sub" ],
dayNamesMin: [ "Ne","Po","Ut","Sr","Če","Pe","Su" ],
weekHeader: "Wk",
dateFormat: "dd.mm.yy",
firstDay: 1,
isRTL: false,
showMonthAfterYear: false,
yearSuffix: "" };
datepicker.setDefaults( datepicker.regional.bs );

return datepicker.regional.bs;

} ) );
37 changes: 37 additions & 0 deletions www/include/common/javascript/datepicker/datepicker-ca.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
/* Inicialització en català per a l'extensió 'UI date picker' per jQuery. */
/* Writers: (joan.leon@gmail.com). */
( function( factory ) {
if ( typeof define === "function" && define.amd ) {

// AMD. Register as an anonymous module.
define( [ "../widgets/datepicker" ], factory );
} else {

// Browser globals
factory( jQuery.datepicker );
}
}( function( datepicker ) {

datepicker.regional.ca = {
closeText: "Tanca",
prevText: "Anterior",
nextText: "Següent",
currentText: "Avui",
monthNames: [ "gener","febrer","març","abril","maig","juny",
"juliol","agost","setembre","octubre","novembre","desembre" ],
monthNamesShort: [ "gen","feb","març","abr","maig","juny",
"jul","ag","set","oct","nov","des" ],
dayNames: [ "diumenge","dilluns","dimarts","dimecres","dijous","divendres","dissabte" ],
dayNamesShort: [ "dg","dl","dt","dc","dj","dv","ds" ],
dayNamesMin: [ "dg","dl","dt","dc","dj","dv","ds" ],
weekHeader: "Set",
dateFormat: "dd/mm/yy",
firstDay: 1,
isRTL: false,
showMonthAfterYear: false,
yearSuffix: "" };
datepicker.setDefaults( datepicker.regional.ca );

return datepicker.regional.ca;

} ) );
37 changes: 37 additions & 0 deletions www/include/common/javascript/datepicker/datepicker-cs.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
/* Czech initialisation for the jQuery UI date picker plugin. */
/* Written by Tomas Muller (tomas@tomas-muller.net). */
( function( factory ) {
if ( typeof define === "function" && define.amd ) {

// AMD. Register as an anonymous module.
define( [ "../widgets/datepicker" ], factory );
} else {

// Browser globals
factory( jQuery.datepicker );
}
}( function( datepicker ) {

datepicker.regional.cs = {
closeText: "Zavřít",
prevText: "&#x3C;Dříve",
nextText: "Později&#x3E;",
currentText: "Nyní",
monthNames: [ "leden","únor","březen","duben","květen","červen",
"červenec","srpen","září","říjen","listopad","prosinec" ],
monthNamesShort: [ "led","úno","bře","dub","kvě","čer",
"čvc","srp","zář","říj","lis","pro" ],
dayNames: [ "neděle", "pondělí", "úterý", "středa", "čtvrtek", "pátek", "sobota" ],
dayNamesShort: [ "ne", "po", "út", "st", "čt", "pá", "so" ],
dayNamesMin: [ "ne","po","út","st","čt","pá","so" ],
weekHeader: "Týd",
dateFormat: "dd.mm.yy",
firstDay: 1,
isRTL: false,
showMonthAfterYear: false,
yearSuffix: "" };
datepicker.setDefaults( datepicker.regional.cs );

return datepicker.regional.cs;

} ) );
37 changes: 37 additions & 0 deletions www/include/common/javascript/datepicker/datepicker-da.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
/* Danish initialisation for the jQuery UI date picker plugin. */
/* Written by Jan Christensen ( deletestuff@gmail.com). */
( function( factory ) {
if ( typeof define === "function" && define.amd ) {

// AMD. Register as an anonymous module.
define( [ "../widgets/datepicker" ], factory );
} else {

// Browser globals
factory( jQuery.datepicker );
}
}( function( datepicker ) {

datepicker.regional.da = {
closeText: "Luk",
prevText: "&#x3C;Forrige",
nextText: "Næste&#x3E;",
currentText: "Idag",
monthNames: [ "Januar","Februar","Marts","April","Maj","Juni",
"Juli","August","September","Oktober","November","December" ],
monthNamesShort: [ "Jan","Feb","Mar","Apr","Maj","Jun",
"Jul","Aug","Sep","Okt","Nov","Dec" ],
dayNames: [ "Søndag","Mandag","Tirsdag","Onsdag","Torsdag","Fredag","Lørdag" ],
dayNamesShort: [ "Søn","Man","Tir","Ons","Tor","Fre","Lør" ],
dayNamesMin: [ "Sø","Ma","Ti","On","To","Fr","Lø" ],
weekHeader: "Uge",
dateFormat: "dd-mm-yy",
firstDay: 1,
isRTL: false,
showMonthAfterYear: false,
yearSuffix: "" };
datepicker.setDefaults( datepicker.regional.da );

return datepicker.regional.da;

} ) );
37 changes: 37 additions & 0 deletions www/include/common/javascript/datepicker/datepicker-de.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
/* German initialisation for the jQuery UI date picker plugin. */
/* Written by Milian Wolff (mail@milianw.de). */
( function( factory ) {
if ( typeof define === "function" && define.amd ) {

// AMD. Register as an anonymous module.
define( [ "../widgets/datepicker" ], factory );
} else {

// Browser globals
factory( jQuery.datepicker );
}
}( function( datepicker ) {

datepicker.regional.de = {
closeText: "Schließen",
prevText: "&#x3C;Zurück",
nextText: "Vor&#x3E;",
currentText: "Heute",
monthNames: [ "Januar","Februar","März","April","Mai","Juni",
"Juli","August","September","Oktober","November","Dezember" ],
monthNamesShort: [ "Jan","Feb","Mär","Apr","Mai","Jun",
"Jul","Aug","Sep","Okt","Nov","Dez" ],
dayNames: [ "Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag" ],
dayNamesShort: [ "So","Mo","Di","Mi","Do","Fr","Sa" ],
dayNamesMin: [ "So","Mo","Di","Mi","Do","Fr","Sa" ],
weekHeader: "KW",
dateFormat: "dd.mm.yy",
firstDay: 1,
isRTL: false,
showMonthAfterYear: false,
yearSuffix: "" };
datepicker.setDefaults( datepicker.regional.de );

return datepicker.regional.de;

} ) );
Loading