Sha256: 67fa09bf3d86e043d8fb831f269c23f6a3ca18aa3022343465794bcc55e26767

Contents?: true

Size: 1001 Bytes

Versions: 4

Compression:

Stored size: 1001 Bytes

Contents

/**
 * Select2 Thai translation.
 *
 * Author: Atsawin Chaowanakritsanakul <joke@nakhon.net>
 */
(function ($) {
    "use strict";

    $.extend($.fn.select2.defaults, {
        formatNoMatches: function () { return "ไม่พบข้อมูล"; },
        formatInputTooShort: function (input, min) { var n = min - input.length; return "โปรดพิมพ์เพิ่มอีก " + n + " ตัวอักษร"; },
        formatInputTooLong: function (input, max) { var n = input.length - max; return "โปรดลบออก " + n + " ตัวอักษร"; },
        formatSelectionTooBig: function (limit) { return "คุณสามารถเลือกได้ไม่เกิน " + limit + " รายการ"; },
        formatLoadMore: function (pageNumber) { return "กำลังค้นข้อมูลเพิ่ม…"; },
        formatSearching: function () { return "กำลังค้นข้อมูล…"; }
    });
})(jQuery);

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
select2-rails-3.5.9 app/assets/javascripts/select2_locale_th.js
select2-rails-3.5.7 app/assets/javascripts/select2_locale_th.js
select2-rails-3.5.6 app/assets/javascripts/select2_locale_th.js
select2-rails-3.5.5 app/assets/javascripts/select2_locale_th.js