Upgrade to ExtJS 4.0.7 - Released 10/19/2011
[extjs.git] / locale / ext-lang-bg.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  * Bulgarian Translation
17  *
18  * By Георги Костадинов, Калгари, Канада
19  * 10 October 2007
20  * By Nedko Penev 
21  * 26 October 2007
22  *
23  * (utf-8 encoding)
24  */
25 Ext.onReady(function() {
26     if (Ext.Updater) {
27         Ext.Updater.defaults.indicatorText = '<div class="loading-indicator">Зареждане...</div>';
28     }
29     if(Ext.view.View){
30       Ext.view.View.prototype.emptyText = "";
31     }
32
33     if(Ext.grid.Panel){
34       Ext.grid.Panel.prototype.ddText = "{0} избрани колони";
35     }
36
37     if(Ext.TabPanelItem){
38       Ext.TabPanelItem.prototype.closeText = "Затвори таб";
39     }
40
41     if(Ext.form.field.Base){
42       Ext.form.field.Base.prototype.invalidText = "Невалидна стойност на полето";
43     }
44
45     if(Ext.LoadMask){
46       Ext.LoadMask.prototype.msg = "Зареждане...";
47     }
48
49     if(Ext.Date) {
50         Ext.Date.monthNames = [
51           "Януари",
52           "Февруари",
53           "Март",
54           "Април",
55           "Май",
56           "Юни",
57           "Юли",
58           "Август",
59           "Септември",
60           "Октомври",
61           "Ноември",
62           "Декември"
63         ];
64
65         Ext.Date.monthNumbers = {
66           Jan : 0,
67           Feb : 1,
68           Mar : 2,
69           Apr : 3,
70           May : 4,
71           Jun : 5,
72           Jul : 6,
73           Aug : 7,
74           Sep : 8,
75           Oct : 9,
76           Nov : 10,
77           Dec : 11
78         };
79
80         Ext.Date.dayNames = [
81           "Неделя",
82           "Понеделник",
83           "Вторник",
84           "Сряда",
85           "Четвъртък",
86           "Петък",
87           "Събота"
88         ];
89     }
90     if(Ext.MessageBox){
91       Ext.MessageBox.buttonText = {
92         ok     : "OK",
93         cancel : "Отмени",
94         yes    : "Да",
95         no     : "Не"
96       };
97     }
98
99     if(Ext.util.Format){
100         Ext.apply(Ext.util.Format, {
101             thousandSeparator: '.',
102             decimalSeparator: ',',
103             currencySign: '\u043b\u0432',  // Bulgarian Leva
104             dateFormat: 'd.m.Y'
105         });
106     }
107
108     if(Ext.picker.Date){
109       Ext.apply(Ext.picker.Date.prototype, {
110         todayText         : "Днес",
111         minText           : "Тази дата е преди минималната",
112         maxText           : "Тази дата е след максималната",
113         disabledDaysText  : "",
114         disabledDatesText : "",
115         monthNames        : Ext.Date.monthNames,
116         dayNames          : Ext.Date.dayNames,
117         nextText          : 'Следващ месец (Control+Right)',
118         prevText          : 'Предишен месец (Control+Left)',
119         monthYearText     : 'Избери месец (Control+Up/Down за преместване по години)',
120         todayTip          : "{0} (Spacebar)",
121         format            : "d.m.y",
122         startDay          : 1
123       });
124     }
125
126     if(Ext.picker.Month) {
127       Ext.apply(Ext.picker.Month.prototype, {
128           okText            : "&#160;OK&#160;",
129           cancelText        : "Отмени"
130       });
131     }
132
133     if(Ext.toolbar.Paging){
134       Ext.apply(Ext.PagingToolbar.prototype, {
135         beforePageText : "Страница",
136         afterPageText  : "от {0}",
137         firstText      : "Първа страница",
138         prevText       : "Предишна страница",
139         nextText       : "Следваща страница",
140         lastText       : "Последна страница",
141         refreshText    : "Презареди",
142         displayMsg     : "Показвайки {0} - {1} от {2}",
143         emptyMsg       : 'Няма данни за показване'
144       });
145     }
146
147     if(Ext.form.field.Text){
148       Ext.apply(Ext.form.field.Text.prototype, {
149         minLengthText : "Минималната дължина на това поле е {0}",
150         maxLengthText : "Максималната дължина на това поле е {0}",
151         blankText     : "Това поле е задължително",
152         regexText     : "",
153         emptyText     : null
154       });
155     }
156
157     if(Ext.form.field.Number){
158       Ext.apply(Ext.form.field.Number.prototype, {
159         minText : "Минималната стойност за това поле е {0}",
160         maxText : "Максималната стойност за това поле е {0}",
161         nanText : "{0} не е валидно число"
162       });
163     }
164
165     if(Ext.form.field.Date){
166       Ext.apply(Ext.form.field.Date.prototype, {
167         disabledDaysText  : "Недостъпен",
168         disabledDatesText : "Недостъпен",
169         minText           : "Датата в това поле трябва да е след {0}",
170         maxText           : "Датата в това поле трябва да е преди {0}",
171         invalidText       : "{0} не е валидна дата - трябва да бъде във формат {1}",
172         format            : "d.m.y",
173         altFormats        : "d.m.y|d/m/Y|d-m-y|d-m-Y|d/m|d-m|dm|dmy|dmY|d|Y-m-d"
174       });
175     }
176
177     if(Ext.form.field.ComboBox){
178       Ext.apply(Ext.form.field.ComboBox.prototype, {
179         valueNotFoundText : undefined
180       });
181         Ext.apply(Ext.form.field.ComboBox.prototype.defaultListConfig, {
182             loadingText       : "Зареждане..."
183         });
184     }
185
186     if(Ext.form.field.VTypes){
187       Ext.apply(Ext.form.field.VTypes, {
188         emailText    : 'Това поле трябва да бъде емейл във формат "user@example.com"',
189         urlText      : 'Това поле трябва да бъде URL във формат "http:/'+'/www.example.com"',
190         alphaText    : 'Това поле трябва да съдържа само букви и _',
191         alphanumText : 'Това поле трябва да съдържа само букви, цифри и _'
192       });
193     }
194
195     if(Ext.form.field.HtmlEditor){
196       Ext.apply(Ext.form.field.HtmlEditor.prototype, {
197         createLinkText : 'Моля, въведете URL за връзката:',
198         buttonTips : {
199           bold : {
200             title: 'Bold (Ctrl+B)',
201             text: 'Удебелява избрания текст.',
202             cls: Ext.baseCSSPrefix + 'html-editor-tip'
203           },
204           italic : {
205             title: 'Italic (Ctrl+I)',
206             text: 'Прави избрания текст курсив.',
207             cls: Ext.baseCSSPrefix + 'html-editor-tip'
208           },
209           underline : {
210             title: 'Underline (Ctrl+U)',
211             text: 'Подчертава избрания текст.',
212             cls: Ext.baseCSSPrefix + 'html-editor-tip'
213           },
214           increasefontsize : {
215             title: 'Уголеми текста',
216             text: 'Уголемява размера на шрифта.',
217             cls: Ext.baseCSSPrefix + 'html-editor-tip'
218           },
219           decreasefontsize : {
220             title: 'Намали текста',
221             text: 'Намалява размера на шрифта.',
222             cls: Ext.baseCSSPrefix + 'html-editor-tip'
223           },
224           backcolor : {
225             title: 'Цвят на маркирания текст',
226             text: 'Променя фоновия цвят на избрания текст.',
227             cls: Ext.baseCSSPrefix + 'html-editor-tip'
228           },
229           forecolor : {
230             title: 'Цвят на шрифта',
231             text: 'Променя цвета на избрания текст.',
232             cls: Ext.baseCSSPrefix + 'html-editor-tip'
233           },
234           justifyleft : {
235             title: 'Ляво подравняване',
236             text: 'Подравнява текста на ляво.',
237             cls: Ext.baseCSSPrefix + 'html-editor-tip'
238           },
239           justifycenter : {
240             title: 'Центриране',
241             text: 'Центрира текста.',
242             cls: Ext.baseCSSPrefix + 'html-editor-tip'
243           },
244           justifyright : {
245             title: 'Дясно подравняване',
246             text: 'Подравнява текста на дясно.',
247             cls: Ext.baseCSSPrefix + 'html-editor-tip'
248           },
249           insertunorderedlist : {
250             title: 'Неномериран списък',
251             text: 'Започва неномериран списък.',
252             cls: Ext.baseCSSPrefix + 'html-editor-tip'
253           },
254           insertorderedlist : {
255             title: 'Номериран списък',
256             text: 'Започва номериран списък.',
257             cls: Ext.baseCSSPrefix + 'html-editor-tip'
258           },
259           createlink : {
260             title: 'Хипервръзка',
261             text: 'Превръща избрания текст в хипервръзка.',
262             cls: Ext.baseCSSPrefix + 'html-editor-tip'
263           },
264           sourceedit : {
265             title: 'Редактиране на кода',
266             text: 'Преминаване в режим на редактиране на кода.',
267             cls: Ext.baseCSSPrefix + 'html-editor-tip'
268           }
269         }
270       });
271     }
272
273     if(Ext.grid.header.Container){
274       Ext.apply(Ext.grid.header.Container.prototype, {
275         sortAscText  : "Подреди в нарастващ ред",
276         sortDescText : "Подреди в намаляващ ред",
277         lockText     : "Заключи колона",
278         unlockText   : "Отключи колона",
279         columnsText  : "Колони"
280       });
281     }
282
283     if(Ext.grid.PropertyColumnModel){
284       Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
285         nameText   : "Име",
286         valueText  : "Стойност",
287         dateFormat : "d.m.Y"
288       });
289     }
290
291     if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
292       Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
293         splitTip            : "Влачете с мишката за да промените размера.",
294         collapsibleSplitTip : "Влачете с мишката за да промените размера. Чукнете два пъти за да скриете."
295       });
296     }
297
298 });