Skip to content

Commit ca44642

Browse files
committed
Create select2_locale_fi.js
Finnish translations
1 parent 79a0f1d commit ca44642

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

select2_locale_fi.js

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
/**
2+
* Select2 Finnish translation
3+
*/
4+
(function ($) {
5+
"use strict";
6+
$.extend($.fn.select2.defaults, {
7+
formatNoMatches: function () {
8+
return "Ei tuloksia";
9+
},
10+
formatInputTooShort: function (input, min) {
11+
var n = min - input.length;
12+
return "Ole hyvä ja anna " + n + " merkkiä lisää.";
13+
},
14+
formatInputTooLong: function (input, max) {
15+
var n = input.length - max;
16+
return "Ole hyvä ja annar " + n + " merkkiä vähemmän.";
17+
},
18+
formatSelectionTooBig: function (limit) {
19+
return "Voit valita ainoastaan " + limit + " kpl";
20+
},
21+
formatLoadMore: function (pageNumber) {
22+
return "Ladataan lisää tuloksia...";
23+
},
24+
formatSearching: function () {
25+
return "Etsitään...";
26+
}
27+
});
28+
})(jQuery);

0 commit comments

Comments
 (0)