温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:酒店管理系统(ExtJs)源码
当前文件:
MyHotelManager/HotelUI/Ext/ext-lang-zh_CN.js,打开代码结构图
MyHotelManager/HotelUI/Ext/ext-lang-zh_CN.js,打开代码结构图1/* 2
* Simplified Chinese translation 3
* By DavidHu 4
* 09 April 2007 5
*/ 6
7
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">鍔犺浇涓?..</div>'; 8
9
if(Ext.View){ 10
Ext.View.prototype.emptyText = ""; 11
} 12
13
if(Ext.grid.Grid){ 14
Ext.grid.Grid.prototype.ddText = "{0} 閫夋嫨琛?; 15
} 16
17
if(Ext.TabPanelItem){ 18
Ext.TabPanelItem.prototype.closeText = "鍏抽棴"; 19
} 20
21
if(Ext.form.Field){ 22
Ext.form.Field.prototype.invalidText = "杈撳叆鍊奸潪娉?; 23
} 24
25
Date.monthNames = [ 26
"涓鏈?, 27
"浜屾湀", 28
"涓夋湀", 29
"鍥涙湀", 30
"浜旀湀", 31
"鍏湀", 32
"涓冩湀", 33
"鍏湀", 34
"涔濇湀", 35
"鍗佹湀", 36
"鍗佷竴鏈?, 37
"鍗佷簩鏈? 38
]; 39
40
Date.dayNames = [ 41
"鏃?, 42
"涓", 43
"浜?, 44
"涓?, 45
"鍥?, 46
"浜?, 47
"鍏? 48
]; 49
50
if(Ext.MessageBox){ 51
Ext.MessageBox.buttonText = { 52
ok : "纭畾", 53
cancel : "鍙栨秷", 54
yes : "鏄?, 55
no : "鍚? 56
}; 57
} 58
59
if(Ext.util.Format){ 60
Ext.util.Format.date = function(v, format){ 61
if(!v) return ""; 62
if(!(v instanceof Date)) v = new Date(Date.parse(v)); 63
return v.dateFormat(format || "y骞磎鏈坉鏃?); 64
}; 65
} 66
67
if(Ext.DatePicker){ 68
Ext.apply(Ext.DatePicker.prototype, { 69
todayText : "浠婂ぉ", 70
minText : "鏃ユ湡鍦ㄦ渶灏忔棩鏈熶箣鍓?, 71
maxText : "鏃ユ湡鍦ㄦ渶澶ф棩鏈熶箣鍚?, 72
disabledDaysText : "", 73
disabledDatesText : "", 74
monthNames : Date.monthNames, 75
dayNames : Date.dayNames, 76
nextText : '涓嬫湀 (Control+Right)', 77
prevText : '涓婃湀 (Control+Left)', 78
monthYearText : '閫夋嫨涓涓湀 (Control+Up/Down 鏉ユ敼鍙樺勾)', 79
todayTip : "{0} (绌烘牸閿夋嫨)", 80
format : "y骞磎鏈坉鏃?, 81
okText : "纭畾", 82
cancelText : "鍙栨秷" 83
}); 84
} 85
86
if(Ext.PagingToolbar){ 87
Ext.apply(Ext.PagingToolbar.prototype, { 88
beforePageText : "椤?, 89
afterPageText : "椤靛叡 {0} 椤?, 90
firstText : "绗竴椤?, 91
prevText : "鍓嶄竴椤?, 92
nextText : "涓嬩竴椤?, 93
lastText : "鏈鍚庨〉", 94
refreshText : "鍒锋柊", 95
displayMsg : "鏄剧ず {0} - {1}锛屽叡 {2} 鏉?, 96
emptyMsg : '娌℃湁鏁版嵁闇瑕佹樉绀? 97
}); 98
} 99
100
if(Ext.form.TextField){ 101
Ext.apply(Ext.form.TextField.prototype, { 102
minLengthText : "璇ヨ緭鍏ラ」鐨勬渶灏忛暱搴︽槸 {0}", 103
maxLengthText : "璇ヨ緭鍏ラ」鐨勬渶澶ч暱搴︽槸 {0}", 104
blankText : "璇ヨ緭鍏ラ」涓哄繀杈撻」", 105
regexText : "", 106
emptyText : null 107
}); 108
} 109
110
if(Ext.form.NumberField){ 111
Ext.apply(Ext.form.NumberField.prototype, { 112
minText : "璇ヨ緭鍏ラ」鐨勬渶灏忓兼槸 {0}", 113
maxText : "璇ヨ緭鍏ラ」鐨勬渶澶у兼槸 {0}", 114
nanText : "{0} 涓嶆槸鏈夋晥鏁板? 115
}); 116
} 117
118
if(Ext.form.DateField){ 119
Ext.apply(Ext.form.DateField.prototype, { 120
disabledDaysText : "绂佺敤", 121
disabledDatesText : "绂佺敤", 122
minText : "璇ヨ緭鍏ラ」鐨勬棩鏈熷繀椤诲湪 {0} 涔嬪悗", 123
maxText : "璇ヨ緭鍏ラ」鐨勬棩鏈熷繀椤诲湪 {0} 涔嬪墠", 124
invalidText : "{0} 鏄棤鏁堢殑鏃ユ湡 - 蹇呴』绗﹀悎鏍煎紡锛?{1}", 125
format : "y骞磎鏈坉鏃? 126
}); 127
} 128
129
if(Ext.form.ComboBox){ 130
Ext.apply(Ext.form.ComboBox.prototype, { 131
loadingText : "鍔犺浇...", 132
valueNotFoundText : undefined 133
}); 134
} 135
136
if(Ext.form.VTypes){ 137
Ext.apply(Ext.form.VTypes, { 138
emailText : '璇ヨ緭鍏ラ」蹇呴』鏄數瀛愰偖浠跺湴鍧锛屾牸寮忓锛?"user@domain.com"', 139
urlText : '璇ヨ緭鍏ラ」蹇呴』鏄疷RL鍦板潃锛屾牸寮忓锛?"http:/'+'/www.domain.com"', 140
alphaText : '璇ヨ緭鍏ラ」鍙兘鍖呭惈瀛楃鍜宊', 141
alphanumText : '璇ヨ緭鍏ラ」鍙兘鍖呭惈瀛楃,鏁板瓧鍜宊' 142
}); 143
} 144
145
if(Ext.grid.GridView){ 146
Ext.apply(Ext.grid.GridView.prototype, { 147
sortAscText : "姝e簭", 148
sortDescText : "閫嗗簭", 149
lockText : "閿佸垪", 150
unlockText : "瑙i攣鍒?, 151
columnsText : "鍒? 152
}); 153
} 154
155
if(Ext.grid.PropertyColumnModel){ 156
Ext.apply(Ext.grid.PropertyColumnModel.prototype, { 157
nameText : "鍚嶇О", 158
valueText : "鍊?, 159
dateFormat : "y骞磎鏈坉鏃? 160
}); 161
} 162
163
if(Ext.layout.BorderLayout.SplitRegion){ 164
Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, { 165
splitTip : "鎷栧姩鏉ユ敼鍙樺昂瀵?", 166
collapsibleSplitTip : "鎷栧姩鏉ユ敼鍙樺昂瀵? 鍙屽嚮闅愯棌." 167
}); 168
} 169



* Simplified Chinese translation

Ext.apply(Ext.DatePicker.prototype,
}