ext 学习

一. 汉化ejxjs ext.form.datefield控件
ext-all.js
1.找到:
Ext.DatePicker
将todayText:"Today",okText:"ok",cancelText:"Cancel"
修改成
todayText:"今天日期",okText:"确定",cancelText:"取消"
2.找到:
Date.monthNames=["January","February","March","April","May","June","July","August","September","October","November","December"];Date.dayNames=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]
修改成
Date.monthNames=["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"];Date.dayNames=["日","一","二","三","四","五","六"]

你可能感兴趣的:(ext)