1
0
mirror of synced 2024-11-25 14:26:03 +03:00

Merge pull request #2730 from od3n/master

updated Malay & Indonesian translations
This commit is contained in:
Kevin Brown 2014-11-20 21:46:38 -05:00
commit 9913cb7c25
2 changed files with 7 additions and 3 deletions

View File

@ -2,15 +2,17 @@
* Select2 Indonesian translation. * Select2 Indonesian translation.
* *
* Author: Ibrahim Yusuf <ibrahim7usuf@gmail.com> * Author: Ibrahim Yusuf <ibrahim7usuf@gmail.com>
* Author: Salahuddin Hairai <mr.od3n@gmail.com>
*/ */
(function ($) { (function ($) {
"use strict"; "use strict";
$.fn.select2.locales['id'] = { $.fn.select2.locales['id'] = {
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 "Tidak ada data yang sesuai"; }, formatNoMatches: function () { return "Tidak ada data yang sesuai"; },
formatInputTooShort: function (input, min) { var n = min - input.length; return "Masukkan " + n + " huruf lagi" + (n == 1 ? "" : "s"); }, formatInputTooShort: function (input, min) { var n = min - input.length; return "Masukkan " + n + " huruf lagi"; },
formatInputTooLong: function (input, max) { var n = input.length - max; return "Hapus " + n + " huruf" + (n == 1 ? "" : "s"); }, formatInputTooLong: function (input, max) { var n = input.length - max; return "Hapuskan " + n + " huruf" ; },
formatSelectionTooBig: function (limit) { return "Anda hanya dapat memilih " + limit + " pilihan" + (limit == 1 ? "" : "s"); }, formatSelectionTooBig: function (limit) { return "Anda hanya dapat memilih " + limit + " pilihan"; },
formatLoadMore: function (pageNumber) { return "Mengambil data…"; }, formatLoadMore: function (pageNumber) { return "Mengambil data…"; },
formatSearching: function () { return "Mencari…"; } formatSearching: function () { return "Mencari…"; }
}; };

View File

@ -2,11 +2,13 @@
* Select2 Malay translation. * Select2 Malay translation.
* *
* Author: Kepoweran <kepoweran@gmail.com> * Author: Kepoweran <kepoweran@gmail.com>
* Author: Salahuddin Hairai <mr.od3n@gmail.com>
*/ */
(function ($) { (function ($) {
"use strict"; "use strict";
$.fn.select2.locales['ms'] = { $.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"; }, formatNoMatches: function () { return "Tiada padanan yang ditemui"; },
formatInputTooShort: function (input, min) { var n = min - input.length; return "Sila masukkan " + n + " aksara lagi"; }, 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"; }, formatInputTooLong: function (input, max) { var n = input.length - max; return "Sila hapuskan " + n + " aksara"; },