2
* Select2 Catalan translation.
4
* Author: David Planella <david.planella@gmail.com>
9
$.fn.select2.locales['ca'] = {
10
formatNoMatches: function () { return "No s'ha trobat cap coincidència"; },
11
formatInputTooShort: function (input, min) { var n = min - input.length; return "Introduïu " + n + " caràcter" + (n == 1 ? "" : "s") + " més"; },
12
formatInputTooLong: function (input, max) { var n = input.length - max; return "Introduïu " + n + " caràcter" + (n == 1? "" : "s") + "menys"; },
13
formatSelectionTooBig: function (limit) { return "Només podeu seleccionar " + limit + " element" + (limit == 1 ? "" : "s"); },
14
formatLoadMore: function (pageNumber) { return "S'estan carregant més resultats…"; },
15
formatSearching: function () { return "S'està cercant…"; }
18
$.extend($.fn.select2.defaults, $.fn.select2.locales['ca']);