2013-04-29 14:53:29 +04:00
|
|
|
/**
|
2014-01-07 17:19:03 +04:00
|
|
|
* Select2 Latvian translation.
|
|
|
|
*
|
|
|
|
* @author Uriy Efremochkin <efremochkin@uriy.me>
|
2013-04-29 14:53:29 +04:00
|
|
|
*/
|
|
|
|
(function ($) {
|
|
|
|
"use strict";
|
|
|
|
|
2014-04-15 11:20:22 +04:00
|
|
|
$.fn.select2.locales['lv'] = {
|
2013-04-29 14:53:29 +04:00
|
|
|
formatNoMatches: function () { return "Sakritību nav"; },
|
2014-01-07 17:19:03 +04:00
|
|
|
formatInputTooShort: function (input, min) { var n = min - input.length; return "Lūdzu ievadiet vēl " + n + " simbol" + (n == 11 ? "us" : n%10 == 1 ? "u" : "us"); },
|
|
|
|
formatInputTooLong: function (input, max) { var n = input.length - max; return "Lūdzu ievadiet par " + n + " simbol" + (n == 11 ? "iem" : n%10 == 1 ? "u" : "iem") + " mazāk"; },
|
|
|
|
formatSelectionTooBig: function (limit) { return "Jūs varat izvēlēties ne vairāk kā " + limit + " element" + (limit == 11 ? "us" : limit%10 == 1 ? "u" : "us"); },
|
2014-01-08 13:35:47 +04:00
|
|
|
formatLoadMore: function (pageNumber) { return "Datu ielāde…"; },
|
|
|
|
formatSearching: function () { return "Meklēšana…"; }
|
2014-05-16 12:55:03 +04:00
|
|
|
};
|
2014-05-15 14:55:44 +04:00
|
|
|
|
2014-05-16 13:02:10 +04:00
|
|
|
$.extend($.fn.select2.defaults, $.fn.select2.locales['lv']);
|
2013-04-29 14:53:29 +04:00
|
|
|
})(jQuery);
|