@gpaol/bootstrap-multiselect
Version:
Bootstrap 5 MultiSelect component with search, filtering, grouped options, pagination, and comprehensive localization support
22 lines • 1.25 kB
JavaScript
/*!
* Bootstrap MultiSelect - Spanish (Español) Localization v1.1.0
*
* This file provides Spanish language support for the Bootstrap MultiSelect plugin.
* Load this file after jquery-bootstrap-multiselect.js to enable Spanish localization.
*
* Usage:
* 1. Include this file after the main plugin:
* <script src="js/jquery-bootstrap-multiselect.js"><\/script>
* <script src="js/langs/jquery-bootstrap-multiselect.es.js"></script>
*
* 2. Set the global language (affects all instances):
* $.fn.bootstrapMultiSelect.lang = 'es';
*
* 3. Or set language per instance:
* $('#mySelect').bootstrapMultiSelect({ lang: 'es' });
*
* @author Paolo Gaetano
* @version 1.1.0
* @license MIT
*/
!function(e){"use strict";e.fn.bootstrapMultiSelect=e.fn.bootstrapMultiSelect||{},e.fn.bootstrapMultiSelect.langs=e.fn.bootstrapMultiSelect.langs||{},e.fn.bootstrapMultiSelect.langs.es={placeholder:"Seleccionar elementos...",searchPlaceholder:"Buscar...",selectAllText:"Seleccionar Todo",deselectAllText:"Deseleccionar Todo",noResultsText:"No se encontraron resultados",itemsSelectedText:"elementos seleccionados",paginationPrevText:"Anterior",paginationNextText:"Siguiente",paginationInfoText:"Página {current} de {total}"}}(jQuery);