소스 검색

Fixes updated translation pattern.

Tobias Bohwalli 10 년 전
부모
커밋
e7ad0b00cd
1개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. 4 2
      select2_locale_az.js

+ 4 - 2
select2_locale_az.js

@@ -6,7 +6,7 @@
 (function ($) {
     "use strict";
 
-    $.extend($.fn.select2.defaults, {
+     $.fn.select2.locales['az'] = {
         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."; },
         formatNoMatches: function () { return "Nəticə tapılmadı"; },
         formatInputTooShort: function (input, min) { var n = min - input.length; return n + " simvol daxil edin"; },
@@ -14,5 +14,7 @@
         formatSelectionTooBig: function (limit) { return "Sadəcə " + limit + " element seçə bilərsiniz"; },
         formatLoadMore: function (pageNumber) { return "Daha çox nəticə yüklənir…"; },
         formatSearching: function () { return "Axtarılır…"; }
-    });
+    };
+
+    $.extend($.fn.select2.defaults, $.fn.select2.locales['az']);
 })(jQuery);