/** * jqGrid Thai Translation * Kittituch Manakul m.kittituch@Gmail.com * http://trirand.com/blog/ * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html **/ /*global jQuery, define */ (function( factory ) { "use strict"; if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. define([ "jquery", "../grid.base" ], factory ); } else { // Browser globals factory( jQuery ); } }(function( $ ) { $.jgrid = $.jgrid || {}; if(!$.jgrid.hasOwnProperty("regional")) { $.jgrid.regional = []; } $.jgrid.regional["th"] = { defaults : { recordtext: "à¹à¸ªà¸”ง {0} - {1} จาภ{2}", emptyrecords: "ไม่พบข้à¸à¸¡à¸¹à¸¥", loadtext: "à¸à¸³à¸¥à¸±à¸‡à¸£à¹‰à¸à¸‡à¸‚à¸à¸‚้à¸à¸¡à¸¹à¸¥...", pgtext : "หน้า {0} จาภ{1}", savetext: "Saving...", pgfirst : "First Page", pglast : "Last Page", pgnext : "Next Page", pgprev : "Previous Page", pgrecs : "Records per Page", showhide: "Toggle Expand Collapse Grid", // mobile pagerCaption : "Grid::Page Settings", pageText : "Page:", recordPage : "Records per Page", nomorerecs : "No more records...", scrollPullup: "Pull up to load more...", scrollPulldown : "Pull down to refresh...", scrollRefresh : "Release to refresh..." }, search : { caption: "à¸à¸³à¸¥à¸±à¸‡à¸„้นหา...", Find: "ค้นหา", Reset: "คืนค่าà¸à¸¥à¸±à¸š", odata: [{ oper:'eq', text:"เท่าà¸à¸±à¸š"},{ oper:'ne', text:"ไม่เท่าà¸à¸±à¸š"},{ oper:'lt', text:"น้à¸à¸¢à¸à¸§à¹ˆà¸²"},{ oper:'le', text:"ไม่มาà¸à¸à¸§à¹ˆà¸²"},{ oper:'gt', text:"มาà¸à¸à¸à¸§à¹ˆà¸²"},{ oper:'ge', text:"ไม่น้à¸à¸¢à¸à¸§à¹ˆà¸²"},{ oper:'bw', text:"ขึ้นต้นด้วย"},{ oper:'bn', text:"ไม่ขึ้นต้นด้วย"},{ oper:'in', text:"มีคำใดคำหนึ่งใน"},{ oper:'ni', text:"ไม่มีคำใดคำหนึ่งใน"},{ oper:'ew', text:"ลงท้ายด้วย"},{ oper:'en', text:"ไม่ลงท้ายด้วย"},{ oper:'cn', text:"มีคำว่า"},{ oper:'nc', text:"ไม่มีคำว่า"},{ oper:'nu', text:'is null'},{ oper:'nn', text:'is not null'}], groupOps: [ { op: "à¹à¸¥à¸°", text: "ทั้งหมด" }, { op: "หรืà¸", text: "ใดๆ" } ], operandTitle : "Click to select search operation.", resetTitle : "Reset Search Value" }, edit : { addCaption: "เพิ่มข้à¸à¸¡à¸¹à¸¥", editCaption: "à¹à¸à¹‰à¹„ขข้à¸à¸¡à¸¹à¸¥", bSubmit: "บันทึà¸", bCancel: "ยà¸à¹€à¸¥à¸´à¸", bClose: "ปิด", saveData: "คุณต้à¸à¸‡à¸à¸²à¸£à¸šà¸±à¸™à¸—ึà¸à¸²à¸£à¹à¸à¹‰à¹„ข ใช่หรืà¸à¹„ม่?", bYes : "บันทึà¸", bNo : "ละทิ้งà¸à¸²à¸£à¹à¸à¹‰à¹„ข", bExit : "ยà¸à¹€à¸¥à¸´à¸", msg: { required:"ข้à¸à¸¡à¸¹à¸¥à¸™à¸µà¹‰à¸ˆà¸³à¹€à¸›à¹‡à¸™", number:"à¸à¸£à¸¸à¸“าà¸à¸£à¸à¸à¸«à¸¡à¸²à¸¢à¹€à¸¥à¸‚ให้ถูà¸à¸•้à¸à¸‡", minValue:"ค่าขà¸à¸‡à¸‚้à¸à¸¡à¸¹à¸¥à¸™à¸µà¹‰à¸•้à¸à¸‡à¹„ม่น้à¸à¸¢à¸à¸§à¹ˆà¸²", maxValue:"ค่าขà¸à¸‡à¸‚้à¸à¸¡à¸¹à¸¥à¸™à¸µà¹‰à¸•้à¸à¸‡à¹„ม่มาà¸à¸à¸§à¹ˆà¸²", email: "à¸à¸µà¹€à¸¡à¸¥à¸¥à¹Œà¸™à¸µà¹‰à¹„ม่ถูà¸à¸•้à¸à¸‡", integer: "à¸à¸£à¸¸à¸“าà¸à¸£à¸à¸à¹€à¸›à¹‡à¸™à¸ˆà¸³à¸™à¸§à¸™à¹€à¸•็ม", date: "à¸à¸£à¸¸à¸“าà¸à¸£à¸à¸à¸§à¸±à¸™à¸—ี่ให้ถูà¸à¸•้à¸à¸‡", url: "URL ไม่ถูà¸à¸•้à¸à¸‡ URL จำเป็นต้à¸à¸‡à¸‚ึ้นต้นด้วย 'http://' หรืภ'https://'", nodefined : "ไม่ได้ถูà¸à¸à¸³à¸«à¸™à¸”ค่า!", novalue : "ต้à¸à¸‡à¸à¸²à¸£à¸à¸²à¸£à¸„ืนค่า!", customarray : "ฟังà¸à¹Œà¸Šà¸±à¸™à¸—ี่สร้างขึ้นต้à¸à¸‡à¸ªà¹ˆà¸‡à¸„่าà¸à¸¥à¸±à¸šà¹€à¸›à¹‡à¸™à¹à¸šà¸šà¹à¸à¹€à¸£à¸¢à¹Œ", customfcheck : "ระบบต้à¸à¸‡à¸à¸²à¸£à¸Ÿà¸±à¸‡à¸à¹Œà¸Šà¸±à¸™à¸—ี่สร้างขึ้นสำหรับà¸à¸²à¸£à¸•รวจสà¸à¸š!" } }, view : { caption: "เรียà¸à¸”ูข้à¸à¸¡à¸¹à¸¥", bClose: "ปิด" }, del : { caption: "ลบข้à¸à¸¡à¸¹à¸¥", msg: "คุณต้à¸à¸‡à¸à¸²à¸£à¸¥à¸šà¸‚้à¸à¸¡à¸¹à¸¥à¸—ี่ถูà¸à¹€à¸¥à¸·à¸à¸ ใช่หรืà¸à¹„ม่?", bSubmit: "ต้à¸à¸‡à¸à¸²à¸£à¸¥à¸š", bCancel: "ยà¸à¹€à¸¥à¸´à¸" }, nav : { edittext: "", edittitle: "à¹à¸à¹‰à¹„ขข้à¸à¸¡à¸¹à¸¥", addtext:"", addtitle: "เพิ่มข้à¸à¸¡à¸¹à¸¥", deltext: "", deltitle: "ลบข้à¸à¸¡à¸¹à¸¥", searchtext: "", searchtitle: "ค้นหาข้à¸à¸¡à¸¹à¸¥", refreshtext: "", refreshtitle: "รีเฟรช", alertcap: "คำเตืà¸à¸™", alerttext: "à¸à¸£à¸¸à¸“าเลืà¸à¸à¸‚้à¸à¸¡à¸¹à¸¥", viewtext: "", viewtitle: "ดูรายละเà¸à¸µà¸¢à¸”ข้à¸à¸¡à¸¹à¸¥", savetext: "", savetitle: "Save row", canceltext: "", canceltitle : "Cancel row editing", selectcaption : "Actions..." }, col : { caption: "à¸à¸£à¸¸à¸“าเลืà¸à¸à¸„à¸à¸¥à¸±à¸¡à¸™à¹Œ", bSubmit: "ตà¸à¸¥à¸‡", bCancel: "ยà¸à¹€à¸¥à¸´à¸" }, errors : { errcap : "เà¸à¸´à¸”ความผิดพลาด", nourl : "ไม่ได้à¸à¸³à¸«à¸™à¸” URL", norecords: "ไม่มีข้à¸à¸¡à¸¹à¸¥à¹ƒà¸«à¹‰à¸”ำเนินà¸à¸²à¸£", model : "จำนวนคà¸à¸¥à¸±à¸¡à¸™à¹Œà¹„ม่เท่าà¸à¸±à¸šà¸ˆà¸³à¸™à¸§à¸™à¸„à¸à¸¥à¸±à¸¡à¸™à¹Œà¹‚มเดล!" }, formatter : { integer : {thousandsSeparator: " ", defaultValue: '0'}, number : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, defaultValue: '0.00'}, currency : {decimalSeparator:".", thousandsSeparator: " ", decimalPlaces: 2, prefix: "", suffix:"", defaultValue: '0.00'}, date : { dayNames: [ "à¸à¸²", "จ", "à¸", "พ", "พฤ", "ศ", "ส", "à¸à¸²à¸—ิตย์", "จันทร์", "à¸à¸±à¸‡à¸„าร", "พุธ", "พฤหัสบดี", "ศูà¸à¸£à¹Œ", "เสาร์" ], monthNames: [ "ม.ค.", "à¸.พ.", "มี.ค.", "เม.ย.", "พ.ค.", "มิ.ย.", "à¸.ค.", "ส.ค.", "à¸.ย.", "ต.ค.", "พ.ย.", "ธ.ค.", "มà¸à¸£à¸²à¸„ม", "à¸à¸¸à¸¡à¸ าพันธ์", "มีนาคม", "เมษายน", "พฤษภาคม", "มิถุนายน", "à¸à¸£à¸à¸à¸²à¸„ม", "สิงหาคม", "à¸à¸±à¸™à¸¢à¸²à¸¢à¸™", "ตุลาคม", "พฤศจิà¸à¸²à¸¢à¸™", "ธันวาคม" ], AmPm : ["am","pm","AM","PM"], S: function (j) {return ''}, srcformat: 'Y-m-d', newformat: 'd/m/Y', parseRe : /[#%\\\/:_;.,\t\s-]/, masks : { ISO8601Long:"Y-m-d H:i:s", ISO8601Short:"Y-m-d", ShortDate: "n/j/Y", LongDate: "l, F d, Y", FullDateTime: "l, F d, Y g:i:s A", MonthDay: "F d", ShortTime: "g:i A", LongTime: "g:i:s A", SortableDateTime: "Y-m-d\\TH:i:s", UniversalSortableDateTime: "Y-m-d H:i:sO", YearMonth: "F, Y" }, reformatAfterEdit : false, userLocalTime : false }, baseLinkUrl: '', showAction: '', target: '', checkbox : {disabled:true}, idName : 'id' } }; }));