forked from snapappointments/bootstrap-select
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request snapappointments#1152 from iaesaudi/bootstrap-sele…
…ct-ar Bootstrap-select arabic language
- Loading branch information
Showing
2 changed files
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
/*! | ||
* Translated default messages for bootstrap-select. | ||
* Locale: AR (Arabic) | ||
* Author: Yasser Lotfy <[email protected]> | ||
*/ | ||
|
||
(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 exports === 'object') { | ||
// 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(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); | ||
|
||
|
||
})); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.