PHP Classes

File: public/asset/vendor/select2/src/js/select2/i18n/pl.js

Recommend this page to a friend!
  Classes of fathurrahman   mnTemplate   public/asset/vendor/select2/src/js/select2/i18n/pl.js   Download  
File: public/asset/vendor/select2/src/js/select2/i18n/pl.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: mnTemplate
Route HTTP requests to callback functions
Author: By
Last change:
Date: 1 year ago
Size: 1,371 bytes
 

Contents

Class file image Download
define(function () { // Polish var charsWords = ['znak', 'znaki', 'znaków']; var itemsWords = ['element', 'elementy', 'elementów']; var pluralWord = function pluralWord(numberOfChars, words) { if (numberOfChars === 1) { return words[0]; } else if (numberOfChars > 1 && numberOfChars <= 4) { return words[1]; } else if (numberOfChars >= 5) { return words[2]; } }; return { errorLoading: function () { return 'Nie mo?na za?adowa? wyników.'; }, inputTooLong: function (args) { var overChars = args.input.length - args.maximum; return 'Usu? ' + overChars + ' ' + pluralWord(overChars, charsWords); }, inputTooShort: function (args) { var remainingChars = args.minimum - args.input.length; return 'Podaj przynajmniej ' + remainingChars + ' ' + pluralWord(remainingChars, charsWords); }, loadingMore: function () { return 'Trwa ?adowanie?'; }, maximumSelected: function (args) { return 'Mo?esz zaznaczy? tylko ' + args.maximum + ' ' + pluralWord(args.maximum, itemsWords); }, noResults: function () { return 'Brak wyników'; }, searching: function () { return 'Trwa wyszukiwanie?'; }, removeAllItems: function () { return 'Usu? wszystkie przedmioty'; } }; });