From 875836e662f33bb4c5a9f9093bb8080f214dea5b Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Thu, 18 May 2017 15:49:08 +0100 Subject: Move third party libraries into vendor directories This makes the git hook that lints our own JavaScript easier, and keeps things more cleanly separated. We also remove unused third party libraries (select2 and jquery.placeholder). --- web/js/select2/select2_locale_it.js | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 web/js/select2/select2_locale_it.js (limited to 'web/js/select2/select2_locale_it.js') diff --git a/web/js/select2/select2_locale_it.js b/web/js/select2/select2_locale_it.js deleted file mode 100644 index 98369dda2..000000000 --- a/web/js/select2/select2_locale_it.js +++ /dev/null @@ -1,15 +0,0 @@ -/** - * Select2 Italian translation - */ -(function ($) { - "use strict"; - - $.extend($.fn.select2.defaults, { - formatNoMatches: function () { return "Nessuna corrispondenza trovata"; }, - formatInputTooShort: function (input, min) { var n = min - input.length; return "Inserisci ancora " + n + " caratter" + (n == 1? "e" : "i"); }, - formatInputTooLong: function (input, max) { var n = input.length - max; return "Inserisci " + n + " caratter" + (n == 1? "e" : "i") + " in meno"; }, - formatSelectionTooBig: function (limit) { return "Puoi selezionare solo " + limit + " element" + (limit == 1 ? "o" : "i"); }, - formatLoadMore: function (pageNumber) { return "Caricamento in corso..."; }, - formatSearching: function () { return "Ricerca..."; } - }); -})(jQuery); \ No newline at end of file -- cgit v1.2.3