Upgrade to ExtJS 4.0.7 - Released 10/19/2011
[extjs.git] / locale / ext-lang-ru.js
1 /*
2
3 This file is part of Ext JS 4
4
5 Copyright (c) 2011 Sencha Inc
6
7 Contact:  http://www.sencha.com/contact
8
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.
11
12 If you are unsure which license is appropriate for your use, please contact the sales department at http://www.sencha.com/contact.
13
14 */
15 /**
16  * Russian translation
17  * By ZooKeeper (utf-8 encoding)
18  * 6 November 2007
19  */
20 Ext.onReady(function() {
21     if(Ext.Updater) {
22         Ext.Updater.defaults.indicatorText = '<div class="loading-indicator">Идет загрузка...</div>';
23     }
24
25     if(Ext.view.View){
26         Ext.view.View.prototype.emptyText = "";
27     }
28
29     if(Ext.grid.Panel){
30         Ext.grid.Panel.prototype.ddText = "{0} выбранных строк";
31     }
32
33     if(Ext.TabPanelItem){
34         Ext.TabPanelItem.prototype.closeText = "Закрыть эту вкладку";
35     }
36
37     if(Ext.form.field.Base){
38         Ext.form.field.Base.prototype.invalidText = "Значение в этом поле неверное";
39     }
40
41     if(Ext.LoadMask){
42         Ext.LoadMask.prototype.msg = "Загрузка...";
43     }
44
45     if(Ext.Date){
46         Ext.Date.monthNames = [
47         "Январь",
48         "Февраль",
49         "Март",
50         "Апрель",
51         "Май",
52         "Июнь",
53         "Июль",
54         "Август",
55         "Сентябрь",
56         "Октябрь",
57         "Ноябрь",
58         "Декабрь"
59         ];
60
61         Ext.Date.shortMonthNames = [
62         "Янв",
63         "Февр",
64         "Март",
65         "Апр",
66         "Май",
67         "Июнь",
68         "Июль",
69         "Авг",
70         "Сент",
71         "Окт",
72         "Нояб",
73         "Дек"
74         ];
75
76         Ext.Date.getShortMonthName = function(month) {
77             return Ext.Date.shortMonthNames[month];
78         };
79
80         Ext.Date.monthNumbers = {
81             'Янв': 0,
82             'Фев': 1,
83             'Мар': 2,
84             'Апр': 3,
85             'Май': 4,
86             'Июн': 5,
87             'Июл': 6,
88             'Авг': 7,
89             'Сен': 8,
90             'Окт': 9,
91             'Ноя': 10,
92             'Дек': 11
93         };
94
95         Ext.Date.getMonthNumber = function(name) {
96             return Ext.Date.monthNumbers[name.substring(0, 1).toUpperCase() + name.substring(1, 3).toLowerCase()];
97         };
98
99         Ext.Date.dayNames = [
100         "Воскресенье",
101         "Понедельник",
102         "Вторник",
103         "Среда",
104         "Четверг",
105         "Пятница",
106         "Суббота"
107         ];
108
109         Ext.Date.getShortDayName = function(day) {
110             return Ext.Date.dayNames[day].substring(0, 3);
111         };
112     }
113     if(Ext.MessageBox){
114         Ext.MessageBox.buttonText = {
115             ok     : "OK",
116             cancel : "Отмена",
117             yes    : "Да",
118             no     : "Нет"
119         };
120     }
121
122     if(Ext.util.Format){
123         Ext.apply(Ext.util.Format, {
124             thousandSeparator: '.',
125             decimalSeparator: ',',
126             currencySign: '\u0440\u0443\u0431',  // Russian Ruble
127             dateFormat: 'd.m.Y'
128         });
129     }
130
131     if(Ext.picker.Date){
132         Ext.apply(Ext.picker.Date.prototype, {
133             todayText          : "Сегодня",
134             minText            : "Эта дата раньше минимальной даты",
135             maxText            : "Эта дата позже максимальной даты",
136             disabledDaysText   : "",
137             disabledDatesText  : "",
138             monthNames         : Ext.Date.monthNames,
139             dayNames           : Ext.Date.dayNames,
140             nextText           : 'Следующий месяц (Control+Вправо)',
141             prevText           : 'Предыдущий месяц (Control+Влево)',
142             monthYearText      : 'Выбор месяца (Control+Вверх/Вниз для выбора года)',
143             todayTip           : "{0} (Пробел)",
144             format             : "d.m.y",
145             startDay           : 1
146         });
147     }
148
149     if(Ext.picker.Month) {
150         Ext.apply(Ext.picker.Month.prototype, {
151             okText             : "&#160;OK&#160;",
152             cancelText         : "Отмена"
153         });
154     }
155
156     if(Ext.toolbar.Paging){
157         Ext.apply(Ext.PagingToolbar.prototype, {
158             beforePageText : "Страница",
159             afterPageText  : "из {0}",
160             firstText      : "Первая страница",
161             prevText       : "Предыдущая страница",
162             nextText       : "Следующая страница",
163             lastText       : "Последняя страница",
164             refreshText    : "Обновить",
165             displayMsg     : "Отображаются записи с {0} по {1}, всего {2}",
166             emptyMsg       : 'Нет данных для отображения'
167         });
168     }
169
170     if(Ext.form.field.Text){
171         Ext.apply(Ext.form.field.Text.prototype, {
172             minLengthText : "Минимальная длина этого поля {0}",
173             maxLengthText : "Максимальная длина этого поля {0}",
174             blankText     : "Это поле обязательно для заполнения",
175             regexText     : "",
176             emptyText     : null
177         });
178     }
179
180     if(Ext.form.field.Number){
181         Ext.apply(Ext.form.field.Number.prototype, {
182             minText : "Значение этого поля не может быть меньше {0}",
183             maxText : "Значение этого поля не может быть больше {0}",
184             nanText : "{0} не является числом"
185         });
186     }
187
188     if(Ext.form.field.Date){
189         Ext.apply(Ext.form.field.Date.prototype, {
190             disabledDaysText  : "Не доступно",
191             disabledDatesText : "Не доступно",
192             minText           : "Дата в этом поле должна быть позде {0}",
193             maxText           : "Дата в этом поле должна быть раньше {0}",
194             invalidText       : "{0} не является правильной датой - дата должна быть указана в формате {1}",
195             format            : "d.m.y",
196             altFormats        : "d.m.y|d/m/Y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d"
197         });
198     }
199
200     if(Ext.form.field.ComboBox){
201         Ext.apply(Ext.form.field.ComboBox.prototype, {
202             valueNotFoundText : undefined
203         });
204         Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
205             loadingText       : "Загрузка..."
206         });
207     }
208
209     if(Ext.form.field.VTypes){
210         Ext.apply(Ext.form.field.VTypes, {
211             emailText     : 'Это поле должно содержать адрес электронной почты в формате "user@example.com"',
212             urlText       : 'Это поле должно содержать URL в формате "http:/'+'/www.example.com"',
213             alphaText     : 'Это поле должно содержать только латинские буквы и символ подчеркивания "_"',
214             alphanumText  : 'Это поле должно содержать только латинские буквы, цифры и символ подчеркивания "_"'
215         });
216     }
217
218     if(Ext.form.field.HtmlEditor){
219         Ext.apply(Ext.form.field.HtmlEditor.prototype, {
220             createLinkText : 'Пожалуйста введите адрес:',
221             buttonTips : {
222                 bold : {
223                     title: 'Полужирный (Ctrl+B)',
224                     text: 'Применение полужирного начертания к выделенному тексту.',
225                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
226                 },
227                 italic : {
228                     title: 'Курсив (Ctrl+I)',
229                     text: 'Применение курсивного начертания к выделенному тексту.',
230                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
231                 },
232                 underline : {
233                     title: 'Подчёркнутый (Ctrl+U)',
234                     text: 'Подчёркивание выделенного текста.',
235                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
236                 },
237                 increasefontsize : {
238                     title: 'Увеличить размер',
239                     text: 'Увеличение размера шрифта.',
240                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
241                 },
242                 decreasefontsize : {
243                     title: 'Уменьшить размер',
244                     text: 'Уменьшение размера шрифта.',
245                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
246                 },
247                 backcolor : {
248                     title: 'Заливка',
249                     text: 'Изменение цвета фона для выделенного текста или абзаца.',
250                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
251                 },
252                 forecolor : {
253                     title: 'Цвет текста',
254                     text: 'Измение цвета текста.',
255                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
256                 },
257                 justifyleft : {
258                     title: 'Выровнять текст по левому краю',
259                     text: 'Выровнивание текста по левому краю.',
260                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
261                 },
262                 justifycenter : {
263                     title: 'По центру',
264                     text: 'Выровнивание текста по центру.',
265                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
266                 },
267                 justifyright : {
268                     title: 'Выровнять текст по правому краю',
269                     text: 'Выровнивание текста по правому краю.',
270                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
271                 },
272                 insertunorderedlist : {
273                     title: 'Маркеры',
274                     text: 'Начать маркированный список.',
275                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
276                 },
277                 insertorderedlist : {
278                     title: 'Нумерация',
279                     text: 'Начать нумернованный список.',
280                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
281                 },
282                 createlink : {
283                     title: 'Вставить гиперссылку',
284                     text: 'Создание ссылки из выделенного текста.',
285                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
286                 },
287                 sourceedit : {
288                     title: 'Исходный код',
289                     text: 'Переключиться на исходный код.',
290                     cls: Ext.baseCSSPrefix + 'html-editor-tip'
291                 }
292             }
293         });
294     }
295
296     if(Ext.form.Basic){
297         Ext.form.Basic.prototype.waitTitle = "Пожалуйста подождите...";
298     }
299
300     if(Ext.grid.header.Container){
301         Ext.apply(Ext.grid.header.Container.prototype, {
302             sortAscText  : "Сортировать по возрастанию",
303             sortDescText : "Сортировать по убыванию",
304             lockText     : "Закрепить столбец",
305             unlockText   : "Снять закрепление столбца",
306             columnsText  : "Столбцы"
307         });
308     }
309
310     if(Ext.grid.GroupingFeature){
311         Ext.apply(Ext.grid.GroupingFeature.prototype, {
312             emptyGroupText : '(Пусто)',
313             groupByText    : 'Группировать по этому полю',
314             showGroupsText : 'Отображать по группам'
315         });
316     }
317
318     if(Ext.grid.PropertyColumnModel){
319         Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
320             nameText   : "Название",
321             valueText  : "Значение",
322             dateFormat : "d.m.Y"
323         });
324     }
325
326     if(Ext.SplitLayoutRegion){
327         Ext.apply(Ext.SplitLayoutRegion.prototype, {
328             splitTip            : "Тяните для изменения размера.",
329             collapsibleSplitTip : "Тяните для изменения размера. Двойной щелчок спрячет панель."
330         });
331     }
332
333     if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
334         Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
335             splitTip            : "Тяните для изменения размера.",
336             collapsibleSplitTip : "Тяните для изменения размера. Двойной щелчок спрячет панель."
337         });
338     }
339 });