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