From b36850644eb6ca92190e57531d8053c3b76fb592 Mon Sep 17 00:00:00 2001 From: mantas Date: Mon, 8 Apr 2013 14:03:03 +0300 Subject: [PATCH] Fixed lithuanian translation --- select2_locale_lt.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/select2_locale_lt.js b/select2_locale_lt.js index 5d5b4879..104e48b5 100644 --- a/select2_locale_lt.js +++ b/select2_locale_lt.js @@ -7,19 +7,19 @@ "use strict"; $.extend($.fn.select2.defaults, { - formatNoMatches: function () { return "Įrašų nerasta"; }, + formatNoMatches: function () { return "Atitikmenų nerasta"; }, formatInputTooShort: function (input, min) { var n = min - input.length; - var suffix = (n % 10 == 1) && (n % 100 != 11)) ? 'į' : (((n % 10 >= 2) && ((n % 100 < 10) || (n % 100 >= 20))) ? 'ius' : 'ių'; + var suffix = (n % 10 == 1) && (n % 100 != 11) ? 'į' : (((n % 10 >= 2) && ((n % 100 < 10) || (n % 100 >= 20))) ? 'ius' : 'ių'); return "Įrašykite dar " + n + " simbol" + suffix; }, formatInputTooLong: function (input, max) { var n = input.length - max; - var suffix = (n % 10 == 1) && (n % 100 != 11)) ? 'į' : (((n % 10 >= 2) && ((n % 100 < 10) || (n % 100 >= 20))) ? 'ius' : 'ių'; + var suffix = (n % 10 == 1) && (n % 100 != 11) ? 'į' : (((n % 10 >= 2) && ((n % 100 < 10) || (n % 100 >= 20))) ? 'ius' : 'ių'); return "Pašalinkite " + n + " simbol" + suffix; }, formatSelectionTooBig: function (limit) { - var suffix = (n % 10 == 1) && (n % 100 != 11)) ? 'ą' : (((n % 10 >= 2) && ((n % 100 < 10) || (n % 100 >= 20))) ? 'us' : 'ų'; + var suffix = (n % 10 == 1) && (n % 100 != 11) ? 'ą' : (((n % 10 >= 2) && ((n % 100 < 10) || (n % 100 >= 20))) ? 'us' : 'ų'); return "Jūs galite pasirinkti tik " + limit + " element" + suffix; }, formatLoadMore: function (pageNumber) { return "Kraunama daugiau rezultatų..."; },