ext-lang-fa.js

/*
 * Farsi (Persian) translation
 * By Mohaqa
 * 03-10-2007, 06:23 PM
 */

Ext.UpdateManager.defaults.indicatorText = '<div class="loading-indicator">در Ø­Ø§Ù Ø¨Ø§Ø±Ú¯Ø°Ø§Ø±Û ...</div>';

if(Ext.View){
   Ext.View.prototype.emptyText = "";
}

if(Ext.grid.GridPanel){
   Ext.grid.GridPanel.prototype.ddText = "{0} Ø±Ú©ÙØ±Ø¯ Ø§ÙØªØ®Ø§Ø¨ شدÙ";
}

if(Ext.TabPanelItem){
   Ext.TabPanelItem.prototype.closeText = "بستÙ";
}

if(Ext.form.Field){
   Ext.form.Field.prototype.invalidText = "ÙÙØ¯Ø§Ø± ÙÛÙØ¯ ØµØ­ÛØ­ ÙÛØ³Øª";
}

if(Ext.LoadMask){
    Ext.LoadMask.prototype.msg = "در Ø­Ø§Ù Ø¨Ø§Ø±Ú¯Ø°Ø§Ø±Û ...";
}

Date.monthNames = [
   "ÚØ§ÙÙÛÙ",
   "ÙÙØ±ÛÙ",
   "ÙØ§Ø±Ø³",
   "آپرÛÙ",
   "ÙÛ",
   "ÚÙØ¦Ù",
   "جÙÙØ§Û",
   "Ø¢Ú¯ÙØ³Øª",
   "Ø³Ù¾ØªØ§ÙØ¨Ø±",
   "اکتبر",
   "ÙÙØ§Ùبر",
   "Ø¯Ø³Ø§ÙØ¨Ø±"
];

Date.monthNumbers = {
  Jan : 0,
  Feb : 1,
  Mar : 2,
  Apr : 3,
  May : 4,
  Jun : 5,
  Jul : 6,
  Aug : 7,
  Sep : 8,
  Oct : 9,
  Nov : 10,
  Dec : 11
};

Date.dayNames = [
   "ÛÚ©Ø´ÙØ¨Ù",
   "Ø¯ÙØ´ÙبÙ",
   "Ø³Ù Ø´ÙØ¨Ù",
   "ÚÙØ§Ø±Ø´ÙبÙ",
   "Ù¾ÙØ¬Ø´ÙبÙ",
   "Ø¬ÙØ¹Ù",
   "Ø´ÙØ¨Ù"
];

if(Ext.MessageBox){
   Ext.MessageBox.buttonText = {
      ok     : "تاÛÛØ¯",
      cancel : "بازگشت",
      yes    : "بÙÙ",
      no     : "Ø®ÛØ±"
   };
}

if(Ext.util.Format){
   Ext.util.Format.date = function(v, format){
      if(!v) return "";
      if(!(v instanceof Date)) v = new Date(Date.parse(v));
      return v.dateFormat(format || "Y/m/d");
   };
}

if(Ext.DatePicker){
  Ext.apply(Ext.DatePicker.prototype, {
    todayText         : "Ø§ÙØ±Ùز",
    minText           : "اÛÙ ØªØ§Ø±ÛØ® ÙØ¨Ù از ÙØ­Ø¯ÙØ¯Ù ÙØ¬Ø§Ø² است",
    maxText           : "اÛÙ ØªØ§Ø±ÛØ® پس از ÙØ­Ø¯ÙØ¯Ù ÙØ¬Ø§Ø² است",
    disabledDaysText  : "",
    disabledDatesText : "",
    monthNames        : Date.monthNames,
    dayNames          : Date.dayNames,
    nextText          : 'ÙØ§Ù بعد (Control + Right)',
    prevText          : 'ÙØ§Ù ÙØ¨Ù (Control+Left)',
    monthYearText     : 'ÛÚ© ÙØ§Ù را Ø§ÙØªØ®Ø§Ø¨ Ú©ÙÛØ¯ (Control+Up/Down Ø¨Ø±Ø§Û Ø§ÙØªÙا٠در ساÙ)',
    todayTip          : "{0} (Spacebar)",
    format            : "y/m/d",
    okText            : "&#160;OK&#160;",
    cancelText        : "Cancel",
    startDay          : 0
   });
}

if(Ext.PagingToolbar){
   Ext.apply(Ext.PagingToolbar.prototype, {
      beforePageText : "ØµÙØ­Ù",
      afterPageText  : "از {0}",
      firstText      : "ØµÙØ­Ù اÙÙ",
      prevText       : "ØµÙØ­Ù ÙØ¨Ù",
      nextText       : "ØµÙØ­Ù بعد",
      lastText       : "ØµÙØ­Ù آخر",
      refreshText    : "Ø¨Ø§Ø²Ø®ÙØ§ÙÛ",
      displayMsg     : "ÙÙØ§ÛØ´ {0} - {1} of {2}",
      emptyMsg       : 'Ø¯Ø§Ø¯Ù Ø§Û Ø¨Ø±Ø§Û ÙÙØ§ÛØ´ ÙØ¬Ùد ÙØ¯Ø§Ø±Ø¯'
   });
}

if(Ext.form.TextField){
   Ext.apply(Ext.form.TextField.prototype, {
      minLengthText : "حداÙÙ Ø·Ù٠اÛÙ ÙÛÙØ¯ برابر است با {0}",
      maxLengthText : "حداکثر Ø·Ù٠اÛÙ ÙÛÙØ¯ برابر است با {0}",
      blankText     : "اÛÙ ÙÛÙØ¯ Ø¨Ø§ÛØ¯ ÙÙØ¯Ø§Ø±Û داشت٠باشد",
      regexText     : "",
      emptyText     : null
   });
}

if(Ext.form.NumberField){
   Ext.apply(Ext.form.NumberField.prototype, {
      minText : "حداÙÙ ÙÙØ¯Ø§Ø± اÛÙ ÙÛÙØ¯ برابر است با {0}",
      maxText : "حداکثر ÙÙØ¯Ø§Ø± اÛÙ ÙÛÙØ¯ برابر است با {0}",
      nanText : "{0} ÛÚ© عدد ÙÛØ³Øª"
   });
}

if(Ext.form.DateField){
   Ext.apply(Ext.form.DateField.prototype, {
      disabledDaysText  : "ØºÛØ±ÙعاÙ",
      disabledDatesText : "ØºÛØ±ÙعاÙ",
      minText           : "ØªØ§Ø±ÛØ® Ø¨Ø§ÛØ¯ پس از {0} باشد",
      maxText           : "ØªØ§Ø±ÛØ® Ø¨Ø§ÛØ¯ پس از {0} باشد",
      invalidText       : "{0} ØªØ§Ø±ÛØ® ØµØ­ÛØ­Û ÙÛØ³Øª - ÙØ±Ùت ØµØ­ÛØ­ {1}",
      format            : "y/m/d"
   });
}

if(Ext.form.ComboBox){
   Ext.apply(Ext.form.ComboBox.prototype, {
      loadingText       : "در Ø­Ø§Ù Ø¨Ø§Ø±Ú¯Ø°Ø§Ø±Û ...",
      valueNotFoundText : undefined
   });
}

if(Ext.form.VTypes){
   Ext.apply(Ext.form.VTypes, {
      emailText    : 'ÙÙØ¯Ø§Ø± اÛÙ ÙÛÙØ¯ Ø¨Ø§ÛØ¯ ÛÚ© اÛÙÛ٠با اÛÙ ÙØ±Ùت باشد "user@domain.com"',
      urlText      : 'ÙÙØ¯Ø§Ø± اÛ٠آدرس Ø¨Ø§ÛØ¯ ÛÚ© آدرس Ø³Ø§ÛØª با اÛÙ ÙØ±Ùت باشد "http:/'+'/www.domain.com"',
      alphaText    : 'ÙÙØ¯Ø§Ø± اÛÙ ÙÛÙØ¯ Ø¨Ø§ÛØ¯ ÙÙØ· از حرÙ٠اÙÙØ¨Ø§ Ù _ تشکÛ٠شد٠باشد ',
      alphanumText : 'ÙÙØ¯Ø§Ø± اÛÙ ÙÛÙØ¯ Ø¨Ø§ÛØ¯ ÙÙØ· از حرÙ٠اÙÙØ¨Ø§Ø اعداد Ù _ تشکÛ٠شد٠باشد'
   });
}

if(Ext.form.HtmlEditor){
  Ext.apply(Ext.form.HtmlEditor.prototype, {
    createLinkText : 'ÙØ·Ùا آدرس ÙÛÙÚ© را ÙØ§Ø±Ø¯ Ú©ÙÛØ¯:',
    buttonTips : {
      bold : {
        title: 'ØªÛØ±Ù (Ctrl+B)',
        text: 'ÙØªÙ Ø§ÙØªØ®Ø§Ø¨ شد٠را ØªÛØ±Ù ÙÛ Ú©ÙØ¯.',
        cls: 'x-html-editor-tip'
      },
      italic : {
        title: 'Ø§ÛØªØ§ÙÛÚ© (Ctrl+I)',
        text: 'ÙØªÙ Ø§ÙØªØ®Ø§Ø¨ شد٠را Ø§ÛØªØ§ÙÛÚ© ÙÛ Ú©ÙØ¯.',
        cls: 'x-html-editor-tip'
      },
      underline : {
        title: 'Ø²ÛØ±Ø®Ø· (Ctrl+U)',
        text: 'Ø²ÛØ± ÙØ± ÙÙØ´ØªÙ ÛÚ© خط ÙÙØ§ÛØ´ ÙÛ Ø¯ÙØ¯.',
        cls: 'x-html-editor-tip'
      },
      increasefontsize : {
        title: 'Ø§ÙØ²Ø§ÛØ´ Ø§ÙØ¯Ø§Ø²Ù',
        text: 'Ø§ÙØ¯Ø§Ø²Ù ÙÙÙØª را Ø§ÙØ²Ø§ÛØ´ ÙÛ Ø¯ÙØ¯.',
        cls: 'x-html-editor-tip'
      },
      decreasefontsize : {
        title: 'Ú©Ø§ÙØ´ Ø§ÙØ¯Ø§Ø²Ù',
        text: 'Ø§ÙØ¯Ø§Ø²Ù ÙØªÙ را Ú©Ø§ÙØ´ ÙÛ Ø¯ÙØ¯.',
        cls: 'x-html-editor-tip'
      },
      backcolor : {
        title: 'رÙÚ¯ زÙÛÙÙ ÙØªÙ',
        text: 'Ø¨Ø±Ø§Û ØªØºÛÛØ± رÙÚ¯ زÙÛÙÙ ÙØªÙ Ø§Ø³ØªÙØ§Ø¯Ù ÙÛ Ø´ÙØ¯.',
        cls: 'x-html-editor-tip'
      },
      forecolor : {
        title: 'رÙÚ¯ ÙÙÙ',
        text: 'رÙÚ¯  ÙÙÙ ÙØªÙ را تغÛÛØ± ÙÛ Ø¯ÙØ¯.',
        cls: 'x-html-editor-tip'
      },
      justifyleft : {
        title: 'ÚÛØ¯Ù ÙØªÙ از Ø³ÙØª ÚÙ¾',
        text: 'ÙØªÙ از Ø³ÙØª ÚÙ¾ ÚÛØ¯Ù شد٠ÙÛ Ø´ÙØ¯.',
        cls: 'x-html-editor-tip'
      },
      justifycenter : {
        title: 'ÙØªÙ در ÙØ³Ø· ',
        text: 'ÙÙØ§ÛØ´ ÙØªÙ در ÙØ³Ùت ÙØ³Ø· ØµÙØ­Ù ٠رعابت Ø³ÙØª ÚÙ¾ ٠راست.',
        cls: 'x-html-editor-tip'
      },
      justifyright : {
        title: 'ÚÛØ¯Ù ÙØªÙ از Ø³ÙØª راست',
        text: 'ÙØªÙ از Ø³ÙØª راست Ù¾ÛØ¯Ù Ø®ÙØ§Ùد شد.',
        cls: 'x-html-editor-tip'
      },
      insertunorderedlist : {
        title: 'ÙÛØ³Øª ÙÙØ±Ø§Ù با Ø¹ÙØ§Ùت',
        text: 'ÛÚ© ÙÛØ³Øª Ø¬Ø¯ÛØ¯ Ø§ÛØ¬Ø§Ø¯ ÙÛ Ú©ÙØ¯.',
        cls: 'x-html-editor-tip'
      },
      insertorderedlist : {
        title: 'ÙÛØ³Øª عددÛ',
        text: 'ÛÚ© ÙÛØ³Øª Ø¹Ø¯Ø¯Û Ø§ÛØ¬Ø§Ø¯ ÙÛ Ú©ÙØ¯. ',
        cls: 'x-html-editor-tip'
      },
      createlink : {
        title: 'ÙÛÙÚ©',
        text: 'ÙØªÙ Ø§ÙØªØ®Ø§Ø¨ شد٠را ب٠ÙÛÙÚ© تبدÛÙ Ú©ÙÛØ¯.',
        cls: 'x-html-editor-tip'
      },
      sourceedit : {
        title: 'ÙÛØ±Ø§ÛØ´ Ø³ÙØ±Ø³',
        text: 'Ø±ÙØªÙ Ø¨Ù Ø­Ø§ÙØª ÙÛØ±Ø§ÛØ´ Ø³ÙØ±Ø³.',
        cls: 'x-html-editor-tip'
      }
    }
  });
}

if(Ext.grid.GridView){
   Ext.apply(Ext.grid.GridView.prototype, {
      sortAscText  : "ÙØ±ØªØ¨ Ø³Ø§Ø²Û Ø§ÙØ²Ø§ÛØ´Û",
      sortDescText : "ÙØ±ØªØ¨ Ø³Ø§Ø²Û Ú©Ø§ÙØ´Û",
      lockText     : "ÙÙ٠ستÙÙ ÙØ§",
      unlockText   : "بازکرد٠ستÙÙ ÙØ§",
      columnsText  : "ستÙÙ ÙØ§"
   });
}

if(Ext.grid.PropertyColumnModel){
   Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
      nameText   : "ÙØ§Ù",
      valueText  : "ÙÙØ¯Ø§Ø±",
      dateFormat : "Y/m/d"
   });
}

if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
   Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
      splitTip            : "درگ Ø¨Ø±Ø§Û ØªØºÛÛØ± Ø§ÙØ¯Ø§Ø²Ù.",
      collapsibleSplitTip : "Ø¨Ø±Ø§Û ØªØºÛÛØ± Ø§ÙØ¯Ø§Ø²Ù درگ Ú©ÙÛØ¯."
   });
}

Ext - Copyright © 2006-2007 Ext JS, LLC
All rights reserved.