source: trunk/web/addons/job_monarch/lib/extjs-30/src/locale/ext-lang-fa.js @ 625

Last change on this file since 625 was 625, checked in by ramonb, 15 years ago

lib/extjs-30:

  • new ExtJS 3.0
File size: 8.2 KB
Line 
1/*!
2 * Ext JS Library 3.0.0
3 * Copyright(c) 2006-2009 Ext JS, LLC
4 * licensing@extjs.com
5 * http://www.extjs.com/license
6 */
7/*
8 * Farsi (Persian) translation
9 * By Mohaqa
10 * 03-10-2007, 06:23 PM
11 */
12
13Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">در حال بارگذاری ...</div>';
14
15if(Ext.View){
16   Ext.View.prototype.emptyText = "";
17}
18
19if(Ext.grid.GridPanel){
20   Ext.grid.GridPanel.prototype.ddText = "{0} رکورد انتخاب شده";
21}
22
23if(Ext.TabPanelItem){
24   Ext.TabPanelItem.prototype.closeText = "بستن";
25}
26
27if(Ext.form.Field){
28   Ext.form.Field.prototype.invalidText = "مقدار فیلد صحیح نیست";
29}
30
31if(Ext.LoadMask){
32    Ext.LoadMask.prototype.msg = "در حال بارگذاری ...";
33}
34
35Date.monthNames = [
36   "ژانویه",
37   "فوریه",
38   "مارس",
39   "آپریل",
40   "می",
41   "ژوئن",
42   "جولای",
43   "آگوست",
44   "سپتامبر",
45   "اکتبر",
46   "نوامبر",
47   "دسامبر"
48];
49
50Date.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
65Date.dayNames = [
66   "یکشنبه",
67   "دوشنبه",
68   "سه شنبه",
69   "چهارشنبه",
70   "پنجشنبه",
71   "جمعه",
72   "شنبه"
73];
74
75if(Ext.MessageBox){
76   Ext.MessageBox.buttonText = {
77      ok     : "تایید",
78      cancel : "بازگشت",
79      yes    : "بله",
80      no     : "خیر"
81   };
82}
83
84if(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
92if(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
112if(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
126if(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
136if(Ext.form.NumberField){
137   Ext.apply(Ext.form.NumberField.prototype, {
138      minText : "حداقل مقدار این فیلد برابر است با {0}",
139      maxText : "حداکثر مقدار این فیلد برابر است با {0}",
140      nanText : "{0} یک عدد نیست"
141   });
142}
143
144if(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   });
153}
154
155if(Ext.form.ComboBox){
156   Ext.apply(Ext.form.ComboBox.prototype, {
157      loadingText       : "در حال بارگذاری ...",
158      valueNotFoundText : undefined
159   });
160}
161
162if(Ext.form.VTypes){
163   Ext.apply(Ext.form.VTypes, {
164      emailText    : 'مقدار این فیلد باید یک ایمیل با این فرمت باشد "user@example.com"',
165      urlText      : 'مقدار این آدرس باید یک آدرس سایت با این فرمت باشد "http:/'+'/www.example.com"',
166      alphaText    : 'مقدار این فیلد باید فقط از حروف الفبا و _ تشکیل شده باشد ',
167      alphanumText : 'مقدار این فیلد باید فقط از حروف الفبا، اعداد و _ تشکیل شده باشد'
168   });
169}
170
171if(Ext.form.HtmlEditor){
172  Ext.apply(Ext.form.HtmlEditor.prototype, {
173    createLinkText : 'لطفا آدرس لینک را وارد کنید:',
174    buttonTips : {
175      bold : {
176        title: 'تیره (Ctrl+B)',
177        text: 'متن انتخاب شده را تیره می کند.',
178        cls: 'x-html-editor-tip'
179      },
180      italic : {
181        title: 'ایتالیک (Ctrl+I)',
182        text: 'متن انتخاب شده را ایتالیک می کند.',
183        cls: 'x-html-editor-tip'
184      },
185      underline : {
186        title: 'زیرخط (Ctrl+U)',
187        text: 'زیر هر نوشته یک خط نمایش می دهد.',
188        cls: 'x-html-editor-tip'
189      },
190      increasefontsize : {
191        title: 'افزایش اندازه',
192        text: 'اندازه فونت را افزایش می دهد.',
193        cls: 'x-html-editor-tip'
194      },
195      decreasefontsize : {
196        title: 'کاهش اندازه',
197        text: 'اندازه متن را کاهش می دهد.',
198        cls: 'x-html-editor-tip'
199      },
200      backcolor : {
201        title: 'رنگ زمینه متن',
202        text: 'برای تغییر رنگ زمینه متن استفاده می شود.',
203        cls: 'x-html-editor-tip'
204      },
205      forecolor : {
206        title: 'رنگ قلم',
207        text: 'رنگ  قلم متن را تغییر می دهد.',
208        cls: 'x-html-editor-tip'
209      },
210      justifyleft : {
211        title: 'چیدن متن از سمت چپ',
212        text: 'متن از سمت چپ چیده شده می شود.',
213        cls: 'x-html-editor-tip'
214      },
215      justifycenter : {
216        title: 'متن در وسط ',
217        text: 'نمایش متن در قسمت وسط صفحه و رعابت سمت چپ و راست.',
218        cls: 'x-html-editor-tip'
219      },
220      justifyright : {
221        title: 'چیدن متن از سمت راست',
222        text: 'متن از سمت راست پیده خواهد شد.',
223        cls: 'x-html-editor-tip'
224      },
225      insertunorderedlist : {
226        title: 'لیست همراه با علامت',
227        text: 'یک لیست جدید ایجاد می کند.',
228        cls: 'x-html-editor-tip'
229      },
230      insertorderedlist : {
231        title: 'لیست عددی',
232        text: 'یک لیست عددی ایجاد می کند. ',
233        cls: 'x-html-editor-tip'
234      },
235      createlink : {
236        title: 'لینک',
237        text: 'متن انتخاب شده را به لینک تبدیل کنید.',
238        cls: 'x-html-editor-tip'
239      },
240      sourceedit : {
241        title: 'ویرایش سورس',
242        text: 'رفتن به حالت ویرایش سورس.',
243        cls: 'x-html-editor-tip'
244      }
245    }
246  });
247}
248
249if(Ext.grid.GridView){
250   Ext.apply(Ext.grid.GridView.prototype, {
251      sortAscText  : "مرتب سازی افزایشی",
252      sortDescText : "مرتب سازی کاهشی",
253      lockText     : "قفل ستون ها",
254      unlockText   : "بازکردن ستون ها",
255      columnsText  : "ستون ها"
256   });
257}
258
259if(Ext.grid.PropertyColumnModel){
260   Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
261      nameText   : "نام",
262      valueText  : "مقدار",
263      dateFormat : "Y/m/d"
264   });
265}
266
267if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
268   Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
269      splitTip            : "درگ برای تغییر اندازه.",
270      collapsibleSplitTip : "برای تغییر اندازه درگ کنید."
271   });
272}
Note: See TracBrowser for help on using the repository browser.