/*
This file is part of Ext JS 4.2
Copyright (c) 2011-2013 Sencha Inc
Contact: http://www.sencha.com/contact
GNU General Public License Usage
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.
If you are unsure which license is appropriate for your use, please contact the sales department
at http://www.sencha.com/contact.
Build date: 2013-05-16 14:36:50 (f9be68accb407158ba2b1be2c226a6ce1f649314)
*/
/**
* Farsi (Persian) translation
* By Mohaqa
* 03-10-2007, 06:23 PM
*/
Ext.onReady(function() {
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 && Ext.util.Format) {
Ext.apply(Ext.util.Format, {
thousandSeparator: '.',
decimalSeparator: ',',
currencySign: '\ufdfc',
// Iranian Rial
dateFormat: 'Y/m/d'
});
}
});
Ext.define("Ext.locale.fa.view.View", {
override: "Ext.view.View",
emptyText: ""
});
Ext.define("Ext.locale.fa.grid.plugin.DragDrop", {
override: "Ext.grid.plugin.DragDrop",
dragText: "{0} رکورد انتخاب شده"
});
Ext.define("Ext.locale.fa.tab.Tab", {
override: "Ext.tab.Tab",
closeText: "بستن"
});
Ext.define("Ext.locale.fa.form.field.Base", {
override: "Ext.form.field.Base",
invalidText: "مقدار Ùیلد صØÛŒØ نیست"
});
// changing the msg text below will affect the LoadMask
Ext.define("Ext.locale.fa.view.AbstractView", {
override: "Ext.view.AbstractView",
loadingText: "در ØØ§Ù„ بارگذاری ..."
});
Ext.define("Ext.locale.fa.picker.Date", {
override: "Ext.picker.Date",
todayText: "امروز",
minText: "این تاریخ قبل از Ù…ØØ¯ÙˆØ¯Ù‡ مجاز است",
maxText: "این تاریخ پس از Ù…ØØ¯ÙˆØ¯Ù‡ مجاز است",
disabledDaysText: "",
disabledDatesText: "",
nextText: 'ماه بعد (Control + Right)',
prevText: 'ماه قبل (Control+Left)',
monthYearText: 'یک ماه را انتخاب کنید (Control+Up/Down برای انتقال در سال)',
todayTip: "{0} (Spacebar)",
format: "y/m/d",
startDay: 0
});
Ext.define("Ext.locale.fa.picker.Month", {
override: "Ext.picker.Month",
okText: " OK ",
cancelText: "Cancel"
});
Ext.define("Ext.locale.fa.toolbar.Paging", {
override: "Ext.PagingToolbar",
beforePageText: "ØµÙØÙ‡",
afterPageText: "از {0}",
firstText: "ØµÙØÙ‡ اول",
prevText: "ØµÙØÙ‡ قبل",
nextText: "ØµÙØÙ‡ بعد",
lastText: "ØµÙØÙ‡ آخر",
refreshText: "بازخوانی",
displayMsg: "نمایش {0} - {1} of {2}",
emptyMsg: 'داده ای برای نمایش وجود ندارد'
});
Ext.define("Ext.locale.fa.form.field.Text", {
override: "Ext.form.field.Text",
minLengthText: "ØØ¯Ø§Ù‚Ù„ طول این Ùیلد برابر است با {0}",
maxLengthText: "ØØ¯Ø§Ú©Ø«Ø± طول این Ùیلد برابر است با {0}",
blankText: "این Ùیلد باید مقداری داشته باشد",
regexText: "",
emptyText: null
});
Ext.define("Ext.locale.fa.form.field.Number", {
override: "Ext.form.field.Number",
minText: "ØØ¯Ø§Ù‚Ù„ مقدار این Ùیلد برابر است با {0}",
maxText: "ØØ¯Ø§Ú©Ø«Ø± مقدار این Ùیلد برابر است با {0}",
nanText: "{0} یک عدد نیست"
});
Ext.define("Ext.locale.fa.form.field.Date", {
override: "Ext.form.field.Date",
disabledDaysText: "ØºÛŒØ±ÙØ¹Ø§Ù„",
disabledDatesText: "ØºÛŒØ±ÙØ¹Ø§Ù„",
minText: "تاریخ باید پس از {0} باشد",
maxText: "تاریخ باید پس از {0} باشد",
invalidText: "{0} تاریخ صØÛŒØÛŒ نیست - ÙØ±Ù…ت صØÛŒØ {1}",
format: "y/m/d"
});
Ext.define("Ext.locale.fa.form.field.ComboBox", {
override: "Ext.form.field.ComboBox",
valueNotFoundText: undefined
}, function() {
Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
loadingText: "در ØØ§Ù„ بارگذاری ..."
});
});
Ext.define("Ext.locale.fa.form.field.VTypes", {
override: "Ext.form.field.VTypes",
emailText: 'مقدار این Ùیلد باید یک ایمیل با این ÙØ±Ù…ت باشد " [email protected]"',
urlText: 'مقدار این آدرس باید یک آدرس سایت با این ÙØ±Ù…ت باشد "http:/' + '/www.example.com"',
alphaText: 'مقدار این Ùیلد باید Ùقط از ØØ±ÙˆÙ Ø§Ù„ÙØ¨Ø§ Ùˆ _ تشکیل شده باشد ',
alphanumText: 'مقدار این Ùیلد باید Ùقط از ØØ±ÙˆÙ Ø§Ù„ÙØ¨Ø§ØŒ اعداد Ùˆ _ تشکیل شده باشد'
});
Ext.define("Ext.locale.fa.form.field.HtmlEditor", {
override: "Ext.form.field.HtmlEditor",
createLinkText: 'Ù„Ø·ÙØ§ آدرس لینک را وارد کنید:'
}, function() {
Ext.apply(Ext.form.field.HtmlEditor.prototype, {
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'
}
}
});
});
Ext.define("Ext.locale.fa.grid.header.Container", {
override: "Ext.grid.header.Container",
sortAscText: "مرتب سازی Ø§ÙØ²Ø§ÛŒØ´ÛŒ",
sortDescText: "مرتب سازی کاهشی",
lockText: "Ù‚ÙÙ„ ستون ها",
unlockText: "بازکردن ستون ها",
columnsText: "ستون ها"
});
Ext.define("Ext.locale.fa.grid.PropertyColumnModel", {
override: "Ext.grid.PropertyColumnModel",
nameText: "نام",
valueText: "مقدار",
dateFormat: "Y/m/d"
});
Ext.define("Ext.locale.fa.window.MessageBox", {
override: "Ext.window.MessageBox",
buttonText: {
ok: "OK",
cancel: "Kanselleer",
yes: "Ja",
no: "Nee"
}
});
// This is needed until we can refactor all of the locales into individual files
Ext.define("Ext.locale.fa.Component", {
override: "Ext.Component"
});
|