1 line
7.7 KiB
JavaScript
1 line
7.7 KiB
JavaScript
|
Ext.onReady(function(){if(Ext.Date){Ext.Date.monthNames=["รยกรร’โฌร","ยกรรลธร’ร“ลธร‘ยนลพรฌ","รร•ยนร’โฌร","ร รรร’รยน","ลธรรร€ร’โฌร","รร”ยถรยนร’รยน","ยกรยกยฏร’โฌร","รร”ยงรร’โฌร","ยกร‘ยนรร’รยน","ยตรร…ร’โฌร","ลธรรลกร”ยกร’รยน","ลพร‘ยนรร’โฌร"];Ext.Date.getShortMonthName=function(a){return Ext.Date.monthNames[a].substring(0,3)};Ext.Date.monthNumbers={"รโฌ":0,"ยกลธ":1,"รร•โฌ":2,"ร รร":3,"ลธโฌ":4,"รร”ร":5,"ยกโฌ":6,"รโฌ":7,"ยกร":8,"ยตโฌ":9,"ลธร":10,"ลพโฌ":11};Ext.Date.getMonthNumber=function(a){return Ext.Date.monthNumbers[a.substring(0,1).toUpperCase()+a.substring(1,3).toLowerCase()]};Ext.Date.dayNames=["รร’ยทร”ยตรรฌ","ลกร‘ยนยทรรฌ","รร‘ยงโฌร’ร","ลธรร—ลพ","ลธรรร‘รยบลฝร•","รรยกรรฌ","ร รร’รรฌ"];Ext.Date.getShortDayName=function(a){return Ext.Date.dayNames[a].substring(0,3)}}if(Ext.util&&Ext.util.Format){Ext.apply(Ext.util.Format,{thousandSeparator:".",decimalSeparator:",",currencySign:"\u0e3f",dateFormat:"m/d/Y"})}});Ext.define("Ext.locale.th.view.View",{override:"Ext.view.View",emptyText:""});Ext.define("Ext.locale.th.grid.plugin.DragDrop",{override:"Ext.grid.plugin.DragDrop",dragText:"{0} ร ร…ร—รยกรกร…รฉรยทร‘รฉยงรรลฝรกยถร"});Ext.define("Ext.locale.th.tab.Tab",{override:"Ext.tab.Tab",closeText:"ยปร”ลฝรกยทรงยบยนร•รฉ"});Ext.define("Ext.locale.th.form.field.Base",{override:"Ext.form.field.Base",invalidText:"โฌรจร’ยขรยงยชรจรยงยนร•รฉรครรจยถรยกยตรฉรยง"});Ext.define("Ext.locale.th.view.AbstractView",{override:"Ext.view.AbstractView",loadingText:"ยกร“ร…ร‘ยงรขรร…ลฝ..."});Ext.define("Ext.locale.th.picker.Date",{override:"Ext.picker.Date",todayText:"รร‘ยนยนร•รฉ",minText:"This date is before the minimum date",maxText:"This date is after the maximum date",disabledDaysText:"",disabledDatesText:"",nextText:"ร ลฝร—รยนยถร‘ลฝรคยป (Control+Right)",prevText:"ร ลฝร—รยนยกรจรยนรยนรฉร’ (Control+Left)",monthYearText:"ร ร…ร—รยกร ลฝร—รยน (Control+Up/Down to move years)",todayTip:"{0} (Spacebar)",format:"m/d/y",startDay:0});Ext.define("Ext.locale.th.picker.Month",{override:"Ext.picker.Month",okText:" ยตยกร…ยง ",cancelText:"รยกร ร…ร”ยก"});Ext.define("Ext.locale.th.toolbar.Paging",{override:"Ext.PagingToolbar",beforePageText:"รยนรฉร’",afterPageText:"of {0}",firstText:"รยนรฉร’รกรยก",prevText:"ยกรจรยนรยนรฉร’",nextText:"ยถร‘ลฝรคยป",lastText:"รยนรฉร’รรลฝยทรฉร’ร",refreshText:"รร•ร ยฟรยช",displayMsg:"ยกร“ร…ร‘ยงรกรลฝยง {0} - {1} ลกร’ยก {2}",emptyMsg:"รครรจรร•ยขรฉรรรร…รกรลฝยง"});Ext.define("Ext.locale.th.form.field.Text",{override:"Ext.form.field.Text",minLengthText:"The minimum length for this field is {0}",maxLengthText:"The maximum length for this field is {0}",blankText:"This field is required",regexText:"",emptyText:null});Ext.define("Ext.locale.th.form.field.Number",{override:"Ext.form.field.Number",minText:"The minimum valu
|