mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-17 15:50:13 +01:00
Update Datepicker localisations and add missing ones. The nb_NO is just a renamed nb. The files are straight from upstream at https://github.com/jquery/jquery-ui/tree/main/ui/i18n
This commit is contained in:
parent
24e3ff53b8
commit
21373cea43
13 changed files with 233 additions and 72 deletions
40
app/assets/javascripts-jquery-ui/datepicker-tr.js
Normal file
40
app/assets/javascripts-jquery-ui/datepicker-tr.js
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
/* Turkish initialisation for the jQuery UI date picker plugin. */
|
||||
/* Written by Izzet Emre Erkan (kara@karalamalar.net). */
|
||||
( 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.tr = {
|
||||
closeText: "kapat",
|
||||
prevText: "geri",
|
||||
nextText: "ileri",
|
||||
currentText: "bugün",
|
||||
monthNames: [ "Ocak", "Şubat", "Mart", "Nisan", "Mayıs", "Haziran",
|
||||
"Temmuz", "Ağustos", "Eylül", "Ekim", "Kasım", "Aralık" ],
|
||||
monthNamesShort: [ "Oca", "Şub", "Mar", "Nis", "May", "Haz",
|
||||
"Tem", "Ağu", "Eyl", "Eki", "Kas", "Ara" ],
|
||||
dayNames: [ "Pazar", "Pazartesi", "Salı", "Çarşamba", "Perşembe", "Cuma", "Cumartesi" ],
|
||||
dayNamesShort: [ "Pz", "Pt", "Sa", "Ça", "Pe", "Cu", "Ct" ],
|
||||
dayNamesMin: [ "Pz", "Pt", "Sa", "Ça", "Pe", "Cu", "Ct" ],
|
||||
weekHeader: "Hf",
|
||||
dateFormat: "dd.mm.yy",
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: "" };
|
||||
datepicker.setDefaults( datepicker.regional.tr );
|
||||
|
||||
return datepicker.regional.tr;
|
||||
|
||||
} );
|
||||
Loading…
Add table
Add a link
Reference in a new issue