Browse files

add German translation

  • Loading branch information...
1 parent 852d6e8 commit 41777bd06f1a7fe6589801b78d43cdd477fd9c39 @blizzy78 blizzy78 committed Feb 20, 2013
Showing with 15 additions and 0 deletions.
  1. +15 −0 select2_locale_de.js
View
15 select2_locale_de.js
@@ -0,0 +1,15 @@
+/**
+ * Select2 German translation
+ */
+(function ($) {
+ "use strict";
+
+ $.extend($.fn.select2.defaults, {
+ formatNoMatches: function () { return "Keine Übereinstimmungen gefunden"; },
+ formatInputTooShort: function (input, min) { var n = min - input.length; return "Bitte " + n + " Zeichen mehr eingeben"; },
+ formatInputTooLong: function (input, max) { var n = input.length - max; return "Bitte " + n + " Zeichen weniger eingeben"; },
+ formatSelectionTooBig: function (limit) { return "Sie können nur " + limit + " Eintr" + (limit === 1 ? "ag" : "äge") + " auswählen"; },
+ formatLoadMore: function (pageNumber) { return "Lade mehr Ergebnisse..."; },
+ formatSearching: function () { return "Suche..."; }
+ });
+})(jQuery);

0 comments on commit 41777bd

Please sign in to comment.