From d207a56c344c278375d0991772a4c1b3ec6c39d2 Mon Sep 17 00:00:00 2001 From: Marko Aleksic Date: Thu, 11 Apr 2013 16:18:34 +0200 Subject: [PATCH] Macedonian locale added --- select2_locale_mk.js | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 select2_locale_mk.js diff --git a/select2_locale_mk.js b/select2_locale_mk.js new file mode 100644 index 00000000..69e3981a --- /dev/null +++ b/select2_locale_mk.js @@ -0,0 +1,17 @@ +/** + * Select2 Macedonian translation. + * + * Author: Marko Aleksic + */ +(function ($) { + "use strict"; + + $.extend($.fn.select2.defaults, { + formatNoMatches: function () { return "Нема пронајдено совпаѓања"; }, + formatInputTooShort: function (input, min) { var n = min - input.length; return "Ве молиме внесете уште " + n + " карактер" + (n == 1 ? "" : "и"); }, + formatInputTooLong: function (input, max) { var n = input.length - max; return "Ве молиме внесете " + n + " помалку карактер" + (n == 1? "" : "и"); }, + formatSelectionTooBig: function (limit) { return "Можете да изберете само " + limit + " ставк" + (limit == 1 ? "а" : "и"); }, + formatLoadMore: function (pageNumber) { return "Вчитување резултати..."; }, + formatSearching: function () { return "Пребарување..."; } + }); +})(jQuery); \ No newline at end of file