Adding Arabic locale file
Signed-off-by: Igor Vaynberg <igor.vaynberg@gmail.com>
This commit is contained in:
parent
ae2f61ef12
commit
75a062fc0f
17
select2_locale_ar.js
Normal file
17
select2_locale_ar.js
Normal file
@ -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);
|
Loading…
Reference in New Issue
Block a user