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_eu.js | 43 ------------------------------------- 1 file changed, 43 deletions(-) delete mode 100644 web/js/select2/select2_locale_eu.js (limited to 'web/js/select2/select2_locale_eu.js') diff --git a/web/js/select2/select2_locale_eu.js b/web/js/select2/select2_locale_eu.js deleted file mode 100644 index 05665f5fc..000000000 --- a/web/js/select2/select2_locale_eu.js +++ /dev/null @@ -1,43 +0,0 @@ -/** - * Select2 Basque translation. - * - * Author: Julen Ruiz Aizpuru - */ -(function ($) { - "use strict"; - - $.extend($.fn.select2.defaults, { - formatNoMatches: function () { - return "Ez da bat datorrenik aurkitu"; - }, - formatInputTooShort: function (input, min) { - var n = min - input.length; - if (n === 1) { - return "Idatzi karaktere bat gehiago"; - } else { - return "Idatzi " + n + " karaktere gehiago"; - } - }, - formatInputTooLong: function (input, max) { - var n = input.length - max; - if (n === 1) { - return "Idatzi karaktere bat gutxiago"; - } else { - return "Idatzi " + n + " karaktere gutxiago"; - } - }, - formatSelectionTooBig: function (limit) { - if (limit === 1 ) { - return "Elementu bakarra hauta dezakezu"; - } else { - return limit + " elementu hauta ditzakezu soilik"; - } - }, - formatLoadMore: function (pageNumber) { - return "Emaitza gehiago kargatzen..."; - }, - formatSearching: function () { - return "Bilatzen..."; - } - }); -})(jQuery); -- cgit v1.2.3