From 2a081dfc1f050208800eebaa9db7fb049529694e Mon Sep 17 00:00:00 2001 From: kepoweran Date: Fri, 2 Aug 2013 23:43:34 +0800 Subject: [PATCH] Added Malay translation --- select2_locale_ms.js | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 select2_locale_ms.js diff --git a/select2_locale_ms.js b/select2_locale_ms.js new file mode 100644 index 00000000..c7202e1d --- /dev/null +++ b/select2_locale_ms.js @@ -0,0 +1,17 @@ +/** + * Select2 Malay translation. + * + * Author: Kepoweran + */ +(function ($) { + "use strict"; + + $.extend($.fn.select2.defaults, { + formatNoMatches: function () { return "Tiada padanan yang ditemui"; }, + formatInputTooShort: function (input, min) { var n = min - input.length; return "Sila masukkan " + n + " aksara lagi"; }, + formatInputTooLong: function (input, max) { var n = input.length - max; return "Sila hapuskan " + n + " aksara"; }, + formatSelectionTooBig: function (limit) { return "Anda hanya boleh memilih " + limit + " pilihan"; }, + formatLoadMore: function (pageNumber) { return "Sedang memuatkan keputusan..."; }, + formatSearching: function () { return "Mencari..."; } + }); +})(jQuery);