Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 1 | espaco | 1 | /** |
| 2 | * Select2 Catalan translation. |
||
| 3 | * |
||
| 4 | * Author: David Planella <david.planella@gmail.com> |
||
| 5 | */ |
||
| 6 | (function ($) { |
||
| 7 | "use strict"; |
||
| 8 | |||
| 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…"; } |
||
| 16 | }; |
||
| 17 | |||
| 18 | $.extend($.fn.select2.defaults, $.fn.select2.locales['ca']); |
||
| 19 | })(jQuery); |