3 This file is part of Ext JS 4
5 Copyright (c) 2011 Sencha Inc
7 Contact: http://www.sencha.com/contact
9 GNU General Public License Usage
10 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.
12 If you are unsure which license is appropriate for your use, please contact the sales department at http://www.sencha.com/contact.
16 * Farsi (Persian) translation
18 * 03-10-2007, 06:23 PM
20 Ext.onReady(function() {
22 Ext.Updater.defaults.indicatorText = '<div class="loading-indicator">در حال بارگذاری ...</div>';
26 Ext.view.View.prototype.emptyText = "";
30 Ext.grid.Panel.prototype.ddText = "{0} رکورد انتخاب شده";
34 Ext.TabPanelItem.prototype.closeText = "بستن";
37 if(Ext.form.field.Base){
38 Ext.form.field.Base.prototype.invalidText = "مقدار فیلد صحیح نیست";
42 Ext.LoadMask.prototype.msg = "در حال بارگذاری ...";
46 Ext.Date.monthNames = [
61 Ext.Date.monthNumbers = {
88 Ext.MessageBox.buttonText = {
97 Ext.apply(Ext.util.Format, {
98 thousandSeparator: '.',
99 decimalSeparator: ',',
100 currencySign: '\ufdfc', // Iranian Rial
106 Ext.apply(Ext.picker.Date.prototype, {
108 minText : "این تاریخ قبل از محدوده مجاز است",
109 maxText : "این تاریخ پس از محدوده مجاز است",
110 disabledDaysText : "",
111 disabledDatesText : "",
112 monthNames : Ext.Date.monthNames,
113 dayNames : Ext.Date.dayNames,
114 nextText : 'ماه بعد (Control + Right)',
115 prevText : 'ماه قبل (Control+Left)',
116 monthYearText : 'یک ماه را انتخاب کنید (Control+Up/Down برای انتقال در سال)',
117 todayTip : "{0} (Spacebar)",
123 if(Ext.picker.Month) {
124 Ext.apply(Ext.picker.Month.prototype, {
125 okText : " OK ",
126 cancelText : "Cancel"
130 if(Ext.toolbar.Paging){
131 Ext.apply(Ext.PagingToolbar.prototype, {
132 beforePageText : "صفحه",
133 afterPageText : "از {0}",
134 firstText : "صفحه اول",
135 prevText : "صفحه قبل",
136 nextText : "صفحه بعد",
137 lastText : "صفحه آخر",
138 refreshText : "بازخوانی",
139 displayMsg : "نمایش {0} - {1} of {2}",
140 emptyMsg : 'داده ای برای نمایش وجود ندارد'
144 if(Ext.form.field.Text){
145 Ext.apply(Ext.form.field.Text.prototype, {
146 minLengthText : "حداقل طول این فیلد برابر است با {0}",
147 maxLengthText : "حداکثر طول این فیلد برابر است با {0}",
148 blankText : "این فیلد باید مقداری داشته باشد",
154 if(Ext.form.field.Number){
155 Ext.apply(Ext.form.field.Number.prototype, {
156 minText : "حداقل مقدار این فیلد برابر است با {0}",
157 maxText : "حداکثر مقدار این فیلد برابر است با {0}",
158 nanText : "{0} یک عدد نیست"
162 if(Ext.form.field.Date){
163 Ext.apply(Ext.form.field.Date.prototype, {
164 disabledDaysText : "غیرفعال",
165 disabledDatesText : "غیرفعال",
166 minText : "تاریخ باید پس از {0} باشد",
167 maxText : "تاریخ باید پس از {0} باشد",
168 invalidText : "{0} تاریخ صحیحی نیست - فرمت صحیح {1}",
173 if(Ext.form.field.ComboBox){
174 Ext.apply(Ext.form.field.ComboBox.prototype, {
175 valueNotFoundText : undefined
177 Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
178 loadingText : "در حال بارگذاری ..."
182 if(Ext.form.field.VTypes){
183 Ext.apply(Ext.form.field.VTypes, {
184 emailText : 'مقدار این فیلد باید یک ایمیل با این فرمت باشد "user@example.com"',
185 urlText : 'مقدار این آدرس باید یک آدرس سایت با این فرمت باشد "http:/'+'/www.example.com"',
186 alphaText : 'مقدار این فیلد باید فقط از حروف الفبا و _ تشکیل شده باشد ',
187 alphanumText : 'مقدار این فیلد باید فقط از حروف الفبا، اعداد و _ تشکیل شده باشد'
191 if(Ext.form.field.HtmlEditor){
192 Ext.apply(Ext.form.field.HtmlEditor.prototype, {
193 createLinkText : 'لطفا آدرس لینک را وارد کنید:',
196 title: 'تیره (Ctrl+B)',
197 text: 'متن انتخاب شده را تیره می کند.',
198 cls: Ext.baseCSSPrefix + 'html-editor-tip'
201 title: 'ایتالیک (Ctrl+I)',
202 text: 'متن انتخاب شده را ایتالیک می کند.',
203 cls: Ext.baseCSSPrefix + 'html-editor-tip'
206 title: 'زیرخط (Ctrl+U)',
207 text: 'زیر هر نوشته یک خط نمایش می دهد.',
208 cls: Ext.baseCSSPrefix + 'html-editor-tip'
211 title: 'افزایش اندازه',
212 text: 'اندازه فونت را افزایش می دهد.',
213 cls: Ext.baseCSSPrefix + 'html-editor-tip'
216 title: 'کاهش اندازه',
217 text: 'اندازه متن را کاهش می دهد.',
218 cls: Ext.baseCSSPrefix + 'html-editor-tip'
221 title: 'رنگ زمینه متن',
222 text: 'برای تغییر رنگ زمینه متن استفاده می شود.',
223 cls: Ext.baseCSSPrefix + 'html-editor-tip'
227 text: 'رنگ قلم متن را تغییر می دهد.',
228 cls: Ext.baseCSSPrefix + 'html-editor-tip'
231 title: 'چیدن متن از سمت چپ',
232 text: 'متن از سمت چپ چیده شده می شود.',
233 cls: Ext.baseCSSPrefix + 'html-editor-tip'
236 title: 'متن در وسط ',
237 text: 'نمایش متن در قسمت وسط صفحه و رعابت سمت چپ و راست.',
238 cls: Ext.baseCSSPrefix + 'html-editor-tip'
241 title: 'چیدن متن از سمت راست',
242 text: 'متن از سمت راست پیده خواهد شد.',
243 cls: Ext.baseCSSPrefix + 'html-editor-tip'
245 insertunorderedlist : {
246 title: 'لیست همراه با علامت',
247 text: 'یک لیست جدید ایجاد می کند.',
248 cls: Ext.baseCSSPrefix + 'html-editor-tip'
250 insertorderedlist : {
252 text: 'یک لیست عددی ایجاد می کند. ',
253 cls: Ext.baseCSSPrefix + 'html-editor-tip'
257 text: 'متن انتخاب شده را به لینک تبدیل کنید.',
258 cls: Ext.baseCSSPrefix + 'html-editor-tip'
261 title: 'ویرایش سورس',
262 text: 'رفتن به حالت ویرایش سورس.',
263 cls: Ext.baseCSSPrefix + 'html-editor-tip'
269 if(Ext.grid.header.Container){
270 Ext.apply(Ext.grid.header.Container.prototype, {
271 sortAscText : "مرتب سازی افزایشی",
272 sortDescText : "مرتب سازی کاهشی",
273 lockText : "قفل ستون ها",
274 unlockText : "بازکردن ستون ها",
275 columnsText : "ستون ها"
279 if(Ext.grid.PropertyColumnModel){
280 Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
287 if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
288 Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
289 splitTip : "درگ برای تغییر اندازه.",
290 collapsibleSplitTip : "برای تغییر اندازه درگ کنید."