diff options
Diffstat (limited to 'apps/files_external/3rdparty/select2/select2_locale_th.js')
-rw-r--r-- | apps/files_external/3rdparty/select2/select2_locale_th.js | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/apps/files_external/3rdparty/select2/select2_locale_th.js b/apps/files_external/3rdparty/select2/select2_locale_th.js new file mode 100644 index 00000000000..df59bdac36d --- /dev/null +++ b/apps/files_external/3rdparty/select2/select2_locale_th.js @@ -0,0 +1,17 @@ +/** + * 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); |