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