You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1.8 KiB
Plaintext
45 lines
1.8 KiB
Plaintext
11 months ago
|
/*!
|
||
|
* Bootstrap-select v1.12.4 (http://silviomoreto.github.io/bootstrap-select)
|
||
|
*
|
||
|
* Copyright 2013-2017 bootstrap-select
|
||
|
* Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE)
|
||
|
*/
|
||
|
|
||
|
(function (root, factory) {
|
||
|
if (typeof define === 'function' && define.amd) {
|
||
|
// AMD. Register as an anonymous module unless amdModuleId is set
|
||
|
define(["jquery"], function (a0) {
|
||
|
return (factory(a0));
|
||
|
});
|
||
|
} else if (typeof module === 'object' && module.exports) {
|
||
|
// Node. Does not work with strict CommonJS, but
|
||
|
// only CommonJS-like environments that support module.exports,
|
||
|
// like Node.
|
||
|
module.exports = factory(require("jquery"));
|
||
|
} else {
|
||
|
factory(root["jQuery"]);
|
||
|
}
|
||
|
}(this, function (jQuery) {
|
||
|
|
||
|
(function ($) {
|
||
|
$.fn.selectpicker.defaults = {
|
||
|
noneSelectedText: 'មិនមានអ្វីបានជ្រើសរើស',
|
||
|
noneResultsText: 'មិនមានលទ្ធផល {0}',
|
||
|
countSelectedText: function (numSelected, numTotal) {
|
||
|
return (numSelected == 1) ? "{0} ធាតុដែលបានជ្រើស" : "{0} ធាតុដែលបានជ្រើស";
|
||
|
},
|
||
|
maxOptionsText: function (numAll, numGroup) {
|
||
|
return [
|
||
|
(numAll == 1) ? 'ឈានដល់ដែនកំណត់ ( {n} ធាតុអតិបរមា)' : 'អតិបរមាឈានដល់ដែនកំណត់ ( {n} ធាតុ)',
|
||
|
(numGroup == 1) ? 'ដែនកំណត់ក្រុមឈានដល់ ( {n} អតិបរមាធាតុ)' : 'អតិបរមាក្រុមឈានដល់ដែនកំណត់ ( {n} ធាតុ)'
|
||
|
];
|
||
|
},
|
||
|
selectAllText: 'ជ្រើសយកទាំងអស់',
|
||
|
deselectAllText: 'មិនជ្រើសយកទាំងអស',
|
||
|
multipleSeparator: ', '
|
||
|
};
|
||
|
})(jQuery);
|
||
|
|
||
|
|
||
|
}));
|