2013-03-13 20:42:33 +04:00
|
|
|
/**
|
|
|
|
* Select2 Swedish translation.
|
|
|
|
*
|
|
|
|
* Author: Jens Rantil <jens.rantil@telavox.com>
|
|
|
|
*/
|
|
|
|
(function ($) {
|
|
|
|
"use strict";
|
|
|
|
|
2014-04-15 11:20:22 +04:00
|
|
|
$.fn.select2.locales['sv'] = {
|
2013-03-13 20:42:33 +04:00
|
|
|
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"; },
|
2014-01-08 13:35:47 +04:00
|
|
|
formatLoadMore: function (pageNumber) { return "Laddar fler resultat…"; },
|
|
|
|
formatSearching: function () { return "Söker…"; }
|
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['sv']);
|
2013-03-13 20:42:33 +04:00
|
|
|
})(jQuery);
|