Skip to content

Commit b774917

Browse files
committed
Merge pull request select2#1141 from AJenbo/master
Danish translation
2 parents d80ec81 + c2e417d commit b774917

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

select2_locale_da.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/**
2+
* Select2 Danish translation.
3+
*
4+
* Author: Anders Jenbo <anders@jenbo.dk>
5+
*/
6+
(function ($) {
7+
"use strict";
8+
9+
$.extend($.fn.select2.defaults, {
10+
formatNoMatches: function () { return "Ingen resultater fundet"; },
11+
formatInputTooShort: function (input, min) { var n = min - input.length; return "Angiv venligst " + n + " tegn mere"; },
12+
formatInputTooLong: function (input, max) { var n = input.length - max; return "Angiv venligst " + n + " tegn mindre"; },
13+
formatSelectionTooBig: function (limit) { return "Du kan kun vælge " + limit + " emne" + (limit === 1 ? "" : "r"); },
14+
formatLoadMore: function (pageNumber) { return "Indlæser flere resultater…"; },
15+
formatSearching: function () { return "Søger…"; }
16+
});
17+
})(jQuery);

0 commit comments

Comments
 (0)