Browse files

add [it] locale transations

  • Loading branch information...
1 parent cd3d742 commit 244ba1bb43213b32661ccd40b29b5825634364fd @ivaynberg ivaynberg committed Feb 13, 2013
Showing with 15 additions and 0 deletions.
  1. +15 −0 select2_locale_it.js
View
15 select2_locale_it.js
@@ -0,0 +1,15 @@
+/**
+ * Select2 Italian translation
+ */
+(function ($) {
+ "use strict";
+
+ $.extend($.fn.select2.defaults, {
+ formatNoMatches: function () { return "Nessuna corrispondenza trovata"; },
+ formatInputTooShort: function (input, min) { var n = min - input.length; return "Inserisci ancora " + n + " caratter" + (n == 1? "e" : "i"); },
+ formatInputTooLong: function (input, max) { var n = input.length - max; return "Inserisci " + n + " caratter" + (n == 1? "e" : "i") + " in meno"; },
+ formatSelectionTooBig: function (limit) { return "Puoi selezionare solo " + limit + " element" + (limit == 1 ? "o" : "i"); },
+ formatLoadMore: function (pageNumber) { return "Caricamento in corso..."; },
+ formatSearching: function () { return "Ricerca..."; }
+ });
+})(jQuery);

0 comments on commit 244ba1b

Please sign in to comment.