1/** 2 * Select2 Russian translation. 3 * 4 * @author Uriy Efremochkin <[email protected]> 5 */ 6(function ($) { 7 "use strict"; 8 9 $.fn.select2.locales['ru'] = { 10 formatNoMatches: function () { return "Совпадений не найдено"; }, 11 formatInputTooShort: function (input, min) { return "ÐожалÑйÑÑа, введиÑе еÑе Ñ Ð¾ÑÑ Ð±Ñ" + character(min - input.length); }, 12 formatInputTooLong: function (input, max) { return "ÐожалÑйÑÑа, введиÑе на" + character(input.length - max) + " менÑÑе"; }, 13 formatSelectionTooBig: function (limit) { return "ÐÑ Ð¼Ð¾Ð¶ÐµÑе вÑбÑаÑÑ Ð½Ðµ более " + limit + " ÑлеменÑ" + (limit%10 == 1 && limit%100 != 11 ? "а" : "ов"); }, 14 formatLoadMore: function (pageNumber) { return "ÐагÑÑзка даннÑÑ â¦"; }, 15 formatSearching: function () { return "ÐоиÑкâ¦"; } 16 }; 17 18 $.extend($.fn.select2.defaults, $.fn.select2.locales['ru']); 19 20 function character (n) { 21 return " " + n + " Ñимвол" + (n%10 < 5 && n%10 > 0 && (n%100 < 5 || n%100 > 20) ? n%10 > 1 ? "a" : "" : "ов"); 22 } 23})(jQuery);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.