Merge pull request #1028 from JensRantil/swedish-translation
Swedish translation
This commit is contained in:
commit
f60c40d484
17
select2_locale_sv.js
Normal file
17
select2_locale_sv.js
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
/**
|
||||||
|
* Select2 Swedish translation.
|
||||||
|
*
|
||||||
|
* Author: Jens Rantil <jens.rantil@telavox.com>
|
||||||
|
*/
|
||||||
|
(function ($) {
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
$.extend($.fn.select2.defaults, {
|
||||||
|
formatNoMatches: function () { return "Inga träffar"; },
|
||||||
|
formatInputTooShort: function (input, min) { var n = min - input.length; return "Var god skriv in " + n + (n>1 ? " till tecken" : " tecken till"); },
|
||||||
|
formatInputTooLong: function (input, max) { var n = input.length - max; return "Var god sudda ut " + n + " tecken"; },
|
||||||
|
formatSelectionTooBig: function (limit) { return "Du kan max välja " + limit + " element"; },
|
||||||
|
formatLoadMore: function (pageNumber) { return "Laddar fler resultat..."; },
|
||||||
|
formatSearching: function () { return "Söker..."; }
|
||||||
|
});
|
||||||
|
})(jQuery);
|
Loading…
x
Reference in New Issue
Block a user