From 30cdb9ced7c27b332d4c59964438cf01feab175d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Salim=20KAYABA=C5=9EI?= Date: Fri, 22 Mar 2013 12:53:54 +0200 Subject: [PATCH] turkish translation added --- select2_locale_tr.js | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 select2_locale_tr.js diff --git a/select2_locale_tr.js b/select2_locale_tr.js new file mode 100644 index 00000000..70b0c769 --- /dev/null +++ b/select2_locale_tr.js @@ -0,0 +1,17 @@ +/** + * Select2 Turkish translation. + * + * Author: Salim KAYABAŞI + */ +(function ($) { + "use strict"; + + $.extend($.fn.select2.defaults, { + formatNoMatches: function () { return "Sonuç bulunamadı"; }, + formatInputTooShort: function (input, min) { var n = min - input.length; return "En az " + n + " karakter daha girmelisiniz"; }, + formatInputTooLong: function (input, max) { var n = input.length - max; return n + " karakter azaltmalısınız"; }, + formatSelectionTooBig: function (limit) { return "Sadece " + limit + " seçim yapabilirsiniz"; }, + formatLoadMore: function (pageNumber) { return "Daha fazla ..."; }, + formatSearching: function () { return "Aranıyor..."; } + }); +})(jQuery);