1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282
|
<html>
<head>
<title>The source code</title>
<link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="../resources/prettify/prettify.js"></script>
</head>
<body onload="prettyPrint();">
<pre class="prettyprint lang-js">/*!
* Ext JS Library 3.0.3
* Copyright(c) 2006-2009 Ext JS, LLC
* licensing@extjs.com
* http://www.extjs.com/license
*/
/*
* Farsi (Persian) translation
* By Mohaqa
* 03-10-2007, 06:23 PM
*/
Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">در حال بارگذاری ...</div>';
if(Ext.View){
Ext.View.prototype.emptyText = "";
}
if(Ext.grid.GridPanel){
Ext.grid.GridPanel.prototype.ddText = "{0} رکورد انتخاب شده";
}
if(Ext.TabPanelItem){
Ext.TabPanelItem.prototype.closeText = "بستن";
}
if(Ext.form.Field){
Ext.form.Field.prototype.invalidText = "مقدار ?یلد صحیح نیست";
}
if(Ext.LoadMask){
Ext.LoadMask.prototype.msg = "در حال بارگذاری ...";
}
Date.monthNames = [
"ژانویه",
"?وریه",
"مارس",
"آپریل",
"می",
"ژوئن",
"جولای",
"آگوست",
"سپتامبر",
"اکتبر",
"نوامبر",
"دسامبر"
];
Date.monthNumbers = {
Jan : 0,
Feb : 1,
Mar : 2,
Apr : 3,
May : 4,
Jun : 5,
Jul : 6,
Aug : 7,
Sep : 8,
Oct : 9,
Nov : 10,
Dec : 11
};
Date.dayNames = [
"یکشنبه",
"دوشنبه",
"سه شنبه",
"چهارشنبه",
"پنجشنبه",
"جمعه",
"شنبه"
];
if(Ext.MessageBox){
Ext.MessageBox.buttonText = {
ok : "تایید",
cancel : "بازگشت",
yes : "بله",
no : "خیر"
};
}
if(Ext.util.Format){
Ext.util.Format.date = function(v, format){
if(!v) return "";
if(!(v instanceof Date)) v = new Date(Date.parse(v));
return v.dateFormat(format || "Y/m/d");
};
}
if(Ext.DatePicker){
Ext.apply(Ext.DatePicker.prototype, {
todayText : "امروز",
minText : "این تاریخ قبل از محدوده مجاز است",
maxText : "این تاریخ پس از محدوده مجاز است",
disabledDaysText : "",
disabledDatesText : "",
monthNames : Date.monthNames,
dayNames : Date.dayNames,
nextText : 'ماه بعد (Control + Right)',
prevText : 'ماه قبل (Control+Left)',
monthYearText : 'یک ماه را انتخاب کنید (Control+Up/Down برای انتقال در سال)',
todayTip : "{0} (Spacebar)",
format : "y/m/d",
okText : " OK ",
cancelText : "Cancel",
startDay : 0
});
}
if(Ext.PagingToolbar){
Ext.apply(Ext.PagingToolbar.prototype, {
beforePageText : "ص?حه",
afterPageText : "از {0}",
firstText : "ص?حه اول",
prevText : "ص?حه قبل",
nextText : "ص?حه بعد",
lastText : "ص?حه آخر",
refreshText : "بازخوانی",
displayMsg : "نمایش {0} - {1} of {2}",
emptyMsg : 'داده ای برای نمایش وجود ندارد'
});
}
if(Ext.form.TextField){
Ext.apply(Ext.form.TextField.prototype, {
minLengthText : "حداقل طول این ?یلد برابر است با {0}",
maxLengthText : "حداکثر طول این ?یلد برابر است با {0}",
blankText : "این ?یلد باید مقداری داشته باشد",
regexText : "",
emptyText : null
});
}
if(Ext.form.NumberField){
Ext.apply(Ext.form.NumberField.prototype, {
minText : "حداقل مقدار این ?یلد برابر است با {0}",
maxText : "حداکثر مقدار این ?یلد برابر است با {0}",
nanText : "{0} یک عدد نیست"
});
}
if(Ext.form.DateField){
Ext.apply(Ext.form.DateField.prototype, {
disabledDaysText : "غیر?عال",
disabledDatesText : "غیر?عال",
minText : "تاریخ باید پس از {0} باشد",
maxText : "تاریخ باید پس از {0} باشد",
invalidText : "{0} تاریخ صحیحی نیست - ?رمت صحیح {1}",
format : "y/m/d"
});
}
if(Ext.form.ComboBox){
Ext.apply(Ext.form.ComboBox.prototype, {
loadingText : "در حال بارگذاری ...",
valueNotFoundText : undefined
});
}
if(Ext.form.VTypes){
Ext.apply(Ext.form.VTypes, {
emailText : 'مقدار این ?یلد باید یک ایمیل با این ?رمت باشد "user@example.com"',
urlText : 'مقدار این آدرس باید یک آدرس سایت با این ?رمت باشد "http:/'+'/www.example.com"',
alphaText : 'مقدار این ?یلد باید ?قط از حرو? ال?با و _ تشکیل شده باشد ',
alphanumText : 'مقدار این ?یلد باید ?قط از حرو? ال?با، اعداد و _ تشکیل شده باشد'
});
}
if(Ext.form.HtmlEditor){
Ext.apply(Ext.form.HtmlEditor.prototype, {
createLinkText : 'لط?ا آدرس لینک را وارد کنید:',
buttonTips : {
bold : {
title: 'تیره (Ctrl+B)',
text: 'متن انتخاب شده را تیره می کند.',
cls: 'x-html-editor-tip'
},
italic : {
title: 'ایتالیک (Ctrl+I)',
text: 'متن انتخاب شده را ایتالیک می کند.',
cls: 'x-html-editor-tip'
},
underline : {
title: 'زیرخط (Ctrl+U)',
text: 'زیر هر نوشته یک خط نمایش می دهد.',
cls: 'x-html-editor-tip'
},
increasefontsize : {
title: 'ا?زایش اندازه',
text: 'اندازه ?ونت را ا?زایش می دهد.',
cls: 'x-html-editor-tip'
},
decreasefontsize : {
title: 'کاهش اندازه',
text: 'اندازه متن را کاهش می دهد.',
cls: 'x-html-editor-tip'
},
backcolor : {
title: 'رنگ زمینه متن',
text: 'برای تغییر رنگ زمینه متن است?اده می شود.',
cls: 'x-html-editor-tip'
},
forecolor : {
title: 'رنگ قلم',
text: 'رنگ قلم متن را تغییر می دهد.',
cls: 'x-html-editor-tip'
},
justifyleft : {
title: 'چیدن متن از سمت چپ',
text: 'متن از سمت چپ چیده شده می شود.',
cls: 'x-html-editor-tip'
},
justifycenter : {
title: 'متن در وسط ',
text: 'نمایش متن در قسمت وسط ص?حه و رعابت سمت چپ و راست.',
cls: 'x-html-editor-tip'
},
justifyright : {
title: 'چیدن متن از سمت راست',
text: 'متن از سمت راست پیده خواهد شد.',
cls: 'x-html-editor-tip'
},
insertunorderedlist : {
title: 'لیست همراه با علامت',
text: 'یک لیست جدید ایجاد می کند.',
cls: 'x-html-editor-tip'
},
insertorderedlist : {
title: 'لیست عددی',
text: 'یک لیست عددی ایجاد می کند. ',
cls: 'x-html-editor-tip'
},
createlink : {
title: 'لینک',
text: 'متن انتخاب شده را به لینک تبدیل کنید.',
cls: 'x-html-editor-tip'
},
sourceedit : {
title: 'ویرایش سورس',
text: 'ر?تن به حالت ویرایش سورس.',
cls: 'x-html-editor-tip'
}
}
});
}
if(Ext.grid.GridView){
Ext.apply(Ext.grid.GridView.prototype, {
sortAscText : "مرتب سازی ا?زایشی",
sortDescText : "مرتب سازی کاهشی",
lockText : "ق?ل ستون ها",
unlockText : "بازکردن ستون ها",
columnsText : "ستون ها"
});
}
if(Ext.grid.PropertyColumnModel){
Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
nameText : "نام",
valueText : "مقدار",
dateFormat : "Y/m/d"
});
}
if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
splitTip : "درگ برای تغییر اندازه.",
collapsibleSplitTip : "برای تغییر اندازه درگ کنید."
});
}
</pre>
</body>
</html>
|