From de5fe02f5ece3e1a7da4eee61655e2388077e492 Mon Sep 17 00:00:00 2001 From: od3n Date: Sat, 11 Oct 2014 10:32:31 +0800 Subject: [PATCH] updated Malay translation --- select2_locale_ms.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/select2_locale_ms.js b/select2_locale_ms.js index 46588d6d..6447c089 100644 --- a/select2_locale_ms.js +++ b/select2_locale_ms.js @@ -2,11 +2,13 @@ * Select2 Malay translation. * * Author: Kepoweran + * Author: Salahuddin Hairai */ (function ($) { "use strict"; $.fn.select2.locales['ms'] = { + formatMatches: function (matches) { if (matches === 1) { return "Satu keputusan ditemui, tekan enter untuk memilih."; } return matches + " keputusan ditemui, gunakan kekunci anak panah ke atas dan ke bawah untuk menavigasi."; }, 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"; },