Skip to content

Commit 2a081df

Browse files
committed
Added Malay translation
1 parent 59df6b4 commit 2a081df

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

select2_locale_ms.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/**
2+
* Select2 Malay translation.
3+
*
4+
* Author: Kepoweran <kepoweran@gmail.com>
5+
*/
6+
(function ($) {
7+
"use strict";
8+
9+
$.extend($.fn.select2.defaults, {
10+
formatNoMatches: function () { return "Tiada padanan yang ditemui"; },
11+
formatInputTooShort: function (input, min) { var n = min - input.length; return "Sila masukkan " + n + " aksara lagi"; },
12+
formatInputTooLong: function (input, max) { var n = input.length - max; return "Sila hapuskan " + n + " aksara"; },
13+
formatSelectionTooBig: function (limit) { return "Anda hanya boleh memilih " + limit + " pilihan"; },
14+
formatLoadMore: function (pageNumber) { return "Sedang memuatkan keputusan..."; },
15+
formatSearching: function () { return "Mencari..."; }
16+
});
17+
})(jQuery);

0 commit comments

Comments
 (0)