Upgrade to ExtJS 4.0.7 - Released 10/19/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       valueNotFoundText : undefined
176    });
177     Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
178         loadingText       : "در حال بارگذاری ..."
179     });
180 }
181
182 if(Ext.form.field.VTypes){
183    Ext.apply(Ext.form.field.VTypes, {
184       emailText    : 'مقدار این فیلد باید یک ایمیل با این فرمت باشد "user@example.com"',
185       urlText      : 'مقدار این آدرس باید یک آدرس سایت با این فرمت باشد "http:/'+'/www.example.com"',
186       alphaText    : 'مقدار این فیلد باید فقط از حروف الفبا و _ تشکیل شده باشد ',
187       alphanumText : 'مقدار این فیلد باید فقط از حروف الفبا، اعداد و _ تشکیل شده باشد'
188    });
189 }
190
191 if(Ext.form.field.HtmlEditor){
192   Ext.apply(Ext.form.field.HtmlEditor.prototype, {
193     createLinkText : 'لطفا آدرس لینک را وارد کنید:',
194     buttonTips : {
195       bold : {
196         title: 'تیره (Ctrl+B)',
197         text: 'متن انتخاب شده را تیره می کند.',
198         cls: Ext.baseCSSPrefix + 'html-editor-tip'
199       },
200       italic : {
201         title: 'ایتالیک (Ctrl+I)',
202         text: 'متن انتخاب شده را ایتالیک می کند.',
203         cls: Ext.baseCSSPrefix + 'html-editor-tip'
204       },
205       underline : {
206         title: 'زیرخط (Ctrl+U)',
207         text: 'زیر هر نوشته یک خط نمایش می دهد.',
208         cls: Ext.baseCSSPrefix + 'html-editor-tip'
209       },
210       increasefontsize : {
211         title: 'افزایش اندازه',
212         text: 'اندازه فونت را افزایش می دهد.',
213         cls: Ext.baseCSSPrefix + 'html-editor-tip'
214       },
215       decreasefontsize : {
216         title: 'کاهش اندازه',
217         text: 'اندازه متن را کاهش می دهد.',
218         cls: Ext.baseCSSPrefix + 'html-editor-tip'
219       },
220       backcolor : {
221         title: 'رنگ زمینه متن',
222         text: 'برای تغییر رنگ زمینه متن استفاده می شود.',
223         cls: Ext.baseCSSPrefix + 'html-editor-tip'
224       },
225       forecolor : {
226         title: 'رنگ قلم',
227         text: 'رنگ  قلم متن را تغییر می دهد.',
228         cls: Ext.baseCSSPrefix + 'html-editor-tip'
229       },
230       justifyleft : {
231         title: 'چیدن متن از سمت چپ',
232         text: 'متن از سمت چپ چیده شده می شود.',
233         cls: Ext.baseCSSPrefix + 'html-editor-tip'
234       },
235       justifycenter : {
236         title: 'متن در وسط ',
237         text: 'نمایش متن در قسمت وسط صفحه و رعابت سمت چپ و راست.',
238         cls: Ext.baseCSSPrefix + 'html-editor-tip'
239       },
240       justifyright : {
241         title: 'چیدن متن از سمت راست',
242         text: 'متن از سمت راست پیده خواهد شد.',
243         cls: Ext.baseCSSPrefix + 'html-editor-tip'
244       },
245       insertunorderedlist : {
246         title: 'لیست همراه با علامت',
247         text: 'یک لیست جدید ایجاد می کند.',
248         cls: Ext.baseCSSPrefix + 'html-editor-tip'
249       },
250       insertorderedlist : {
251         title: 'لیست عددی',
252         text: 'یک لیست عددی ایجاد می کند. ',
253         cls: Ext.baseCSSPrefix + 'html-editor-tip'
254       },
255       createlink : {
256         title: 'لینک',
257         text: 'متن انتخاب شده را به لینک تبدیل کنید.',
258         cls: Ext.baseCSSPrefix + 'html-editor-tip'
259       },
260       sourceedit : {
261         title: 'ویرایش سورس',
262         text: 'رفتن به حالت ویرایش سورس.',
263         cls: Ext.baseCSSPrefix + 'html-editor-tip'
264       }
265     }
266   });
267 }
268
269 if(Ext.grid.header.Container){
270    Ext.apply(Ext.grid.header.Container.prototype, {
271       sortAscText  : "مرتب سازی افزایشی",
272       sortDescText : "مرتب سازی کاهشی",
273       lockText     : "قفل ستون ها",
274       unlockText   : "بازکردن ستون ها",
275       columnsText  : "ستون ها"
276    });
277 }
278
279 if(Ext.grid.PropertyColumnModel){
280    Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
281       nameText   : "نام",
282       valueText  : "مقدار",
283       dateFormat : "Y/m/d"
284    });
285 }
286
287 if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
288    Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
289       splitTip            : "درگ برای تغییر اندازه.",
290       collapsibleSplitTip : "برای تغییر اندازه درگ کنید."
291    });
292 }
293
294 });
295