Upgrade to ExtJS 4.0.2 - Released 06/09/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         loadingText       : "Зареждане...",
180         valueNotFoundText : undefined
181       });
182     }
183
184     if(Ext.form.field.VTypes){
185       Ext.apply(Ext.form.field.VTypes, {
186         emailText    : 'Това поле трябва да бъде емейл във формат "user@example.com"',
187         urlText      : 'Това поле трябва да бъде URL във формат "http:/'+'/www.example.com"',
188         alphaText    : 'Това поле трябва да съдържа само букви и _',
189         alphanumText : 'Това поле трябва да съдържа само букви, цифри и _'
190       });
191     }
192
193     if(Ext.form.field.HtmlEditor){
194       Ext.apply(Ext.form.field.HtmlEditor.prototype, {
195         createLinkText : 'Моля, въведете URL за връзката:',
196         buttonTips : {
197           bold : {
198             title: 'Bold (Ctrl+B)',
199             text: 'Удебелява избрания текст.',
200             cls: Ext.baseCSSPrefix + 'html-editor-tip'
201           },
202           italic : {
203             title: 'Italic (Ctrl+I)',
204             text: 'Прави избрания текст курсив.',
205             cls: Ext.baseCSSPrefix + 'html-editor-tip'
206           },
207           underline : {
208             title: 'Underline (Ctrl+U)',
209             text: 'Подчертава избрания текст.',
210             cls: Ext.baseCSSPrefix + 'html-editor-tip'
211           },
212           increasefontsize : {
213             title: 'Уголеми текста',
214             text: 'Уголемява размера на шрифта.',
215             cls: Ext.baseCSSPrefix + 'html-editor-tip'
216           },
217           decreasefontsize : {
218             title: 'Намали текста',
219             text: 'Намалява размера на шрифта.',
220             cls: Ext.baseCSSPrefix + 'html-editor-tip'
221           },
222           backcolor : {
223             title: 'Цвят на маркирания текст',
224             text: 'Променя фоновия цвят на избрания текст.',
225             cls: Ext.baseCSSPrefix + 'html-editor-tip'
226           },
227           forecolor : {
228             title: 'Цвят на шрифта',
229             text: 'Променя цвета на избрания текст.',
230             cls: Ext.baseCSSPrefix + 'html-editor-tip'
231           },
232           justifyleft : {
233             title: 'Ляво подравняване',
234             text: 'Подравнява текста на ляво.',
235             cls: Ext.baseCSSPrefix + 'html-editor-tip'
236           },
237           justifycenter : {
238             title: 'Центриране',
239             text: 'Центрира текста.',
240             cls: Ext.baseCSSPrefix + 'html-editor-tip'
241           },
242           justifyright : {
243             title: 'Дясно подравняване',
244             text: 'Подравнява текста на дясно.',
245             cls: Ext.baseCSSPrefix + 'html-editor-tip'
246           },
247           insertunorderedlist : {
248             title: 'Неномериран списък',
249             text: 'Започва неномериран списък.',
250             cls: Ext.baseCSSPrefix + 'html-editor-tip'
251           },
252           insertorderedlist : {
253             title: 'Номериран списък',
254             text: 'Започва номериран списък.',
255             cls: Ext.baseCSSPrefix + 'html-editor-tip'
256           },
257           createlink : {
258             title: 'Хипервръзка',
259             text: 'Превръща избрания текст в хипервръзка.',
260             cls: Ext.baseCSSPrefix + 'html-editor-tip'
261           },
262           sourceedit : {
263             title: 'Редактиране на кода',
264             text: 'Преминаване в режим на редактиране на кода.',
265             cls: Ext.baseCSSPrefix + 'html-editor-tip'
266           }
267         }
268       });
269     }
270
271     if(Ext.grid.header.Container){
272       Ext.apply(Ext.grid.header.Container.prototype, {
273         sortAscText  : "Подреди в нарастващ ред",
274         sortDescText : "Подреди в намаляващ ред",
275         lockText     : "Заключи колона",
276         unlockText   : "Отключи колона",
277         columnsText  : "Колони"
278       });
279     }
280
281     if(Ext.grid.PropertyColumnModel){
282       Ext.apply(Ext.grid.PropertyColumnModel.prototype, {
283         nameText   : "Име",
284         valueText  : "Стойност",
285         dateFormat : "d.m.Y"
286       });
287     }
288
289     if(Ext.layout.BorderLayout && Ext.layout.BorderLayout.SplitRegion){
290       Ext.apply(Ext.layout.BorderLayout.SplitRegion.prototype, {
291         splitTip            : "Влачете с мишката за да промените размера.",
292         collapsibleSplitTip : "Влачете с мишката за да промените размера. Чукнете два пъти за да скриете."
293       });
294     }
295
296 });