PHP Classes

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

Recommend this page to a friend!
  Classes of Jorge Castro   Gentelella BladeOne   vendors/select2/src/js/select2/i18n/pl.js   Download  
File: vendors/select2/src/js/select2/i18n/pl.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,287 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?'; } }; });