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 loadingText : "در حال بارگذاری ...",
176 valueNotFoundText : undefined
180 if(Ext.form.field.VTypes){
181 Ext.apply(Ext.form.field.VTypes, {
182 emailText : 'مقدار این فیلد باید یک ایمیل با این فرمت باشد "user@example.com"',
183 urlText : 'مقدار این آدرس باید یک آدرس سایت با این فرمت باشد "http:/'+'/www.example.com"',
184 alphaText : 'مقدار این فیلد باید فقط از حروف الفبا و _ تشکیل شده باشد ',
185 alphanumText : 'مقدار این فیلد باید فقط از حروف الفبا، اعداد و _ تشکیل شده باشد'
189 if(Ext.form.field.HtmlEditor){
190 Ext.apply(Ext.form.field.HtmlEditor.prototype, {
191 createLinkText : 'لطفا آدرس لینک را وارد کنید:',
194 title: 'تیره (Ctrl+B)',
195 text: 'متن انتخاب شده را تیره می کند.',
196 cls: Ext.baseCSSPrefix + 'html-editor-tip'
199 title: 'ایتالیک (Ctrl+I)',
200 text: 'متن انتخاب شده را ایتالیک می کند.',
201 cls: Ext.baseCSSPrefix + 'html-editor-tip'
204 title: 'زیرخط (Ctrl+U)',
205 text: 'زیر هر نوشته یک خط نمایش می دهد.',
206 cls: Ext.baseCSSPrefix + 'html-editor-tip'
209 title: 'افزایش اندازه',
210 text: 'اندازه فونت را افزایش می دهد.',
211 cls: Ext.baseCSSPrefix + 'html-editor-tip'
214 title: 'کاهش اندازه',
215 text: 'اندازه متن را کاهش می دهد.',
216 cls: Ext.baseCSSPrefix + 'html-editor-tip'
219 title: 'رنگ زمینه متن',
220 text: 'برای تغییر رنگ زمینه متن استفاده می شود.',
221 cls: Ext.baseCSSPrefix + 'html-editor-tip'
225 text: 'رنگ قلم متن را تغییر می دهد.',
226 cls: Ext.baseCSSPrefix + 'html-editor-tip'
229 title: 'چیدن متن از سمت چپ',
230 text: 'متن از سمت چپ چیده شده می شود.',
231 cls: Ext.baseCSSPrefix + 'html-editor-tip'
234 title: 'متن در وسط ',
235 text: 'نمایش متن در قسمت وسط صفحه و رعابت سمت چپ و راست.',
236 cls: Ext.baseCSSPrefix + 'html-editor-tip'
239 title: 'چیدن متن از سمت راست',
240 text: 'متن از سمت راست پیده خواهد شد.',
241 cls: Ext.baseCSSPrefix + 'html-editor-tip'
243 insertunorderedlist : {
244 title: 'لیست همراه با علامت',
245 text: 'یک لیست جدید ایجاد می کند.',
246 cls: Ext.baseCSSPrefix + 'html-editor-tip'
248 insertorderedlist : {
250 text: 'یک لیست عددی ایجاد می کند. ',
251 cls: Ext.baseCSSPrefix + 'html-editor-tip'
255 text: 'متن انتخاب شده را به لینک تبدیل کنید.',
256 cls: Ext.baseCSSPrefix + 'html-editor-tip'
259 title: 'ویرایش سورس',
260 text: 'رفتن به حالت ویرایش سورس.',
261 cls: Ext.baseCSSPrefix + 'html-editor-tip'
267 if(Ext.grid.header.Container){
268 Ext.apply(Ext.grid.header.Container.prototype, {
269 sortAscText : "مرتب سازی افزایشی",
270 sortDescText : "مرتب سازی کاهشی",
271 lockText : "قفل ستون ها",
272 unlockText : "بازکردن ستون ها",
273 columnsText : "ستون ها"
277 if(Ext.grid.PropertyColumnModel){
278 Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
285 if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
286 Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
287 splitTip : "درگ برای تغییر اندازه.",
288 collapsibleSplitTip : "برای تغییر اندازه درگ کنید."