Merge pull request #1335 from rajeshmeniya/patch-1
Create select2_locale_fi.js
This commit is contained in:
commit
207139bc12
28
select2_locale_fi.js
Normal file
28
select2_locale_fi.js
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
/**
|
||||||
|
* Select2 Finnish translation
|
||||||
|
*/
|
||||||
|
(function ($) {
|
||||||
|
"use strict";
|
||||||
|
$.extend($.fn.select2.defaults, {
|
||||||
|
formatNoMatches: function () {
|
||||||
|
return "Ei tuloksia";
|
||||||
|
},
|
||||||
|
formatInputTooShort: function (input, min) {
|
||||||
|
var n = min - input.length;
|
||||||
|
return "Ole hyvä ja anna " + n + " merkkiä lisää.";
|
||||||
|
},
|
||||||
|
formatInputTooLong: function (input, max) {
|
||||||
|
var n = input.length - max;
|
||||||
|
return "Ole hyvä ja annar " + n + " merkkiä vähemmän.";
|
||||||
|
},
|
||||||
|
formatSelectionTooBig: function (limit) {
|
||||||
|
return "Voit valita ainoastaan " + limit + " kpl";
|
||||||
|
},
|
||||||
|
formatLoadMore: function (pageNumber) {
|
||||||
|
return "Ladataan lisää tuloksia...";
|
||||||
|
},
|
||||||
|
formatSearching: function () {
|
||||||
|
return "Etsitään...";
|
||||||
|
}
|
||||||
|
});
|
||||||
|
})(jQuery);
|
Loading…
x
Reference in New Issue
Block a user