new static files.
Signed-off-by: rscnt <rascnt@gmail.com>
This commit is contained in:
		
					parent
					
						
							
								5da7cfab99
							
						
					
				
			
			
				commit
				
					
						bb68c32ba5
					
				
			
		
					 772 changed files with 71557 additions and 0 deletions
				
			
		
							
								
								
									
										26
									
								
								static/cms/js/select2/select2_locale_lt.js
									
										
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								static/cms/js/select2/select2_locale_lt.js
									
										
									
									
										vendored
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,26 @@
 | 
			
		|||
/**
 | 
			
		||||
 * Select2 Lithuanian translation.
 | 
			
		||||
 * 
 | 
			
		||||
 * @author  CRONUS Karmalakas <cronus dot karmalakas at gmail dot com>
 | 
			
		||||
 * @author  Uriy Efremochkin <efremochkin@uriy.me>
 | 
			
		||||
 */
 | 
			
		||||
(function ($) {
 | 
			
		||||
    "use strict";
 | 
			
		||||
 | 
			
		||||
    $.fn.select2.locales['lt'] = {
 | 
			
		||||
        formatNoMatches: function () { return "Atitikmenų nerasta"; },
 | 
			
		||||
        formatInputTooShort: function (input, min) { return "Įrašykite dar" + character(min - input.length); },
 | 
			
		||||
        formatInputTooLong: function (input, max) { return "Pašalinkite" + character(input.length - max); },
 | 
			
		||||
        formatSelectionTooBig: function (limit) {
 | 
			
		||||
        	return "Jūs galite pasirinkti tik " + limit + " element" + ((limit%100 > 9 && limit%100 < 21) || limit%10 == 0 ? "ų" : limit%10 > 1 ? "us" : "ą");
 | 
			
		||||
        },
 | 
			
		||||
        formatLoadMore: function (pageNumber) { return "Kraunama daugiau rezultatų…"; },
 | 
			
		||||
        formatSearching: function () { return "Ieškoma…"; }
 | 
			
		||||
    };
 | 
			
		||||
 | 
			
		||||
    $.extend($.fn.select2.defaults, $.fn.select2.locales['lt']);
 | 
			
		||||
 | 
			
		||||
    function character (n) {
 | 
			
		||||
        return " " + n + " simbol" + ((n%100 > 9 && n%100 < 21) || n%10 == 0 ? "ių" : n%10 > 1 ? "ius" : "į");
 | 
			
		||||
    }
 | 
			
		||||
})(jQuery);
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue