2013-03-18 19:02:55 +04:00
|
|
|
/**
|
|
|
|
* Select2 Basque translation.
|
|
|
|
*
|
|
|
|
* Author: Julen Ruiz Aizpuru <julenx at gmail dot com>
|
|
|
|
*/
|
|
|
|
(function ($) {
|
|
|
|
"use strict";
|
|
|
|
|
2014-04-15 11:20:22 +04:00
|
|
|
$.fn.select2.locales['eu'] = {
|
2013-03-18 19:02:55 +04:00
|
|
|
formatNoMatches: function () {
|
|
|
|
return "Ez da bat datorrenik aurkitu";
|
|
|
|
},
|
|
|
|
formatInputTooShort: function (input, min) {
|
|
|
|
var n = min - input.length;
|
|
|
|
if (n === 1) {
|
|
|
|
return "Idatzi karaktere bat gehiago";
|
|
|
|
} else {
|
|
|
|
return "Idatzi " + n + " karaktere gehiago";
|
|
|
|
}
|
|
|
|
},
|
|
|
|
formatInputTooLong: function (input, max) {
|
|
|
|
var n = input.length - max;
|
|
|
|
if (n === 1) {
|
|
|
|
return "Idatzi karaktere bat gutxiago";
|
|
|
|
} else {
|
|
|
|
return "Idatzi " + n + " karaktere gutxiago";
|
|
|
|
}
|
|
|
|
},
|
|
|
|
formatSelectionTooBig: function (limit) {
|
|
|
|
if (limit === 1 ) {
|
|
|
|
return "Elementu bakarra hauta dezakezu";
|
|
|
|
} else {
|
|
|
|
return limit + " elementu hauta ditzakezu soilik";
|
|
|
|
}
|
|
|
|
},
|
|
|
|
formatLoadMore: function (pageNumber) {
|
2014-01-08 13:35:47 +04:00
|
|
|
return "Emaitza gehiago kargatzen…";
|
2013-03-18 19:02:55 +04:00
|
|
|
},
|
|
|
|
formatSearching: function () {
|
2014-01-08 13:35:47 +04:00
|
|
|
return "Bilatzen…";
|
2013-03-18 19:02:55 +04:00
|
|
|
}
|
2014-05-16 12:55:03 +04:00
|
|
|
};
|
2014-05-15 14:55:44 +04:00
|
|
|
|
2014-05-16 13:02:10 +04:00
|
|
|
$.extend($.fn.select2.defaults, $.fn.select2.locales['eu']);
|
2013-03-18 19:02:55 +04:00
|
|
|
})(jQuery);
|