UNPKG

multiple-select

Version:

Multiple select is a jQuery plugin to select multiple elements with checkboxes :).

29 lines (25 loc) 860 B
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('jquery')) : typeof define === 'function' && define.amd ? define(['jquery'], factory) : (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.jQuery)); })(this, (function ($) { 'use strict'; /** * Multiple Select it-IT translation * Author: Giuseppe Lodi Rizzini */ $.fn.multipleSelect.locales['it-IT'] = { formatSelectAll() { return '[Seleziona tutti]'; }, formatAllSelected() { return 'Tutti selezionati'; }, formatCountSelected(count, total) { return `${count} di ${total} selezionati`; }, formatNoMatchesFound() { return 'Nessun risultato'; } }; $.extend($.fn.multipleSelect.defaults, $.fn.multipleSelect.locales['it-IT']); }));