1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- (function (root, factory) {
- if (root === undefined && window !== undefined) root = window;
- if (typeof define === 'function' && define.amd) {
-
- define(["jquery"], function (a0) {
- return (factory(a0));
- });
- } else if (typeof module === 'object' && module.exports) {
-
-
-
- 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);
- }));
|