PageRenderTime 28ms CodeModel.GetById 6ms app.highlight 17ms RepoModel.GetById 1ms app.codeStats 0ms

/source/Plug-in/ext/build/locale/ext-lang-fa.js

http://prosporous.googlecode.com/
JavaScript | 266 lines | 239 code | 22 blank | 5 comment | 22 complexity | 4c8b60522e18295c04a5c577977d1e0a MD5 | raw file
  1/*
  2 * Farsi (Persian) translation
  3 * By Mohaqa
  4 * 03-10-2007, 06:23 PM
  5 */
  6
  7Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">?? ??? ???????? ...</div>';
  8
  9if(Ext.View){
 10   Ext.View.prototype.emptyText = "";
 11}
 12
 13if(Ext.grid.GridPanel){
 14   Ext.grid.GridPanel.prototype.ddText = "{0} ????? ?????? ???";
 15}
 16
 17if(Ext.TabPanelItem){
 18   Ext.TabPanelItem.prototype.closeText = "????";
 19}
 20
 21if(Ext.form.Field){
 22   Ext.form.Field.prototype.invalidText = "????? ???? ???? ????";
 23}
 24
 25if(Ext.LoadMask){
 26    Ext.LoadMask.prototype.msg = "?? ??? ???????? ...";
 27}
 28
 29Date.monthNames = [
 30   "??????",
 31   "?????",
 32   "????",
 33   "?????",
 34   "??",
 35   "????",
 36   "?????",
 37   "?????",
 38   "???????",
 39   "?????",
 40   "??????",
 41   "??????"
 42];
 43
 44Date.monthNumbers = {
 45  Jan : 0,
 46  Feb : 1,
 47  Mar : 2,
 48  Apr : 3,
 49  May : 4,
 50  Jun : 5,
 51  Jul : 6,
 52  Aug : 7,
 53  Sep : 8,
 54  Oct : 9,
 55  Nov : 10,
 56  Dec : 11
 57};
 58
 59Date.dayNames = [
 60   "??????",
 61   "??????",
 62   "?? ????",
 63   "????????",
 64   "???????",
 65   "????",
 66   "????"
 67];
 68
 69if(Ext.MessageBox){
 70   Ext.MessageBox.buttonText = {
 71      ok     : "?????",
 72      cancel : "??????",
 73      yes    : "???",
 74      no     : "???"
 75   };
 76}
 77
 78if(Ext.util.Format){
 79   Ext.util.Format.date = function(v, format){
 80      if(!v) return "";
 81      if(!(v instanceof Date)) v = new Date(Date.parse(v));
 82      return v.dateFormat(format || "Y/m/d");
 83   };
 84}
 85
 86if(Ext.DatePicker){
 87  Ext.apply(Ext.DatePicker.prototype, {
 88    todayText         : "?????",
 89    minText           : "??? ????? ??? ?? ?????? ???? ???",
 90    maxText           : "??? ????? ?? ?? ?????? ???? ???",
 91    disabledDaysText  : "",
 92    disabledDatesText : "",
 93    monthNames        : Date.monthNames,
 94    dayNames          : Date.dayNames,
 95    nextText          : '??? ??? (Control + Right)',
 96    prevText          : '??? ??? (Control+Left)',
 97    monthYearText     : '?? ??? ?? ?????? ???? (Control+Up/Down ???? ?????? ?? ???)',
 98    todayTip          : "{0} (Spacebar)",
 99    format            : "y/m/d",
100    okText            : "&#160;OK&#160;",
101    cancelText        : "Cancel",
102    startDay          : 0
103   });
104}
105
106if(Ext.PagingToolbar){
107   Ext.apply(Ext.PagingToolbar.prototype, {
108      beforePageText : "????",
109      afterPageText  : "?? {0}",
110      firstText      : "???? ???",
111      prevText       : "???? ???",
112      nextText       : "???? ???",
113      lastText       : "???? ???",
114      refreshText    : "????????",
115      displayMsg     : "????? {0} - {1} of {2}",
116      emptyMsg       : '???? ?? ???? ????? ???? ?????'
117   });
118}
119
120if(Ext.form.TextField){
121   Ext.apply(Ext.form.TextField.prototype, {
122      minLengthText : "????? ??? ??? ???? ????? ??? ?? {0}",
123      maxLengthText : "?????? ??? ??? ???? ????? ??? ?? {0}",
124      blankText     : "??? ???? ???? ?????? ????? ????",
125      regexText     : "",
126      emptyText     : null
127   });
128}
129
130if(Ext.form.NumberField){
131   Ext.apply(Ext.form.NumberField.prototype, {
132      minText : "????? ????? ??? ???? ????? ??? ?? {0}",
133      maxText : "?????? ????? ??? ???? ????? ??? ?? {0}",
134      nanText : "{0} ?? ??? ????"
135   });
136}
137
138if(Ext.form.DateField){
139   Ext.apply(Ext.form.DateField.prototype, {
140      disabledDaysText  : "???????",
141      disabledDatesText : "???????",
142      minText           : "????? ???? ?? ?? {0} ????",
143      maxText           : "????? ???? ?? ?? {0} ????",
144      invalidText       : "{0} ????? ????? ???? - ???? ???? {1}",
145      format            : "y/m/d"
146   });
147}
148
149if(Ext.form.ComboBox){
150   Ext.apply(Ext.form.ComboBox.prototype, {
151      loadingText       : "?? ??? ???????? ...",
152      valueNotFoundText : undefined
153   });
154}
155
156if(Ext.form.VTypes){
157   Ext.apply(Ext.form.VTypes, {
158      emailText    : '????? ??? ???? ???? ?? ????? ?? ??? ???? ???? "user@domain.com"',
159      urlText      : '????? ??? ???? ???? ?? ???? ???? ?? ??? ???? ???? "http:/'+'/www.domain.com"',
160      alphaText    : '????? ??? ???? ???? ??? ?? ???? ????? ? _ ????? ??? ???? ',
161      alphanumText : '????? ??? ???? ???? ??? ?? ???? ?????? ????? ? _ ????? ??? ????'
162   });
163}
164
165if(Ext.form.HtmlEditor){
166  Ext.apply(Ext.form.HtmlEditor.prototype, {
167    createLinkText : '???? ???? ???? ?? ???? ????:',
168    buttonTips : {
169      bold : {
170        title: '???? (Ctrl+B)',
171        text: '??? ?????? ??? ?? ???? ?? ???.',
172        cls: 'x-html-editor-tip'
173      },
174      italic : {
175        title: '??????? (Ctrl+I)',
176        text: '??? ?????? ??? ?? ??????? ?? ???.',
177        cls: 'x-html-editor-tip'
178      },
179      underline : {
180        title: '????? (Ctrl+U)',
181        text: '??? ?? ????? ?? ?? ????? ?? ???.',
182        cls: 'x-html-editor-tip'
183      },
184      increasefontsize : {
185        title: '?????? ??????',
186        text: '?????? ???? ?? ?????? ?? ???.',
187        cls: 'x-html-editor-tip'
188      },
189      decreasefontsize : {
190        title: '???? ??????',
191        text: '?????? ??? ?? ???? ?? ???.',
192        cls: 'x-html-editor-tip'
193      },
194      backcolor : {
195        title: '??? ????? ???',
196        text: '???? ????? ??? ????? ??? ??????? ?? ???.',
197        cls: 'x-html-editor-tip'
198      },
199      forecolor : {
200        title: '??? ???',
201        text: '???  ??? ??? ?? ????? ?? ???.',
202        cls: 'x-html-editor-tip'
203      },
204      justifyleft : {
205        title: '???? ??? ?? ??? ??',
206        text: '??? ?? ??? ?? ???? ??? ?? ???.',
207        cls: 'x-html-editor-tip'
208      },
209      justifycenter : {
210        title: '??? ?? ??? ',
211        text: '????? ??? ?? ???? ??? ???? ? ????? ??? ?? ? ????.',
212        cls: 'x-html-editor-tip'
213      },
214      justifyright : {
215        title: '???? ??? ?? ??? ????',
216        text: '??? ?? ??? ???? ???? ????? ??.',
217        cls: 'x-html-editor-tip'
218      },
219      insertunorderedlist : {
220        title: '???? ????? ?? ?????',
221        text: '?? ???? ???? ????? ?? ???.',
222        cls: 'x-html-editor-tip'
223      },
224      insertorderedlist : {
225        title: '???? ????',
226        text: '?? ???? ???? ????? ?? ???. ',
227        cls: 'x-html-editor-tip'
228      },
229      createlink : {
230        title: '????',
231        text: '??? ?????? ??? ?? ?? ???? ????? ????.',
232        cls: 'x-html-editor-tip'
233      },
234      sourceedit : {
235        title: '?????? ????',
236        text: '???? ?? ???? ?????? ????.',
237        cls: 'x-html-editor-tip'
238      }
239    }
240  });
241}
242
243if(Ext.grid.GridView){
244   Ext.apply(Ext.grid.GridView.prototype, {
245      sortAscText  : "???? ???? ???????",
246      sortDescText : "???? ???? ?????",
247      lockText     : "??? ???? ??",
248      unlockText   : "??????? ???? ??",
249      columnsText  : "???? ??"
250   });
251}
252
253if(Ext.grid.PropertyColumnModel){
254   Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
255      nameText   : "???",
256      valueText  : "?????",
257      dateFormat : "Y/m/d"
258   });
259}
260
261if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
262   Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
263      splitTip            : "??? ???? ????? ??????.",
264      collapsibleSplitTip : "???? ????? ?????? ??? ????."
265   });
266}