Subversion Repositories Integrator Subversion

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 espaco 1
/*!
2
 * Bootstrap-select v1.6.3 (http://silviomoreto.github.io/bootstrap-select/)
3
 *
4
 * Copyright 2013-2014 bootstrap-select
5
 * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE)
6
 */
7
(function ($) {
8
  $.fn.selectpicker.defaults = {
9
    noneSelectedText: 'Nothing selected',
10
    noneResultsText: 'No results match',
11
    countSelectedText: function (numSelected, numTotal) {
12
      return (numSelected == 1) ? "{0} item selected" : "{0} items selected";
13
    },
14
    maxOptionsText: function (numAll, numGroup) {
15
      var arr = [];
16
 
17
      arr[0] = (numAll == 1) ? 'Limit reached ({n} item max)' : 'Limit reached ({n} items max)';
18
      arr[1] = (numGroup == 1) ? 'Group limit reached ({n} item max)' : 'Group limit reached ({n} items max)';
19
 
20
      return arr;
21
    },
22
    selectAllText: 'Select All',
23
    deselectAllText: 'Deselect All',
24
    multipleSeparator: ', '
25
  };
26
}(jQuery));