PageRenderTime 73ms CodeModel.GetById 70ms app.highlight 2ms RepoModel.GetById 0ms app.codeStats 1ms

/public/js/select2/select2_locale_nl.js

https://gitlab.com/webster5361/UserFrosting
JavaScript | 17 lines | 12 code | 2 blank | 3 comment | 3 complexity | 820f48fdead90505fa70b4e47b2c652a MD5 | raw file
 1/**
 2 * Select2 Dutch translation
 3 */
 4(function ($) {
 5    "use strict";
 6
 7    $.fn.select2.locales['nl'] = {
 8        formatNoMatches: function () { return "Geen resultaten gevonden"; },
 9        formatInputTooShort: function (input, min) { var n = min - input.length; return "Vul nog " + n + " karakter" + (n == 1? "" : "s") + " in"; },
10        formatInputTooLong: function (input, max) { var n = input.length - max; return "Haal " + n + " karakter" + (n == 1? "" : "s") + " weg"; },
11        formatSelectionTooBig: function (limit) { return "Maximaal " + limit + " item" + (limit == 1 ? "" : "s") + " toegestaan"; },
12        formatLoadMore: function (pageNumber) { return "Meer resultaten laden…"; },
13        formatSearching: function () { return "Zoeken…"; }
14    };
15
16    $.extend($.fn.select2.defaults, $.fn.select2.locales['nl']);
17})(jQuery);