diff options
Diffstat (limited to 'web/js/select2/select2_locale_ar.js')
-rw-r--r-- | web/js/select2/select2_locale_ar.js | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/web/js/select2/select2_locale_ar.js b/web/js/select2/select2_locale_ar.js new file mode 100644 index 000000000..5ce010631 --- /dev/null +++ b/web/js/select2/select2_locale_ar.js @@ -0,0 +1,17 @@ +/** + * Select2 Arabic translation. + * + * Author: Your Name <amedhat3@gmail.com> + */ +(function ($) { + "use strict"; + + $.extend($.fn.select2.defaults, { + formatNoMatches: function () { return "لا توجد نتائج"; }, + formatInputTooShort: function (input, min) { var n = min - input.length; return "من فضلك أدخل " + n + " حروف أكثر"; }, + formatInputTooLong: function (input, max) { var n = input.length - max; return "من فضلك أحذف " + n + " حروف"; }, + formatSelectionTooBig: function (limit) { return "يمكنك ان تختار " + limit + " أختيارات فقط"; }, + formatLoadMore: function (pageNumber) { return "تحمل المذيد من النتائج ..."; }, + formatSearching: function () { return "جاري البحث ..."; } + }); +})(jQuery); |