2 * Bootstrap-select v1.10.0 (http://silviomoreto.github.io/bootstrap-select)
4 * Copyright 2013-2016 bootstrap-select
5 * Licensed under MIT (https://github.com/silviomoreto/bootstrap-select/blob/master/LICENSE)
8 (function (root, factory) {
9 if (typeof define === 'function' && define.amd) {
10 // AMD. Register as an anonymous module unless amdModuleId is set
11 define(["jquery"], function (a0) {
14 } else if (typeof exports === 'object') {
15 // Node. Does not work with strict CommonJS, but
16 // only CommonJS-like environments that support module.exports,
18 module.exports = factory(require("jquery"));
22 }(this, function (jQuery) {
25 * Translated default messages for bootstrap-select.
27 * Author: Yasser Lotfy <y_l@alive.com>
30 $.fn.selectpicker.defaults = {
31 noneSelectedText: 'لم يتم إختيار شئ',
32 noneResultsText: 'لا توجد نتائج مطابقة لـ {0}',
33 countSelectedText: function (numSelected, numTotal) {
34 return (numSelected == 1) ? "{0} خيار تم إختياره" : "{0} خيارات تمت إختيارها";
36 maxOptionsText: function (numAll, numGroup) {
38 (numAll == 1) ? 'تخطى الحد المسموح ({n} خيار بحد أقصى)' : 'تخطى الحد المسموح ({n} خيارات بحد أقصى)',
39 (numGroup == 1) ? 'تخطى الحد المسموح للمجموعة ({n} خيار بحد أقصى)' : 'تخطى الحد المسموح للمجموعة ({n} خيارات بحد أقصى)'
42 selectAllText: 'إختيار الجميع',
43 deselectAllText: 'إلغاء إختيار الجميع',
44 multipleSeparator: '، '