Skip to content

Commit 82f1009

Browse files
committed
translation for Persian(Farsi) fa.
1 parent 001c9ab commit 82f1009

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

select2_locale_fa.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/**
2+
* Select2 <fa> translation.
3+
*
4+
* Author: Ali Choopan <choopan@arsh.co>
5+
*/
6+
(function ($) {
7+
"use strict";
8+
9+
$.extend($.fn.select2.defaults, {
10+
formatNoMatches: function () { return "نتیجه‌ای یافت نشد."; },
11+
formatInputTooShort: function (input, min) { var n = min - input.length; return " لطفا بیش از"+n+"کاراکتر وارد نمایید "; },
12+
formatInputTooLong: function (input, max) { var n = input.length - max; return " لطفا" + n + " کاراکتر را حذف کنید."; },
13+
formatSelectionTooBig: function (limit) { return "شما فقط می‌توانید " + limit + " مورد را انتخاب کنید"; },
14+
formatLoadMore: function (pageNumber) { return "در حال بارگذاری موارد بیشتر ..."; },
15+
formatSearching: function () { return "در حال جستجو"; }
16+
});
17+
})(jQuery);

0 commit comments

Comments
 (0)