1
0
mirror of synced 2024-11-28 23:56:03 +03:00
select2/select2_locale_bg.js

21 lines
1.1 KiB
JavaScript
Raw Normal View History

2013-07-03 12:00:54 +04:00
/**
2014-01-08 12:53:28 +04:00
* Select2 Bulgarian translation.
2013-07-03 12:00:54 +04:00
*
2014-01-08 12:53:28 +04:00
* @author Lubomir Vikev <lubomirvikev@gmail.com>
* @author Uriy Efremochkin <efremochkin@uriy.me>
2013-07-03 12:00:54 +04:00
*/
(function ($) {
"use strict";
$.fn.select2.locales['bg'] = {
2013-07-03 12:06:29 +04:00
formatNoMatches: function () { return "Няма намерени съвпадения"; },
2014-01-08 12:53:28 +04:00
formatInputTooShort: function (input, min) { var n = min - input.length; return "Моля въведете още " + n + " символ" + (n > 1 ? "а" : ""); },
formatInputTooLong: function (input, max) { var n = input.length - max; return "Моля въведете с " + n + " по-малко символ" + (n > 1 ? "а" : ""); },
formatSelectionTooBig: function (limit) { return "Можете да направите до " + limit + (limit > 1 ? " избора" : " избор"); },
formatLoadMore: function (pageNumber) { return "Зареждат се още…"; },
formatSearching: function () { return "Търсене…"; }
};
$.extend($.fn.select2.defaults, $.fn.select2.locales['bg']);
2013-07-03 12:00:54 +04:00
})(jQuery);