Skip to content

Commit f579cbb

Browse files
committed
Merge pull request select2#2540 from futhr/patch-1
Fixes updated translation pattern.
2 parents f995605 + e7ad0b0 commit f579cbb

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

select2_locale_az.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,15 @@
66
(function ($) {
77
"use strict";
88

9-
$.extend($.fn.select2.defaults, {
9+
$.fn.select2.locales['az'] = {
1010
formatMatches: function (matches) { return matches + " nəticə mövcuddur, hərəkət etdirmək üçün yuxarı və aşağı düymələrindən istifadə edin."; },
1111
formatNoMatches: function () { return "Nəticə tapılmadı"; },
1212
formatInputTooShort: function (input, min) { var n = min - input.length; return n + " simvol daxil edin"; },
1313
formatInputTooLong: function (input, max) { var n = input.length - max; return n + " simvol silin"; },
1414
formatSelectionTooBig: function (limit) { return "Sadəcə " + limit + " element seçə bilərsiniz"; },
1515
formatLoadMore: function (pageNumber) { return "Daha çox nəticə yüklənir…"; },
1616
formatSearching: function () { return "Axtarılır…"; }
17-
});
17+
};
18+
19+
$.extend($.fn.select2.defaults, $.fn.select2.locales['az']);
1820
})(jQuery);

0 commit comments

Comments
 (0)