defaults-en_US.js 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /*!
  2. * Bootstrap-select v1.10.0 (http://silviomoreto.github.io/bootstrap-select)
  3. *
  4. * Copyright 2013-2016 bootstrap-select
  5. * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE)
  6. */
  7. (function (root, factory) {
  8. if (typeof define === 'function' && define.amd) {
  9. // AMD. Register as an anonymous module unless amdModuleId is set
  10. define(["jquery"], function (a0) {
  11. return (factory(a0));
  12. });
  13. } else if (typeof exports === 'object') {
  14. // Node. Does not work with strict CommonJS, but
  15. // only CommonJS-like environments that support module.exports,
  16. // like Node.
  17. module.exports = factory(require("jquery"));
  18. } else {
  19. factory(jQuery);
  20. }
  21. }(this, function (jQuery) {
  22. (function ($) {
  23. $.fn.selectpicker.defaults = {
  24. noneSelectedText: 'Nothing selected',
  25. noneResultsText: 'No results match {0}',
  26. countSelectedText: function (numSelected, numTotal) {
  27. return (numSelected == 1) ? "{0} item selected" : "{0} items selected";
  28. },
  29. maxOptionsText: function (numAll, numGroup) {
  30. return [
  31. (numAll == 1) ? 'Limit reached ({n} item max)' : 'Limit reached ({n} items max)',
  32. (numGroup == 1) ? 'Group limit reached ({n} item max)' : 'Group limit reached ({n} items max)'
  33. ];
  34. },
  35. selectAllText: 'Select All',
  36. deselectAllText: 'Deselect All',
  37. multipleSeparator: ', '
  38. };
  39. })(jQuery);
  40. }));