X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/0494b8d9b9bb03ab6c22b34dae81261e3cd7e3e6..7a654f8d43fdb43d78b63d90528bed6e86b608cc:/locale/ext-lang-fa.js
diff --git a/locale/ext-lang-fa.js b/locale/ext-lang-fa.js
new file mode 100644
index 00000000..ba12181c
--- /dev/null
+++ b/locale/ext-lang-fa.js
@@ -0,0 +1,278 @@
+/**
+ * Farsi (Persian) translation
+ * By Mohaqa
+ * 03-10-2007, 06:23 PM
+ */
+Ext.onReady(function() {
+if(Ext.Updater) {
+ Ext.Updater.defaults.indicatorText = '
در ØØ§Ù Ø¨Ø§Ø±Ú¯Ø°Ø§Ø±Û ...
';
+}
+
+if(Ext.view.View){
+ Ext.view.View.prototype.emptyText = "";
+}
+
+if(Ext.grid.Panel){
+ Ext.grid.Panel.prototype.ddText = "{0} رکÙرد اÙتخاب شدÙ";
+}
+
+if(Ext.TabPanelItem){
+ Ext.TabPanelItem.prototype.closeText = "بستÙ";
+}
+
+if(Ext.form.field.Base){
+ Ext.form.field.Base.prototype.invalidText = "Ù
Ùدار ÙÛÙد صØÛØ ÙÛست";
+}
+
+if(Ext.LoadMask){
+ Ext.LoadMask.prototype.msg = "در ØØ§Ù Ø¨Ø§Ø±Ú¯Ø°Ø§Ø±Û ...";
+}
+
+if (Ext.Date) {
+Ext.Date.monthNames = [
+ "ÚاÙÙÛÙ",
+ "ÙÙرÛÙ",
+ "Ù
ارس",
+ "آپرÛÙ",
+ "Ù
Û",
+ "ÚÙئÙ",
+ "جÙÙاÛ",
+ "Ø¢Ú¯Ùست",
+ "سپتاÙ
بر",
+ "اکتبر",
+ "ÙÙاÙ
بر",
+ "دساÙ
بر"
+];
+
+Ext.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
+};
+
+Ext.Date.dayNames = [
+ "ÛÚ©Ø´ÙبÙ",
+ "دÙØ´ÙبÙ",
+ "س٠شÙبÙ",
+ "ÚÙارشÙبÙ",
+ "Ù¾ÙجشÙبÙ",
+ "جÙ
عÙ",
+ "Ø´ÙبÙ"
+];
+}
+
+if(Ext.MessageBox){
+ Ext.MessageBox.buttonText = {
+ ok : "تاÛÛد",
+ cancel : "بازگشت",
+ yes : "بÙÙ",
+ no : "Ø®Ûر"
+ };
+}
+
+if(Ext.util.Format){
+ Ext.apply(Ext.util.Format, {
+ thousandSeparator: '.',
+ decimalSeparator: ',',
+ currencySign: '\ufdfc', // Iranian Rial
+ dateFormat: 'Y/m/d'
+ });
+}
+
+if(Ext.picker.Date){
+ Ext.apply(Ext.picker.Date.prototype, {
+ todayText : "اÙ
رÙز",
+ minText : "اÛ٠تارÛØ® Ùب٠از Ù
ØدÙد٠Ù
جاز است",
+ maxText : "اÛ٠تارÛØ® پس از Ù
ØدÙد٠Ù
جاز است",
+ disabledDaysText : "",
+ disabledDatesText : "",
+ monthNames : Ext.Date.monthNames,
+ dayNames : Ext.Date.dayNames,
+ nextText : 'Ù
ا٠بعد (Control + Right)',
+ prevText : 'Ù
ا٠Ùب٠(Control+Left)',
+ monthYearText : 'ÛÚ© Ù
ا٠را اÙتخاب Ú©ÙÛد (Control+Up/Down Ø¨Ø±Ø§Û Ø§ÙتÙا٠در ساÙ)',
+ todayTip : "{0} (Spacebar)",
+ format : "y/m/d",
+ startDay : 0
+ });
+}
+
+if(Ext.picker.Month) {
+ Ext.apply(Ext.picker.Month.prototype, {
+ okText : " OK ",
+ cancelText : "Cancel"
+ });
+}
+
+if(Ext.toolbar.Paging){
+ Ext.apply(Ext.PagingToolbar.prototype, {
+ beforePageText : "صÙØÙ",
+ afterPageText : "از {0}",
+ firstText : "صÙØ٠اÙÙ",
+ prevText : "صÙØÙ ÙبÙ",
+ nextText : "صÙØ٠بعد",
+ lastText : "صÙØ٠آخر",
+ refreshText : "بازخÙاÙÛ",
+ displayMsg : "ÙÙ
اÛØ´ {0} - {1} of {2}",
+ emptyMsg : 'Ø¯Ø§Ø¯Ù Ø§Û Ø¨Ø±Ø§Û ÙÙ
اÛØ´ ÙجÙد Ùدارد'
+ });
+}
+
+if(Ext.form.field.Text){
+ Ext.apply(Ext.form.field.Text.prototype, {
+ minLengthText : "ØداÙÙ Ø·Ù٠اÛÙ ÙÛÙد برابر است با {0}",
+ maxLengthText : "Øداکثر Ø·Ù٠اÛÙ ÙÛÙد برابر است با {0}",
+ blankText : "اÛÙ ÙÛÙد باÛد Ù
ÙØ¯Ø§Ø±Û Ø¯Ø§Ø´ØªÙ Ø¨Ø§Ø´Ø¯",
+ regexText : "",
+ emptyText : null
+ });
+}
+
+if(Ext.form.field.Number){
+ Ext.apply(Ext.form.field.Number.prototype, {
+ minText : "ØداÙÙ Ù
Ùدار اÛÙ ÙÛÙد برابر است با {0}",
+ maxText : "Øداکثر Ù
Ùدار اÛÙ ÙÛÙد برابر است با {0}",
+ nanText : "{0} ÛÚ© عدد ÙÛست"
+ });
+}
+
+if(Ext.form.field.Date){
+ Ext.apply(Ext.form.field.Date.prototype, {
+ disabledDaysText : "غÛرÙعاÙ",
+ disabledDatesText : "غÛرÙعاÙ",
+ minText : "تارÛØ® باÛد پس از {0} باشد",
+ maxText : "تارÛØ® باÛد پس از {0} باشد",
+ invalidText : "{0} تارÛØ® صØÛØÛ ÙÛست - ÙرÙ
ت صØÛØ {1}",
+ format : "y/m/d"
+ });
+}
+
+if(Ext.form.field.ComboBox){
+ Ext.apply(Ext.form.field.ComboBox.prototype, {
+ loadingText : "در ØØ§Ù Ø¨Ø§Ø±Ú¯Ø°Ø§Ø±Û ...",
+ valueNotFoundText : undefined
+ });
+}
+
+if(Ext.form.field.VTypes){
+ Ext.apply(Ext.form.field.VTypes, {
+ emailText : 'Ù
Ùدار اÛÙ ÙÛÙد باÛد ÛÚ© اÛÙ
Û٠با اÛÙ ÙرÙ
ت باشد "user@example.com"',
+ urlText : 'Ù
Ùدار اÛ٠آدرس باÛد ÛÚ© آدرس ساÛت با اÛÙ ÙرÙ
ت باشد "http:/'+'/www.example.com"',
+ alphaText : 'Ù
Ùدار اÛÙ ÙÛÙد باÛد ÙÙØ· از ØرÙ٠اÙÙبا Ù _ تشکÛ٠شد٠باشد ',
+ alphanumText : 'Ù
Ùدار اÛÙ ÙÛÙد باÛد ÙÙØ· از ØرÙ٠اÙÙØ¨Ø§Ø Ø§Ø¹Ø¯Ø§Ø¯ Ù _ تشکÛ٠شد٠باشد'
+ });
+}
+
+if(Ext.form.field.HtmlEditor){
+ Ext.apply(Ext.form.field.HtmlEditor.prototype, {
+ createLinkText : 'ÙØ·Ùا آدرس ÙÛÙÚ© را Ùارد Ú©ÙÛد:',
+ buttonTips : {
+ bold : {
+ title: 'تÛر٠(Ctrl+B)',
+ text: 'Ù
ت٠اÙتخاب شد٠را تÛر٠Ù
Û Ú©Ùد.',
+ cls: Ext.baseCSSPrefix + 'html-editor-tip'
+ },
+ italic : {
+ title: 'اÛتاÙÛÚ© (Ctrl+I)',
+ text: 'Ù
ت٠اÙتخاب شد٠را اÛتاÙÛÚ© Ù
Û Ú©Ùد.',
+ cls: Ext.baseCSSPrefix + 'html-editor-tip'
+ },
+ underline : {
+ title: 'زÛرخط (Ctrl+U)',
+ text: 'زÛر Ùر ÙÙشت٠ÛÚ© خط ÙÙ
اÛØ´ Ù
Û Ø¯Ùد.',
+ cls: Ext.baseCSSPrefix + 'html-editor-tip'
+ },
+ increasefontsize : {
+ title: 'اÙزاÛØ´ اÙدازÙ',
+ text: 'اÙداز٠ÙÙÙت را اÙزاÛØ´ Ù
Û Ø¯Ùد.',
+ cls: Ext.baseCSSPrefix + 'html-editor-tip'
+ },
+ decreasefontsize : {
+ title: 'کاÙØ´ اÙدازÙ',
+ text: 'اÙداز٠Ù
ت٠را کاÙØ´ Ù
Û Ø¯Ùد.',
+ cls: Ext.baseCSSPrefix + 'html-editor-tip'
+ },
+ backcolor : {
+ title: 'رÙÚ¯ زÙ
ÛÙÙ Ù
تÙ',
+ text: 'Ø¨Ø±Ø§Û ØªØºÛÛر رÙÚ¯ زÙ
ÛÙÙ Ù
ت٠استÙاد٠Ù
Û Ø´Ùد.',
+ cls: Ext.baseCSSPrefix + 'html-editor-tip'
+ },
+ forecolor : {
+ title: 'رÙÚ¯ ÙÙÙ
',
+ text: 'رÙÚ¯ ÙÙÙ
Ù
ت٠را تغÛÛر Ù
Û Ø¯Ùد.',
+ cls: Ext.baseCSSPrefix + 'html-editor-tip'
+ },
+ justifyleft : {
+ title: 'ÚÛد٠Ù
ت٠از سÙ
ت ÚÙ¾',
+ text: 'Ù
ت٠از سÙ
ت ÚÙ¾ ÚÛد٠شد٠Ù
Û Ø´Ùد.',
+ cls: Ext.baseCSSPrefix + 'html-editor-tip'
+ },
+ justifycenter : {
+ title: 'Ù
ت٠در Ùسط ',
+ text: 'ÙÙ
اÛØ´ Ù
ت٠در ÙسÙ
ت Ùسط صÙØ٠٠رعابت سÙ
ت ÚÙ¾ ٠راست.',
+ cls: Ext.baseCSSPrefix + 'html-editor-tip'
+ },
+ justifyright : {
+ title: 'ÚÛد٠Ù
ت٠از سÙ
ت راست',
+ text: 'Ù
ت٠از سÙ
ت راست Ù¾Ûد٠خÙاÙد شد.',
+ cls: Ext.baseCSSPrefix + 'html-editor-tip'
+ },
+ insertunorderedlist : {
+ title: 'ÙÛست ÙÙ
را٠با عÙاÙ
ت',
+ text: 'ÛÚ© ÙÛست جدÛد اÛجاد Ù
Û Ú©Ùد.',
+ cls: Ext.baseCSSPrefix + 'html-editor-tip'
+ },
+ insertorderedlist : {
+ title: 'ÙÛست عددÛ',
+ text: 'ÛÚ© ÙÛست Ø¹Ø¯Ø¯Û Ø§Ûجاد Ù
Û Ú©Ùد. ',
+ cls: Ext.baseCSSPrefix + 'html-editor-tip'
+ },
+ createlink : {
+ title: 'ÙÛÙÚ©',
+ text: 'Ù
ت٠اÙتخاب شد٠را ب٠ÙÛÙÚ© تبدÛÙ Ú©ÙÛد.',
+ cls: Ext.baseCSSPrefix + 'html-editor-tip'
+ },
+ sourceedit : {
+ title: 'ÙÛراÛØ´ سÙرس',
+ text: 'رÙت٠ب٠ØاÙت ÙÛراÛØ´ سÙرس.',
+ cls: Ext.baseCSSPrefix + 'html-editor-tip'
+ }
+ }
+ });
+}
+
+if(Ext.grid.header.Container){
+ Ext.apply(Ext.grid.header.Container.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 : "Ø¨Ø±Ø§Û ØªØºÛÛر اÙداز٠درگ Ú©ÙÛد."
+ });
+}
+
+});