diff options
author | Michał Gołębiowski-Owczarek <m.goleb@gmail.com> | 2021-06-07 00:58:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-07 00:58:12 +0200 |
commit | 70dae67b73dfea9126f126f516fe8286f1e73417 (patch) | |
tree | e61eafab41ee74330fecf1da2ce125050cfac49b /ui | |
parent | a12c98574d07f002fd59d166f9fc1fd391581b91 (diff) | |
download | jquery-ui-70dae67b73dfea9126f126f516fe8286f1e73417.tar.gz jquery-ui-70dae67b73dfea9126f126f516fe8286f1e73417.zip |
Build: Migrate from JSHint & JSCS to ESLint
Fixes #15393
Closes gh-1958
Diffstat (limited to 'ui')
132 files changed, 1180 insertions, 721 deletions
diff --git a/ui/.eslintrc.json b/ui/.eslintrc.json new file mode 100644 index 000000000..004803729 --- /dev/null +++ b/ui/.eslintrc.json @@ -0,0 +1,38 @@ +{ + "parserOptions": { + "ecmaVersion": 5 + }, + + "env": { + "browser": true, + "jquery": true, + "node": false + }, + + "rules": { + "strict": [ "error", "function" ], + + // The following rule is relaxed due to too many violations: + "no-unused-vars": [ "error", { "vars": "all", "args": "after-used" } ], + + // Too many violations: + "camelcase": "off", + "no-nested-ternary": "off" + }, + + "globals": { + "define": false, + "Globalize": false + }, + + "overrides": [ + { + "files": [ "i18n/**/*.js" ], + "rules": { + + // We want to keep all the strings in separate single lines + "max-len": "off" + } + } + ] +} diff --git a/ui/.jshintrc b/ui/.jshintrc deleted file mode 100644 index 7bb17b5f9..000000000 --- a/ui/.jshintrc +++ /dev/null @@ -1,23 +0,0 @@ -{ - "boss": true, - "curly": true, - "eqeqeq": true, - "eqnull": true, - "expr": true, - "immed": true, - "noarg": true, - "quotmark": "double", - "smarttabs": true, - "trailing": true, - "undef": true, - "unused": true, - - "browser": true, - "es3": true, - "jquery": true, - - "globals": { - "define": false, - "Globalize": false - } -} diff --git a/ui/core.js b/ui/core.js index d42aedea9..bced9ab52 100644 --- a/ui/core.js +++ b/ui/core.js @@ -1,5 +1,7 @@ // This file is deprecated in 1.12.0 to be removed in 1.13 ( function() { +"use strict"; + define( [ "jquery", "./data", diff --git a/ui/data.js b/ui/data.js index c02e7ffde..441bbda53 100644 --- a/ui/data.js +++ b/ui/data.js @@ -13,6 +13,8 @@ //>>docs: http://api.jqueryui.com/data-selector/ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -22,7 +24,9 @@ // Browser globals factory( jQuery ); } -} ( function( $ ) { +} )( function( $ ) { +"use strict"; + return $.extend( $.expr.pseudos, { data: $.expr.createPseudo ? $.expr.createPseudo( function( dataName ) { @@ -36,4 +40,4 @@ return $.extend( $.expr.pseudos, { return !!$.data( elem, match[ 3 ] ); } } ); -} ) ); +} ); diff --git a/ui/disable-selection.js b/ui/disable-selection.js index aa6df0173..5112b2dc4 100644 --- a/ui/disable-selection.js +++ b/ui/disable-selection.js @@ -14,6 +14,8 @@ // This file is deprecated ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -23,7 +25,8 @@ // Browser globals factory( jQuery ); } -} ( function( $ ) { +} )( function( $ ) { +"use strict"; return $.fn.extend( { disableSelection: ( function() { @@ -43,4 +46,4 @@ return $.fn.extend( { } } ); -} ) ); +} ); diff --git a/ui/effect.js b/ui/effect.js index 401eba260..4f92e4fa2 100644 --- a/ui/effect.js +++ b/ui/effect.js @@ -9,13 +9,15 @@ //>>label: Effects Core //>>group: Effects -// jscs:disable maximumLineLength +/* eslint-disable max-len */ //>>description: Extends the internal jQuery effects. Includes morphing and easing. Required by all other effects. -// jscs:enable maximumLineLength +/* eslint-enable max-len */ //>>docs: http://api.jqueryui.com/category/effects-core/ //>>demos: http://jqueryui.com/effect/ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -29,7 +31,8 @@ // Browser globals factory( jQuery ); } -}( function( $ ) { +} )( function( $ ) { +"use strict"; var dataSpace = "ui-effects-", dataSpaceStyle = "ui-effects-style", @@ -339,6 +342,7 @@ if ( $.uiBackCompat !== false ) { // Firefox incorrectly exposes anonymous content // https://bugzilla.mozilla.org/show_bug.cgi?id=561664 try { + // eslint-disable-next-line no-unused-expressions active.id; } catch ( e ) { active = document.body; @@ -967,4 +971,4 @@ $.each( baseEasings, function( name, easeIn ) { return $.effects; -} ) ); +} ); diff --git a/ui/effects/effect-blind.js b/ui/effects/effect-blind.js index 76781f4c7..858c6d3fd 100644 --- a/ui/effects/effect-blind.js +++ b/ui/effects/effect-blind.js @@ -14,6 +14,8 @@ //>>demos: http://jqueryui.com/effect/ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -27,7 +29,8 @@ // Browser globals factory( jQuery ); } -}( function( $ ) { +} )( function( $ ) { +"use strict"; return $.effects.define( "blind", "hide", function( options, done ) { var map = { @@ -67,4 +70,4 @@ return $.effects.define( "blind", "hide", function( options, done ) { } ); } ); -} ) ); +} ); diff --git a/ui/effects/effect-bounce.js b/ui/effects/effect-bounce.js index 1743ef503..8cb18f82c 100644 --- a/ui/effects/effect-bounce.js +++ b/ui/effects/effect-bounce.js @@ -14,6 +14,8 @@ //>>demos: http://jqueryui.com/effect/ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -27,7 +29,8 @@ // Browser globals factory( jQuery ); } -}( function( $ ) { +} )( function( $ ) { +"use strict"; return $.effects.define( "bounce", function( options, done ) { var upAnim, downAnim, refValue, @@ -107,4 +110,4 @@ return $.effects.define( "bounce", function( options, done ) { $.effects.unshift( element, queuelen, anims + 1 ); } ); -} ) ); +} ); diff --git a/ui/effects/effect-clip.js b/ui/effects/effect-clip.js index df3a1d644..ca25ef370 100644 --- a/ui/effects/effect-clip.js +++ b/ui/effects/effect-clip.js @@ -14,6 +14,8 @@ //>>demos: http://jqueryui.com/effect/ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -27,7 +29,8 @@ // Browser globals factory( jQuery ); } -}( function( $ ) { +} )( function( $ ) { +"use strict"; return $.effects.define( "clip", "hide", function( options, done ) { var start, @@ -62,4 +65,4 @@ return $.effects.define( "clip", "hide", function( options, done ) { } ); -} ) ); +} ); diff --git a/ui/effects/effect-drop.js b/ui/effects/effect-drop.js index c7e3d7a6e..9d620e974 100644 --- a/ui/effects/effect-drop.js +++ b/ui/effects/effect-drop.js @@ -14,6 +14,8 @@ //>>demos: http://jqueryui.com/effect/ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -27,7 +29,8 @@ // Browser globals factory( jQuery ); } -}( function( $ ) { +} )( function( $ ) { +"use strict"; return $.effects.define( "drop", "hide", function( options, done ) { @@ -66,4 +69,4 @@ return $.effects.define( "drop", "hide", function( options, done ) { } ); } ); -} ) ); +} ); diff --git a/ui/effects/effect-explode.js b/ui/effects/effect-explode.js index d5aca490f..2b8a000e6 100644 --- a/ui/effects/effect-explode.js +++ b/ui/effects/effect-explode.js @@ -9,13 +9,15 @@ //>>label: Explode Effect //>>group: Effects -// jscs:disable maximumLineLength +/* eslint-disable max-len */ //>>description: Explodes an element in all directions into n pieces. Implodes an element to its original wholeness. -// jscs:enable maximumLineLength +/* eslint-enable max-len */ //>>docs: http://api.jqueryui.com/explode-effect/ //>>demos: http://jqueryui.com/effect/ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -29,7 +31,8 @@ // Browser globals factory( jQuery ); } -}( function( $ ) { +} )( function( $ ) { +"use strict"; return $.effects.define( "explode", "hide", function( options, done ) { @@ -108,4 +111,4 @@ return $.effects.define( "explode", "hide", function( options, done ) { } } ); -} ) ); +} ); diff --git a/ui/effects/effect-fade.js b/ui/effects/effect-fade.js index 1373ae8a7..56d6a0cae 100644 --- a/ui/effects/effect-fade.js +++ b/ui/effects/effect-fade.js @@ -14,6 +14,8 @@ //>>demos: http://jqueryui.com/effect/ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -27,7 +29,8 @@ // Browser globals factory( jQuery ); } -}( function( $ ) { +} )( function( $ ) { +"use strict"; return $.effects.define( "fade", "toggle", function( options, done ) { var show = options.mode === "show"; @@ -44,4 +47,4 @@ return $.effects.define( "fade", "toggle", function( options, done ) { } ); } ); -} ) ); +} ); diff --git a/ui/effects/effect-fold.js b/ui/effects/effect-fold.js index 2214a1cf3..ad19bfb26 100644 --- a/ui/effects/effect-fold.js +++ b/ui/effects/effect-fold.js @@ -14,6 +14,8 @@ //>>demos: http://jqueryui.com/effect/ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -27,7 +29,8 @@ // Browser globals factory( jQuery ); } -}( function( $ ) { +} )( function( $ ) { +"use strict"; return $.effects.define( "fold", "hide", function( options, done ) { @@ -86,4 +89,4 @@ return $.effects.define( "fold", "hide", function( options, done ) { $.effects.unshift( element, queuelen, 4 ); } ); -} ) ); +} ); diff --git a/ui/effects/effect-highlight.js b/ui/effects/effect-highlight.js index 2ab587939..8d852de3d 100644 --- a/ui/effects/effect-highlight.js +++ b/ui/effects/effect-highlight.js @@ -14,6 +14,8 @@ //>>demos: http://jqueryui.com/effect/ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -27,7 +29,8 @@ // Browser globals factory( jQuery ); } -}( function( $ ) { +} )( function( $ ) { +"use strict"; return $.effects.define( "highlight", "show", function( options, done ) { var element = $( this ), @@ -54,4 +57,4 @@ return $.effects.define( "highlight", "show", function( options, done ) { } ); } ); -} ) ); +} ); diff --git a/ui/effects/effect-puff.js b/ui/effects/effect-puff.js index bfe922f0c..70e9acd0b 100644 --- a/ui/effects/effect-puff.js +++ b/ui/effects/effect-puff.js @@ -14,6 +14,8 @@ //>>demos: http://jqueryui.com/effect/ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -28,7 +30,8 @@ // Browser globals factory( jQuery ); } -}( function( $ ) { +} )( function( $ ) { +"use strict"; return $.effects.define( "puff", "hide", function( options, done ) { var newOptions = $.extend( true, {}, options, { @@ -39,4 +42,4 @@ return $.effects.define( "puff", "hide", function( options, done ) { $.effects.effect.scale.call( this, newOptions, done ); } ); -} ) ); +} ); diff --git a/ui/effects/effect-pulsate.js b/ui/effects/effect-pulsate.js index 9fce19194..de5f80a10 100644 --- a/ui/effects/effect-pulsate.js +++ b/ui/effects/effect-pulsate.js @@ -14,6 +14,8 @@ //>>demos: http://jqueryui.com/effect/ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -27,7 +29,8 @@ // Browser globals factory( jQuery ); } -}( function( $ ) { +} )( function( $ ) { +"use strict"; return $.effects.define( "pulsate", "show", function( options, done ) { var element = $( this ), @@ -61,4 +64,4 @@ return $.effects.define( "pulsate", "show", function( options, done ) { $.effects.unshift( element, queuelen, anims + 1 ); } ); -} ) ); +} ); diff --git a/ui/effects/effect-scale.js b/ui/effects/effect-scale.js index 9379f88c7..b9a983efd 100644 --- a/ui/effects/effect-scale.js +++ b/ui/effects/effect-scale.js @@ -14,6 +14,8 @@ //>>demos: http://jqueryui.com/effect/ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -28,7 +30,8 @@ // Browser globals factory( jQuery ); } -}( function( $ ) { +} )( function( $ ) { +"use strict"; return $.effects.define( "scale", function( options, done ) { @@ -53,4 +56,4 @@ return $.effects.define( "scale", function( options, done ) { $.effects.effect.size.call( this, newOptions, done ); } ); -} ) ); +} ); diff --git a/ui/effects/effect-shake.js b/ui/effects/effect-shake.js index 596aa12ae..cf51d66b6 100644 --- a/ui/effects/effect-shake.js +++ b/ui/effects/effect-shake.js @@ -14,6 +14,8 @@ //>>demos: http://jqueryui.com/effect/ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -27,7 +29,8 @@ // Browser globals factory( jQuery ); } -}( function( $ ) { +} )( function( $ ) { +"use strict"; return $.effects.define( "shake", function( options, done ) { @@ -71,4 +74,4 @@ return $.effects.define( "shake", function( options, done ) { $.effects.unshift( element, queuelen, anims + 1 ); } ); -} ) ); +} ); diff --git a/ui/effects/effect-size.js b/ui/effects/effect-size.js index 95a1423e6..4c6763590 100644 --- a/ui/effects/effect-size.js +++ b/ui/effects/effect-size.js @@ -14,6 +14,8 @@ //>>demos: http://jqueryui.com/effect/ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -27,7 +29,8 @@ // Browser globals factory( jQuery ); } -}( function( $ ) { +} )( function( $ ) { +"use strict"; return $.effects.define( "size", function( options, done ) { @@ -190,4 +193,4 @@ return $.effects.define( "size", function( options, done ) { } ); -} ) ); +} ); diff --git a/ui/effects/effect-slide.js b/ui/effects/effect-slide.js index 3ba7a2edc..52244219a 100644 --- a/ui/effects/effect-slide.js +++ b/ui/effects/effect-slide.js @@ -14,6 +14,8 @@ //>>demos: http://jqueryui.com/effect/ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -27,7 +29,8 @@ // Browser globals factory( jQuery ); } -}( function( $ ) { +} )( function( $ ) { +"use strict"; return $.effects.define( "slide", "show", function( options, done ) { var startClip, startRef, @@ -73,4 +76,4 @@ return $.effects.define( "slide", "show", function( options, done ) { } ); } ); -} ) ); +} ); diff --git a/ui/effects/effect-transfer.js b/ui/effects/effect-transfer.js index 0029de7a5..3c5252781 100644 --- a/ui/effects/effect-transfer.js +++ b/ui/effects/effect-transfer.js @@ -14,6 +14,8 @@ //>>demos: http://jqueryui.com/effect/ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -27,7 +29,8 @@ // Browser globals factory( jQuery ); } -}( function( $ ) { +} )( function( $ ) { +"use strict"; var effect; if ( $.uiBackCompat !== false ) { @@ -37,4 +40,4 @@ if ( $.uiBackCompat !== false ) { } return effect; -} ) ); +} ); diff --git a/ui/focusable.js b/ui/focusable.js index 433474fcd..5c1542566 100644 --- a/ui/focusable.js +++ b/ui/focusable.js @@ -13,6 +13,8 @@ //>>docs: http://api.jqueryui.com/focusable-selector/ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -22,7 +24,8 @@ // Browser globals factory( jQuery ); } -} ( function( $ ) { +} )( function( $ ) { +"use strict"; // Selectors $.ui.focusable = function( element, hasTabindex ) { @@ -81,4 +84,4 @@ $.extend( $.expr.pseudos, { return $.ui.focusable; -} ) ); +} ); diff --git a/ui/form-reset-mixin.js b/ui/form-reset-mixin.js index 5d182186a..b0a917fd5 100644 --- a/ui/form-reset-mixin.js +++ b/ui/form-reset-mixin.js @@ -13,6 +13,8 @@ //>>docs: http://api.jqueryui.com/form-reset-mixin/ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -26,7 +28,8 @@ // Browser globals factory( jQuery ); } -}( function( $ ) { +} )( function( $ ) { +"use strict"; return $.ui.formResetMixin = { _formResetHandler: function() { @@ -74,4 +77,4 @@ return $.ui.formResetMixin = { } }; -} ) ); +} ); diff --git a/ui/form.js b/ui/form.js index fb0a3c6cf..60b052277 100644 --- a/ui/form.js +++ b/ui/form.js @@ -1,4 +1,6 @@ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -8,7 +10,8 @@ // Browser globals factory( jQuery ); } -} ( function( $ ) { +} )( function( $ ) { +"use strict"; // Support: IE8 Only // IE8 does not support the form attribute and when it is supplied. It overwrites the form prop @@ -17,4 +20,4 @@ return $.fn._form = function() { return typeof this[ 0 ].form === "string" ? this.closest( "form" ) : $( this[ 0 ].form ); }; -} ) ); +} ); diff --git a/ui/i18n/datepicker-af.js b/ui/i18n/datepicker-af.js index c75688884..d23956137 100644 --- a/ui/i18n/datepicker-af.js +++ b/ui/i18n/datepicker-af.js @@ -1,6 +1,8 @@ /* Afrikaans initialisation for the jQuery UI date picker plugin. */ /* Written by Renier Pretorius. */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -10,20 +12,21 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional.af = { closeText: "Selekteer", prevText: "Vorige", nextText: "Volgende", currentText: "Vandag", - monthNames: [ "Januarie","Februarie","Maart","April","Mei","Junie", - "Julie","Augustus","September","Oktober","November","Desember" ], + 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" ], + dayNamesMin: [ "So", "Ma", "Di", "Wo", "Do", "Vr", "Sa" ], weekHeader: "Wk", dateFormat: "dd/mm/yy", firstDay: 1, @@ -34,4 +37,4 @@ datepicker.setDefaults( datepicker.regional.af ); return datepicker.regional.af; -} ) ); +} ); diff --git a/ui/i18n/datepicker-ar-DZ.js b/ui/i18n/datepicker-ar-DZ.js index a2b1750b6..8dc805986 100644 --- a/ui/i18n/datepicker-ar-DZ.js +++ b/ui/i18n/datepicker-ar-DZ.js @@ -4,6 +4,8 @@ /* Mohamed Amine HADDAD -- zatamine@gmail.com */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -13,7 +15,8 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional[ "ar-DZ" ] = { closeText: "إغلاق", @@ -21,7 +24,7 @@ datepicker.regional[ "ar-DZ" ] = { nextText: "التالي>", currentText: "اليوم", monthNames: [ "جانفي", "فيفري", "مارس", "أفريل", "ماي", "جوان", - "جويلية", "أوت", "سبتمبر","أكتوبر", "نوفمبر", "ديسمبر" ], + "جويلية", "أوت", "سبتمبر", "أكتوبر", "نوفمبر", "ديسمبر" ], monthNamesShort: [ "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12" ], dayNames: [ "الأحد", "الاثنين", "الثلاثاء", "الأربعاء", "الخميس", "الجمعة", "السبت" ], dayNamesShort: [ "الأحد", "الاثنين", "الثلاثاء", "الأربعاء", "الخميس", "الجمعة", "السبت" ], @@ -36,4 +39,4 @@ datepicker.setDefaults( datepicker.regional[ "ar-DZ" ] ); return datepicker.regional[ "ar-DZ" ]; -} ) ); +} ); diff --git a/ui/i18n/datepicker-ar.js b/ui/i18n/datepicker-ar.js index 95784e88c..31d7ee565 100644 --- a/ui/i18n/datepicker-ar.js +++ b/ui/i18n/datepicker-ar.js @@ -4,6 +4,8 @@ /* Written by Mohammed Alshehri -- m@dralshehri.com */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -13,7 +15,8 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional.ar = { closeText: "إغلاق", @@ -36,4 +39,4 @@ datepicker.setDefaults( datepicker.regional.ar ); return datepicker.regional.ar; -} ) ); +} ); diff --git a/ui/i18n/datepicker-az.js b/ui/i18n/datepicker-az.js index 2ebdcfa8b..d02d3561f 100644 --- a/ui/i18n/datepicker-az.js +++ b/ui/i18n/datepicker-az.js @@ -1,6 +1,8 @@ /* Azerbaijani (UTF-8) initialisation for the jQuery UI date picker plugin. */ /* Written by Jamil Najafov (necefov33@gmail.com). */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -10,20 +12,21 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; 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","Ş" ], + 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, @@ -34,4 +37,4 @@ datepicker.setDefaults( datepicker.regional.az ); return datepicker.regional.az; -} ) ); +} ); diff --git a/ui/i18n/datepicker-be.js b/ui/i18n/datepicker-be.js index 7d96dd1da..51ddd6e57 100644 --- a/ui/i18n/datepicker-be.js +++ b/ui/i18n/datepicker-be.js @@ -1,6 +1,8 @@ /* Belarusian initialisation for the jQuery UI date picker plugin. */ /* Written by Pavel Selitskas <p.selitskas@gmail.com> */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -10,20 +12,21 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional.be = { closeText: "Зачыніць", prevText: "←Папяр.", nextText: "Наст.→", currentText: "Сёньня", - monthNames: [ "Студзень","Люты","Сакавік","Красавік","Травень","Чэрвень", - "Ліпень","Жнівень","Верасень","Кастрычнік","Лістапад","Сьнежань" ], - monthNamesShort: [ "Сту","Лют","Сак","Кра","Тра","Чэр", - "Ліп","Жні","Вер","Кас","Ліс","Сьн" ], - dayNames: [ "нядзеля","панядзелак","аўторак","серада","чацьвер","пятніца","субота" ], - dayNamesShort: [ "ндз","пнд","аўт","срд","чцв","птн","сбт" ], - dayNamesMin: [ "Нд","Пн","Аў","Ср","Чц","Пт","Сб" ], + monthNames: [ "Студзень", "Люты", "Сакавік", "Красавік", "Травень", "Чэрвень", + "Ліпень", "Жнівень", "Верасень", "Кастрычнік", "Лістапад", "Сьнежань" ], + monthNamesShort: [ "Сту", "Лют", "Сак", "Кра", "Тра", "Чэр", + "Ліп", "Жні", "Вер", "Кас", "Ліс", "Сьн" ], + dayNames: [ "нядзеля", "панядзелак", "аўторак", "серада", "чацьвер", "пятніца", "субота" ], + dayNamesShort: [ "ндз", "пнд", "аўт", "срд", "чцв", "птн", "сбт" ], + dayNamesMin: [ "Нд", "Пн", "Аў", "Ср", "Чц", "Пт", "Сб" ], weekHeader: "Тд", dateFormat: "dd.mm.yy", firstDay: 1, @@ -34,4 +37,4 @@ datepicker.setDefaults( datepicker.regional.be ); return datepicker.regional.be; -} ) ); +} ); diff --git a/ui/i18n/datepicker-bg.js b/ui/i18n/datepicker-bg.js index cb066a4c9..0344de4fb 100644 --- a/ui/i18n/datepicker-bg.js +++ b/ui/i18n/datepicker-bg.js @@ -1,6 +1,8 @@ /* Bulgarian initialisation for the jQuery UI date picker plugin. */ /* Written by Stoyan Kyosev (http://svest.org). */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -10,7 +12,8 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional.bg = { closeText: "затвори", @@ -18,13 +21,13 @@ datepicker.regional.bg = { nextText: "напред>", nextBigText: ">>", currentText: "днес", - monthNames: [ "Януари","Февруари","Март","Април","Май","Юни", - "Юли","Август","Септември","Октомври","Ноември","Декември" ], - monthNamesShort: [ "Яну","Фев","Мар","Апр","Май","Юни", - "Юли","Авг","Сеп","Окт","Нов","Дек" ], - dayNames: [ "Неделя","Понеделник","Вторник","Сряда","Четвъртък","Петък","Събота" ], - dayNamesShort: [ "Нед","Пон","Вто","Сря","Чет","Пет","Съб" ], - dayNamesMin: [ "Не","По","Вт","Ср","Че","Пе","Съ" ], + monthNames: [ "Януари", "Февруари", "Март", "Април", "Май", "Юни", + "Юли", "Август", "Септември", "Октомври", "Ноември", "Декември" ], + monthNamesShort: [ "Яну", "Фев", "Мар", "Апр", "Май", "Юни", + "Юли", "Авг", "Сеп", "Окт", "Нов", "Дек" ], + dayNames: [ "Неделя", "Понеделник", "Вторник", "Сряда", "Четвъртък", "Петък", "Събота" ], + dayNamesShort: [ "Нед", "Пон", "Вто", "Сря", "Чет", "Пет", "Съб" ], + dayNamesMin: [ "Не", "По", "Вт", "Ср", "Че", "Пе", "Съ" ], weekHeader: "Wk", dateFormat: "dd.mm.yy", firstDay: 1, @@ -35,4 +38,4 @@ datepicker.setDefaults( datepicker.regional.bg ); return datepicker.regional.bg; -} ) ); +} ); diff --git a/ui/i18n/datepicker-bs.js b/ui/i18n/datepicker-bs.js index b9f2e2869..a5c145aff 100644 --- a/ui/i18n/datepicker-bs.js +++ b/ui/i18n/datepicker-bs.js @@ -1,6 +1,8 @@ /* Bosnian i18n for the jQuery UI date picker plugin. */ /* Written by Kenan Konjo. */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -10,20 +12,21 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional.bs = { closeText: "Zatvori", prevText: "<", nextText: ">", 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" ], + 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, @@ -34,4 +37,4 @@ datepicker.setDefaults( datepicker.regional.bs ); return datepicker.regional.bs; -} ) ); +} ); diff --git a/ui/i18n/datepicker-ca.js b/ui/i18n/datepicker-ca.js index 9febd90ee..bca86decf 100644 --- a/ui/i18n/datepicker-ca.js +++ b/ui/i18n/datepicker-ca.js @@ -1,6 +1,8 @@ /* Inicialització en català per a l'extensió 'UI date picker' per jQuery. */ /* Writers: (joan.leon@gmail.com). */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -10,20 +12,21 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; 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" ], + 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, @@ -34,4 +37,4 @@ datepicker.setDefaults( datepicker.regional.ca ); return datepicker.regional.ca; -} ) ); +} ); diff --git a/ui/i18n/datepicker-cs.js b/ui/i18n/datepicker-cs.js index c2f79cf9e..201fac7b8 100644 --- a/ui/i18n/datepicker-cs.js +++ b/ui/i18n/datepicker-cs.js @@ -1,6 +1,8 @@ /* Czech initialisation for the jQuery UI date picker plugin. */ /* Written by Tomas Muller (tomas@tomas-muller.net). */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -10,20 +12,21 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional.cs = { closeText: "Zavřít", prevText: "<Dříve", nextText: "Později>", 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" ], + 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" ], + dayNamesMin: [ "ne", "po", "út", "st", "čt", "pá", "so" ], weekHeader: "Týd", dateFormat: "dd.mm.yy", firstDay: 1, @@ -34,4 +37,4 @@ datepicker.setDefaults( datepicker.regional.cs ); return datepicker.regional.cs; -} ) ); +} ); diff --git a/ui/i18n/datepicker-cy-GB.js b/ui/i18n/datepicker-cy-GB.js index 14fce914c..942c24f72 100644 --- a/ui/i18n/datepicker-cy-GB.js +++ b/ui/i18n/datepicker-cy-GB.js @@ -1,6 +1,8 @@ /* Welsh/UK initialisation for the jQuery UI date picker plugin. */ /* Written by William Griffiths. */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -10,15 +12,16 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional[ "cy-GB" ] = { closeText: "Done", prevText: "Prev", nextText: "Next", currentText: "Today", - monthNames: [ "Ionawr","Chwefror","Mawrth","Ebrill","Mai","Mehefin", - "Gorffennaf","Awst","Medi","Hydref","Tachwedd","Rhagfyr" ], + monthNames: [ "Ionawr", "Chwefror", "Mawrth", "Ebrill", "Mai", "Mehefin", + "Gorffennaf", "Awst", "Medi", "Hydref", "Tachwedd", "Rhagfyr" ], monthNamesShort: [ "Ion", "Chw", "Maw", "Ebr", "Mai", "Meh", "Gor", "Aws", "Med", "Hyd", "Tac", "Rha" ], dayNames: [ @@ -31,7 +34,7 @@ datepicker.regional[ "cy-GB" ] = { "Dydd Sadwrn" ], dayNamesShort: [ "Sul", "Llu", "Maw", "Mer", "Iau", "Gwe", "Sad" ], - dayNamesMin: [ "Su","Ll","Ma","Me","Ia","Gw","Sa" ], + dayNamesMin: [ "Su", "Ll", "Ma", "Me", "Ia", "Gw", "Sa" ], weekHeader: "Wy", dateFormat: "dd/mm/yy", firstDay: 1, @@ -42,4 +45,4 @@ datepicker.setDefaults( datepicker.regional[ "cy-GB" ] ); return datepicker.regional[ "cy-GB" ]; -} ) ); +} ); diff --git a/ui/i18n/datepicker-da.js b/ui/i18n/datepicker-da.js index 4d4d823ca..90409c06e 100644 --- a/ui/i18n/datepicker-da.js +++ b/ui/i18n/datepicker-da.js @@ -1,6 +1,8 @@ /* Danish initialisation for the jQuery UI date picker plugin. */ /* Written by Jan Christensen ( deletestuff@gmail.com). */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -10,20 +12,21 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional.da = { closeText: "Luk", prevText: "<Forrige", nextText: "Næste>", currentText: "I dag", - 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ø" ], + 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, @@ -34,4 +37,4 @@ datepicker.setDefaults( datepicker.regional.da ); return datepicker.regional.da; -} ) ); +} ); diff --git a/ui/i18n/datepicker-de-AT.js b/ui/i18n/datepicker-de-AT.js index 99416d242..814e74f3e 100644 --- a/ui/i18n/datepicker-de-AT.js +++ b/ui/i18n/datepicker-de-AT.js @@ -2,6 +2,8 @@ /* Based on the de initialisation. */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -11,20 +13,21 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional[ "de-AT" ] = { closeText: "Schließen", prevText: "<Zurück", nextText: "Vor>", currentText: "Heute", - monthNames: [ "Jänner","Februar","März","April","Mai","Juni", - "Juli","August","September","Oktober","November","Dezember" ], - monthNamesShort: [ "Jän","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" ], + monthNames: [ "Jänner", "Februar", "März", "April", "Mai", "Juni", + "Juli", "August", "September", "Oktober", "November", "Dezember" ], + monthNamesShort: [ "Jän", "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, @@ -35,4 +38,4 @@ datepicker.setDefaults( datepicker.regional[ "de-AT" ] ); return datepicker.regional[ "de-AT" ]; -} ) ); +} ); diff --git a/ui/i18n/datepicker-de.js b/ui/i18n/datepicker-de.js index a67790844..5baf6d148 100644 --- a/ui/i18n/datepicker-de.js +++ b/ui/i18n/datepicker-de.js @@ -1,6 +1,8 @@ /* German initialisation for the jQuery UI date picker plugin. */ /* Written by Milian Wolff (mail@milianw.de). */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -10,20 +12,21 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional.de = { closeText: "Schließen", prevText: "<Zurück", nextText: "Vor>", 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" ], + 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, @@ -34,4 +37,4 @@ datepicker.setDefaults( datepicker.regional.de ); return datepicker.regional.de; -} ) ); +} ); diff --git a/ui/i18n/datepicker-el.js b/ui/i18n/datepicker-el.js index f08d6f27d..054a5e2d9 100644 --- a/ui/i18n/datepicker-el.js +++ b/ui/i18n/datepicker-el.js @@ -1,6 +1,8 @@ /* Greek (el) initialisation for the jQuery UI date picker plugin. */ /* Written by Alex Cicovic (http://www.alexcicovic.com) */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -10,20 +12,21 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional.el = { closeText: "Κλείσιμο", prevText: "Προηγούμενος", nextText: "Επόμενος", currentText: "Σήμερα", - monthNames: [ "Ιανουάριος","Φεβρουάριος","Μάρτιος","Απρίλιος","Μάιος","Ιούνιος", - "Ιούλιος","Αύγουστος","Σεπτέμβριος","Οκτώβριος","Νοέμβριος","Δεκέμβριος" ], - monthNamesShort: [ "Ιαν","Φεβ","Μαρ","Απρ","Μαι","Ιουν", - "Ιουλ","Αυγ","Σεπ","Οκτ","Νοε","Δεκ" ], - dayNames: [ "Κυριακή","Δευτέρα","Τρίτη","Τετάρτη","Πέμπτη","Παρασκευή","Σάββατο" ], - dayNamesShort: [ "Κυρ","Δευ","Τρι","Τετ","Πεμ","Παρ","Σαβ" ], - dayNamesMin: [ "Κυ","Δε","Τρ","Τε","Πε","Πα","Σα" ], + monthNames: [ "Ιανουάριος", "Φεβρουάριος", "Μάρτιος", "Απρίλιος", "Μάιος", "Ιούνιος", + "Ιούλιος", "Αύγουστος", "Σεπτέμβριος", "Οκτώβριος", "Νοέμβριος", "Δεκέμβριος" ], + monthNamesShort: [ "Ιαν", "Φεβ", "Μαρ", "Απρ", "Μαι", "Ιουν", + "Ιουλ", "Αυγ", "Σεπ", "Οκτ", "Νοε", "Δεκ" ], + dayNames: [ "Κυριακή", "Δευτέρα", "Τρίτη", "Τετάρτη", "Πέμπτη", "Παρασκευή", "Σάββατο" ], + dayNamesShort: [ "Κυρ", "Δευ", "Τρι", "Τετ", "Πεμ", "Παρ", "Σαβ" ], + dayNamesMin: [ "Κυ", "Δε", "Τρ", "Τε", "Πε", "Πα", "Σα" ], weekHeader: "Εβδ", dateFormat: "dd/mm/yy", firstDay: 1, @@ -34,4 +37,4 @@ datepicker.setDefaults( datepicker.regional.el ); return datepicker.regional.el; -} ) ); +} ); diff --git a/ui/i18n/datepicker-en-AU.js b/ui/i18n/datepicker-en-AU.js index f15277c37..baef43a48 100644 --- a/ui/i18n/datepicker-en-AU.js +++ b/ui/i18n/datepicker-en-AU.js @@ -1,6 +1,8 @@ /* English/Australia initialisation for the jQuery UI date picker plugin. */ /* Based on the en-GB initialisation. */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -10,20 +12,21 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional[ "en-AU" ] = { closeText: "Done", prevText: "Prev", nextText: "Next", currentText: "Today", - monthNames: [ "January","February","March","April","May","June", - "July","August","September","October","November","December" ], + monthNames: [ "January", "February", "March", "April", "May", "June", + "July", "August", "September", "October", "November", "December" ], monthNamesShort: [ "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" ], dayNames: [ "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" ], dayNamesShort: [ "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" ], - dayNamesMin: [ "Su","Mo","Tu","We","Th","Fr","Sa" ], + dayNamesMin: [ "Su", "Mo", "Tu", "We", "Th", "Fr", "Sa" ], weekHeader: "Wk", dateFormat: "dd/mm/yy", firstDay: 1, @@ -34,4 +37,4 @@ datepicker.setDefaults( datepicker.regional[ "en-AU" ] ); return datepicker.regional[ "en-AU" ]; -} ) ); +} ); diff --git a/ui/i18n/datepicker-en-GB.js b/ui/i18n/datepicker-en-GB.js index c961c1865..e0a7a32ae 100644 --- a/ui/i18n/datepicker-en-GB.js +++ b/ui/i18n/datepicker-en-GB.js @@ -1,6 +1,8 @@ /* English/UK initialisation for the jQuery UI date picker plugin. */ /* Written by Stuart. */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -10,20 +12,21 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional[ "en-GB" ] = { closeText: "Done", prevText: "Prev", nextText: "Next", currentText: "Today", - monthNames: [ "January","February","March","April","May","June", - "July","August","September","October","November","December" ], + monthNames: [ "January", "February", "March", "April", "May", "June", + "July", "August", "September", "October", "November", "December" ], monthNamesShort: [ "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" ], dayNames: [ "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" ], dayNamesShort: [ "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" ], - dayNamesMin: [ "Su","Mo","Tu","We","Th","Fr","Sa" ], + dayNamesMin: [ "Su", "Mo", "Tu", "We", "Th", "Fr", "Sa" ], weekHeader: "Wk", dateFormat: "dd/mm/yy", firstDay: 1, @@ -34,4 +37,4 @@ datepicker.setDefaults( datepicker.regional[ "en-GB" ] ); return datepicker.regional[ "en-GB" ]; -} ) ); +} ); diff --git a/ui/i18n/datepicker-en-NZ.js b/ui/i18n/datepicker-en-NZ.js index 704636225..6e4768979 100644 --- a/ui/i18n/datepicker-en-NZ.js +++ b/ui/i18n/datepicker-en-NZ.js @@ -1,6 +1,8 @@ /* English/New Zealand initialisation for the jQuery UI date picker plugin. */ /* Based on the en-GB initialisation. */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -10,20 +12,21 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional[ "en-NZ" ] = { closeText: "Done", prevText: "Prev", nextText: "Next", currentText: "Today", - monthNames: [ "January","February","March","April","May","June", - "July","August","September","October","November","December" ], + monthNames: [ "January", "February", "March", "April", "May", "June", + "July", "August", "September", "October", "November", "December" ], monthNamesShort: [ "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" ], dayNames: [ "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" ], dayNamesShort: [ "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" ], - dayNamesMin: [ "Su","Mo","Tu","We","Th","Fr","Sa" ], + dayNamesMin: [ "Su", "Mo", "Tu", "We", "Th", "Fr", "Sa" ], weekHeader: "Wk", dateFormat: "dd/mm/yy", firstDay: 1, @@ -34,4 +37,4 @@ datepicker.setDefaults( datepicker.regional[ "en-NZ" ] ); return datepicker.regional[ "en-NZ" ]; -} ) ); +} ); diff --git a/ui/i18n/datepicker-eo.js b/ui/i18n/datepicker-eo.js index 25f6162b5..3867a6214 100644 --- a/ui/i18n/datepicker-eo.js +++ b/ui/i18n/datepicker-eo.js @@ -1,6 +1,8 @@ /* Esperanto initialisation for the jQuery UI date picker plugin. */ /* Written by Olivier M. (olivierweb@ifrance.com). */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -10,20 +12,21 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional.eo = { closeText: "Fermi", prevText: "<Anta", nextText: "Sekv>", currentText: "Nuna", - monthNames: [ "Januaro","Februaro","Marto","Aprilo","Majo","Junio", - "Julio","Aŭgusto","Septembro","Oktobro","Novembro","Decembro" ], - monthNamesShort: [ "Jan","Feb","Mar","Apr","Maj","Jun", - "Jul","Aŭg","Sep","Okt","Nov","Dec" ], - dayNames: [ "Dimanĉo","Lundo","Mardo","Merkredo","Ĵaŭdo","Vendredo","Sabato" ], - dayNamesShort: [ "Dim","Lun","Mar","Mer","Ĵaŭ","Ven","Sab" ], - dayNamesMin: [ "Di","Lu","Ma","Me","Ĵa","Ve","Sa" ], + monthNames: [ "Januaro", "Februaro", "Marto", "Aprilo", "Majo", "Junio", + "Julio", "Aŭgusto", "Septembro", "Oktobro", "Novembro", "Decembro" ], + monthNamesShort: [ "Jan", "Feb", "Mar", "Apr", "Maj", "Jun", + "Jul", "Aŭg", "Sep", "Okt", "Nov", "Dec" ], + dayNames: [ "Dimanĉo", "Lundo", "Mardo", "Merkredo", "Ĵaŭdo", "Vendredo", "Sabato" ], + dayNamesShort: [ "Dim", "Lun", "Mar", "Mer", "Ĵaŭ", "Ven", "Sab" ], + dayNamesMin: [ "Di", "Lu", "Ma", "Me", "Ĵa", "Ve", "Sa" ], weekHeader: "Sb", dateFormat: "dd/mm/yy", firstDay: 0, @@ -34,4 +37,4 @@ datepicker.setDefaults( datepicker.regional.eo ); return datepicker.regional.eo; -} ) ); +} ); diff --git a/ui/i18n/datepicker-es.js b/ui/i18n/datepicker-es.js index ea7116e0b..9a7457778 100644 --- a/ui/i18n/datepicker-es.js +++ b/ui/i18n/datepicker-es.js @@ -1,6 +1,8 @@ /* Inicialización en español para la extensión 'UI date picker' para jQuery. */ /* Traducido por Vester (xvester@gmail.com). */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -10,20 +12,21 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional.es = { closeText: "Cerrar", prevText: "<Ant", nextText: "Sig>", currentText: "Hoy", - monthNames: [ "enero","febrero","marzo","abril","mayo","junio", - "julio","agosto","septiembre","octubre","noviembre","diciembre" ], - monthNamesShort: [ "ene","feb","mar","abr","may","jun", - "jul","ago","sep","oct","nov","dic" ], - dayNames: [ "domingo","lunes","martes","miércoles","jueves","viernes","sábado" ], - dayNamesShort: [ "dom","lun","mar","mié","jue","vie","sáb" ], - dayNamesMin: [ "D","L","M","X","J","V","S" ], + monthNames: [ "enero", "febrero", "marzo", "abril", "mayo", "junio", + "julio", "agosto", "septiembre", "octubre", "noviembre", "diciembre" ], + monthNamesShort: [ "ene", "feb", "mar", "abr", "may", "jun", + "jul", "ago", "sep", "oct", "nov", "dic" ], + dayNames: [ "domingo", "lunes", "martes", "miércoles", "jueves", "viernes", "sábado" ], + dayNamesShort: [ "dom", "lun", "mar", "mié", "jue", "vie", "sáb" ], + dayNamesMin: [ "D", "L", "M", "X", "J", "V", "S" ], weekHeader: "Sm", dateFormat: "dd/mm/yy", firstDay: 1, @@ -34,4 +37,4 @@ datepicker.setDefaults( datepicker.regional.es ); return datepicker.regional.es; -} ) ); +} ); diff --git a/ui/i18n/datepicker-et.js b/ui/i18n/datepicker-et.js index b2e226ae5..11d58579e 100644 --- a/ui/i18n/datepicker-et.js +++ b/ui/i18n/datepicker-et.js @@ -1,6 +1,8 @@ /* Estonian initialisation for the jQuery UI date picker plugin. */ /* Written by Mart Sõmermaa (mrts.pydev at gmail com). */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -10,15 +12,16 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional.et = { closeText: "Sulge", prevText: "Eelnev", nextText: "Järgnev", currentText: "Täna", - monthNames: [ "Jaanuar","Veebruar","Märts","Aprill","Mai","Juuni", - "Juuli","August","September","Oktoober","November","Detsember" ], + monthNames: [ "Jaanuar", "Veebruar", "Märts", "Aprill", "Mai", "Juuni", + "Juuli", "August", "September", "Oktoober", "November", "Detsember" ], monthNamesShort: [ "Jaan", "Veebr", "Märts", "Apr", "Mai", "Juuni", "Juuli", "Aug", "Sept", "Okt", "Nov", "Dets" ], dayNames: [ @@ -31,7 +34,7 @@ datepicker.regional.et = { "Laupäev" ], dayNamesShort: [ "Pühap", "Esmasp", "Teisip", "Kolmap", "Neljap", "Reede", "Laup" ], - dayNamesMin: [ "P","E","T","K","N","R","L" ], + dayNamesMin: [ "P", "E", "T", "K", "N", "R", "L" ], weekHeader: "näd", dateFormat: "dd.mm.yy", firstDay: 1, @@ -42,4 +45,4 @@ datepicker.setDefaults( datepicker.regional.et ); return datepicker.regional.et; -} ) ); +} ); diff --git a/ui/i18n/datepicker-eu.js b/ui/i18n/datepicker-eu.js index 8ea1ef9e5..754a172df 100644 --- a/ui/i18n/datepicker-eu.js +++ b/ui/i18n/datepicker-eu.js @@ -1,5 +1,7 @@ /* Karrikas-ek itzulia (karrikas@karrikas.com) */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -9,20 +11,21 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional.eu = { closeText: "Egina", prevText: "<Aur", nextText: "Hur>", currentText: "Gaur", - monthNames: [ "urtarrila","otsaila","martxoa","apirila","maiatza","ekaina", - "uztaila","abuztua","iraila","urria","azaroa","abendua" ], - monthNamesShort: [ "urt.","ots.","mar.","api.","mai.","eka.", - "uzt.","abu.","ira.","urr.","aza.","abe." ], - dayNames: [ "igandea","astelehena","asteartea","asteazkena","osteguna","ostirala","larunbata" ], - dayNamesShort: [ "ig.","al.","ar.","az.","og.","ol.","lr." ], - dayNamesMin: [ "ig","al","ar","az","og","ol","lr" ], + monthNames: [ "urtarrila", "otsaila", "martxoa", "apirila", "maiatza", "ekaina", + "uztaila", "abuztua", "iraila", "urria", "azaroa", "abendua" ], + monthNamesShort: [ "urt.", "ots.", "mar.", "api.", "mai.", "eka.", + "uzt.", "abu.", "ira.", "urr.", "aza.", "abe." ], + dayNames: [ "igandea", "astelehena", "asteartea", "asteazkena", "osteguna", "ostirala", "larunbata" ], + dayNamesShort: [ "ig.", "al.", "ar.", "az.", "og.", "ol.", "lr." ], + dayNamesMin: [ "ig", "al", "ar", "az", "og", "ol", "lr" ], weekHeader: "As", dateFormat: "yy-mm-dd", firstDay: 1, @@ -33,4 +36,4 @@ datepicker.setDefaults( datepicker.regional.eu ); return datepicker.regional.eu; -} ) ); +} ); diff --git a/ui/i18n/datepicker-fa.js b/ui/i18n/datepicker-fa.js index 71da4981d..193a3dcc1 100644 --- a/ui/i18n/datepicker-fa.js +++ b/ui/i18n/datepicker-fa.js @@ -2,6 +2,8 @@ /* Javad Mowlanezhad -- jmowla@gmail.com */ /* Jalali calendar should supported soon! (Its implemented but I have to test it) */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -11,7 +13,8 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional.fa = { closeText: "بستن", @@ -32,7 +35,7 @@ datepicker.regional.fa = { "نوامبر", "دسامبر" ], - monthNamesShort: [ "1","2","3","4","5","6","7","8","9","10","11","12" ], + monthNamesShort: [ "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12" ], dayNames: [ "يکشنبه", "دوشنبه", @@ -70,4 +73,4 @@ datepicker.setDefaults( datepicker.regional.fa ); return datepicker.regional.fa; -} ) ); +} ); diff --git a/ui/i18n/datepicker-fi.js b/ui/i18n/datepicker-fi.js index a8386ff62..dd4ca5944 100644 --- a/ui/i18n/datepicker-fi.js +++ b/ui/i18n/datepicker-fi.js @@ -1,6 +1,8 @@ /* Finnish initialisation for the jQuery UI date picker plugin. */ /* Written by Harri Kilpiö (harrikilpio@gmail.com). */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -10,20 +12,21 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional.fi = { closeText: "Sulje", prevText: "«Edellinen", nextText: "Seuraava»", currentText: "Tänään", - monthNames: [ "Tammikuu","Helmikuu","Maaliskuu","Huhtikuu","Toukokuu","Kesäkuu", - "Heinäkuu","Elokuu","Syyskuu","Lokakuu","Marraskuu","Joulukuu" ], - monthNamesShort: [ "Tammi","Helmi","Maalis","Huhti","Touko","Kesä", - "Heinä","Elo","Syys","Loka","Marras","Joulu" ], - dayNamesShort: [ "Su","Ma","Ti","Ke","To","Pe","La" ], - dayNames: [ "Sunnuntai","Maanantai","Tiistai","Keskiviikko","Torstai","Perjantai","Lauantai" ], - dayNamesMin: [ "Su","Ma","Ti","Ke","To","Pe","La" ], + monthNames: [ "Tammikuu", "Helmikuu", "Maaliskuu", "Huhtikuu", "Toukokuu", "Kesäkuu", + "Heinäkuu", "Elokuu", "Syyskuu", "Lokakuu", "Marraskuu", "Joulukuu" ], + monthNamesShort: [ "Tammi", "Helmi", "Maalis", "Huhti", "Touko", "Kesä", + "Heinä", "Elo", "Syys", "Loka", "Marras", "Joulu" ], + dayNamesShort: [ "Su", "Ma", "Ti", "Ke", "To", "Pe", "La" ], + dayNames: [ "Sunnuntai", "Maanantai", "Tiistai", "Keskiviikko", "Torstai", "Perjantai", "Lauantai" ], + dayNamesMin: [ "Su", "Ma", "Ti", "Ke", "To", "Pe", "La" ], weekHeader: "Vk", dateFormat: "d.m.yy", firstDay: 1, @@ -34,4 +37,4 @@ datepicker.setDefaults( datepicker.regional.fi ); return datepicker.regional.fi; -} ) ); +} ); diff --git a/ui/i18n/datepicker-fo.js b/ui/i18n/datepicker-fo.js index 6c24b8bff..f024ac674 100644 --- a/ui/i18n/datepicker-fo.js +++ b/ui/i18n/datepicker-fo.js @@ -1,6 +1,8 @@ /* Faroese initialisation for the jQuery UI date picker plugin */ /* Written by Sverri Mohr Olsen, sverrimo@gmail.com */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -10,17 +12,18 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional.fo = { closeText: "Lat aftur", prevText: "<Fyrra", nextText: "Næsta>", currentText: "Í dag", - monthNames: [ "Januar","Februar","Mars","Apríl","Mei","Juni", - "Juli","August","September","Oktober","November","Desember" ], - monthNamesShort: [ "Jan","Feb","Mar","Apr","Mei","Jun", - "Jul","Aug","Sep","Okt","Nov","Des" ], + monthNames: [ "Januar", "Februar", "Mars", "Apríl", "Mei", "Juni", + "Juli", "August", "September", "Oktober", "November", "Desember" ], + monthNamesShort: [ "Jan", "Feb", "Mar", "Apr", "Mei", "Jun", + "Jul", "Aug", "Sep", "Okt", "Nov", "Des" ], dayNames: [ "Sunnudagur", "Mánadagur", @@ -30,8 +33,8 @@ datepicker.regional.fo = { "Fríggjadagur", "Leyardagur" ], - dayNamesShort: [ "Sun","Mán","Týs","Mik","Hós","Frí","Ley" ], - dayNamesMin: [ "Su","Má","Tý","Mi","Hó","Fr","Le" ], + dayNamesShort: [ "Sun", "Mán", "Týs", "Mik", "Hós", "Frí", "Ley" ], + dayNamesMin: [ "Su", "Má", "Tý", "Mi", "Hó", "Fr", "Le" ], weekHeader: "Vk", dateFormat: "dd-mm-yy", firstDay: 1, @@ -42,4 +45,4 @@ datepicker.setDefaults( datepicker.regional.fo ); return datepicker.regional.fo; -} ) ); +} ); diff --git a/ui/i18n/datepicker-fr-CA.js b/ui/i18n/datepicker-fr-CA.js index b590277d4..a14b1d323 100644 --- a/ui/i18n/datepicker-fr-CA.js +++ b/ui/i18n/datepicker-fr-CA.js @@ -1,5 +1,7 @@ /* Canadian-French initialisation for the jQuery UI date picker plugin. */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -9,7 +11,8 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional[ "fr-CA" ] = { closeText: "Fermer", @@ -34,4 +37,4 @@ datepicker.setDefaults( datepicker.regional[ "fr-CA" ] ); return datepicker.regional[ "fr-CA" ]; -} ) ); +} ); diff --git a/ui/i18n/datepicker-fr-CH.js b/ui/i18n/datepicker-fr-CH.js index d2f0584d6..b75c68337 100644 --- a/ui/i18n/datepicker-fr-CH.js +++ b/ui/i18n/datepicker-fr-CH.js @@ -1,6 +1,8 @@ /* Swiss-French initialisation for the jQuery UI date picker plugin. */ /* Written Martin Voelkle (martin.voelkle@e-tc.ch). */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -10,7 +12,8 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional[ "fr-CH" ] = { closeText: "Fermer", @@ -34,4 +37,4 @@ datepicker.setDefaults( datepicker.regional[ "fr-CH" ] ); return datepicker.regional[ "fr-CH" ]; -} ) ); +} ); diff --git a/ui/i18n/datepicker-fr.js b/ui/i18n/datepicker-fr.js index 9e39fbd68..42b582bc3 100644 --- a/ui/i18n/datepicker-fr.js +++ b/ui/i18n/datepicker-fr.js @@ -3,6 +3,8 @@ Stéphane Nahmani (sholby@sholby.net), Stéphane Raimbault <stephane.raimbault@gmail.com> */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -12,7 +14,8 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional.fr = { closeText: "Fermer", @@ -25,7 +28,7 @@ datepicker.regional.fr = { "juil.", "août", "sept.", "oct.", "nov.", "déc." ], dayNames: [ "dimanche", "lundi", "mardi", "mercredi", "jeudi", "vendredi", "samedi" ], dayNamesShort: [ "dim.", "lun.", "mar.", "mer.", "jeu.", "ven.", "sam." ], - dayNamesMin: [ "D","L","M","M","J","V","S" ], + dayNamesMin: [ "D", "L", "M", "M", "J", "V", "S" ], weekHeader: "Sem.", dateFormat: "dd/mm/yy", firstDay: 1, @@ -36,4 +39,4 @@ datepicker.setDefaults( datepicker.regional.fr ); return datepicker.regional.fr; -} ) ); +} ); diff --git a/ui/i18n/datepicker-gl.js b/ui/i18n/datepicker-gl.js index 276523074..f3ebc4665 100644 --- a/ui/i18n/datepicker-gl.js +++ b/ui/i18n/datepicker-gl.js @@ -1,6 +1,8 @@ /* Galician localization for 'UI date picker' jQuery extension. */ /* Translated by Jorge Barreiro <yortx.barry@gmail.com>. */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -10,20 +12,21 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional.gl = { closeText: "Pechar", prevText: "<Ant", nextText: "Seg>", currentText: "Hoxe", - monthNames: [ "Xaneiro","Febreiro","Marzo","Abril","Maio","Xuño", - "Xullo","Agosto","Setembro","Outubro","Novembro","Decembro" ], - monthNamesShort: [ "Xan","Feb","Mar","Abr","Mai","Xuñ", - "Xul","Ago","Set","Out","Nov","Dec" ], - dayNames: [ "Domingo","Luns","Martes","Mércores","Xoves","Venres","Sábado" ], - dayNamesShort: [ "Dom","Lun","Mar","Mér","Xov","Ven","Sáb" ], - dayNamesMin: [ "Do","Lu","Ma","Mé","Xo","Ve","Sá" ], + monthNames: [ "Xaneiro", "Febreiro", "Marzo", "Abril", "Maio", "Xuño", + "Xullo", "Agosto", "Setembro", "Outubro", "Novembro", "Decembro" ], + monthNamesShort: [ "Xan", "Feb", "Mar", "Abr", "Mai", "Xuñ", + "Xul", "Ago", "Set", "Out", "Nov", "Dec" ], + dayNames: [ "Domingo", "Luns", "Martes", "Mércores", "Xoves", "Venres", "Sábado" ], + dayNamesShort: [ "Dom", "Lun", "Mar", "Mér", "Xov", "Ven", "Sáb" ], + dayNamesMin: [ "Do", "Lu", "Ma", "Mé", "Xo", "Ve", "Sá" ], weekHeader: "Sm", dateFormat: "dd/mm/yy", firstDay: 1, @@ -34,4 +37,4 @@ datepicker.setDefaults( datepicker.regional.gl ); return datepicker.regional.gl; -} ) ); +} ); diff --git a/ui/i18n/datepicker-he.js b/ui/i18n/datepicker-he.js index fb6238fda..c487e78f7 100644 --- a/ui/i18n/datepicker-he.js +++ b/ui/i18n/datepicker-he.js @@ -1,6 +1,8 @@ /* Hebrew initialisation for the UI Datepicker extension. */ /* Written by Amir Hardon (ahardon at gmail dot com). */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -10,20 +12,21 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional.he = { closeText: "סגור", prevText: "<הקודם", nextText: "הבא>", currentText: "היום", - monthNames: [ "ינואר","פברואר","מרץ","אפריל","מאי","יוני", - "יולי","אוגוסט","ספטמבר","אוקטובר","נובמבר","דצמבר" ], - monthNamesShort: [ "ינו","פבר","מרץ","אפר","מאי","יוני", - "יולי","אוג","ספט","אוק","נוב","דצמ" ], - dayNames: [ "ראשון","שני","שלישי","רביעי","חמישי","שישי","שבת" ], - dayNamesShort: [ "א'","ב'","ג'","ד'","ה'","ו'","שבת" ], - dayNamesMin: [ "א'","ב'","ג'","ד'","ה'","ו'","שבת" ], + monthNames: [ "ינואר", "פברואר", "מרץ", "אפריל", "מאי", "יוני", + "יולי", "אוגוסט", "ספטמבר", "אוקטובר", "נובמבר", "דצמבר" ], + monthNamesShort: [ "ינו", "פבר", "מרץ", "אפר", "מאי", "יוני", + "יולי", "אוג", "ספט", "אוק", "נוב", "דצמ" ], + dayNames: [ "ראשון", "שני", "שלישי", "רביעי", "חמישי", "שישי", "שבת" ], + dayNamesShort: [ "א'", "ב'", "ג'", "ד'", "ה'", "ו'", "שבת" ], + dayNamesMin: [ "א'", "ב'", "ג'", "ד'", "ה'", "ו'", "שבת" ], weekHeader: "Wk", dateFormat: "dd/mm/yy", firstDay: 0, @@ -34,4 +37,4 @@ datepicker.setDefaults( datepicker.regional.he ); return datepicker.regional.he; -} ) ); +} ); diff --git a/ui/i18n/datepicker-hi.js b/ui/i18n/datepicker-hi.js index 3b1209724..e3b72e52b 100644 --- a/ui/i18n/datepicker-hi.js +++ b/ui/i18n/datepicker-hi.js @@ -1,6 +1,8 @@ /* Hindi initialisation for the jQuery UI date picker plugin. */ /* Written by Michael Dawart. */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -10,15 +12,16 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional.hi = { closeText: "बंद", prevText: "पिछला", nextText: "अगला", currentText: "आज", - monthNames: [ "जनवरी ","फरवरी","मार्च","अप्रेल","मई","जून", - "जूलाई","अगस्त ","सितम्बर","अक्टूबर","नवम्बर","दिसम्बर" ], + monthNames: [ "जनवरी ", "फरवरी", "मार्च", "अप्रेल", "मई", "जून", + "जूलाई", "अगस्त ", "सितम्बर", "अक्टूबर", "नवम्बर", "दिसम्बर" ], monthNamesShort: [ "जन", "फर", "मार्च", "अप्रेल", "मई", "जून", "जूलाई", "अग", "सित", "अक्ट", "नव", "दि" ], dayNames: [ "रविवार", "सोमवार", "मंगलवार", "बुधवार", "गुरुवार", "शुक्रवार", "शनिवार" ], @@ -34,4 +37,4 @@ datepicker.setDefaults( datepicker.regional.hi ); return datepicker.regional.hi; -} ) ); +} ); diff --git a/ui/i18n/datepicker-hr.js b/ui/i18n/datepicker-hr.js index 5e218c12d..23ea41446 100644 --- a/ui/i18n/datepicker-hr.js +++ b/ui/i18n/datepicker-hr.js @@ -1,6 +1,8 @@ /* Croatian i18n for the jQuery UI date picker plugin. */ /* Written by Vjekoslav Nesek. */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -10,20 +12,21 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional.hr = { closeText: "Zatvori", prevText: "<", nextText: ">", currentText: "Danas", - monthNames: [ "Siječanj","Veljača","Ožujak","Travanj","Svibanj","Lipanj", - "Srpanj","Kolovoz","Rujan","Listopad","Studeni","Prosinac" ], - monthNamesShort: [ "Sij","Velj","Ožu","Tra","Svi","Lip", - "Srp","Kol","Ruj","Lis","Stu","Pro" ], - dayNames: [ "Nedjelja","Ponedjeljak","Utorak","Srijeda","Četvrtak","Petak","Subota" ], - dayNamesShort: [ "Ned","Pon","Uto","Sri","Čet","Pet","Sub" ], - dayNamesMin: [ "Ne","Po","Ut","Sr","Če","Pe","Su" ], + monthNames: [ "Siječanj", "Veljača", "Ožujak", "Travanj", "Svibanj", "Lipanj", + "Srpanj", "Kolovoz", "Rujan", "Listopad", "Studeni", "Prosinac" ], + monthNamesShort: [ "Sij", "Velj", "Ožu", "Tra", "Svi", "Lip", + "Srp", "Kol", "Ruj", "Lis", "Stu", "Pro" ], + dayNames: [ "Nedjelja", "Ponedjeljak", "Utorak", "Srijeda", "Četvrtak", "Petak", "Subota" ], + dayNamesShort: [ "Ned", "Pon", "Uto", "Sri", "Čet", "Pet", "Sub" ], + dayNamesMin: [ "Ne", "Po", "Ut", "Sr", "Če", "Pe", "Su" ], weekHeader: "Tje", dateFormat: "dd.mm.yy.", firstDay: 1, @@ -34,4 +37,4 @@ datepicker.setDefaults( datepicker.regional.hr ); return datepicker.regional.hr; -} ) ); +} ); diff --git a/ui/i18n/datepicker-hu.js b/ui/i18n/datepicker-hu.js index 516d11084..3bb86dab9 100644 --- a/ui/i18n/datepicker-hu.js +++ b/ui/i18n/datepicker-hu.js @@ -1,5 +1,7 @@ /* Hungarian initialisation for the jQuery UI date picker plugin. */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -9,7 +11,8 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional.hu = { closeText: "Bezár", @@ -33,4 +36,4 @@ datepicker.setDefaults( datepicker.regional.hu ); return datepicker.regional.hu; -} ) ); +} ); diff --git a/ui/i18n/datepicker-hy.js b/ui/i18n/datepicker-hy.js index 95638b310..2cc74da73 100644 --- a/ui/i18n/datepicker-hy.js +++ b/ui/i18n/datepicker-hy.js @@ -1,6 +1,8 @@ /* Armenian(UTF-8) initialisation for the jQuery UI date picker plugin. */ /* Written by Levon Zakaryan (levon.zakaryan@gmail.com)*/ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -10,20 +12,21 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional.hy = { closeText: "Փակել", prevText: "<Նախ.", nextText: "Հաջ.>", currentText: "Այսօր", - monthNames: [ "Հունվար","Փետրվար","Մարտ","Ապրիլ","Մայիս","Հունիս", - "Հուլիս","Օգոստոս","Սեպտեմբեր","Հոկտեմբեր","Նոյեմբեր","Դեկտեմբեր" ], - monthNamesShort: [ "Հունվ","Փետր","Մարտ","Ապր","Մայիս","Հունիս", - "Հուլ","Օգս","Սեպ","Հոկ","Նոյ","Դեկ" ], - dayNames: [ "կիրակի","եկուշաբթի","երեքշաբթի","չորեքշաբթի","հինգշաբթի","ուրբաթ","շաբաթ" ], - dayNamesShort: [ "կիր","երկ","երք","չրք","հնգ","ուրբ","շբթ" ], - dayNamesMin: [ "կիր","երկ","երք","չրք","հնգ","ուրբ","շբթ" ], + monthNames: [ "Հունվար", "Փետրվար", "Մարտ", "Ապրիլ", "Մայիս", "Հունիս", + "Հուլիս", "Օգոստոս", "Սեպտեմբեր", "Հոկտեմբեր", "Նոյեմբեր", "Դեկտեմբեր" ], + monthNamesShort: [ "Հունվ", "Փետր", "Մարտ", "Ապր", "Մայիս", "Հունիս", + "Հուլ", "Օգս", "Սեպ", "Հոկ", "Նոյ", "Դեկ" ], + dayNames: [ "կիրակի", "եկուշաբթի", "երեքշաբթի", "չորեքշաբթի", "հինգշաբթի", "ուրբաթ", "շաբաթ" ], + dayNamesShort: [ "կիր", "երկ", "երք", "չրք", "հնգ", "ուրբ", "շբթ" ], + dayNamesMin: [ "կիր", "երկ", "երք", "չրք", "հնգ", "ուրբ", "շբթ" ], weekHeader: "ՇԲՏ", dateFormat: "dd.mm.yy", firstDay: 1, @@ -34,4 +37,4 @@ datepicker.setDefaults( datepicker.regional.hy ); return datepicker.regional.hy; -} ) ); +} ); diff --git a/ui/i18n/datepicker-id.js b/ui/i18n/datepicker-id.js index 5aef348af..52f709caa 100644 --- a/ui/i18n/datepicker-id.js +++ b/ui/i18n/datepicker-id.js @@ -1,6 +1,8 @@ /* Indonesian initialisation for the jQuery UI date picker plugin. */ /* Written by Deden Fathurahman (dedenf@gmail.com). */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -10,20 +12,21 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional.id = { closeText: "Tutup", prevText: "<mundur", nextText: "maju>", currentText: "hari ini", - monthNames: [ "Januari","Februari","Maret","April","Mei","Juni", - "Juli","Agustus","September","Oktober","Nopember","Desember" ], - monthNamesShort: [ "Jan","Feb","Mar","Apr","Mei","Jun", - "Jul","Agus","Sep","Okt","Nop","Des" ], - dayNames: [ "Minggu","Senin","Selasa","Rabu","Kamis","Jumat","Sabtu" ], - dayNamesShort: [ "Min","Sen","Sel","Rab","kam","Jum","Sab" ], - dayNamesMin: [ "Mg","Sn","Sl","Rb","Km","jm","Sb" ], + monthNames: [ "Januari", "Februari", "Maret", "April", "Mei", "Juni", + "Juli", "Agustus", "September", "Oktober", "Nopember", "Desember" ], + monthNamesShort: [ "Jan", "Feb", "Mar", "Apr", "Mei", "Jun", + "Jul", "Agus", "Sep", "Okt", "Nop", "Des" ], + dayNames: [ "Minggu", "Senin", "Selasa", "Rabu", "Kamis", "Jumat", "Sabtu" ], + dayNamesShort: [ "Min", "Sen", "Sel", "Rab", "kam", "Jum", "Sab" ], + dayNamesMin: [ "Mg", "Sn", "Sl", "Rb", "Km", "jm", "Sb" ], weekHeader: "Mg", dateFormat: "dd/mm/yy", firstDay: 0, @@ -34,4 +37,4 @@ datepicker.setDefaults( datepicker.regional.id ); return datepicker.regional.id; -} ) ); +} ); diff --git a/ui/i18n/datepicker-is.js b/ui/i18n/datepicker-is.js index b15f37ab0..0ebffd355 100644 --- a/ui/i18n/datepicker-is.js +++ b/ui/i18n/datepicker-is.js @@ -1,6 +1,8 @@ /* Icelandic initialisation for the jQuery UI date picker plugin. */ /* Written by Haukur H. Thorsson (haukur@eskill.is). */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -10,17 +12,18 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional.is = { closeText: "Loka", prevText: "< Fyrri", nextText: "Næsti >", currentText: "Í dag", - monthNames: [ "Janúar","Febrúar","Mars","Apríl","Maí","Júní", - "Júlí","Ágúst","September","Október","Nóvember","Desember" ], - monthNamesShort: [ "Jan","Feb","Mar","Apr","Maí","Jún", - "Júl","Ágú","Sep","Okt","Nóv","Des" ], + monthNames: [ "Janúar", "Febrúar", "Mars", "Apríl", "Maí", "Júní", + "Júlí", "Ágúst", "September", "Október", "Nóvember", "Desember" ], + monthNamesShort: [ "Jan", "Feb", "Mar", "Apr", "Maí", "Jún", + "Júl", "Ágú", "Sep", "Okt", "Nóv", "Des" ], dayNames: [ "Sunnudagur", "Mánudagur", @@ -30,8 +33,8 @@ datepicker.regional.is = { "Föstudagur", "Laugardagur" ], - dayNamesShort: [ "Sun","Mán","Þri","Mið","Fim","Fös","Lau" ], - dayNamesMin: [ "Su","Má","Þr","Mi","Fi","Fö","La" ], + dayNamesShort: [ "Sun", "Mán", "Þri", "Mið", "Fim", "Fös", "Lau" ], + dayNamesMin: [ "Su", "Má", "Þr", "Mi", "Fi", "Fö", "La" ], weekHeader: "Vika", dateFormat: "dd.mm.yy", firstDay: 0, @@ -42,4 +45,4 @@ datepicker.setDefaults( datepicker.regional.is ); return datepicker.regional.is; -} ) ); +} ); diff --git a/ui/i18n/datepicker-it-CH.js b/ui/i18n/datepicker-it-CH.js index 9895da4cc..8c6d10580 100644 --- a/ui/i18n/datepicker-it-CH.js +++ b/ui/i18n/datepicker-it-CH.js @@ -1,6 +1,8 @@ /* Italian initialisation for the jQuery UI date picker plugin. */ /* Written by Antonello Pasella (antonello.pasella@gmail.com). */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -10,20 +12,21 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional[ "it-CH" ] = { closeText: "Chiudi", prevText: "<Prec", nextText: "Succ>", currentText: "Oggi", - monthNames: [ "Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno", - "Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre" ], - monthNamesShort: [ "Gen","Feb","Mar","Apr","Mag","Giu", - "Lug","Ago","Set","Ott","Nov","Dic" ], - dayNames: [ "Domenica","Lunedì","Martedì","Mercoledì","Giovedì","Venerdì","Sabato" ], - dayNamesShort: [ "Dom","Lun","Mar","Mer","Gio","Ven","Sab" ], - dayNamesMin: [ "Do","Lu","Ma","Me","Gi","Ve","Sa" ], + monthNames: [ "Gennaio", "Febbraio", "Marzo", "Aprile", "Maggio", "Giugno", + "Luglio", "Agosto", "Settembre", "Ottobre", "Novembre", "Dicembre" ], + monthNamesShort: [ "Gen", "Feb", "Mar", "Apr", "Mag", "Giu", + "Lug", "Ago", "Set", "Ott", "Nov", "Dic" ], + dayNames: [ "Domenica", "Lunedì", "Martedì", "Mercoledì", "Giovedì", "Venerdì", "Sabato" ], + dayNamesShort: [ "Dom", "Lun", "Mar", "Mer", "Gio", "Ven", "Sab" ], + dayNamesMin: [ "Do", "Lu", "Ma", "Me", "Gi", "Ve", "Sa" ], weekHeader: "Sm", dateFormat: "dd.mm.yy", firstDay: 1, @@ -34,4 +37,4 @@ datepicker.setDefaults( datepicker.regional[ "it-CH" ] ); return datepicker.regional[ "it-CH" ]; -} ) ); +} ); diff --git a/ui/i18n/datepicker-it.js b/ui/i18n/datepicker-it.js index d67cb6c24..0210e41c4 100644 --- a/ui/i18n/datepicker-it.js +++ b/ui/i18n/datepicker-it.js @@ -1,6 +1,8 @@ /* Italian initialisation for the jQuery UI date picker plugin. */ /* Written by Antonello Pasella (antonello.pasella@gmail.com). */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -10,20 +12,21 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional.it = { closeText: "Chiudi", prevText: "<Prec", nextText: "Succ>", currentText: "Oggi", - monthNames: [ "Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno", - "Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre" ], - monthNamesShort: [ "Gen","Feb","Mar","Apr","Mag","Giu", - "Lug","Ago","Set","Ott","Nov","Dic" ], - dayNames: [ "Domenica","Lunedì","Martedì","Mercoledì","Giovedì","Venerdì","Sabato" ], - dayNamesShort: [ "Dom","Lun","Mar","Mer","Gio","Ven","Sab" ], - dayNamesMin: [ "Do","Lu","Ma","Me","Gi","Ve","Sa" ], + monthNames: [ "Gennaio", "Febbraio", "Marzo", "Aprile", "Maggio", "Giugno", + "Luglio", "Agosto", "Settembre", "Ottobre", "Novembre", "Dicembre" ], + monthNamesShort: [ "Gen", "Feb", "Mar", "Apr", "Mag", "Giu", + "Lug", "Ago", "Set", "Ott", "Nov", "Dic" ], + dayNames: [ "Domenica", "Lunedì", "Martedì", "Mercoledì", "Giovedì", "Venerdì", "Sabato" ], + dayNamesShort: [ "Dom", "Lun", "Mar", "Mer", "Gio", "Ven", "Sab" ], + dayNamesMin: [ "Do", "Lu", "Ma", "Me", "Gi", "Ve", "Sa" ], weekHeader: "Sm", dateFormat: "dd/mm/yy", firstDay: 1, @@ -34,4 +37,4 @@ datepicker.setDefaults( datepicker.regional.it ); return datepicker.regional.it; -} ) ); +} ); diff --git a/ui/i18n/datepicker-ja.js b/ui/i18n/datepicker-ja.js index 52b10583c..404bbfd64 100644 --- a/ui/i18n/datepicker-ja.js +++ b/ui/i18n/datepicker-ja.js @@ -1,6 +1,8 @@ /* Japanese initialisation for the jQuery UI date picker plugin. */ /* Written by Kentaro SATO (kentaro@ranvis.com). */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -10,20 +12,21 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional.ja = { closeText: "閉じる", prevText: "<前", nextText: "次>", currentText: "今日", - monthNames: [ "1月","2月","3月","4月","5月","6月", - "7月","8月","9月","10月","11月","12月" ], - monthNamesShort: [ "1月","2月","3月","4月","5月","6月", - "7月","8月","9月","10月","11月","12月" ], - dayNames: [ "日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日" ], - dayNamesShort: [ "日","月","火","水","木","金","土" ], - dayNamesMin: [ "日","月","火","水","木","金","土" ], + monthNames: [ "1月", "2月", "3月", "4月", "5月", "6月", + "7月", "8月", "9月", "10月", "11月", "12月" ], + monthNamesShort: [ "1月", "2月", "3月", "4月", "5月", "6月", + "7月", "8月", "9月", "10月", "11月", "12月" ], + dayNames: [ "日曜日", "月曜日", "火曜日", "水曜日", "木曜日", "金曜日", "土曜日" ], + dayNamesShort: [ "日", "月", "火", "水", "木", "金", "土" ], + dayNamesMin: [ "日", "月", "火", "水", "木", "金", "土" ], weekHeader: "週", dateFormat: "yy/mm/dd", firstDay: 0, @@ -34,4 +37,4 @@ datepicker.setDefaults( datepicker.regional.ja ); return datepicker.regional.ja; -} ) ); +} ); diff --git a/ui/i18n/datepicker-ka.js b/ui/i18n/datepicker-ka.js index 1f596cb31..fd740dade 100644 --- a/ui/i18n/datepicker-ka.js +++ b/ui/i18n/datepicker-ka.js @@ -1,6 +1,8 @@ /* Georgian (UTF-8) initialisation for the jQuery UI date picker plugin. */ /* Written by Lado Lomidze (lado.lomidze@gmail.com). */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -10,7 +12,8 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional.ka = { closeText: "დახურვა", @@ -31,10 +34,10 @@ datepicker.regional.ka = { "ნოემბერი", "დეკემბერი" ], - monthNamesShort: [ "იან","თებ","მარ","აპრ","მაი","ივნ", "ივლ","აგვ","სექ","ოქტ","ნოე","დეკ" ], - dayNames: [ "კვირა","ორშაბათი","სამშაბათი","ოთხშაბათი","ხუთშაბათი","პარასკევი","შაბათი" ], - dayNamesShort: [ "კვ","ორშ","სამ","ოთხ","ხუთ","პარ","შაბ" ], - dayNamesMin: [ "კვ","ორშ","სამ","ოთხ","ხუთ","პარ","შაბ" ], + monthNamesShort: [ "იან", "თებ", "მარ", "აპრ", "მაი", "ივნ", "ივლ", "აგვ", "სექ", "ოქტ", "ნოე", "დეკ" ], + dayNames: [ "კვირა", "ორშაბათი", "სამშაბათი", "ოთხშაბათი", "ხუთშაბათი", "პარასკევი", "შაბათი" ], + dayNamesShort: [ "კვ", "ორშ", "სამ", "ოთხ", "ხუთ", "პარ", "შაბ" ], + dayNamesMin: [ "კვ", "ორშ", "სამ", "ოთხ", "ხუთ", "პარ", "შაბ" ], weekHeader: "კვირა", dateFormat: "dd-mm-yy", firstDay: 1, @@ -45,4 +48,4 @@ datepicker.setDefaults( datepicker.regional.ka ); return datepicker.regional.ka; -} ) ); +} ); diff --git a/ui/i18n/datepicker-kk.js b/ui/i18n/datepicker-kk.js index fa0121f8c..c40391d11 100644 --- a/ui/i18n/datepicker-kk.js +++ b/ui/i18n/datepicker-kk.js @@ -1,6 +1,8 @@ /* Kazakh (UTF-8) initialisation for the jQuery UI date picker plugin. */ /* Written by Dmitriy Karasyov (dmitriy.karasyov@gmail.com). */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -10,20 +12,21 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional.kk = { closeText: "Жабу", prevText: "<Алдыңғы", nextText: "Келесі>", currentText: "Бүгін", - monthNames: [ "Қаңтар","Ақпан","Наурыз","Сәуір","Мамыр","Маусым", - "Шілде","Тамыз","Қыркүйек","Қазан","Қараша","Желтоқсан" ], - monthNamesShort: [ "Қаң","Ақп","Нау","Сәу","Мам","Мау", - "Шіл","Там","Қыр","Қаз","Қар","Жел" ], - dayNames: [ "Жексенбі","Дүйсенбі","Сейсенбі","Сәрсенбі","Бейсенбі","Жұма","Сенбі" ], - dayNamesShort: [ "жкс","дсн","ссн","срс","бсн","жма","снб" ], - dayNamesMin: [ "Жк","Дс","Сс","Ср","Бс","Жм","Сн" ], + monthNames: [ "Қаңтар", "Ақпан", "Наурыз", "Сәуір", "Мамыр", "Маусым", + "Шілде", "Тамыз", "Қыркүйек", "Қазан", "Қараша", "Желтоқсан" ], + monthNamesShort: [ "Қаң", "Ақп", "Нау", "Сәу", "Мам", "Мау", + "Шіл", "Там", "Қыр", "Қаз", "Қар", "Жел" ], + dayNames: [ "Жексенбі", "Дүйсенбі", "Сейсенбі", "Сәрсенбі", "Бейсенбі", "Жұма", "Сенбі" ], + dayNamesShort: [ "жкс", "дсн", "ссн", "срс", "бсн", "жма", "снб" ], + dayNamesMin: [ "Жк", "Дс", "Сс", "Ср", "Бс", "Жм", "Сн" ], weekHeader: "Не", dateFormat: "dd.mm.yy", firstDay: 1, @@ -34,4 +37,4 @@ datepicker.setDefaults( datepicker.regional.kk ); return datepicker.regional.kk; -} ) ); +} ); diff --git a/ui/i18n/datepicker-km.js b/ui/i18n/datepicker-km.js index d8a4596bc..ab3d89a1e 100644 --- a/ui/i18n/datepicker-km.js +++ b/ui/i18n/datepicker-km.js @@ -1,6 +1,8 @@ /* Khmer initialisation for the jQuery calendar extension. */ /* Written by Chandara Om (chandara.teacher@gmail.com). */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -10,17 +12,18 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional.km = { closeText: "ធ្វើរួច", prevText: "មុន", nextText: "បន្ទាប់", currentText: "ថ្ងៃនេះ", - monthNames: [ "មករា","កុម្ភៈ","មីនា","មេសា","ឧសភា","មិថុនា", - "កក្កដា","សីហា","កញ្ញា","តុលា","វិច្ឆិកា","ធ្នូ" ], - monthNamesShort: [ "មករា","កុម្ភៈ","មីនា","មេសា","ឧសភា","មិថុនា", - "កក្កដា","សីហា","កញ្ញា","តុលា","វិច្ឆិកា","ធ្នូ" ], + monthNames: [ "មករា", "កុម្ភៈ", "មីនា", "មេសា", "ឧសភា", "មិថុនា", + "កក្កដា", "សីហា", "កញ្ញា", "តុលា", "វិច្ឆិកា", "ធ្នូ" ], + monthNamesShort: [ "មករា", "កុម្ភៈ", "មីនា", "មេសា", "ឧសភា", "មិថុនា", + "កក្កដា", "សីហា", "កញ្ញា", "តុលា", "វិច្ឆិកា", "ធ្នូ" ], dayNames: [ "អាទិត្យ", "ចន្ទ", "អង្គារ", "ពុធ", "ព្រហស្បតិ៍", "សុក្រ", "សៅរ៍" ], dayNamesShort: [ "អា", "ច", "អ", "ពុ", "ព្រហ", "សុ", "សៅ" ], dayNamesMin: [ "អា", "ច", "អ", "ពុ", "ព្រហ", "សុ", "សៅ" ], @@ -34,4 +37,4 @@ datepicker.setDefaults( datepicker.regional.km ); return datepicker.regional.km; -} ) ); +} ); diff --git a/ui/i18n/datepicker-ko.js b/ui/i18n/datepicker-ko.js index 8879a9950..deb1475e2 100644 --- a/ui/i18n/datepicker-ko.js +++ b/ui/i18n/datepicker-ko.js @@ -1,6 +1,8 @@ /* Korean initialisation for the jQuery calendar extension. */ /* Written by DaeKwon Kang (ncrash.dk@gmail.com), Edited by Genie and Myeongjin Lee. */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -10,20 +12,21 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional.ko = { closeText: "닫기", prevText: "이전달", nextText: "다음달", currentText: "오늘", - monthNames: [ "1월","2월","3월","4월","5월","6월", - "7월","8월","9월","10월","11월","12월" ], - monthNamesShort: [ "1월","2월","3월","4월","5월","6월", - "7월","8월","9월","10월","11월","12월" ], - dayNames: [ "일요일","월요일","화요일","수요일","목요일","금요일","토요일" ], - dayNamesShort: [ "일","월","화","수","목","금","토" ], - dayNamesMin: [ "일","월","화","수","목","금","토" ], + monthNames: [ "1월", "2월", "3월", "4월", "5월", "6월", + "7월", "8월", "9월", "10월", "11월", "12월" ], + monthNamesShort: [ "1월", "2월", "3월", "4월", "5월", "6월", + "7월", "8월", "9월", "10월", "11월", "12월" ], + dayNames: [ "일요일", "월요일", "화요일", "수요일", "목요일", "금요일", "토요일" ], + dayNamesShort: [ "일", "월", "화", "수", "목", "금", "토" ], + dayNamesMin: [ "일", "월", "화", "수", "목", "금", "토" ], weekHeader: "주", dateFormat: "yy. m. d.", firstDay: 0, @@ -34,4 +37,4 @@ datepicker.setDefaults( datepicker.regional.ko ); return datepicker.regional.ko; -} ) ); +} ); diff --git a/ui/i18n/datepicker-ky.js b/ui/i18n/datepicker-ky.js index f748bc606..e74c92740 100644 --- a/ui/i18n/datepicker-ky.js +++ b/ui/i18n/datepicker-ky.js @@ -1,6 +1,8 @@ /* Kyrgyz (UTF-8) initialisation for the jQuery UI date picker plugin. */ /* Written by Sergey Kartashov (ebishkek@yandex.ru). */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -10,20 +12,21 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional.ky = { closeText: "Жабуу", prevText: "<Мур", nextText: "Кий>", currentText: "Бүгүн", - monthNames: [ "Январь","Февраль","Март","Апрель","Май","Июнь", - "Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь" ], - monthNamesShort: [ "Янв","Фев","Мар","Апр","Май","Июн", - "Июл","Авг","Сен","Окт","Ноя","Дек" ], + monthNames: [ "Январь", "Февраль", "Март", "Апрель", "Май", "Июнь", + "Июль", "Август", "Сентябрь", "Октябрь", "Ноябрь", "Декабрь" ], + monthNamesShort: [ "Янв", "Фев", "Мар", "Апр", "Май", "Июн", + "Июл", "Авг", "Сен", "Окт", "Ноя", "Дек" ], dayNames: [ "жекшемби", "дүйшөмбү", "шейшемби", "шаршемби", "бейшемби", "жума", "ишемби" ], dayNamesShort: [ "жек", "дүй", "шей", "шар", "бей", "жум", "ише" ], - dayNamesMin: [ "Жк","Дш","Шш","Шр","Бш","Жм","Иш" ], + dayNamesMin: [ "Жк", "Дш", "Шш", "Шр", "Бш", "Жм", "Иш" ], weekHeader: "Жум", dateFormat: "dd.mm.yy", firstDay: 1, @@ -35,4 +38,4 @@ datepicker.setDefaults( datepicker.regional.ky ); return datepicker.regional.ky; -} ) ); +} ); diff --git a/ui/i18n/datepicker-lb.js b/ui/i18n/datepicker-lb.js index 02a9c5108..936eb441c 100644 --- a/ui/i18n/datepicker-lb.js +++ b/ui/i18n/datepicker-lb.js @@ -1,6 +1,8 @@ /* Luxembourgish initialisation for the jQuery UI date picker plugin. */ /* Written by Michel Weimerskirch <michel@weimerskirch.net> */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -10,15 +12,16 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional.lb = { closeText: "Fäerdeg", prevText: "Zréck", nextText: "Weider", currentText: "Haut", - monthNames: [ "Januar","Februar","Mäerz","Abrëll","Mee","Juni", - "Juli","August","September","Oktober","November","Dezember" ], + monthNames: [ "Januar", "Februar", "Mäerz", "Abrëll", "Mee", "Juni", + "Juli", "August", "September", "Oktober", "November", "Dezember" ], monthNamesShort: [ "Jan", "Feb", "Mäe", "Abr", "Mee", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez" ], dayNames: [ @@ -31,7 +34,7 @@ datepicker.regional.lb = { "Samschdeg" ], dayNamesShort: [ "Son", "Méi", "Dën", "Mët", "Don", "Fre", "Sam" ], - dayNamesMin: [ "So","Mé","Dë","Më","Do","Fr","Sa" ], + dayNamesMin: [ "So", "Mé", "Dë", "Më", "Do", "Fr", "Sa" ], weekHeader: "W", dateFormat: "dd.mm.yy", firstDay: 1, @@ -42,4 +45,4 @@ datepicker.setDefaults( datepicker.regional.lb ); return datepicker.regional.lb; -} ) ); +} ); diff --git a/ui/i18n/datepicker-lt.js b/ui/i18n/datepicker-lt.js index a57fd9df0..279af0cf7 100644 --- a/ui/i18n/datepicker-lt.js +++ b/ui/i18n/datepicker-lt.js @@ -1,6 +1,8 @@ /* Lithuanian (UTF-8) initialisation for the jQuery UI date picker plugin. */ /* @author Arturas Paleicikas <arturas@avalon.lt> */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -10,17 +12,18 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional.lt = { closeText: "Uždaryti", prevText: "<Atgal", nextText: "Pirmyn>", currentText: "Šiandien", - monthNames: [ "Sausis","Vasaris","Kovas","Balandis","Gegužė","Birželis", - "Liepa","Rugpjūtis","Rugsėjis","Spalis","Lapkritis","Gruodis" ], - monthNamesShort: [ "Sau","Vas","Kov","Bal","Geg","Bir", - "Lie","Rugp","Rugs","Spa","Lap","Gru" ], + monthNames: [ "Sausis", "Vasaris", "Kovas", "Balandis", "Gegužė", "Birželis", + "Liepa", "Rugpjūtis", "Rugsėjis", "Spalis", "Lapkritis", "Gruodis" ], + monthNamesShort: [ "Sau", "Vas", "Kov", "Bal", "Geg", "Bir", + "Lie", "Rugp", "Rugs", "Spa", "Lap", "Gru" ], dayNames: [ "sekmadienis", "pirmadienis", @@ -30,8 +33,8 @@ datepicker.regional.lt = { "penktadienis", "šeštadienis" ], - dayNamesShort: [ "sek","pir","ant","tre","ket","pen","šeš" ], - dayNamesMin: [ "Se","Pr","An","Tr","Ke","Pe","Še" ], + dayNamesShort: [ "sek", "pir", "ant", "tre", "ket", "pen", "šeš" ], + dayNamesMin: [ "Se", "Pr", "An", "Tr", "Ke", "Pe", "Še" ], weekHeader: "SAV", dateFormat: "yy-mm-dd", firstDay: 1, @@ -42,4 +45,4 @@ datepicker.setDefaults( datepicker.regional.lt ); return datepicker.regional.lt; -} ) ); +} ); diff --git a/ui/i18n/datepicker-lv.js b/ui/i18n/datepicker-lv.js index 04556fbcf..25d4a3741 100644 --- a/ui/i18n/datepicker-lv.js +++ b/ui/i18n/datepicker-lv.js @@ -1,6 +1,8 @@ /* Latvian (UTF-8) initialisation for the jQuery UI date picker plugin. */ /* @author Arturas Paleicikas <arturas.paleicikas@metasite.net> */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -10,17 +12,18 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional.lv = { closeText: "Aizvērt", prevText: "Iepr.", nextText: "Nāk.", currentText: "Šodien", - monthNames: [ "Janvāris","Februāris","Marts","Aprīlis","Maijs","Jūnijs", - "Jūlijs","Augusts","Septembris","Oktobris","Novembris","Decembris" ], - monthNamesShort: [ "Jan","Feb","Mar","Apr","Mai","Jūn", - "Jūl","Aug","Sep","Okt","Nov","Dec" ], + monthNames: [ "Janvāris", "Februāris", "Marts", "Aprīlis", "Maijs", "Jūnijs", + "Jūlijs", "Augusts", "Septembris", "Oktobris", "Novembris", "Decembris" ], + monthNamesShort: [ "Jan", "Feb", "Mar", "Apr", "Mai", "Jūn", + "Jūl", "Aug", "Sep", "Okt", "Nov", "Dec" ], dayNames: [ "svētdiena", "pirmdiena", @@ -30,8 +33,8 @@ datepicker.regional.lv = { "piektdiena", "sestdiena" ], - dayNamesShort: [ "svt","prm","otr","tre","ctr","pkt","sst" ], - dayNamesMin: [ "Sv","Pr","Ot","Tr","Ct","Pk","Ss" ], + dayNamesShort: [ "svt", "prm", "otr", "tre", "ctr", "pkt", "sst" ], + dayNamesMin: [ "Sv", "Pr", "Ot", "Tr", "Ct", "Pk", "Ss" ], weekHeader: "Ned.", dateFormat: "dd.mm.yy", firstDay: 1, @@ -42,4 +45,4 @@ datepicker.setDefaults( datepicker.regional.lv ); return datepicker.regional.lv; -} ) ); +} ); diff --git a/ui/i18n/datepicker-mk.js b/ui/i18n/datepicker-mk.js index 97864ab15..f7999baec 100644 --- a/ui/i18n/datepicker-mk.js +++ b/ui/i18n/datepicker-mk.js @@ -1,6 +1,8 @@ /* Macedonian i18n for the jQuery UI date picker plugin. */ /* Written by Stojce Slavkovski. */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -10,20 +12,21 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional.mk = { closeText: "Затвори", prevText: "<", nextText: ">", currentText: "Денес", - monthNames: [ "Јануари","Февруари","Март","Април","Мај","Јуни", - "Јули","Август","Септември","Октомври","Ноември","Декември" ], - monthNamesShort: [ "Јан","Фев","Мар","Апр","Мај","Јун", - "Јул","Авг","Сеп","Окт","Ное","Дек" ], - dayNames: [ "Недела","Понеделник","Вторник","Среда","Четврток","Петок","Сабота" ], - dayNamesShort: [ "Нед","Пон","Вто","Сре","Чет","Пет","Саб" ], - dayNamesMin: [ "Не","По","Вт","Ср","Че","Пе","Са" ], + monthNames: [ "Јануари", "Февруари", "Март", "Април", "Мај", "Јуни", + "Јули", "Август", "Септември", "Октомври", "Ноември", "Декември" ], + monthNamesShort: [ "Јан", "Фев", "Мар", "Апр", "Мај", "Јун", + "Јул", "Авг", "Сеп", "Окт", "Ное", "Дек" ], + dayNames: [ "Недела", "Понеделник", "Вторник", "Среда", "Четврток", "Петок", "Сабота" ], + dayNamesShort: [ "Нед", "Пон", "Вто", "Сре", "Чет", "Пет", "Саб" ], + dayNamesMin: [ "Не", "По", "Вт", "Ср", "Че", "Пе", "Са" ], weekHeader: "Сед", dateFormat: "dd.mm.yy", firstDay: 1, @@ -34,4 +37,4 @@ datepicker.setDefaults( datepicker.regional.mk ); return datepicker.regional.mk; -} ) ); +} ); diff --git a/ui/i18n/datepicker-ml.js b/ui/i18n/datepicker-ml.js index 440e09e03..b6223c8e8 100644 --- a/ui/i18n/datepicker-ml.js +++ b/ui/i18n/datepicker-ml.js @@ -1,6 +1,8 @@ /* Malayalam (UTF-8) initialisation for the jQuery UI date picker plugin. */ /* Written by Saji Nediyanchath (saji89@gmail.com). */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -10,20 +12,21 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional.ml = { closeText: "ശരി", prevText: "മുന്നത്തെ", nextText: "അടുത്തത് ", currentText: "ഇന്ന്", - monthNames: [ "ജനുവരി","ഫെബ്രുവരി","മാര്ച്ച്","ഏപ്രില്","മേയ്","ജൂണ്", - "ജൂലൈ","ആഗസ്റ്റ്","സെപ്റ്റംബര്","ഒക്ടോബര്","നവംബര്","ഡിസംബര്" ], + monthNames: [ "ജനുവരി", "ഫെബ്രുവരി", "മാര്ച്ച്", "ഏപ്രില്", "മേയ്", "ജൂണ്", + "ജൂലൈ", "ആഗസ്റ്റ്", "സെപ്റ്റംബര്", "ഒക്ടോബര്", "നവംബര്", "ഡിസംബര്" ], monthNamesShort: [ "ജനു", "ഫെബ്", "മാര്", "ഏപ്രി", "മേയ്", "ജൂണ്", "ജൂലാ", "ആഗ", "സെപ്", "ഒക്ടോ", "നവം", "ഡിസ" ], dayNames: [ "ഞായര്", "തിങ്കള്", "ചൊവ്വ", "ബുധന്", "വ്യാഴം", "വെള്ളി", "ശനി" ], dayNamesShort: [ "ഞായ", "തിങ്ക", "ചൊവ്വ", "ബുധ", "വ്യാഴം", "വെള്ളി", "ശനി" ], - dayNamesMin: [ "ഞാ","തി","ചൊ","ബു","വ്യാ","വെ","ശ" ], + dayNamesMin: [ "ഞാ", "തി", "ചൊ", "ബു", "വ്യാ", "വെ", "ശ" ], weekHeader: "ആ", dateFormat: "dd/mm/yy", firstDay: 1, @@ -34,4 +37,4 @@ datepicker.setDefaults( datepicker.regional.ml ); return datepicker.regional.ml; -} ) ); +} ); diff --git a/ui/i18n/datepicker-ms.js b/ui/i18n/datepicker-ms.js index 58bc4f579..344b7683e 100644 --- a/ui/i18n/datepicker-ms.js +++ b/ui/i18n/datepicker-ms.js @@ -1,6 +1,8 @@ /* Malaysian initialisation for the jQuery UI date picker plugin. */ /* Written by Mohd Nawawi Mohamad Jamili (nawawi@ronggeng.net). */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -10,20 +12,21 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional.ms = { closeText: "Tutup", prevText: "<Sebelum", nextText: "Selepas>", currentText: "hari ini", - monthNames: [ "Januari","Februari","Mac","April","Mei","Jun", - "Julai","Ogos","September","Oktober","November","Disember" ], - monthNamesShort: [ "Jan","Feb","Mac","Apr","Mei","Jun", - "Jul","Ogo","Sep","Okt","Nov","Dis" ], - dayNames: [ "Ahad","Isnin","Selasa","Rabu","Khamis","Jumaat","Sabtu" ], - dayNamesShort: [ "Aha","Isn","Sel","Rab","kha","Jum","Sab" ], - dayNamesMin: [ "Ah","Is","Se","Ra","Kh","Ju","Sa" ], + monthNames: [ "Januari", "Februari", "Mac", "April", "Mei", "Jun", + "Julai", "Ogos", "September", "Oktober", "November", "Disember" ], + monthNamesShort: [ "Jan", "Feb", "Mac", "Apr", "Mei", "Jun", + "Jul", "Ogo", "Sep", "Okt", "Nov", "Dis" ], + dayNames: [ "Ahad", "Isnin", "Selasa", "Rabu", "Khamis", "Jumaat", "Sabtu" ], + dayNamesShort: [ "Aha", "Isn", "Sel", "Rab", "kha", "Jum", "Sab" ], + dayNamesMin: [ "Ah", "Is", "Se", "Ra", "Kh", "Ju", "Sa" ], weekHeader: "Mg", dateFormat: "dd/mm/yy", firstDay: 0, @@ -34,4 +37,4 @@ datepicker.setDefaults( datepicker.regional.ms ); return datepicker.regional.ms; -} ) ); +} ); diff --git a/ui/i18n/datepicker-nb.js b/ui/i18n/datepicker-nb.js index eb1112bc5..b4fd237b9 100644 --- a/ui/i18n/datepicker-nb.js +++ b/ui/i18n/datepicker-nb.js @@ -1,6 +1,8 @@ /* Norwegian Bokmål initialisation for the jQuery UI date picker plugin. */ /* Written by Bjørn Johansen (post@bjornjohansen.no). */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -10,7 +12,8 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional.nb = { closeText: "Lukk", @@ -31,10 +34,10 @@ datepicker.regional.nb = { "november", "desember" ], - monthNamesShort: [ "jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","des" ], - dayNamesShort: [ "søn","man","tir","ons","tor","fre","lør" ], - dayNames: [ "søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag" ], - dayNamesMin: [ "sø","ma","ti","on","to","fr","lø" ], + monthNamesShort: [ "jan", "feb", "mar", "apr", "mai", "jun", "jul", "aug", "sep", "okt", "nov", "des" ], + dayNamesShort: [ "søn", "man", "tir", "ons", "tor", "fre", "lør" ], + dayNames: [ "søndag", "mandag", "tirsdag", "onsdag", "torsdag", "fredag", "lørdag" ], + dayNamesMin: [ "sø", "ma", "ti", "on", "to", "fr", "lø" ], weekHeader: "Uke", dateFormat: "dd.mm.yy", firstDay: 1, @@ -46,4 +49,4 @@ datepicker.setDefaults( datepicker.regional.nb ); return datepicker.regional.nb; -} ) ); +} ); diff --git a/ui/i18n/datepicker-nl-BE.js b/ui/i18n/datepicker-nl-BE.js index 9ea22002d..ae574739e 100644 --- a/ui/i18n/datepicker-nl-BE.js +++ b/ui/i18n/datepicker-nl-BE.js @@ -1,6 +1,8 @@ /* Dutch (Belgium) initialisation for the jQuery UI date picker plugin. */ /* David De Sloovere @DavidDeSloovere */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -10,7 +12,8 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional[ "nl-BE" ] = { closeText: "Sluiten", @@ -34,4 +37,4 @@ datepicker.setDefaults( datepicker.regional[ "nl-BE" ] ); return datepicker.regional[ "nl-BE" ]; -} ) ); +} ); diff --git a/ui/i18n/datepicker-nl.js b/ui/i18n/datepicker-nl.js index 7fcbff1ac..19df79ca7 100644 --- a/ui/i18n/datepicker-nl.js +++ b/ui/i18n/datepicker-nl.js @@ -1,6 +1,8 @@ /* Dutch (UTF-8) initialisation for the jQuery UI date picker plugin. */ /* Written by Mathias Bynens <http://mathiasbynens.be/> */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -10,7 +12,8 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional.nl = { closeText: "Sluiten", @@ -34,4 +37,4 @@ datepicker.setDefaults( datepicker.regional.nl ); return datepicker.regional.nl; -} ) ); +} ); diff --git a/ui/i18n/datepicker-nn.js b/ui/i18n/datepicker-nn.js index bacd481a0..967351c95 100644 --- a/ui/i18n/datepicker-nn.js +++ b/ui/i18n/datepicker-nn.js @@ -1,6 +1,8 @@ /* Norwegian Nynorsk initialisation for the jQuery UI date picker plugin. */ /* Written by Bjørn Johansen (post@bjornjohansen.no). */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -10,7 +12,8 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional.nn = { closeText: "Lukk", @@ -31,10 +34,10 @@ datepicker.regional.nn = { "november", "desember" ], - monthNamesShort: [ "jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","des" ], - dayNamesShort: [ "sun","mån","tys","ons","tor","fre","lau" ], - dayNames: [ "sundag","måndag","tysdag","onsdag","torsdag","fredag","laurdag" ], - dayNamesMin: [ "su","må","ty","on","to","fr","la" ], + monthNamesShort: [ "jan", "feb", "mar", "apr", "mai", "jun", "jul", "aug", "sep", "okt", "nov", "des" ], + dayNamesShort: [ "sun", "mån", "tys", "ons", "tor", "fre", "lau" ], + dayNames: [ "sundag", "måndag", "tysdag", "onsdag", "torsdag", "fredag", "laurdag" ], + dayNamesMin: [ "su", "må", "ty", "on", "to", "fr", "la" ], weekHeader: "Veke", dateFormat: "dd.mm.yy", firstDay: 1, @@ -46,4 +49,4 @@ datepicker.setDefaults( datepicker.regional.nn ); return datepicker.regional.nn; -} ) ); +} ); diff --git a/ui/i18n/datepicker-no.js b/ui/i18n/datepicker-no.js index 8a755aae9..4b1b54fa2 100644 --- a/ui/i18n/datepicker-no.js +++ b/ui/i18n/datepicker-no.js @@ -2,6 +2,8 @@ /* Written by Naimdjon Takhirov (naimdjon@gmail.com). */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -11,7 +13,8 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional.no = { closeText: "Lukk", @@ -32,10 +35,10 @@ datepicker.regional.no = { "november", "desember" ], - monthNamesShort: [ "jan","feb","mar","apr","mai","jun","jul","aug","sep","okt","nov","des" ], - dayNamesShort: [ "søn","man","tir","ons","tor","fre","lør" ], - dayNames: [ "søndag","mandag","tirsdag","onsdag","torsdag","fredag","lørdag" ], - dayNamesMin: [ "sø","ma","ti","on","to","fr","lø" ], + monthNamesShort: [ "jan", "feb", "mar", "apr", "mai", "jun", "jul", "aug", "sep", "okt", "nov", "des" ], + dayNamesShort: [ "søn", "man", "tir", "ons", "tor", "fre", "lør" ], + dayNames: [ "søndag", "mandag", "tirsdag", "onsdag", "torsdag", "fredag", "lørdag" ], + dayNamesMin: [ "sø", "ma", "ti", "on", "to", "fr", "lø" ], weekHeader: "Uke", dateFormat: "dd.mm.yy", firstDay: 1, @@ -47,4 +50,4 @@ datepicker.setDefaults( datepicker.regional.no ); return datepicker.regional.no; -} ) ); +} ); diff --git a/ui/i18n/datepicker-pl.js b/ui/i18n/datepicker-pl.js index c2fddc132..60f9fbb2d 100644 --- a/ui/i18n/datepicker-pl.js +++ b/ui/i18n/datepicker-pl.js @@ -1,6 +1,8 @@ /* Polish initialisation for the jQuery UI date picker plugin. */ /* Written by Jacek Wysocki (jacek.wysocki@gmail.com). */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -10,20 +12,21 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional.pl = { closeText: "Zamknij", prevText: "<Poprzedni", nextText: "Następny>", currentText: "Dziś", - monthNames: [ "Styczeń","Luty","Marzec","Kwiecień","Maj","Czerwiec", - "Lipiec","Sierpień","Wrzesień","Październik","Listopad","Grudzień" ], - monthNamesShort: [ "Sty","Lu","Mar","Kw","Maj","Cze", - "Lip","Sie","Wrz","Pa","Lis","Gru" ], - dayNames: [ "Niedziela","Poniedziałek","Wtorek","Środa","Czwartek","Piątek","Sobota" ], - dayNamesShort: [ "Nie","Pn","Wt","Śr","Czw","Pt","So" ], - dayNamesMin: [ "N","Pn","Wt","Śr","Cz","Pt","So" ], + monthNames: [ "Styczeń", "Luty", "Marzec", "Kwiecień", "Maj", "Czerwiec", + "Lipiec", "Sierpień", "Wrzesień", "Październik", "Listopad", "Grudzień" ], + monthNamesShort: [ "Sty", "Lu", "Mar", "Kw", "Maj", "Cze", + "Lip", "Sie", "Wrz", "Pa", "Lis", "Gru" ], + dayNames: [ "Niedziela", "Poniedziałek", "Wtorek", "Środa", "Czwartek", "Piątek", "Sobota" ], + dayNamesShort: [ "Nie", "Pn", "Wt", "Śr", "Czw", "Pt", "So" ], + dayNamesMin: [ "N", "Pn", "Wt", "Śr", "Cz", "Pt", "So" ], weekHeader: "Tydz", dateFormat: "dd.mm.yy", firstDay: 1, @@ -34,4 +37,4 @@ datepicker.setDefaults( datepicker.regional.pl ); return datepicker.regional.pl; -} ) ); +} ); diff --git a/ui/i18n/datepicker-pt-BR.js b/ui/i18n/datepicker-pt-BR.js index aeae7ca4e..1c84bf34d 100644 --- a/ui/i18n/datepicker-pt-BR.js +++ b/ui/i18n/datepicker-pt-BR.js @@ -1,6 +1,8 @@ /* Brazilian initialisation for the jQuery UI date picker plugin. */ /* Written by Leonildo Costa Silva (leocsilva@gmail.com). */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -10,17 +12,18 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional[ "pt-BR" ] = { closeText: "Fechar", prevText: "<Anterior", nextText: "Próximo>", currentText: "Hoje", - monthNames: [ "Janeiro","Fevereiro","Março","Abril","Maio","Junho", - "Julho","Agosto","Setembro","Outubro","Novembro","Dezembro" ], - monthNamesShort: [ "Jan","Fev","Mar","Abr","Mai","Jun", - "Jul","Ago","Set","Out","Nov","Dez" ], + monthNames: [ "Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", + "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro" ], + monthNamesShort: [ "Jan", "Fev", "Mar", "Abr", "Mai", "Jun", + "Jul", "Ago", "Set", "Out", "Nov", "Dez" ], dayNames: [ "Domingo", "Segunda-feira", @@ -30,8 +33,8 @@ datepicker.regional[ "pt-BR" ] = { "Sexta-feira", "Sábado" ], - dayNamesShort: [ "Dom","Seg","Ter","Qua","Qui","Sex","Sáb" ], - dayNamesMin: [ "Dom","Seg","Ter","Qua","Qui","Sex","Sáb" ], + dayNamesShort: [ "Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb" ], + dayNamesMin: [ "Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb" ], weekHeader: "Sm", dateFormat: "dd/mm/yy", firstDay: 0, @@ -42,4 +45,4 @@ datepicker.setDefaults( datepicker.regional[ "pt-BR" ] ); return datepicker.regional[ "pt-BR" ]; -} ) ); +} ); diff --git a/ui/i18n/datepicker-pt.js b/ui/i18n/datepicker-pt.js index 5ddd0c636..3112cb4fc 100644 --- a/ui/i18n/datepicker-pt.js +++ b/ui/i18n/datepicker-pt.js @@ -1,5 +1,7 @@ /* Portuguese initialisation for the jQuery UI date picker plugin. */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -9,17 +11,18 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional.pt = { closeText: "Fechar", prevText: "Anterior", nextText: "Seguinte", currentText: "Hoje", - monthNames: [ "Janeiro","Fevereiro","Março","Abril","Maio","Junho", - "Julho","Agosto","Setembro","Outubro","Novembro","Dezembro" ], - monthNamesShort: [ "Jan","Fev","Mar","Abr","Mai","Jun", - "Jul","Ago","Set","Out","Nov","Dez" ], + monthNames: [ "Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", + "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro" ], + monthNamesShort: [ "Jan", "Fev", "Mar", "Abr", "Mai", "Jun", + "Jul", "Ago", "Set", "Out", "Nov", "Dez" ], dayNames: [ "Domingo", "Segunda-feira", @@ -29,8 +32,8 @@ datepicker.regional.pt = { "Sexta-feira", "Sábado" ], - dayNamesShort: [ "Dom","Seg","Ter","Qua","Qui","Sex","Sáb" ], - dayNamesMin: [ "Dom","Seg","Ter","Qua","Qui","Sex","Sáb" ], + dayNamesShort: [ "Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb" ], + dayNamesMin: [ "Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb" ], weekHeader: "Sem", dateFormat: "dd/mm/yy", firstDay: 1, @@ -41,4 +44,4 @@ datepicker.setDefaults( datepicker.regional.pt ); return datepicker.regional.pt; -} ) ); +} ); diff --git a/ui/i18n/datepicker-rm.js b/ui/i18n/datepicker-rm.js index 89a5c77a1..439e8c8e1 100644 --- a/ui/i18n/datepicker-rm.js +++ b/ui/i18n/datepicker-rm.js @@ -1,6 +1,8 @@ /* Romansh initialisation for the jQuery UI date picker plugin. */ /* Written by Yvonne Gienal (yvonne.gienal@educa.ch). */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -10,7 +12,8 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional.rm = { closeText: "Serrar", @@ -45,9 +48,9 @@ datepicker.regional.rm = { "Nov", "Dec" ], - dayNames: [ "Dumengia","Glindesdi","Mardi","Mesemna","Gievgia","Venderdi","Sonda" ], - dayNamesShort: [ "Dum","Gli","Mar","Mes","Gie","Ven","Som" ], - dayNamesMin: [ "Du","Gl","Ma","Me","Gi","Ve","So" ], + dayNames: [ "Dumengia", "Glindesdi", "Mardi", "Mesemna", "Gievgia", "Venderdi", "Sonda" ], + dayNamesShort: [ "Dum", "Gli", "Mar", "Mes", "Gie", "Ven", "Som" ], + dayNamesMin: [ "Du", "Gl", "Ma", "Me", "Gi", "Ve", "So" ], weekHeader: "emna", dateFormat: "dd/mm/yy", firstDay: 1, @@ -58,4 +61,4 @@ datepicker.setDefaults( datepicker.regional.rm ); return datepicker.regional.rm; -} ) ); +} ); diff --git a/ui/i18n/datepicker-ro.js b/ui/i18n/datepicker-ro.js index b26665c25..f03ee15c4 100644 --- a/ui/i18n/datepicker-ro.js +++ b/ui/i18n/datepicker-ro.js @@ -4,6 +4,8 @@ * 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. @@ -13,20 +15,21 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( 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" ], + 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â" ], + dayNamesMin: [ "Du", "Lu", "Ma", "Mi", "Jo", "Vi", "Sâ" ], weekHeader: "Săpt", dateFormat: "dd.mm.yy", firstDay: 1, @@ -37,4 +40,4 @@ datepicker.setDefaults( datepicker.regional.ro ); return datepicker.regional.ro; -} ) ); +} ); diff --git a/ui/i18n/datepicker-ru.js b/ui/i18n/datepicker-ru.js index 223e77645..61d115109 100644 --- a/ui/i18n/datepicker-ru.js +++ b/ui/i18n/datepicker-ru.js @@ -1,6 +1,8 @@ /* Russian (UTF-8) initialisation for the jQuery UI date picker plugin. */ /* Written by Andrew Stromnov (stromnov@gmail.com). */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -10,20 +12,21 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional.ru = { closeText: "Закрыть", prevText: "<Пред", nextText: "След>", currentText: "Сегодня", - monthNames: [ "Январь","Февраль","Март","Апрель","Май","Июнь", - "Июль","Август","Сентябрь","Октябрь","Ноябрь","Декабрь" ], - monthNamesShort: [ "Янв","Фев","Мар","Апр","Май","Июн", - "Июл","Авг","Сен","Окт","Ноя","Дек" ], - dayNames: [ "воскресенье","понедельник","вторник","среда","четверг","пятница","суббота" ], - dayNamesShort: [ "вск","пнд","втр","срд","чтв","птн","сбт" ], - dayNamesMin: [ "Вс","Пн","Вт","Ср","Чт","Пт","Сб" ], + monthNames: [ "Январь", "Февраль", "Март", "Апрель", "Май", "Июнь", + "Июль", "Август", "Сентябрь", "Октябрь", "Ноябрь", "Декабрь" ], + monthNamesShort: [ "Янв", "Фев", "Мар", "Апр", "Май", "Июн", + "Июл", "Авг", "Сен", "Окт", "Ноя", "Дек" ], + dayNames: [ "воскресенье", "понедельник", "вторник", "среда", "четверг", "пятница", "суббота" ], + dayNamesShort: [ "вск", "пнд", "втр", "срд", "чтв", "птн", "сбт" ], + dayNamesMin: [ "Вс", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб" ], weekHeader: "Нед", dateFormat: "dd.mm.yy", firstDay: 1, @@ -34,4 +37,4 @@ datepicker.setDefaults( datepicker.regional.ru ); return datepicker.regional.ru; -} ) ); +} ); diff --git a/ui/i18n/datepicker-sk.js b/ui/i18n/datepicker-sk.js index 16d8bdfe4..c28750c24 100644 --- a/ui/i18n/datepicker-sk.js +++ b/ui/i18n/datepicker-sk.js @@ -1,6 +1,8 @@ /* Slovak initialisation for the jQuery UI date picker plugin. */ /* Written by Vojtech Rinik (vojto@hmm.sk). */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -10,20 +12,21 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional.sk = { closeText: "Zavrieť", prevText: "<Predchádzajúci", nextText: "Nasledujúci>", currentText: "Dnes", - monthNames: [ "január","február","marec","apríl","máj","jún", - "júl","august","september","október","november","december" ], - monthNamesShort: [ "Jan","Feb","Mar","Apr","Máj","Jún", - "Júl","Aug","Sep","Okt","Nov","Dec" ], - dayNames: [ "nedeľa","pondelok","utorok","streda","štvrtok","piatok","sobota" ], - dayNamesShort: [ "Ned","Pon","Uto","Str","Štv","Pia","Sob" ], - dayNamesMin: [ "Ne","Po","Ut","St","Št","Pia","So" ], + monthNames: [ "január", "február", "marec", "apríl", "máj", "jún", + "júl", "august", "september", "október", "november", "december" ], + monthNamesShort: [ "Jan", "Feb", "Mar", "Apr", "Máj", "Jún", + "Júl", "Aug", "Sep", "Okt", "Nov", "Dec" ], + dayNames: [ "nedeľa", "pondelok", "utorok", "streda", "štvrtok", "piatok", "sobota" ], + dayNamesShort: [ "Ned", "Pon", "Uto", "Str", "Štv", "Pia", "Sob" ], + dayNamesMin: [ "Ne", "Po", "Ut", "St", "Št", "Pia", "So" ], weekHeader: "Ty", dateFormat: "dd.mm.yy", firstDay: 1, @@ -34,4 +37,4 @@ datepicker.setDefaults( datepicker.regional.sk ); return datepicker.regional.sk; -} ) ); +} ); diff --git a/ui/i18n/datepicker-sl.js b/ui/i18n/datepicker-sl.js index 689162492..15aa9e4cc 100644 --- a/ui/i18n/datepicker-sl.js +++ b/ui/i18n/datepicker-sl.js @@ -2,6 +2,8 @@ /* Written by Jaka Jancar (jaka@kubje.org). */ /* c = č, s = š z = ž C = Č S = Š Z = Ž */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -11,20 +13,21 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional.sl = { closeText: "Zapri", prevText: "<Prejšnji", nextText: "Naslednji>", currentText: "Trenutni", - monthNames: [ "Januar","Februar","Marec","April","Maj","Junij", - "Julij","Avgust","September","Oktober","November","December" ], - monthNamesShort: [ "Jan","Feb","Mar","Apr","Maj","Jun", - "Jul","Avg","Sep","Okt","Nov","Dec" ], - dayNames: [ "Nedelja","Ponedeljek","Torek","Sreda","Četrtek","Petek","Sobota" ], - dayNamesShort: [ "Ned","Pon","Tor","Sre","Čet","Pet","Sob" ], - dayNamesMin: [ "Ne","Po","To","Sr","Če","Pe","So" ], + monthNames: [ "Januar", "Februar", "Marec", "April", "Maj", "Junij", + "Julij", "Avgust", "September", "Oktober", "November", "December" ], + monthNamesShort: [ "Jan", "Feb", "Mar", "Apr", "Maj", "Jun", + "Jul", "Avg", "Sep", "Okt", "Nov", "Dec" ], + dayNames: [ "Nedelja", "Ponedeljek", "Torek", "Sreda", "Četrtek", "Petek", "Sobota" ], + dayNamesShort: [ "Ned", "Pon", "Tor", "Sre", "Čet", "Pet", "Sob" ], + dayNamesMin: [ "Ne", "Po", "To", "Sr", "Če", "Pe", "So" ], weekHeader: "Teden", dateFormat: "dd.mm.yy", firstDay: 1, @@ -35,4 +38,4 @@ datepicker.setDefaults( datepicker.regional.sl ); return datepicker.regional.sl; -} ) ); +} ); diff --git a/ui/i18n/datepicker-sq.js b/ui/i18n/datepicker-sq.js index 34fe66a59..470a0301b 100644 --- a/ui/i18n/datepicker-sq.js +++ b/ui/i18n/datepicker-sq.js @@ -1,6 +1,8 @@ /* Albanian initialisation for the jQuery UI date picker plugin. */ /* Written by Flakron Bytyqi (flakron@gmail.com). */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -10,20 +12,21 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional.sq = { closeText: "mbylle", prevText: "<mbrapa", nextText: "Përpara>", currentText: "sot", - monthNames: [ "Janar","Shkurt","Mars","Prill","Maj","Qershor", - "Korrik","Gusht","Shtator","Tetor","Nëntor","Dhjetor" ], - monthNamesShort: [ "Jan","Shk","Mar","Pri","Maj","Qer", - "Kor","Gus","Sht","Tet","Nën","Dhj" ], - dayNames: [ "E Diel","E Hënë","E Martë","E Mërkurë","E Enjte","E Premte","E Shtune" ], - dayNamesShort: [ "Di","Hë","Ma","Më","En","Pr","Sh" ], - dayNamesMin: [ "Di","Hë","Ma","Më","En","Pr","Sh" ], + monthNames: [ "Janar", "Shkurt", "Mars", "Prill", "Maj", "Qershor", + "Korrik", "Gusht", "Shtator", "Tetor", "Nëntor", "Dhjetor" ], + monthNamesShort: [ "Jan", "Shk", "Mar", "Pri", "Maj", "Qer", + "Kor", "Gus", "Sht", "Tet", "Nën", "Dhj" ], + dayNames: [ "E Diel", "E Hënë", "E Martë", "E Mërkurë", "E Enjte", "E Premte", "E Shtune" ], + dayNamesShort: [ "Di", "Hë", "Ma", "Më", "En", "Pr", "Sh" ], + dayNamesMin: [ "Di", "Hë", "Ma", "Më", "En", "Pr", "Sh" ], weekHeader: "Ja", dateFormat: "dd.mm.yy", firstDay: 1, @@ -34,4 +37,4 @@ datepicker.setDefaults( datepicker.regional.sq ); return datepicker.regional.sq; -} ) ); +} ); diff --git a/ui/i18n/datepicker-sr-SR.js b/ui/i18n/datepicker-sr-SR.js index e9db26a42..2b75c408e 100644 --- a/ui/i18n/datepicker-sr-SR.js +++ b/ui/i18n/datepicker-sr-SR.js @@ -1,6 +1,8 @@ /* Serbian i18n for the jQuery UI date picker plugin. */ /* Written by Dejan Dimić. */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -10,20 +12,21 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional[ "sr-SR" ] = { closeText: "Zatvori", prevText: "<", nextText: ">", currentText: "Danas", - monthNames: [ "Januar","Februar","Mart","April","Maj","Jun", - "Jul","Avgust","Septembar","Oktobar","Novembar","Decembar" ], - monthNamesShort: [ "Jan","Feb","Mar","Apr","Maj","Jun", - "Jul","Avg","Sep","Okt","Nov","Dec" ], - dayNames: [ "Nedelja","Ponedeljak","Utorak","Sreda","Četvrtak","Petak","Subota" ], - dayNamesShort: [ "Ned","Pon","Uto","Sre","Čet","Pet","Sub" ], - dayNamesMin: [ "Ne","Po","Ut","Sr","Če","Pe","Su" ], + monthNames: [ "Januar", "Februar", "Mart", "April", "Maj", "Jun", + "Jul", "Avgust", "Septembar", "Oktobar", "Novembar", "Decembar" ], + monthNamesShort: [ "Jan", "Feb", "Mar", "Apr", "Maj", "Jun", + "Jul", "Avg", "Sep", "Okt", "Nov", "Dec" ], + dayNames: [ "Nedelja", "Ponedeljak", "Utorak", "Sreda", "Četvrtak", "Petak", "Subota" ], + dayNamesShort: [ "Ned", "Pon", "Uto", "Sre", "Čet", "Pet", "Sub" ], + dayNamesMin: [ "Ne", "Po", "Ut", "Sr", "Če", "Pe", "Su" ], weekHeader: "Sed", dateFormat: "dd.mm.yy", firstDay: 1, @@ -34,4 +37,4 @@ datepicker.setDefaults( datepicker.regional[ "sr-SR" ] ); return datepicker.regional[ "sr-SR" ]; -} ) ); +} ); diff --git a/ui/i18n/datepicker-sr.js b/ui/i18n/datepicker-sr.js index fa8827aa1..c64069ab3 100644 --- a/ui/i18n/datepicker-sr.js +++ b/ui/i18n/datepicker-sr.js @@ -1,6 +1,8 @@ /* Serbian i18n for the jQuery UI date picker plugin. */ /* Written by Dejan Dimić. */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -10,20 +12,21 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional.sr = { closeText: "Затвори", prevText: "<", nextText: ">", currentText: "Данас", - monthNames: [ "Јануар","Фебруар","Март","Април","Мај","Јун", - "Јул","Август","Септембар","Октобар","Новембар","Децембар" ], - monthNamesShort: [ "Јан","Феб","Мар","Апр","Мај","Јун", - "Јул","Авг","Сеп","Окт","Нов","Дец" ], - dayNames: [ "Недеља","Понедељак","Уторак","Среда","Четвртак","Петак","Субота" ], - dayNamesShort: [ "Нед","Пон","Уто","Сре","Чет","Пет","Суб" ], - dayNamesMin: [ "Не","По","Ут","Ср","Че","Пе","Су" ], + monthNames: [ "Јануар", "Фебруар", "Март", "Април", "Мај", "Јун", + "Јул", "Август", "Септембар", "Октобар", "Новембар", "Децембар" ], + monthNamesShort: [ "Јан", "Феб", "Мар", "Апр", "Мај", "Јун", + "Јул", "Авг", "Сеп", "Окт", "Нов", "Дец" ], + dayNames: [ "Недеља", "Понедељак", "Уторак", "Среда", "Четвртак", "Петак", "Субота" ], + dayNamesShort: [ "Нед", "Пон", "Уто", "Сре", "Чет", "Пет", "Суб" ], + dayNamesMin: [ "Не", "По", "Ут", "Ср", "Че", "Пе", "Су" ], weekHeader: "Сед", dateFormat: "dd.mm.yy", firstDay: 1, @@ -34,4 +37,4 @@ datepicker.setDefaults( datepicker.regional.sr ); return datepicker.regional.sr; -} ) ); +} ); diff --git a/ui/i18n/datepicker-sv.js b/ui/i18n/datepicker-sv.js index 1ceb529f5..6fe51e3e7 100644 --- a/ui/i18n/datepicker-sv.js +++ b/ui/i18n/datepicker-sv.js @@ -1,6 +1,8 @@ /* Swedish initialisation for the jQuery UI date picker plugin. */ /* Written by Anders Ekdahl ( anders@nomadiz.se). */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -10,20 +12,21 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional.sv = { closeText: "Stäng", prevText: "«Förra", nextText: "Nästa»", currentText: "Idag", - monthNames: [ "januari","februari","mars","april","maj","juni", - "juli","augusti","september","oktober","november","december" ], - monthNamesShort: [ "jan.","feb.","mars","apr.","maj","juni", - "juli","aug.","sep.","okt.","nov.","dec." ], - dayNamesShort: [ "sön","mån","tis","ons","tor","fre","lör" ], - dayNames: [ "söndag","måndag","tisdag","onsdag","torsdag","fredag","lördag" ], - dayNamesMin: [ "sö","må","ti","on","to","fr","lö" ], + monthNames: [ "januari", "februari", "mars", "april", "maj", "juni", + "juli", "augusti", "september", "oktober", "november", "december" ], + monthNamesShort: [ "jan.", "feb.", "mars", "apr.", "maj", "juni", + "juli", "aug.", "sep.", "okt.", "nov.", "dec." ], + dayNamesShort: [ "sön", "mån", "tis", "ons", "tor", "fre", "lör" ], + dayNames: [ "söndag", "måndag", "tisdag", "onsdag", "torsdag", "fredag", "lördag" ], + dayNamesMin: [ "sö", "må", "ti", "on", "to", "fr", "lö" ], weekHeader: "Ve", dateFormat: "yy-mm-dd", firstDay: 1, @@ -34,4 +37,4 @@ datepicker.setDefaults( datepicker.regional.sv ); return datepicker.regional.sv; -} ) ); +} ); diff --git a/ui/i18n/datepicker-ta.js b/ui/i18n/datepicker-ta.js index 722614dd0..730c5df90 100644 --- a/ui/i18n/datepicker-ta.js +++ b/ui/i18n/datepicker-ta.js @@ -1,6 +1,8 @@ /* Tamil (UTF-8) initialisation for the jQuery UI date picker plugin. */ /* Written by S A Sureshkumar (saskumar@live.com). */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -10,17 +12,18 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional.ta = { closeText: "மூடு", prevText: "முன்னையது", nextText: "அடுத்தது", currentText: "இன்று", - monthNames: [ "தை","மாசி","பங்குனி","சித்திரை","வைகாசி","ஆனி", - "ஆடி","ஆவணி","புரட்டாசி","ஐப்பசி","கார்த்திகை","மார்கழி" ], - monthNamesShort: [ "தை","மாசி","பங்","சித்","வைகா","ஆனி", - "ஆடி","ஆவ","புர","ஐப்","கார்","மார்" ], + monthNames: [ "தை", "மாசி", "பங்குனி", "சித்திரை", "வைகாசி", "ஆனி", + "ஆடி", "ஆவணி", "புரட்டாசி", "ஐப்பசி", "கார்த்திகை", "மார்கழி" ], + monthNamesShort: [ "தை", "மாசி", "பங்", "சித்", "வைகா", "ஆனி", + "ஆடி", "ஆவ", "புர", "ஐப்", "கார்", "மார்" ], dayNames: [ "ஞாயிற்றுக்கிழமை", "திங்கட்கிழமை", @@ -39,7 +42,7 @@ datepicker.regional.ta = { "வெள்ளி", "சனி" ], - dayNamesMin: [ "ஞா","தி","செ","பு","வி","வெ","ச" ], + dayNamesMin: [ "ஞா", "தி", "செ", "பு", "வி", "வெ", "ச" ], weekHeader: "Не", dateFormat: "dd/mm/yy", firstDay: 1, @@ -50,4 +53,4 @@ datepicker.setDefaults( datepicker.regional.ta ); return datepicker.regional.ta; -} ) ); +} ); diff --git a/ui/i18n/datepicker-th.js b/ui/i18n/datepicker-th.js index 6de48cf96..10c283321 100644 --- a/ui/i18n/datepicker-th.js +++ b/ui/i18n/datepicker-th.js @@ -1,6 +1,8 @@ /* Thai initialisation for the jQuery UI date picker plugin. */ /* Written by pipo (pipo@sixhead.com). */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -10,20 +12,21 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional.th = { closeText: "ปิด", prevText: "« ย้อน", nextText: "ถัดไป »", currentText: "วันนี้", - monthNames: [ "มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน", - "กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม" ], - monthNamesShort: [ "ม.ค.","ก.พ.","มี.ค.","เม.ย.","พ.ค.","มิ.ย.", - "ก.ค.","ส.ค.","ก.ย.","ต.ค.","พ.ย.","ธ.ค." ], - dayNames: [ "อาทิตย์","จันทร์","อังคาร","พุธ","พฤหัสบดี","ศุกร์","เสาร์" ], - dayNamesShort: [ "อา.","จ.","อ.","พ.","พฤ.","ศ.","ส." ], - dayNamesMin: [ "อา.","จ.","อ.","พ.","พฤ.","ศ.","ส." ], + monthNames: [ "มกราคม", "กุมภาพันธ์", "มีนาคม", "เมษายน", "พฤษภาคม", "มิถุนายน", + "กรกฎาคม", "สิงหาคม", "กันยายน", "ตุลาคม", "พฤศจิกายน", "ธันวาคม" ], + monthNamesShort: [ "ม.ค.", "ก.พ.", "มี.ค.", "เม.ย.", "พ.ค.", "มิ.ย.", + "ก.ค.", "ส.ค.", "ก.ย.", "ต.ค.", "พ.ย.", "ธ.ค." ], + dayNames: [ "อาทิตย์", "จันทร์", "อังคาร", "พุธ", "พฤหัสบดี", "ศุกร์", "เสาร์" ], + dayNamesShort: [ "อา.", "จ.", "อ.", "พ.", "พฤ.", "ศ.", "ส." ], + dayNamesMin: [ "อา.", "จ.", "อ.", "พ.", "พฤ.", "ศ.", "ส." ], weekHeader: "Wk", dateFormat: "dd/mm/yy", firstDay: 0, @@ -34,4 +37,4 @@ datepicker.setDefaults( datepicker.regional.th ); return datepicker.regional.th; -} ) ); +} ); diff --git a/ui/i18n/datepicker-tj.js b/ui/i18n/datepicker-tj.js index 8ede4ddcb..bdc71f17a 100644 --- a/ui/i18n/datepicker-tj.js +++ b/ui/i18n/datepicker-tj.js @@ -1,6 +1,8 @@ /* Tajiki (UTF-8) initialisation for the jQuery UI date picker plugin. */ /* Written by Abdurahmon Saidov (saidovab@gmail.com). */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -10,20 +12,21 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional.tj = { closeText: "Идома", prevText: "<Қафо", nextText: "Пеш>", currentText: "Имрӯз", - monthNames: [ "Январ","Феврал","Март","Апрел","Май","Июн", - "Июл","Август","Сентябр","Октябр","Ноябр","Декабр" ], - monthNamesShort: [ "Янв","Фев","Мар","Апр","Май","Июн", - "Июл","Авг","Сен","Окт","Ноя","Дек" ], - dayNames: [ "якшанбе","душанбе","сешанбе","чоршанбе","панҷшанбе","ҷумъа","шанбе" ], - dayNamesShort: [ "якш","душ","сеш","чор","пан","ҷум","шан" ], - dayNamesMin: [ "Як","Дш","Сш","Чш","Пш","Ҷм","Шн" ], + monthNames: [ "Январ", "Феврал", "Март", "Апрел", "Май", "Июн", + "Июл", "Август", "Сентябр", "Октябр", "Ноябр", "Декабр" ], + monthNamesShort: [ "Янв", "Фев", "Мар", "Апр", "Май", "Июн", + "Июл", "Авг", "Сен", "Окт", "Ноя", "Дек" ], + dayNames: [ "якшанбе", "душанбе", "сешанбе", "чоршанбе", "панҷшанбе", "ҷумъа", "шанбе" ], + dayNamesShort: [ "якш", "душ", "сеш", "чор", "пан", "ҷум", "шан" ], + dayNamesMin: [ "Як", "Дш", "Сш", "Чш", "Пш", "Ҷм", "Шн" ], weekHeader: "Хф", dateFormat: "dd.mm.yy", firstDay: 1, @@ -34,4 +37,4 @@ datepicker.setDefaults( datepicker.regional.tj ); return datepicker.regional.tj; -} ) ); +} ); diff --git a/ui/i18n/datepicker-tr.js b/ui/i18n/datepicker-tr.js index 8328e2199..220d66e64 100644 --- a/ui/i18n/datepicker-tr.js +++ b/ui/i18n/datepicker-tr.js @@ -1,6 +1,8 @@ /* 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. @@ -10,20 +12,21 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( 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" ], + 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, @@ -34,4 +37,4 @@ datepicker.setDefaults( datepicker.regional.tr ); return datepicker.regional.tr; -} ) ); +} ); diff --git a/ui/i18n/datepicker-uk.js b/ui/i18n/datepicker-uk.js index c82501ad2..083462803 100644 --- a/ui/i18n/datepicker-uk.js +++ b/ui/i18n/datepicker-uk.js @@ -2,6 +2,8 @@ /* Written by Maxim Drogobitskiy (maxdao@gmail.com). */ /* Corrected by Igor Milla (igor.fsp.milla@gmail.com). */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -11,20 +13,21 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional.uk = { closeText: "Закрити", prevText: "<", nextText: ">", currentText: "Сьогодні", - monthNames: [ "Січень","Лютий","Березень","Квітень","Травень","Червень", - "Липень","Серпень","Вересень","Жовтень","Листопад","Грудень" ], - monthNamesShort: [ "Січ","Лют","Бер","Кві","Тра","Чер", - "Лип","Сер","Вер","Жов","Лис","Гру" ], - dayNames: [ "неділя","понеділок","вівторок","середа","четвер","п’ятниця","субота" ], - dayNamesShort: [ "нед","пнд","вів","срд","чтв","птн","сбт" ], - dayNamesMin: [ "Нд","Пн","Вт","Ср","Чт","Пт","Сб" ], + monthNames: [ "Січень", "Лютий", "Березень", "Квітень", "Травень", "Червень", + "Липень", "Серпень", "Вересень", "Жовтень", "Листопад", "Грудень" ], + monthNamesShort: [ "Січ", "Лют", "Бер", "Кві", "Тра", "Чер", + "Лип", "Сер", "Вер", "Жов", "Лис", "Гру" ], + dayNames: [ "неділя", "понеділок", "вівторок", "середа", "четвер", "п’ятниця", "субота" ], + dayNamesShort: [ "нед", "пнд", "вів", "срд", "чтв", "птн", "сбт" ], + dayNamesMin: [ "Нд", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб" ], weekHeader: "Тиж", dateFormat: "dd.mm.yy", firstDay: 1, @@ -35,4 +38,4 @@ datepicker.setDefaults( datepicker.regional.uk ); return datepicker.regional.uk; -} ) ); +} ); diff --git a/ui/i18n/datepicker-vi.js b/ui/i18n/datepicker-vi.js index 2c208ab71..e06b702c1 100644 --- a/ui/i18n/datepicker-vi.js +++ b/ui/i18n/datepicker-vi.js @@ -1,6 +1,8 @@ /* Vietnamese initialisation for the jQuery UI date picker plugin. */ /* Translated by Le Thanh Huy (lthanhhuy@cit.ctu.edu.vn). */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -10,7 +12,8 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional.vi = { closeText: "Đóng", @@ -34,4 +37,4 @@ datepicker.setDefaults( datepicker.regional.vi ); return datepicker.regional.vi; -} ) ); +} ); diff --git a/ui/i18n/datepicker-zh-CN.js b/ui/i18n/datepicker-zh-CN.js index 91f99b4ed..84092904b 100644 --- a/ui/i18n/datepicker-zh-CN.js +++ b/ui/i18n/datepicker-zh-CN.js @@ -1,6 +1,8 @@ /* Chinese initialisation for the jQuery UI date picker plugin. */ /* Written by Cloudream (cloudream@gmail.com). */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -10,20 +12,21 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional[ "zh-CN" ] = { closeText: "关闭", prevText: "<上月", nextText: "下月>", currentText: "今天", - monthNames: [ "一月","二月","三月","四月","五月","六月", - "七月","八月","九月","十月","十一月","十二月" ], - monthNamesShort: [ "一月","二月","三月","四月","五月","六月", - "七月","八月","九月","十月","十一月","十二月" ], - dayNames: [ "星期日","星期一","星期二","星期三","星期四","星期五","星期六" ], - dayNamesShort: [ "周日","周一","周二","周三","周四","周五","周六" ], - dayNamesMin: [ "日","一","二","三","四","五","六" ], + monthNames: [ "一月", "二月", "三月", "四月", "五月", "六月", + "七月", "八月", "九月", "十月", "十一月", "十二月" ], + monthNamesShort: [ "一月", "二月", "三月", "四月", "五月", "六月", + "七月", "八月", "九月", "十月", "十一月", "十二月" ], + dayNames: [ "星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六" ], + dayNamesShort: [ "周日", "周一", "周二", "周三", "周四", "周五", "周六" ], + dayNamesMin: [ "日", "一", "二", "三", "四", "五", "六" ], weekHeader: "周", dateFormat: "yy-mm-dd", firstDay: 1, @@ -34,4 +37,4 @@ datepicker.setDefaults( datepicker.regional[ "zh-CN" ] ); return datepicker.regional[ "zh-CN" ]; -} ) ); +} ); diff --git a/ui/i18n/datepicker-zh-HK.js b/ui/i18n/datepicker-zh-HK.js index 27f02bc65..80d5c7690 100644 --- a/ui/i18n/datepicker-zh-HK.js +++ b/ui/i18n/datepicker-zh-HK.js @@ -1,6 +1,8 @@ /* Chinese initialisation for the jQuery UI date picker plugin. */ /* Written by SCCY (samuelcychan@gmail.com). */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -10,20 +12,21 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional[ "zh-HK" ] = { closeText: "關閉", prevText: "<上月", nextText: "下月>", currentText: "今天", - monthNames: [ "一月","二月","三月","四月","五月","六月", - "七月","八月","九月","十月","十一月","十二月" ], - monthNamesShort: [ "一月","二月","三月","四月","五月","六月", - "七月","八月","九月","十月","十一月","十二月" ], - dayNames: [ "星期日","星期一","星期二","星期三","星期四","星期五","星期六" ], - dayNamesShort: [ "周日","周一","周二","周三","周四","周五","周六" ], - dayNamesMin: [ "日","一","二","三","四","五","六" ], + monthNames: [ "一月", "二月", "三月", "四月", "五月", "六月", + "七月", "八月", "九月", "十月", "十一月", "十二月" ], + monthNamesShort: [ "一月", "二月", "三月", "四月", "五月", "六月", + "七月", "八月", "九月", "十月", "十一月", "十二月" ], + dayNames: [ "星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六" ], + dayNamesShort: [ "周日", "周一", "周二", "周三", "周四", "周五", "周六" ], + dayNamesMin: [ "日", "一", "二", "三", "四", "五", "六" ], weekHeader: "周", dateFormat: "dd-mm-yy", firstDay: 0, @@ -34,4 +37,4 @@ datepicker.setDefaults( datepicker.regional[ "zh-HK" ] ); return datepicker.regional[ "zh-HK" ]; -} ) ); +} ); diff --git a/ui/i18n/datepicker-zh-TW.js b/ui/i18n/datepicker-zh-TW.js index 134e790a7..9e79a45ca 100644 --- a/ui/i18n/datepicker-zh-TW.js +++ b/ui/i18n/datepicker-zh-TW.js @@ -1,6 +1,8 @@ /* Chinese initialisation for the jQuery UI date picker plugin. */ /* Written by Ressol (ressol@gmail.com). */ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -10,20 +12,21 @@ // Browser globals factory( jQuery.datepicker ); } -}( function( datepicker ) { +} )( function( datepicker ) { +"use strict"; datepicker.regional[ "zh-TW" ] = { closeText: "關閉", prevText: "<上個月", nextText: "下個月>", currentText: "今天", - monthNames: [ "一月","二月","三月","四月","五月","六月", - "七月","八月","九月","十月","十一月","十二月" ], - monthNamesShort: [ "一月","二月","三月","四月","五月","六月", - "七月","八月","九月","十月","十一月","十二月" ], - dayNames: [ "星期日","星期一","星期二","星期三","星期四","星期五","星期六" ], - dayNamesShort: [ "週日","週一","週二","週三","週四","週五","週六" ], - dayNamesMin: [ "日","一","二","三","四","五","六" ], + monthNames: [ "一月", "二月", "三月", "四月", "五月", "六月", + "七月", "八月", "九月", "十月", "十一月", "十二月" ], + monthNamesShort: [ "一月", "二月", "三月", "四月", "五月", "六月", + "七月", "八月", "九月", "十月", "十一月", "十二月" ], + dayNames: [ "星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六" ], + dayNamesShort: [ "週日", "週一", "週二", "週三", "週四", "週五", "週六" ], + dayNamesMin: [ "日", "一", "二", "三", "四", "五", "六" ], weekHeader: "週", dateFormat: "yy/mm/dd", firstDay: 1, @@ -34,4 +37,4 @@ datepicker.setDefaults( datepicker.regional[ "zh-TW" ] ); return datepicker.regional[ "zh-TW" ]; -} ) ); +} ); @@ -1,4 +1,6 @@ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -8,8 +10,9 @@ // Browser globals factory( jQuery ); } -} ( function( $ ) { +} )( function( $ ) { +"use strict"; // This file is deprecated return $.ui.ie = !!/msie [\w.]+/.exec( navigator.userAgent.toLowerCase() ); -} ) ); +} ); diff --git a/ui/jquery-patch.js b/ui/jquery-patch.js index 578c47a3f..edb6896c1 100644 --- a/ui/jquery-patch.js +++ b/ui/jquery-patch.js @@ -13,6 +13,8 @@ //>>description: Support version 1.8.x and newer of jQuery core ( function( factory ) { +"use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -22,7 +24,8 @@ // Browser globals factory( jQuery ); } -}( function( $ ) { +} )( function( $ ) { +"use strict"; // Support: jQuery 1.9.x or older // $.expr[ ":" ] is deprecated. @@ -83,4 +86,4 @@ if ( !$.fn.even || !$.fn.odd ) { } ); } -} ) ); +} ); diff --git a/ui/keycode.js b/ui/keycode.js index 17687fbbd..61eb40a06 100644 --- a/ui/keycode.js +++ b/ui/keycode.js @@ -13,6 +13,8 @@ //>>docs: http://api.jqueryui.com/jQuery.ui.keyCode/ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -22,7 +24,9 @@ // Browser globals factory( jQuery ); } -} ( function( $ ) { +} )( function( $ ) { +"use strict"; + return $.ui.keyCode = { BACKSPACE: 8, COMMA: 188, @@ -42,4 +46,4 @@ return $.ui.keyCode = { UP: 38 }; -} ) ); +} ); diff --git a/ui/labels.js b/ui/labels.js index 216c46a9a..854e5fd4a 100644 --- a/ui/labels.js +++ b/ui/labels.js @@ -13,6 +13,8 @@ //>>docs: http://api.jqueryui.com/labels/ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -22,7 +24,8 @@ // Browser globals factory( jQuery ); } -} ( function( $ ) { +} )( function( $ ) { +"use strict"; return $.fn.labels = function() { var ancestor, selector, id, labels, ancestors; @@ -63,4 +66,4 @@ return $.fn.labels = function() { return this.pushStack( labels ); }; -} ) ); +} ); diff --git a/ui/plugin.js b/ui/plugin.js index b282de7c6..1e46017ad 100644 --- a/ui/plugin.js +++ b/ui/plugin.js @@ -1,4 +1,6 @@ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -8,7 +10,8 @@ // Browser globals factory( jQuery ); } -} ( function( $ ) { +} )( function( $ ) { +"use strict"; // $.ui.plugin is deprecated. Use $.widget() extensions instead. return $.ui.plugin = { @@ -41,4 +44,4 @@ return $.ui.plugin = { } }; -} ) ); +} ); diff --git a/ui/position.js b/ui/position.js index 2bd814d93..68b0f19c0 100644 --- a/ui/position.js +++ b/ui/position.js @@ -16,6 +16,8 @@ //>>demos: http://jqueryui.com/position/ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -25,7 +27,9 @@ // Browser globals factory( jQuery ); } -}( function( $ ) { +} )( function( $ ) { +"use strict"; + ( function() { var cachedScrollbarWidth, max = Math.max, @@ -504,4 +508,4 @@ $.ui.position = { return $.ui.position; -} ) ); +} ); diff --git a/ui/safe-active-element.js b/ui/safe-active-element.js index 4d04add5f..9d6968e08 100644 --- a/ui/safe-active-element.js +++ b/ui/safe-active-element.js @@ -1,4 +1,6 @@ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -8,7 +10,9 @@ // Browser globals factory( jQuery ); } -} ( function( $ ) { +} )( function( $ ) { +"use strict"; + return $.ui.safeActiveElement = function( document ) { var activeElement; @@ -37,4 +41,4 @@ return $.ui.safeActiveElement = function( document ) { return activeElement; }; -} ) ); +} ); diff --git a/ui/safe-blur.js b/ui/safe-blur.js index 525878268..c0b3b8a1e 100644 --- a/ui/safe-blur.js +++ b/ui/safe-blur.js @@ -1,4 +1,6 @@ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -8,7 +10,9 @@ // Browser globals factory( jQuery ); } -} ( function( $ ) { +} )( function( $ ) { +"use strict"; + return $.ui.safeBlur = function( element ) { // Support: IE9 - 10 only @@ -18,4 +22,4 @@ return $.ui.safeBlur = function( element ) { } }; -} ) ); +} ); diff --git a/ui/scroll-parent.js b/ui/scroll-parent.js index e64691988..813c3721b 100644 --- a/ui/scroll-parent.js +++ b/ui/scroll-parent.js @@ -13,6 +13,8 @@ //>>docs: http://api.jqueryui.com/scrollParent/ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -22,7 +24,8 @@ // Browser globals factory( jQuery ); } -} ( function( $ ) { +} )( function( $ ) { +"use strict"; return $.fn.scrollParent = function( includeHidden ) { var position = this.css( "position" ), @@ -42,4 +45,4 @@ return $.fn.scrollParent = function( includeHidden ) { scrollParent; }; -} ) ); +} ); diff --git a/ui/tabbable.js b/ui/tabbable.js index bb79466e8..fc5c837cb 100644 --- a/ui/tabbable.js +++ b/ui/tabbable.js @@ -13,6 +13,8 @@ //>>docs: http://api.jqueryui.com/tabbable-selector/ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -22,7 +24,8 @@ // Browser globals factory( jQuery ); } -} ( function( $ ) { +} )( function( $ ) { +"use strict"; return $.extend( $.expr.pseudos, { tabbable: function( element ) { @@ -32,4 +35,4 @@ return $.extend( $.expr.pseudos, { } } ); -} ) ); +} ); diff --git a/ui/unique-id.js b/ui/unique-id.js index a8db136e3..518ba7a0c 100644 --- a/ui/unique-id.js +++ b/ui/unique-id.js @@ -13,6 +13,8 @@ //>>docs: http://api.jqueryui.com/uniqueId/ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -22,7 +24,8 @@ // Browser globals factory( jQuery ); } -} ( function( $ ) { +} )( function( $ ) { +"use strict"; return $.fn.extend( { uniqueId: ( function() { @@ -46,4 +49,4 @@ return $.fn.extend( { } } ); -} ) ); +} ); diff --git a/ui/version.js b/ui/version.js index fdd99f79f..1767ec7b5 100644 --- a/ui/version.js +++ b/ui/version.js @@ -1,4 +1,6 @@ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -8,10 +10,11 @@ // Browser globals factory( jQuery ); } -} ( function( $ ) { +} )( function( $ ) { +"use strict"; $.ui = $.ui || {}; return $.ui.version = "@VERSION"; -} ) ); +} ); diff --git a/ui/widget.js b/ui/widget.js index 4b5871205..3b149f11a 100644 --- a/ui/widget.js +++ b/ui/widget.js @@ -14,6 +14,8 @@ //>>demos: http://jqueryui.com/widget/ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -23,7 +25,8 @@ // Browser globals factory( jQuery ); } -}( function( $ ) { +} )( function( $ ) { +"use strict"; var widgetUuid = 0; var widgetHasOwnProperty = Array.prototype.hasOwnProperty; @@ -746,4 +749,4 @@ $.each( { show: "fadeIn", hide: "fadeOut" }, function( method, defaultEffect ) { return $.widget; -} ) ); +} ); diff --git a/ui/widgets/accordion.js b/ui/widgets/accordion.js index 59a6a7315..112781925 100644 --- a/ui/widgets/accordion.js +++ b/ui/widgets/accordion.js @@ -9,9 +9,9 @@ //>>label: Accordion //>>group: Widgets -// jscs:disable maximumLineLength +/* eslint-disable max-len */ //>>description: Displays collapsible content panels for presenting information in a limited amount of space. -// jscs:enable maximumLineLength +/* eslint-enable max-len */ //>>docs: http://api.jqueryui.com/accordion/ //>>demos: http://jqueryui.com/accordion/ //>>css.structure: ../../themes/base/core.css @@ -19,6 +19,8 @@ //>>css.theme: ../../themes/base/theme.css ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -34,7 +36,8 @@ // Browser globals factory( jQuery ); } -}( function( $ ) { +} )( function( $ ) { +"use strict"; return $.widget( "ui.accordion", { version: "@VERSION", @@ -616,4 +619,4 @@ return $.widget( "ui.accordion", { } } ); -} ) ); +} ); diff --git a/ui/widgets/autocomplete.js b/ui/widgets/autocomplete.js index 66756820b..4166029b2 100644 --- a/ui/widgets/autocomplete.js +++ b/ui/widgets/autocomplete.js @@ -17,6 +17,8 @@ //>>css.theme: ../../themes/base/theme.css ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -34,7 +36,8 @@ // Browser globals factory( jQuery ); } -}( function( $ ) { +} )( function( $ ) { +"use strict"; $.widget( "ui.autocomplete", { version: "@VERSION", @@ -616,7 +619,7 @@ $.widget( "ui.autocomplete", { var editable = element.prop( "contentEditable" ); if ( editable === "inherit" ) { - return this._isContentEditable( element.parent() ); + return this._isContentEditable( element.parent() ); } return editable === "true"; @@ -667,4 +670,4 @@ $.widget( "ui.autocomplete", $.ui.autocomplete, { return $.ui.autocomplete; -} ) ); +} ); diff --git a/ui/widgets/button.js b/ui/widgets/button.js index a4be3c76e..c7cbb4f04 100644 --- a/ui/widgets/button.js +++ b/ui/widgets/button.js @@ -17,6 +17,8 @@ //>>css.theme: ../../themes/base/theme.css ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -36,7 +38,8 @@ // Browser globals factory( jQuery ); } -}( function( $ ) { +} )( function( $ ) { +"use strict"; $.widget( "ui.button", { version: "@VERSION", @@ -443,4 +446,4 @@ if ( $.uiBackCompat !== false ) { return $.ui.button; -} ) ); +} ); diff --git a/ui/widgets/checkboxradio.js b/ui/widgets/checkboxradio.js index 0cb1a0cf8..b2537d292 100644 --- a/ui/widgets/checkboxradio.js +++ b/ui/widgets/checkboxradio.js @@ -18,6 +18,8 @@ //>>css.theme: ../../themes/base/theme.css ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -32,7 +34,8 @@ // Browser globals factory( jQuery ); } -}( function( $ ) { +} )( function( $ ) { +"use strict"; $.widget( "ui.checkboxradio", [ $.ui.formResetMixin, { version: "@VERSION", @@ -279,4 +282,4 @@ $.widget( "ui.checkboxradio", [ $.ui.formResetMixin, { return $.ui.checkboxradio; -} ) ); +} ); diff --git a/ui/widgets/controlgroup.js b/ui/widgets/controlgroup.js index 019abbec9..77a9e2265 100644 --- a/ui/widgets/controlgroup.js +++ b/ui/widgets/controlgroup.js @@ -17,6 +17,8 @@ //>>css.theme: ../../themes/base/theme.css ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -29,7 +31,9 @@ // Browser globals factory( jQuery ); } -}( function( $ ) { +} )( function( $ ) { +"use strict"; + var controlgroupCornerRegex = /ui-corner-([a-z]){2,6}/g; return $.widget( "ui.controlgroup", { @@ -295,4 +299,4 @@ return $.widget( "ui.controlgroup", { } } } ); -} ) ); +} ); diff --git a/ui/widgets/datepicker.js b/ui/widgets/datepicker.js index d363c8fc6..7dbcf3de7 100644 --- a/ui/widgets/datepicker.js +++ b/ui/widgets/datepicker.js @@ -1,5 +1,4 @@ -// jscs:disable maximumLineLength -/* jscs:disable requireCamelCaseOrUpperCaseIdentifiers */ +/* eslint-disable max-len, camelcase */ /*! * jQuery UI Datepicker @VERSION * http://jqueryui.com @@ -19,6 +18,8 @@ //>>css.theme: ../../themes/base/theme.css ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -32,7 +33,8 @@ // Browser globals factory( jQuery ); } -}( function( $ ) { +} )( function( $ ) { +"use strict"; $.extend( $.ui, { datepicker: { version: "@VERSION" } } ); @@ -62,6 +64,7 @@ function datepicker_getZindex( elem ) { return 0; } + /* Date picker manager. Use the singleton instance of this class, $.datepicker, to interact with the date picker. Settings for (groups of) date pickers are maintained in an instance object, @@ -88,12 +91,12 @@ function Datepicker() { prevText: "Prev", // Display text for previous month link nextText: "Next", // Display text for next month link currentText: "Today", // Display text for current month link - monthNames: [ "January","February","March","April","May","June", - "July","August","September","October","November","December" ], // Names of months for drop-down and formatting + monthNames: [ "January", "February", "March", "April", "May", "June", + "July", "August", "September", "October", "November", "December" ], // Names of months for drop-down and formatting monthNamesShort: [ "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" ], // For formatting dayNames: [ "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" ], // For formatting dayNamesShort: [ "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" ], // For formatting - dayNamesMin: [ "Su","Mo","Tu","We","Th","Fr","Sa" ], // Column headings for days starting at Sunday + dayNamesMin: [ "Su", "Mo", "Tu", "We", "Th", "Fr", "Sa" ], // Column headings for days starting at Sunday weekHeader: "Wk", // Column header for week of the year dateFormat: "mm/dd/yy", // See format options on parseDate firstDay: 0, // The first day of the week, Sun = 0, Mon = 1, ... @@ -161,6 +164,7 @@ function Datepicker() { } $.extend( Datepicker.prototype, { + /* Class name added to elements to indicate already configured with a date picker. */ markerClassName: "hasDatepicker", @@ -453,7 +457,9 @@ $.extend( Datepicker.prototype, { if ( nodeName === "input" ) { target.disabled = false; inst.trigger.filter( "button" ). - each( function() { this.disabled = false; } ).end(). + each( function() { + this.disabled = false; + } ).end(). filter( "img" ).css( { opacity: "1.0", cursor: "" } ); } else if ( nodeName === "div" || nodeName === "span" ) { inline = $target.children( "." + this._inlineClass ); @@ -462,7 +468,11 @@ $.extend( Datepicker.prototype, { prop( "disabled", false ); } this._disabledInputs = $.map( this._disabledInputs, - function( value ) { return ( value === target ? null : value ); } ); // delete entry + + // Delete entry + function( value ) { + return ( value === target ? null : value ); + } ); }, /* Disable the date picker to a jQuery selection. @@ -481,7 +491,9 @@ $.extend( Datepicker.prototype, { if ( nodeName === "input" ) { target.disabled = true; inst.trigger.filter( "button" ). - each( function() { this.disabled = true; } ).end(). + each( function() { + this.disabled = true; + } ).end(). filter( "img" ).css( { opacity: "0.5", cursor: "default" } ); } else if ( nodeName === "div" || nodeName === "span" ) { inline = $target.children( "." + this._inlineClass ); @@ -490,7 +502,11 @@ $.extend( Datepicker.prototype, { prop( "disabled", true ); } this._disabledInputs = $.map( this._disabledInputs, - function( value ) { return ( value === target ? null : value ); } ); // delete entry + + // Delete entry + function( value ) { + return ( value === target ? null : value ); + } ); this._disabledInputs[ this._disabledInputs.length ] = target; }, @@ -518,8 +534,7 @@ $.extend( Datepicker.prototype, { _getInst: function( target ) { try { return $.data( target, "datepicker" ); - } - catch ( err ) { + } catch ( err ) { throw "Missing instance data for this datepicker"; } }, @@ -752,8 +767,7 @@ $.extend( Datepicker.prototype, { $.datepicker._updateAlternate( inst ); $.datepicker._updateDatepicker( inst ); } - } - catch ( err ) { + } catch ( err ) { } } return true; @@ -1558,8 +1572,7 @@ $.extend( Datepicker.prototype, { try { return $.datepicker.parseDate( $.datepicker._get( inst, "dateFormat" ), offset, $.datepicker._getFormatConfig( inst ) ); - } - catch ( e ) { + } catch ( e ) { // Ignore } @@ -2207,10 +2220,12 @@ $.fn.datepicker = function( options ) { apply( $.datepicker, [ this[ 0 ] ].concat( otherArgs ) ); } return this.each( function() { - typeof options === "string" ? - $.datepicker[ "_" + options + "Datepicker" ]. - apply( $.datepicker, [ this ].concat( otherArgs ) ) : + if ( typeof options === "string" ) { + $.datepicker[ "_" + options + "Datepicker" ] + .apply( $.datepicker, [ this ].concat( otherArgs ) ); + } else { $.datepicker._attachDatepicker( this, options ); + } } ); }; @@ -2221,4 +2236,4 @@ $.datepicker.version = "@VERSION"; return $.datepicker; -} ) ); +} ); diff --git a/ui/widgets/dialog.js b/ui/widgets/dialog.js index dcb4f7056..6fa585c40 100644 --- a/ui/widgets/dialog.js +++ b/ui/widgets/dialog.js @@ -17,6 +17,8 @@ //>>css.theme: ../../themes/base/theme.css ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -41,7 +43,8 @@ // Browser globals factory( jQuery ); } -}( function( $ ) { +} )( function( $ ) { +"use strict"; $.widget( "ui.dialog", { version: "@VERSION", @@ -948,4 +951,4 @@ if ( $.uiBackCompat !== false ) { return $.ui.dialog; -} ) ); +} ); diff --git a/ui/widgets/draggable.js b/ui/widgets/draggable.js index 5f41d2408..2a9666d4e 100644 --- a/ui/widgets/draggable.js +++ b/ui/widgets/draggable.js @@ -15,6 +15,8 @@ //>>css.structure: ../../themes/base/draggable.css ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -34,7 +36,8 @@ // Browser globals factory( jQuery ); } -}( function( $ ) { +} )( function( $ ) { +"use strict"; $.widget( "ui.draggable", $.ui.mouse, { version: "@VERSION", @@ -201,7 +204,9 @@ $.widget( "ui.draggable", $.ui.mouse, { this.originalPageY = event.pageY; //Adjust the mouse offset relative to the helper if "cursorAt" is supplied - ( o.cursorAt && this._adjustOffsetFromHelper( o.cursorAt ) ); + if ( o.cursorAt ) { + this._adjustOffsetFromHelper( o.cursorAt ); + } //Set a containment if given in the options this._setContainment(); @@ -1116,12 +1121,13 @@ $.ui.plugin.add( "draggable", "snap", { !$.contains( inst.snapElements[ i ].item.ownerDocument, inst.snapElements[ i ].item ) ) { if ( inst.snapElements[ i ].snapping ) { - ( inst.options.snap.release && + if ( inst.options.snap.release ) { inst.options.snap.release.call( inst.element, event, $.extend( inst._uiHash(), { snapItem: inst.snapElements[ i ].item } ) - ) ); + ); + } } inst.snapElements[ i ].snapping = false; continue; @@ -1192,13 +1198,14 @@ $.ui.plugin.add( "draggable", "snap", { } if ( !inst.snapElements[ i ].snapping && ( ts || bs || ls || rs || first ) ) { - ( inst.options.snap.snap && + if ( inst.options.snap.snap ) { inst.options.snap.snap.call( inst.element, event, $.extend( inst._uiHash(), { snapItem: inst.snapElements[ i ].item - } ) ) ); + } ) ); + } } inst.snapElements[ i ].snapping = ( ts || bs || ls || rs || first ); @@ -1216,7 +1223,9 @@ $.ui.plugin.add( "draggable", "stack", { ( parseInt( $( b ).css( "zIndex" ), 10 ) || 0 ); } ); - if ( !group.length ) { return; } + if ( !group.length ) { + return; + } min = parseInt( $( group[ 0 ] ).css( "zIndex" ), 10 ) || 0; $( group ).each( function( i ) { @@ -1247,4 +1256,4 @@ $.ui.plugin.add( "draggable", "zIndex", { return $.ui.draggable; -} ) ); +} ); diff --git a/ui/widgets/droppable.js b/ui/widgets/droppable.js index f98ff2714..01de767b4 100644 --- a/ui/widgets/droppable.js +++ b/ui/widgets/droppable.js @@ -14,6 +14,8 @@ //>>demos: http://jqueryui.com/droppable/ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -29,7 +31,8 @@ // Browser globals factory( jQuery ); } -}( function( $ ) { +} )( function( $ ) { +"use strict"; $.widget( "ui.droppable", { version: "@VERSION", @@ -80,7 +83,9 @@ $.widget( "ui.droppable", { this._addToManager( o.scope ); - o.addClasses && this._addClass( "ui-droppable" ); + if ( o.addClasses ) { + this._addClass( "ui-droppable" ); + } }, @@ -206,7 +211,8 @@ $.widget( "ui.droppable", { ) ) { childrenIntersection = true; - return false; } + return false; + } } ); if ( childrenIntersection ) { return false; @@ -494,4 +500,4 @@ if ( $.uiBackCompat !== false ) { return $.ui.droppable; -} ) ); +} ); diff --git a/ui/widgets/menu.js b/ui/widgets/menu.js index 3b17112f8..2bc37789b 100644 --- a/ui/widgets/menu.js +++ b/ui/widgets/menu.js @@ -17,6 +17,8 @@ //>>css.theme: ../../themes/base/theme.css ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -34,7 +36,8 @@ // Browser globals factory( jQuery ); } -}( function( $ ) { +} )( function( $ ) { +"use strict"; return $.widget( "ui.menu", { version: "@VERSION", @@ -707,4 +710,4 @@ return $.widget( "ui.menu", { } } ); -} ) ); +} ); diff --git a/ui/widgets/mouse.js b/ui/widgets/mouse.js index 0ae8979a1..1efcf08db 100644 --- a/ui/widgets/mouse.js +++ b/ui/widgets/mouse.js @@ -13,6 +13,8 @@ //>>docs: http://api.jqueryui.com/mouse/ ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -27,7 +29,8 @@ // Browser globals factory( jQuery ); } -}( function( $ ) { +} )( function( $ ) { +"use strict"; var mouseHandled = false; $( document ).on( "mouseup", function() { @@ -80,7 +83,9 @@ return $.widget( "ui.mouse", { this._mouseMoved = false; // We may have missed mouseup (out of window) - ( this._mouseStarted && this._mouseUp( event ) ); + if ( this._mouseStarted ) { + this._mouseUp( event ); + } this._mouseDownEvent = event; @@ -173,7 +178,11 @@ return $.widget( "ui.mouse", { if ( this._mouseDistanceMet( event ) && this._mouseDelayMet( event ) ) { this._mouseStarted = ( this._mouseStart( this._mouseDownEvent, event ) !== false ); - ( this._mouseStarted ? this._mouseDrag( event ) : this._mouseUp( event ) ); + if ( this._mouseStarted ) { + this._mouseDrag( event ); + } else { + this._mouseUp( event ); + } } return !this._mouseStarted; @@ -220,7 +229,9 @@ return $.widget( "ui.mouse", { _mouseStart: function( /* event */ ) {}, _mouseDrag: function( /* event */ ) {}, _mouseStop: function( /* event */ ) {}, - _mouseCapture: function( /* event */ ) { return true; } + _mouseCapture: function( /* event */ ) { + return true; + } } ); -} ) ); +} ); diff --git a/ui/widgets/progressbar.js b/ui/widgets/progressbar.js index dd7ee3143..e39bc2fcb 100644 --- a/ui/widgets/progressbar.js +++ b/ui/widgets/progressbar.js @@ -9,9 +9,9 @@ //>>label: Progressbar //>>group: Widgets -// jscs:disable maximumLineLength +/* eslint-disable max-len */ //>>description: Displays a status indicator for loading state, standard percentage, and other progress indicators. -// jscs:enable maximumLineLength +/* eslint-enable max-len */ //>>docs: http://api.jqueryui.com/progressbar/ //>>demos: http://jqueryui.com/progressbar/ //>>css.structure: ../../themes/base/core.css @@ -19,6 +19,8 @@ //>>css.theme: ../../themes/base/theme.css ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -32,7 +34,8 @@ // Browser globals factory( jQuery ); } -}( function( $ ) { +} )( function( $ ) { +"use strict"; return $.widget( "ui.progressbar", { version: "@VERSION", @@ -175,4 +178,4 @@ return $.widget( "ui.progressbar", { } } ); -} ) ); +} ); diff --git a/ui/widgets/resizable.js b/ui/widgets/resizable.js index 222c93a5e..13e98c658 100644 --- a/ui/widgets/resizable.js +++ b/ui/widgets/resizable.js @@ -17,6 +17,8 @@ //>>css.theme: ../../themes/base/theme.css ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -33,7 +35,8 @@ // Browser globals factory( jQuery ); } -}( function( $ ) { +} )( function( $ ) { +"use strict"; $.widget( "ui.resizable", $.ui.mouse, { version: "@VERSION", @@ -91,9 +94,15 @@ $.widget( "ui.resizable", $.ui.mouse, { // TODO: determine which cases actually cause this to happen // if the element doesn't have the scroll set, see if it's possible to // set the scroll - el[ scroll ] = 1; - has = ( el[ scroll ] > 0 ); - el[ scroll ] = 0; + try { + el[ scroll ] = 1; + has = ( el[ scroll ] > 0 ); + el[ scroll ] = 0; + } catch ( e ) { + + // `el` might be a string, then setting `scroll` will throw + // an error in strict mode; ignore it. + } return has; }, @@ -776,7 +785,9 @@ $.widget( "ui.resizable", $.ui.mouse, { _propagate: function( n, event ) { $.ui.plugin.call( this, n, [ event, this.ui() ] ); - ( n !== "resize" && this._trigger( n, event, this.ui() ) ); + if ( n !== "resize" ) { + this._trigger( n, event, this.ui() ); + } }, plugins: {}, @@ -897,8 +908,8 @@ $.ui.plugin.add( "resizable", "containment", { co = that.containerOffset; ch = that.containerSize.height; cw = that.containerSize.width; - width = ( that._hasScroll ( ce, "left" ) ? ce.scrollWidth : cw ); - height = ( that._hasScroll ( ce ) ? ce.scrollHeight : ch ) ; + width = ( that._hasScroll( ce, "left" ) ? ce.scrollWidth : cw ); + height = ( that._hasScroll( ce ) ? ce.scrollHeight : ch ); that.parentData = { element: ce, @@ -1205,4 +1216,4 @@ $.ui.plugin.add( "resizable", "grid", { return $.ui.resizable; -} ) ); +} ); diff --git a/ui/widgets/selectable.js b/ui/widgets/selectable.js index ed980cc49..b8e29517c 100644 --- a/ui/widgets/selectable.js +++ b/ui/widgets/selectable.js @@ -15,6 +15,8 @@ //>>css.structure: ../../themes/base/selectable.css ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -29,7 +31,8 @@ // Browser globals factory( jQuery ); } -}( function( $ ) { +} )( function( $ ) { +"use strict"; return $.widget( "ui.selectable", $.ui.mouse, { version: "@VERSION", @@ -183,8 +186,12 @@ return $.widget( "ui.selectable", $.ui.mouse, { x2 = event.pageX, y2 = event.pageY; - if ( x1 > x2 ) { tmp = x2; x2 = x1; x1 = tmp; } - if ( y1 > y2 ) { tmp = y2; y2 = y1; y1 = tmp; } + if ( x1 > x2 ) { + tmp = x2; x2 = x1; x1 = tmp; + } + if ( y1 > y2 ) { + tmp = y2; y2 = y1; y1 = tmp; + } this.helper.css( { left: x1, top: y1, width: x2 - x1, height: y2 - y1 } ); this.selectees.each( function() { @@ -307,4 +314,4 @@ return $.widget( "ui.selectable", $.ui.mouse, { } ); -} ) ); +} ); diff --git a/ui/widgets/selectmenu.js b/ui/widgets/selectmenu.js index cc98ecbbf..cefeddcac 100644 --- a/ui/widgets/selectmenu.js +++ b/ui/widgets/selectmenu.js @@ -9,9 +9,9 @@ //>>label: Selectmenu //>>group: Widgets -// jscs:disable maximumLineLength +/* eslint-disable max-len */ //>>description: Duplicates and extends the functionality of a native HTML select element, allowing it to be customizable in behavior and appearance far beyond the limitations of a native select. -// jscs:enable maximumLineLength +/* eslint-enable max-len */ //>>docs: http://api.jqueryui.com/selectmenu/ //>>demos: http://jqueryui.com/selectmenu/ //>>css.structure: ../../themes/base/core.css @@ -19,6 +19,8 @@ //>>css.theme: ../../themes/base/theme.css ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -38,7 +40,8 @@ // Browser globals factory( jQuery ); } -}( function( $ ) { +} )( function( $ ) { +"use strict"; return $.widget( "ui.selectmenu", [ $.ui.formResetMixin, { version: "@VERSION", @@ -687,4 +690,4 @@ return $.widget( "ui.selectmenu", [ $.ui.formResetMixin, { } } ] ); -} ) ); +} ); diff --git a/ui/widgets/slider.js b/ui/widgets/slider.js index e5004573a..ec2c2877e 100644 --- a/ui/widgets/slider.js +++ b/ui/widgets/slider.js @@ -17,6 +17,8 @@ //>>css.theme: ../../themes/base/theme.css ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -32,7 +34,8 @@ // Browser globals factory( jQuery ); } -}( function( $ ) { +} )( function( $ ) { +"use strict"; return $.widget( "ui.slider", $.ui.mouse, { version: "@VERSION", @@ -749,4 +752,4 @@ return $.widget( "ui.slider", $.ui.mouse, { } } ); -} ) ); +} ); diff --git a/ui/widgets/sortable.js b/ui/widgets/sortable.js index b7daf00bf..f44b4832a 100644 --- a/ui/widgets/sortable.js +++ b/ui/widgets/sortable.js @@ -15,6 +15,8 @@ //>>css.structure: ../../themes/base/sortable.css ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -32,7 +34,8 @@ // Browser globals factory( jQuery ); } -}( function( $ ) { +} )( function( $ ) { +"use strict"; return $.widget( "ui.sortable", $.ui.mouse, { version: "@VERSION", @@ -239,7 +242,9 @@ return $.widget( "ui.sortable", $.ui.mouse, { this.cssPosition = this.helper.css( "position" ); //Adjust the mouse offset relative to the helper if "cursorAt" is supplied - ( o.cursorAt && this._adjustOffsetFromHelper( o.cursorAt ) ); + if ( o.cursorAt ) { + this._adjustOffsetFromHelper( o.cursorAt ); + } //Cache the former DOM position this.domPosition = { @@ -695,8 +700,8 @@ return $.widget( "ui.sortable", $.ui.mouse, { horizontalDirection = this.dragDirection.horizontal; return this.floating ? - ( ( horizontalDirection === "right" || verticalDirection === "down" ) ? 2 : 1 ) - : ( verticalDirection && ( verticalDirection === "down" ? 2 : 1 ) ); + ( ( horizontalDirection === "right" || verticalDirection === "down" ) ? 2 : 1 ) : + ( verticalDirection && ( verticalDirection === "down" ? 2 : 1 ) ); }, @@ -1093,9 +1098,11 @@ return $.widget( "ui.sortable", $.ui.mouse, { return; } - itemWithLeastDistance ? - this._rearrange( event, itemWithLeastDistance, null, true ) : + if ( itemWithLeastDistance ) { + this._rearrange( event, itemWithLeastDistance, null, true ); + } else { this._rearrange( event, null, this.containers[ innermostIndex ].element, true ); + } this._trigger( "change", event, this._uiHash() ); this.containers[ innermostIndex ]._trigger( "change", event, this._uiHash( this ) ); this.currentContainer = this.containers[ innermostIndex ]; @@ -1435,9 +1442,12 @@ return $.widget( "ui.sortable", $.ui.mouse, { _rearrange: function( event, i, a, hardRefresh ) { - a ? a[ 0 ].appendChild( this.placeholder[ 0 ] ) : + if ( a ) { + a[ 0 ].appendChild( this.placeholder[ 0 ] ); + } else { i.item[ 0 ].parentNode.insertBefore( this.placeholder[ 0 ], ( this.direction === "down" ? i.item[ 0 ] : i.item[ 0 ].nextSibling ) ); + } //Various things done here to improve the performance: // 1. we create a setTimeout, that calls refreshPositions @@ -1603,4 +1613,4 @@ return $.widget( "ui.sortable", $.ui.mouse, { } ); -} ) ); +} ); diff --git a/ui/widgets/spinner.js b/ui/widgets/spinner.js index 6b860e785..1bd69b6d8 100644 --- a/ui/widgets/spinner.js +++ b/ui/widgets/spinner.js @@ -17,6 +17,8 @@ //>>css.theme: ../../themes/base/theme.css ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -33,7 +35,8 @@ // Browser globals factory( jQuery ); } -}( function( $ ) { +} )( function( $ ) { +"use strict"; function spinnerModifier( fn ) { return function() { @@ -576,4 +579,4 @@ if ( $.uiBackCompat !== false ) { return $.ui.spinner; -} ) ); +} ); diff --git a/ui/widgets/tabs.js b/ui/widgets/tabs.js index 7a53767dd..9e4236ab3 100644 --- a/ui/widgets/tabs.js +++ b/ui/widgets/tabs.js @@ -17,6 +17,8 @@ //>>css.theme: ../../themes/base/theme.css ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -33,7 +35,8 @@ // Browser globals factory( jQuery ); } -}( function( $ ) { +} )( function( $ ) { +"use strict"; $.widget( "ui.tabs", { version: "@VERSION", @@ -919,4 +922,4 @@ if ( $.uiBackCompat !== false ) { return $.ui.tabs; -} ) ); +} ); diff --git a/ui/widgets/tooltip.js b/ui/widgets/tooltip.js index cd031ceb2..f1cea47d1 100644 --- a/ui/widgets/tooltip.js +++ b/ui/widgets/tooltip.js @@ -17,6 +17,8 @@ //>>css.theme: ../../themes/base/theme.css ( function( factory ) { + "use strict"; + if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. @@ -33,7 +35,8 @@ // Browser globals factory( jQuery ); } -}( function( $ ) { +} )( function( $ ) { +"use strict"; $.widget( "ui.tooltip", { version: "@VERSION", @@ -518,4 +521,4 @@ if ( $.uiBackCompat !== false ) { return $.ui.tooltip; -} ) ); +} ); |