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