PHP Classes

File: vendors/select2/src/js/select2/i18n/lt.js

Recommend this page to a friend!
  Classes of Jorge Castro   Gentelella BladeOne   vendors/select2/src/js/select2/i18n/lt.js   Download  
File: vendors/select2/src/js/select2/i18n/lt.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Gentelella BladeOne
Render templates using Bootstrap for presentation
Author: By
Last change:
Date: 3 years ago
Size: 1,378 bytes
 

Contents

Class file image Download
define(function () { // rules from // http://www.unicode.org/cldr/charts/latest/supplemental/language_plural_rules.html#lt function ending(count, one, few, other) { if (count % 10 === 1 && (count % 100 < 11 || count % 100 > 19)) { return one; } else if ( (count % 10 >= 2 && count % 10 <= 9) && (count % 100 < 11 || count % 100 > 19)) { return few; } else { return other; } } return { inputTooLong: function (args) { var overChars = args.input.length - args.maximum; var message = 'Pa?alinkite ' + overChars + ' simbol'; message += ending(overChars, '?', 'ius', 'i?'); return message; }, inputTooShort: function (args) { var remainingChars = args.minimum - args.input.length; var message = '?ra?ykite dar ' + remainingChars + ' simbol'; message += ending(remainingChars, '?', 'ius', 'i?'); return message; }, loadingMore: function () { return 'Kraunama daugiau rezultat??'; }, maximumSelected: function (args) { var message = 'J?s galite pasirinkti tik ' + args.maximum + ' element'; message += ending(args.maximum, '?', 'us', '?'); return message; }, noResults: function () { return 'Atitikmen? nerasta'; }, searching: function () { return 'Ie?koma?'; } }; });