summaryrefslogtreecommitdiff
path: root/inc/lang/bg
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2014-07-04 16:41:19 +0200
committerAndreas Gohr <andi@splitbrain.org>2014-07-04 16:41:19 +0200
commit4ca83a77b85b265fbb47d93854865845e05645cd (patch)
treeadb6a666c4c97cea254adc3fca42cc075243a00b /inc/lang/bg
parentdc6ff004a94faa44d41f2747cc6a0141d072d6e8 (diff)
downloadrpg-4ca83a77b85b265fbb47d93854865845e05645cd.tar.gz
rpg-4ca83a77b85b265fbb47d93854865845e05645cd.tar.bz2
upgrade to jQuery 1.11.1 and jQuery-UI 1.11.0. #778
This now pulls all data from official jQuery sources. Either their CDN or their github account. Google tends to serve outdated or even broken files :-( Unfortunately there's no simple way to get the latest stable jQuery-UI so for now the version has to be adjusted manually in the script.
Diffstat (limited to 'inc/lang/bg')
-rw-r--r--inc/lang/bg/jquery.ui.datepicker.js58
1 files changed, 36 insertions, 22 deletions
diff --git a/inc/lang/bg/jquery.ui.datepicker.js b/inc/lang/bg/jquery.ui.datepicker.js
index 86ab88582..0ee1b171d 100644
--- a/inc/lang/bg/jquery.ui.datepicker.js
+++ b/inc/lang/bg/jquery.ui.datepicker.js
@@ -1,24 +1,38 @@
/* Bulgarian initialisation for the jQuery UI date picker plugin. */
/* Written by Stoyan Kyosev (http://svest.org). */
-jQuery(function($){
- $.datepicker.regional['bg'] = {
- closeText: 'затвори',
- prevText: '&#x3C;назад',
- nextText: 'напред&#x3E;',
- nextBigText: '&#x3E;&#x3E;',
- currentText: 'днес',
- monthNames: ['Януари','Февруари','Март','Април','Май','Юни',
- 'Юли','Август','Септември','Октомври','Ноември','Декември'],
- monthNamesShort: ['Яну','Фев','Мар','Апр','Май','Юни',
- 'Юли','Авг','Сеп','Окт','Нов','Дек'],
- dayNames: ['Неделя','Понеделник','Вторник','Сряда','Четвъртък','Петък','Събота'],
- dayNamesShort: ['Нед','Пон','Вто','Сря','Чет','Пет','Съб'],
- dayNamesMin: ['Не','По','Вт','Ср','Че','Пе','Съ'],
- weekHeader: 'Wk',
- dateFormat: 'dd.mm.yy',
- firstDay: 1,
- isRTL: false,
- showMonthAfterYear: false,
- yearSuffix: ''};
- $.datepicker.setDefaults($.datepicker.regional['bg']);
-});
+(function( factory ) {
+ if ( typeof define === "function" && define.amd ) {
+
+ // AMD. Register as an anonymous module.
+ define([ "../datepicker" ], factory );
+ } else {
+
+ // Browser globals
+ factory( jQuery.datepicker );
+ }
+}(function( datepicker ) {
+
+datepicker.regional['bg'] = {
+ closeText: 'затвори',
+ prevText: '&#x3C;назад',
+ nextText: 'напред&#x3E;',
+ nextBigText: '&#x3E;&#x3E;',
+ currentText: 'днес',
+ monthNames: ['Януари','Февруари','Март','Април','Май','Юни',
+ 'Юли','Август','Септември','Октомври','Ноември','Декември'],
+ monthNamesShort: ['Яну','Фев','Мар','Апр','Май','Юни',
+ 'Юли','Авг','Сеп','Окт','Нов','Дек'],
+ dayNames: ['Неделя','Понеделник','Вторник','Сряда','Четвъртък','Петък','Събота'],
+ dayNamesShort: ['Нед','Пон','Вто','Сря','Чет','Пет','Съб'],
+ dayNamesMin: ['Не','По','Вт','Ср','Че','Пе','Съ'],
+ weekHeader: 'Wk',
+ dateFormat: 'dd.mm.yy',
+ firstDay: 1,
+ isRTL: false,
+ showMonthAfterYear: false,
+ yearSuffix: ''};
+datepicker.setDefaults(datepicker.regional['bg']);
+
+return datepicker.regional['bg'];
+
+}));