Upgrade to ExtJS 3.3.1 - Released 11/30/2010
[extjs.git] / src / locale / ext-lang-fa.js
1 /*!
2  * Ext JS Library 3.3.1
3  * Copyright(c) 2006-2010 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            : "&#160;OK&#160;",
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 }