Ticket #7275: 7275.01.patch
File 7275.01.patch, 390.6 KB (added by , 8 years ago) |
---|
-
src/bp-core/bp-core-cssjs.php
52 52 'bp-livestamp' => array( 'file' => "{$url}vendor/livestamp{$min}.js", 'dependencies' => array( 'jquery', 'bp-moment' ), 'footer' => true ), 53 53 ) ); 54 54 55 // Moment.js locale. 56 $locale = sanitize_file_name( strtolower( get_locale() ) ); 57 $locale = str_replace( '_', '-', $locale ); 58 if ( file_exists( buddypress()->core->path . "bp-core/js/vendor/moment-locales/{$locale}{$min}.js" ) ) { 59 $moment_locale_url = $url . "vendor/moment-locales/{$locale}{$min}.js"; 60 61 // Try to find the short-form locale. 62 } else { 63 $locale = substr( $locale, 0, strpos( $locale, '-' ) ); 64 if ( file_exists( buddypress()->core->path . "bp-core/js/vendor/moment-locales/{$locale}{$min}.js" ) ) { 65 $moment_locale_url = $url . "vendor/moment-locales/{$locale}{$min}.js"; 66 } 67 } 68 69 // Register Moment.js locale separately. 70 if ( isset( $moment_locale_url ) ) { 71 $scripts['bp-moment-locale'] = array( 'file' => $moment_locale_url, 'dependencies' => array( 'bp-moment' ), 'footer' => true ); 72 } 73 55 74 $version = bp_get_version(); 56 75 foreach ( $scripts as $id => $script ) { 57 76 wp_register_script( $id, $script['file'], $script['dependencies'], $version, $script['footer'] ); … … 489 508 return; 490 509 } 491 510 492 wp_enqueue_script( 'bp-livestamp' ); 493 494 // We're only localizing the relative time strings for moment.js since that's all we need for now. 495 wp_localize_script( 'bp-livestamp', 'BP_Moment_i18n', array( 496 'future' => __( 'in %s', 'buddypress' ), 497 'past' => __( '%s ago', 'buddypress' ), 498 's' => __( 'a few seconds', 'buddypress' ), 499 'm' => __( 'a minute', 'buddypress' ), 500 'mm' => __( '%d minutes', 'buddypress' ), 501 'h' => __( 'an hour', 'buddypress' ), 502 'hh' => __( '%d hours', 'buddypress' ), 503 'd' => __( 'a day', 'buddypress' ), 504 'dd' => __( '%d days', 'buddypress' ), 505 'M' => __( 'a month', 'buddypress' ), 506 'MM' => __( '%d months', 'buddypress' ), 507 'y' => __( 'a year', 'buddypress' ), 508 'yy' => __( '%d years', 'buddypress' ), 509 ) ); 511 /* 512 * Only enqueue Moment.js locale if we registered it in 513 * bp_core_register_common_scripts(). 514 */ 515 if ( wp_script_is( 'bp-moment-locale', 'registered' ) ) { 516 wp_enqueue_script( 'bp-moment-locale' ); 510 517 511 if ( function_exists( 'wp_add_inline_script' ) ) { 512 wp_add_inline_script ( 'bp-livestamp', bp_core_moment_js_config() ); 513 } else { 514 add_action( 'wp_footer', '_bp_core_moment_js_config_footer', 20 ); 518 if ( function_exists( 'wp_add_inline_script' ) ) { 519 wp_add_inline_script ( 'bp-livestamp', bp_core_moment_js_config() ); 520 } else { 521 add_action( 'wp_footer', '_bp_core_moment_js_config_footer', 20 ); 522 } 515 523 } 524 525 wp_enqueue_script( 'bp-livestamp' ); 516 526 } 517 527 518 528 /** … … 523 533 * @return string 524 534 */ 525 535 function bp_core_moment_js_config() { 536 // Grab the locale from the enqueued JS. 537 $moment_locale = wp_scripts()->query( 'bp-moment-locale' ); 538 $moment_locale = substr( $moment_locale->src, strpos( $moment_locale->src, '/moment-locales/' ) + 16 ); 539 $moment_locale = str_replace( '.js', '', $moment_locale ); 540 526 541 $inline_js = <<<EOD 527 542 jQuery(function() { 528 moment.locale( 'bp', { 529 relativeTime : BP_Moment_i18n 530 }); 543 moment.locale( '{$moment_locale}' ); 531 544 }); 532 545 EOD; 533 546 … … 544 557 * @access private 545 558 */ 546 559 function _bp_core_moment_js_config_footer() { 547 if ( ! wp_script_is( 'bp- livestamp' ) ) {560 if ( ! wp_script_is( 'bp-moment-locale' ) ) { 548 561 return; 549 562 } 550 563 -
new file src/bp-core/js/vendor/moment-locales/af.js
new file mode 100644
- + 1 //! moment.js locale configuration 2 //! locale : Afrikaans [af] 3 //! author : Werner Mollentze : https://github.com/wernerm 4 5 ;(function (global, factory) { 6 typeof exports === 'object' && typeof module !== 'undefined' 7 && typeof require === 'function' ? factory(require('../moment')) : 8 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9 factory(global.moment) 10 }(this, function (moment) { 'use strict'; 11 12 13 var af = moment.defineLocale('af', { 14 months : 'Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember'.split('_'), 15 monthsShort : 'Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des'.split('_'), 16 weekdays : 'Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag'.split('_'), 17 weekdaysShort : 'Son_Maa_Din_Woe_Don_Vry_Sat'.split('_'), 18 weekdaysMin : 'So_Ma_Di_Wo_Do_Vr_Sa'.split('_'), 19 meridiemParse: /vm|nm/i, 20 isPM : function (input) { 21 return /^nm$/i.test(input); 22 }, 23 meridiem : function (hours, minutes, isLower) { 24 if (hours < 12) { 25 return isLower ? 'vm' : 'VM'; 26 } else { 27 return isLower ? 'nm' : 'NM'; 28 } 29 }, 30 longDateFormat : { 31 LT : 'HH:mm', 32 LTS : 'HH:mm:ss', 33 L : 'DD/MM/YYYY', 34 LL : 'D MMMM YYYY', 35 LLL : 'D MMMM YYYY HH:mm', 36 LLLL : 'dddd, D MMMM YYYY HH:mm' 37 }, 38 calendar : { 39 sameDay : '[Vandag om] LT', 40 nextDay : '[Môre om] LT', 41 nextWeek : 'dddd [om] LT', 42 lastDay : '[Gister om] LT', 43 lastWeek : '[Laas] dddd [om] LT', 44 sameElse : 'L' 45 }, 46 relativeTime : { 47 future : 'oor %s', 48 past : '%s gelede', 49 s : '\'n paar sekondes', 50 m : '\'n minuut', 51 mm : '%d minute', 52 h : '\'n uur', 53 hh : '%d ure', 54 d : '\'n dag', 55 dd : '%d dae', 56 M : '\'n maand', 57 MM : '%d maande', 58 y : '\'n jaar', 59 yy : '%d jaar' 60 }, 61 ordinalParse: /\d{1,2}(ste|de)/, 62 ordinal : function (number) { 63 return number + ((number === 1 || number === 8 || number >= 20) ? 'ste' : 'de'); // Thanks to Joris Röling : https://github.com/jjupiter 64 }, 65 week : { 66 dow : 1, // Maandag is die eerste dag van die week. 67 doy : 4 // Die week wat die 4de Januarie bevat is die eerste week van die jaar. 68 } 69 }); 70 71 return af; 72 73 })); 74 No newline at end of file -
new file src/bp-core/js/vendor/moment-locales/ar-ly.js
new file mode 100644
- + 1 //! moment.js locale configuration 2 //! locale : Arabic (Lybia) [ar-ly] 3 //! author : Ali Hmer: https://github.com/kikoanis 4 5 ;(function (global, factory) { 6 typeof exports === 'object' && typeof module !== 'undefined' 7 && typeof require === 'function' ? factory(require('../moment')) : 8 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9 factory(global.moment) 10 }(this, function (moment) { 'use strict'; 11 12 13 var symbolMap = { 14 '1': '1', 15 '2': '2', 16 '3': '3', 17 '4': '4', 18 '5': '5', 19 '6': '6', 20 '7': '7', 21 '8': '8', 22 '9': '9', 23 '0': '0' 24 }, pluralForm = function (n) { 25 return n === 0 ? 0 : n === 1 ? 1 : n === 2 ? 2 : n % 100 >= 3 && n % 100 <= 10 ? 3 : n % 100 >= 11 ? 4 : 5; 26 }, plurals = { 27 s : ['أقل من ثانية', 'ثانية واحدة', ['ثانيتان', 'ثانيتين'], '%d ثوان', '%d ثانية', '%d ثانية'], 28 m : ['أقل من دقيقة', 'دقيقة واحدة', ['دقيقتان', 'دقيقتين'], '%d دقائق', '%d دقيقة', '%d دقيقة'], 29 h : ['أقل من ساعة', 'ساعة واحدة', ['ساعتان', 'ساعتين'], '%d ساعات', '%d ساعة', '%d ساعة'], 30 d : ['أقل من يوم', 'يوم واحد', ['يومان', 'يومين'], '%d أيام', '%d يومًا', '%d يوم'], 31 M : ['أقل من شهر', 'شهر واحد', ['شهران', 'شهرين'], '%d أشهر', '%d شهرا', '%d شهر'], 32 y : ['أقل من عام', 'عام واحد', ['عامان', 'عامين'], '%d أعوام', '%d عامًا', '%d عام'] 33 }, pluralize = function (u) { 34 return function (number, withoutSuffix, string, isFuture) { 35 var f = pluralForm(number), 36 str = plurals[u][pluralForm(number)]; 37 if (f === 2) { 38 str = str[withoutSuffix ? 0 : 1]; 39 } 40 return str.replace(/%d/i, number); 41 }; 42 }, months = [ 43 'يناير', 44 'فبراير', 45 'مارس', 46 'أبريل', 47 'مايو', 48 'يونيو', 49 'يوليو', 50 'أغسطس', 51 'سبتمبر', 52 'أكتوبر', 53 'نوفمبر', 54 'ديسمبر' 55 ]; 56 57 var ar_ly = moment.defineLocale('ar-ly', { 58 months : months, 59 monthsShort : months, 60 weekdays : 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), 61 weekdaysShort : 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'), 62 weekdaysMin : 'ح_ن_ث_ر_خ_ج_س'.split('_'), 63 weekdaysParseExact : true, 64 longDateFormat : { 65 LT : 'HH:mm', 66 LTS : 'HH:mm:ss', 67 L : 'D/\u200FM/\u200FYYYY', 68 LL : 'D MMMM YYYY', 69 LLL : 'D MMMM YYYY HH:mm', 70 LLLL : 'dddd D MMMM YYYY HH:mm' 71 }, 72 meridiemParse: /ص|م/, 73 isPM : function (input) { 74 return 'م' === input; 75 }, 76 meridiem : function (hour, minute, isLower) { 77 if (hour < 12) { 78 return 'ص'; 79 } else { 80 return 'م'; 81 } 82 }, 83 calendar : { 84 sameDay: '[اليوم عند الساعة] LT', 85 nextDay: '[غدًا عند الساعة] LT', 86 nextWeek: 'dddd [عند الساعة] LT', 87 lastDay: '[أمس عند الساعة] LT', 88 lastWeek: 'dddd [عند الساعة] LT', 89 sameElse: 'L' 90 }, 91 relativeTime : { 92 future : 'بعد %s', 93 past : 'منذ %s', 94 s : pluralize('s'), 95 m : pluralize('m'), 96 mm : pluralize('m'), 97 h : pluralize('h'), 98 hh : pluralize('h'), 99 d : pluralize('d'), 100 dd : pluralize('d'), 101 M : pluralize('M'), 102 MM : pluralize('M'), 103 y : pluralize('y'), 104 yy : pluralize('y') 105 }, 106 preparse: function (string) { 107 return string.replace(/\u200f/g, '').replace(/،/g, ','); 108 }, 109 postformat: function (string) { 110 return string.replace(/\d/g, function (match) { 111 return symbolMap[match]; 112 }).replace(/,/g, '،'); 113 }, 114 week : { 115 dow : 6, // Saturday is the first day of the week. 116 doy : 12 // The week that contains Jan 1st is the first week of the year. 117 } 118 }); 119 120 return ar_ly; 121 122 })); 123 No newline at end of file -
new file src/bp-core/js/vendor/moment-locales/ar-ma.js
new file mode 100644
- + 1 //! moment.js locale configuration 2 //! locale : Arabic (Morocco) [ar-ma] 3 //! author : ElFadili Yassine : https://github.com/ElFadiliY 4 //! author : Abdel Said : https://github.com/abdelsaid 5 6 ;(function (global, factory) { 7 typeof exports === 'object' && typeof module !== 'undefined' 8 && typeof require === 'function' ? factory(require('../moment')) : 9 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 10 factory(global.moment) 11 }(this, function (moment) { 'use strict'; 12 13 14 var ar_ma = moment.defineLocale('ar-ma', { 15 months : 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split('_'), 16 monthsShort : 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split('_'), 17 weekdays : 'الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), 18 weekdaysShort : 'احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'), 19 weekdaysMin : 'ح_ن_ث_ر_خ_ج_س'.split('_'), 20 weekdaysParseExact : true, 21 longDateFormat : { 22 LT : 'HH:mm', 23 LTS : 'HH:mm:ss', 24 L : 'DD/MM/YYYY', 25 LL : 'D MMMM YYYY', 26 LLL : 'D MMMM YYYY HH:mm', 27 LLLL : 'dddd D MMMM YYYY HH:mm' 28 }, 29 calendar : { 30 sameDay: '[اليوم على الساعة] LT', 31 nextDay: '[غدا على الساعة] LT', 32 nextWeek: 'dddd [على الساعة] LT', 33 lastDay: '[أمس على الساعة] LT', 34 lastWeek: 'dddd [على الساعة] LT', 35 sameElse: 'L' 36 }, 37 relativeTime : { 38 future : 'في %s', 39 past : 'منذ %s', 40 s : 'ثوان', 41 m : 'دقيقة', 42 mm : '%d دقائق', 43 h : 'ساعة', 44 hh : '%d ساعات', 45 d : 'يوم', 46 dd : '%d أيام', 47 M : 'شهر', 48 MM : '%d أشهر', 49 y : 'سنة', 50 yy : '%d سنوات' 51 }, 52 week : { 53 dow : 6, // Saturday is the first day of the week. 54 doy : 12 // The week that contains Jan 1st is the first week of the year. 55 } 56 }); 57 58 return ar_ma; 59 60 })); 61 No newline at end of file -
new file src/bp-core/js/vendor/moment-locales/ar-sa.js
new file mode 100644
- + 1 //! moment.js locale configuration 2 //! locale : Arabic (Saudi Arabia) [ar-sa] 3 //! author : Suhail Alkowaileet : https://github.com/xsoh 4 5 ;(function (global, factory) { 6 typeof exports === 'object' && typeof module !== 'undefined' 7 && typeof require === 'function' ? factory(require('../moment')) : 8 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9 factory(global.moment) 10 }(this, function (moment) { 'use strict'; 11 12 13 var symbolMap = { 14 '1': '١', 15 '2': '٢', 16 '3': '٣', 17 '4': '٤', 18 '5': '٥', 19 '6': '٦', 20 '7': '٧', 21 '8': '٨', 22 '9': '٩', 23 '0': '٠' 24 }, numberMap = { 25 '١': '1', 26 '٢': '2', 27 '٣': '3', 28 '٤': '4', 29 '٥': '5', 30 '٦': '6', 31 '٧': '7', 32 '٨': '8', 33 '٩': '9', 34 '٠': '0' 35 }; 36 37 var ar_sa = moment.defineLocale('ar-sa', { 38 months : 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'), 39 monthsShort : 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'), 40 weekdays : 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), 41 weekdaysShort : 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'), 42 weekdaysMin : 'ح_ن_ث_ر_خ_ج_س'.split('_'), 43 weekdaysParseExact : true, 44 longDateFormat : { 45 LT : 'HH:mm', 46 LTS : 'HH:mm:ss', 47 L : 'DD/MM/YYYY', 48 LL : 'D MMMM YYYY', 49 LLL : 'D MMMM YYYY HH:mm', 50 LLLL : 'dddd D MMMM YYYY HH:mm' 51 }, 52 meridiemParse: /ص|م/, 53 isPM : function (input) { 54 return 'م' === input; 55 }, 56 meridiem : function (hour, minute, isLower) { 57 if (hour < 12) { 58 return 'ص'; 59 } else { 60 return 'م'; 61 } 62 }, 63 calendar : { 64 sameDay: '[اليوم على الساعة] LT', 65 nextDay: '[غدا على الساعة] LT', 66 nextWeek: 'dddd [على الساعة] LT', 67 lastDay: '[أمس على الساعة] LT', 68 lastWeek: 'dddd [على الساعة] LT', 69 sameElse: 'L' 70 }, 71 relativeTime : { 72 future : 'في %s', 73 past : 'منذ %s', 74 s : 'ثوان', 75 m : 'دقيقة', 76 mm : '%d دقائق', 77 h : 'ساعة', 78 hh : '%d ساعات', 79 d : 'يوم', 80 dd : '%d أيام', 81 M : 'شهر', 82 MM : '%d أشهر', 83 y : 'سنة', 84 yy : '%d سنوات' 85 }, 86 preparse: function (string) { 87 return string.replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) { 88 return numberMap[match]; 89 }).replace(/،/g, ','); 90 }, 91 postformat: function (string) { 92 return string.replace(/\d/g, function (match) { 93 return symbolMap[match]; 94 }).replace(/,/g, '،'); 95 }, 96 week : { 97 dow : 6, // Saturday is the first day of the week. 98 doy : 12 // The week that contains Jan 1st is the first week of the year. 99 } 100 }); 101 102 return ar_sa; 103 104 })); 105 No newline at end of file -
new file src/bp-core/js/vendor/moment-locales/ar-tn.js
new file mode 100644
- + 1 //! moment.js locale configuration 2 //! locale : Arabic (Tunisia) [ar-tn] 3 //! author : Nader Toukabri : https://github.com/naderio 4 5 ;(function (global, factory) { 6 typeof exports === 'object' && typeof module !== 'undefined' 7 && typeof require === 'function' ? factory(require('../moment')) : 8 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9 factory(global.moment) 10 }(this, function (moment) { 'use strict'; 11 12 13 var ar_tn = moment.defineLocale('ar-tn', { 14 months: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'), 15 monthsShort: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'), 16 weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), 17 weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'), 18 weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'), 19 weekdaysParseExact : true, 20 longDateFormat: { 21 LT: 'HH:mm', 22 LTS: 'HH:mm:ss', 23 L: 'DD/MM/YYYY', 24 LL: 'D MMMM YYYY', 25 LLL: 'D MMMM YYYY HH:mm', 26 LLLL: 'dddd D MMMM YYYY HH:mm' 27 }, 28 calendar: { 29 sameDay: '[اليوم على الساعة] LT', 30 nextDay: '[غدا على الساعة] LT', 31 nextWeek: 'dddd [على الساعة] LT', 32 lastDay: '[أمس على الساعة] LT', 33 lastWeek: 'dddd [على الساعة] LT', 34 sameElse: 'L' 35 }, 36 relativeTime: { 37 future: 'في %s', 38 past: 'منذ %s', 39 s: 'ثوان', 40 m: 'دقيقة', 41 mm: '%d دقائق', 42 h: 'ساعة', 43 hh: '%d ساعات', 44 d: 'يوم', 45 dd: '%d أيام', 46 M: 'شهر', 47 MM: '%d أشهر', 48 y: 'سنة', 49 yy: '%d سنوات' 50 }, 51 week: { 52 dow: 1, // Monday is the first day of the week. 53 doy: 4 // The week that contains Jan 4th is the first week of the year. 54 } 55 }); 56 57 return ar_tn; 58 59 })); 60 No newline at end of file -
new file src/bp-core/js/vendor/moment-locales/ar.js
new file mode 100644
- + 1 //! moment.js locale configuration 2 //! locale : Arabic [ar] 3 //! author : Abdel Said: https://github.com/abdelsaid 4 //! author : Ahmed Elkhatib 5 //! author : forabi https://github.com/forabi 6 7 ;(function (global, factory) { 8 typeof exports === 'object' && typeof module !== 'undefined' 9 && typeof require === 'function' ? factory(require('../moment')) : 10 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 11 factory(global.moment) 12 }(this, function (moment) { 'use strict'; 13 14 15 var symbolMap = { 16 '1': '١', 17 '2': '٢', 18 '3': '٣', 19 '4': '٤', 20 '5': '٥', 21 '6': '٦', 22 '7': '٧', 23 '8': '٨', 24 '9': '٩', 25 '0': '٠' 26 }, numberMap = { 27 '١': '1', 28 '٢': '2', 29 '٣': '3', 30 '٤': '4', 31 '٥': '5', 32 '٦': '6', 33 '٧': '7', 34 '٨': '8', 35 '٩': '9', 36 '٠': '0' 37 }, pluralForm = function (n) { 38 return n === 0 ? 0 : n === 1 ? 1 : n === 2 ? 2 : n % 100 >= 3 && n % 100 <= 10 ? 3 : n % 100 >= 11 ? 4 : 5; 39 }, plurals = { 40 s : ['أقل من ثانية', 'ثانية واحدة', ['ثانيتان', 'ثانيتين'], '%d ثوان', '%d ثانية', '%d ثانية'], 41 m : ['أقل من دقيقة', 'دقيقة واحدة', ['دقيقتان', 'دقيقتين'], '%d دقائق', '%d دقيقة', '%d دقيقة'], 42 h : ['أقل من ساعة', 'ساعة واحدة', ['ساعتان', 'ساعتين'], '%d ساعات', '%d ساعة', '%d ساعة'], 43 d : ['أقل من يوم', 'يوم واحد', ['يومان', 'يومين'], '%d أيام', '%d يومًا', '%d يوم'], 44 M : ['أقل من شهر', 'شهر واحد', ['شهران', 'شهرين'], '%d أشهر', '%d شهرا', '%d شهر'], 45 y : ['أقل من عام', 'عام واحد', ['عامان', 'عامين'], '%d أعوام', '%d عامًا', '%d عام'] 46 }, pluralize = function (u) { 47 return function (number, withoutSuffix, string, isFuture) { 48 var f = pluralForm(number), 49 str = plurals[u][pluralForm(number)]; 50 if (f === 2) { 51 str = str[withoutSuffix ? 0 : 1]; 52 } 53 return str.replace(/%d/i, number); 54 }; 55 }, months = [ 56 'كانون الثاني يناير', 57 'شباط فبراير', 58 'آذار مارس', 59 'نيسان أبريل', 60 'أيار مايو', 61 'حزيران يونيو', 62 'تموز يوليو', 63 'آب أغسطس', 64 'أيلول سبتمبر', 65 'تشرين الأول أكتوبر', 66 'تشرين الثاني نوفمبر', 67 'كانون الأول ديسمبر' 68 ]; 69 70 var ar = moment.defineLocale('ar', { 71 months : months, 72 monthsShort : months, 73 weekdays : 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'), 74 weekdaysShort : 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'), 75 weekdaysMin : 'ح_ن_ث_ر_خ_ج_س'.split('_'), 76 weekdaysParseExact : true, 77 longDateFormat : { 78 LT : 'HH:mm', 79 LTS : 'HH:mm:ss', 80 L : 'D/\u200FM/\u200FYYYY', 81 LL : 'D MMMM YYYY', 82 LLL : 'D MMMM YYYY HH:mm', 83 LLLL : 'dddd D MMMM YYYY HH:mm' 84 }, 85 meridiemParse: /ص|م/, 86 isPM : function (input) { 87 return 'م' === input; 88 }, 89 meridiem : function (hour, minute, isLower) { 90 if (hour < 12) { 91 return 'ص'; 92 } else { 93 return 'م'; 94 } 95 }, 96 calendar : { 97 sameDay: '[اليوم عند الساعة] LT', 98 nextDay: '[غدًا عند الساعة] LT', 99 nextWeek: 'dddd [عند الساعة] LT', 100 lastDay: '[أمس عند الساعة] LT', 101 lastWeek: 'dddd [عند الساعة] LT', 102 sameElse: 'L' 103 }, 104 relativeTime : { 105 future : 'بعد %s', 106 past : 'منذ %s', 107 s : pluralize('s'), 108 m : pluralize('m'), 109 mm : pluralize('m'), 110 h : pluralize('h'), 111 hh : pluralize('h'), 112 d : pluralize('d'), 113 dd : pluralize('d'), 114 M : pluralize('M'), 115 MM : pluralize('M'), 116 y : pluralize('y'), 117 yy : pluralize('y') 118 }, 119 preparse: function (string) { 120 return string.replace(/\u200f/g, '').replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) { 121 return numberMap[match]; 122 }).replace(/،/g, ','); 123 }, 124 postformat: function (string) { 125 return string.replace(/\d/g, function (match) { 126 return symbolMap[match]; 127 }).replace(/,/g, '،'); 128 }, 129 week : { 130 dow : 6, // Saturday is the first day of the week. 131 doy : 12 // The week that contains Jan 1st is the first week of the year. 132 } 133 }); 134 135 return ar; 136 137 })); 138 No newline at end of file -
new file src/bp-core/js/vendor/moment-locales/az.js
new file mode 100644
- + 1 //! moment.js locale configuration 2 //! locale : Azerbaijani [az] 3 //! author : topchiyev : https://github.com/topchiyev 4 5 ;(function (global, factory) { 6 typeof exports === 'object' && typeof module !== 'undefined' 7 && typeof require === 'function' ? factory(require('../moment')) : 8 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9 factory(global.moment) 10 }(this, function (moment) { 'use strict'; 11 12 13 var suffixes = { 14 1: '-inci', 15 5: '-inci', 16 8: '-inci', 17 70: '-inci', 18 80: '-inci', 19 2: '-nci', 20 7: '-nci', 21 20: '-nci', 22 50: '-nci', 23 3: '-üncü', 24 4: '-üncü', 25 100: '-üncü', 26 6: '-ncı', 27 9: '-uncu', 28 10: '-uncu', 29 30: '-uncu', 30 60: '-ıncı', 31 90: '-ıncı' 32 }; 33 34 var az = moment.defineLocale('az', { 35 months : 'yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr'.split('_'), 36 monthsShort : 'yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek'.split('_'), 37 weekdays : 'Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə'.split('_'), 38 weekdaysShort : 'Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən'.split('_'), 39 weekdaysMin : 'Bz_BE_ÇA_Çə_CA_Cü_Şə'.split('_'), 40 weekdaysParseExact : true, 41 longDateFormat : { 42 LT : 'HH:mm', 43 LTS : 'HH:mm:ss', 44 L : 'DD.MM.YYYY', 45 LL : 'D MMMM YYYY', 46 LLL : 'D MMMM YYYY HH:mm', 47 LLLL : 'dddd, D MMMM YYYY HH:mm' 48 }, 49 calendar : { 50 sameDay : '[bugün saat] LT', 51 nextDay : '[sabah saat] LT', 52 nextWeek : '[gələn həftə] dddd [saat] LT', 53 lastDay : '[dünən] LT', 54 lastWeek : '[keçən həftə] dddd [saat] LT', 55 sameElse : 'L' 56 }, 57 relativeTime : { 58 future : '%s sonra', 59 past : '%s əvvəl', 60 s : 'birneçə saniyyə', 61 m : 'bir dəqiqə', 62 mm : '%d dəqiqə', 63 h : 'bir saat', 64 hh : '%d saat', 65 d : 'bir gün', 66 dd : '%d gün', 67 M : 'bir ay', 68 MM : '%d ay', 69 y : 'bir il', 70 yy : '%d il' 71 }, 72 meridiemParse: /gecə|səhər|gündüz|axşam/, 73 isPM : function (input) { 74 return /^(gündüz|axşam)$/.test(input); 75 }, 76 meridiem : function (hour, minute, isLower) { 77 if (hour < 4) { 78 return 'gecə'; 79 } else if (hour < 12) { 80 return 'səhər'; 81 } else if (hour < 17) { 82 return 'gündüz'; 83 } else { 84 return 'axşam'; 85 } 86 }, 87 ordinalParse: /\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/, 88 ordinal : function (number) { 89 if (number === 0) { // special case for zero 90 return number + '-ıncı'; 91 } 92 var a = number % 10, 93 b = number % 100 - a, 94 c = number >= 100 ? 100 : null; 95 return number + (suffixes[a] || suffixes[b] || suffixes[c]); 96 }, 97 week : { 98 dow : 1, // Monday is the first day of the week. 99 doy : 7 // The week that contains Jan 1st is the first week of the year. 100 } 101 }); 102 103 return az; 104 105 })); 106 No newline at end of file -
new file src/bp-core/js/vendor/moment-locales/be.js
new file mode 100644
- + 1 //! moment.js locale configuration 2 //! locale : Belarusian [be] 3 //! author : Dmitry Demidov : https://github.com/demidov91 4 //! author: Praleska: http://praleska.pro/ 5 //! Author : Menelion Elensúle : https://github.com/Oire 6 7 ;(function (global, factory) { 8 typeof exports === 'object' && typeof module !== 'undefined' 9 && typeof require === 'function' ? factory(require('../moment')) : 10 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 11 factory(global.moment) 12 }(this, function (moment) { 'use strict'; 13 14 15 function plural(word, num) { 16 var forms = word.split('_'); 17 return num % 10 === 1 && num % 100 !== 11 ? forms[0] : (num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20) ? forms[1] : forms[2]); 18 } 19 function relativeTimeWithPlural(number, withoutSuffix, key) { 20 var format = { 21 'mm': withoutSuffix ? 'хвіліна_хвіліны_хвілін' : 'хвіліну_хвіліны_хвілін', 22 'hh': withoutSuffix ? 'гадзіна_гадзіны_гадзін' : 'гадзіну_гадзіны_гадзін', 23 'dd': 'дзень_дні_дзён', 24 'MM': 'месяц_месяцы_месяцаў', 25 'yy': 'год_гады_гадоў' 26 }; 27 if (key === 'm') { 28 return withoutSuffix ? 'хвіліна' : 'хвіліну'; 29 } 30 else if (key === 'h') { 31 return withoutSuffix ? 'гадзіна' : 'гадзіну'; 32 } 33 else { 34 return number + ' ' + plural(format[key], +number); 35 } 36 } 37 38 var be = moment.defineLocale('be', { 39 months : { 40 format: 'студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня'.split('_'), 41 standalone: 'студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань'.split('_') 42 }, 43 monthsShort : 'студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж'.split('_'), 44 weekdays : { 45 format: 'нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу'.split('_'), 46 standalone: 'нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота'.split('_'), 47 isFormat: /\[ ?[Вв] ?(?:мінулую|наступную)? ?\] ?dddd/ 48 }, 49 weekdaysShort : 'нд_пн_ат_ср_чц_пт_сб'.split('_'), 50 weekdaysMin : 'нд_пн_ат_ср_чц_пт_сб'.split('_'), 51 longDateFormat : { 52 LT : 'HH:mm', 53 LTS : 'HH:mm:ss', 54 L : 'DD.MM.YYYY', 55 LL : 'D MMMM YYYY г.', 56 LLL : 'D MMMM YYYY г., HH:mm', 57 LLLL : 'dddd, D MMMM YYYY г., HH:mm' 58 }, 59 calendar : { 60 sameDay: '[Сёння ў] LT', 61 nextDay: '[Заўтра ў] LT', 62 lastDay: '[Учора ў] LT', 63 nextWeek: function () { 64 return '[У] dddd [ў] LT'; 65 }, 66 lastWeek: function () { 67 switch (this.day()) { 68 case 0: 69 case 3: 70 case 5: 71 case 6: 72 return '[У мінулую] dddd [ў] LT'; 73 case 1: 74 case 2: 75 case 4: 76 return '[У мінулы] dddd [ў] LT'; 77 } 78 }, 79 sameElse: 'L' 80 }, 81 relativeTime : { 82 future : 'праз %s', 83 past : '%s таму', 84 s : 'некалькі секунд', 85 m : relativeTimeWithPlural, 86 mm : relativeTimeWithPlural, 87 h : relativeTimeWithPlural, 88 hh : relativeTimeWithPlural, 89 d : 'дзень', 90 dd : relativeTimeWithPlural, 91 M : 'месяц', 92 MM : relativeTimeWithPlural, 93 y : 'год', 94 yy : relativeTimeWithPlural 95 }, 96 meridiemParse: /ночы|раніцы|дня|вечара/, 97 isPM : function (input) { 98 return /^(дня|вечара)$/.test(input); 99 }, 100 meridiem : function (hour, minute, isLower) { 101 if (hour < 4) { 102 return 'ночы'; 103 } else if (hour < 12) { 104 return 'раніцы'; 105 } else if (hour < 17) { 106 return 'дня'; 107 } else { 108 return 'вечара'; 109 } 110 }, 111 ordinalParse: /\d{1,2}-(і|ы|га)/, 112 ordinal: function (number, period) { 113 switch (period) { 114 case 'M': 115 case 'd': 116 case 'DDD': 117 case 'w': 118 case 'W': 119 return (number % 10 === 2 || number % 10 === 3) && (number % 100 !== 12 && number % 100 !== 13) ? number + '-і' : number + '-ы'; 120 case 'D': 121 return number + '-га'; 122 default: 123 return number; 124 } 125 }, 126 week : { 127 dow : 1, // Monday is the first day of the week. 128 doy : 7 // The week that contains Jan 1st is the first week of the year. 129 } 130 }); 131 132 return be; 133 134 })); 135 No newline at end of file -
new file src/bp-core/js/vendor/moment-locales/bg.js
new file mode 100644
- + 1 //! moment.js locale configuration 2 //! locale : Bulgarian [bg] 3 //! author : Krasen Borisov : https://github.com/kraz 4 5 ;(function (global, factory) { 6 typeof exports === 'object' && typeof module !== 'undefined' 7 && typeof require === 'function' ? factory(require('../moment')) : 8 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9 factory(global.moment) 10 }(this, function (moment) { 'use strict'; 11 12 13 var bg = moment.defineLocale('bg', { 14 months : 'януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември'.split('_'), 15 monthsShort : 'янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек'.split('_'), 16 weekdays : 'неделя_понеделник_вторник_сряда_четвъртък_петък_събота'.split('_'), 17 weekdaysShort : 'нед_пон_вто_сря_чет_пет_съб'.split('_'), 18 weekdaysMin : 'нд_пн_вт_ср_чт_пт_сб'.split('_'), 19 longDateFormat : { 20 LT : 'H:mm', 21 LTS : 'H:mm:ss', 22 L : 'D.MM.YYYY', 23 LL : 'D MMMM YYYY', 24 LLL : 'D MMMM YYYY H:mm', 25 LLLL : 'dddd, D MMMM YYYY H:mm' 26 }, 27 calendar : { 28 sameDay : '[Днес в] LT', 29 nextDay : '[Утре в] LT', 30 nextWeek : 'dddd [в] LT', 31 lastDay : '[Вчера в] LT', 32 lastWeek : function () { 33 switch (this.day()) { 34 case 0: 35 case 3: 36 case 6: 37 return '[В изминалата] dddd [в] LT'; 38 case 1: 39 case 2: 40 case 4: 41 case 5: 42 return '[В изминалия] dddd [в] LT'; 43 } 44 }, 45 sameElse : 'L' 46 }, 47 relativeTime : { 48 future : 'след %s', 49 past : 'преди %s', 50 s : 'няколко секунди', 51 m : 'минута', 52 mm : '%d минути', 53 h : 'час', 54 hh : '%d часа', 55 d : 'ден', 56 dd : '%d дни', 57 M : 'месец', 58 MM : '%d месеца', 59 y : 'година', 60 yy : '%d години' 61 }, 62 ordinalParse: /\d{1,2}-(ев|ен|ти|ви|ри|ми)/, 63 ordinal : function (number) { 64 var lastDigit = number % 10, 65 last2Digits = number % 100; 66 if (number === 0) { 67 return number + '-ев'; 68 } else if (last2Digits === 0) { 69 return number + '-ен'; 70 } else if (last2Digits > 10 && last2Digits < 20) { 71 return number + '-ти'; 72 } else if (lastDigit === 1) { 73 return number + '-ви'; 74 } else if (lastDigit === 2) { 75 return number + '-ри'; 76 } else if (lastDigit === 7 || lastDigit === 8) { 77 return number + '-ми'; 78 } else { 79 return number + '-ти'; 80 } 81 }, 82 week : { 83 dow : 1, // Monday is the first day of the week. 84 doy : 7 // The week that contains Jan 1st is the first week of the year. 85 } 86 }); 87 88 return bg; 89 90 })); 91 No newline at end of file -
new file src/bp-core/js/vendor/moment-locales/bn.js
new file mode 100644
- + 1 //! moment.js locale configuration 2 //! locale : Bengali [bn] 3 //! author : Kaushik Gandhi : https://github.com/kaushikgandhi 4 5 ;(function (global, factory) { 6 typeof exports === 'object' && typeof module !== 'undefined' 7 && typeof require === 'function' ? factory(require('../moment')) : 8 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9 factory(global.moment) 10 }(this, function (moment) { 'use strict'; 11 12 13 var symbolMap = { 14 '1': '১', 15 '2': '২', 16 '3': '৩', 17 '4': '৪', 18 '5': '৫', 19 '6': '৬', 20 '7': '৭', 21 '8': '৮', 22 '9': '৯', 23 '0': '০' 24 }, 25 numberMap = { 26 '১': '1', 27 '২': '2', 28 '৩': '3', 29 '৪': '4', 30 '৫': '5', 31 '৬': '6', 32 '৭': '7', 33 '৮': '8', 34 '৯': '9', 35 '০': '0' 36 }; 37 38 var bn = moment.defineLocale('bn', { 39 months : 'জানুয়ারী_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর'.split('_'), 40 monthsShort : 'জানু_ফেব_মার্চ_এপ্র_মে_জুন_জুল_আগ_সেপ্ট_অক্টো_নভে_ডিসে'.split('_'), 41 weekdays : 'রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার'.split('_'), 42 weekdaysShort : 'রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি'.split('_'), 43 weekdaysMin : 'রবি_সোম_মঙ্গ_বুধ_বৃহঃ_শুক্র_শনি'.split('_'), 44 longDateFormat : { 45 LT : 'A h:mm সময়', 46 LTS : 'A h:mm:ss সময়', 47 L : 'DD/MM/YYYY', 48 LL : 'D MMMM YYYY', 49 LLL : 'D MMMM YYYY, A h:mm সময়', 50 LLLL : 'dddd, D MMMM YYYY, A h:mm সময়' 51 }, 52 calendar : { 53 sameDay : '[আজ] LT', 54 nextDay : '[আগামীকাল] LT', 55 nextWeek : 'dddd, LT', 56 lastDay : '[গতকাল] LT', 57 lastWeek : '[গত] dddd, LT', 58 sameElse : 'L' 59 }, 60 relativeTime : { 61 future : '%s পরে', 62 past : '%s আগে', 63 s : 'কয়েক সেকেন্ড', 64 m : 'এক মিনিট', 65 mm : '%d মিনিট', 66 h : 'এক ঘন্টা', 67 hh : '%d ঘন্টা', 68 d : 'এক দিন', 69 dd : '%d দিন', 70 M : 'এক মাস', 71 MM : '%d মাস', 72 y : 'এক বছর', 73 yy : '%d বছর' 74 }, 75 preparse: function (string) { 76 return string.replace(/[১২৩৪৫৬৭৮৯০]/g, function (match) { 77 return numberMap[match]; 78 }); 79 }, 80 postformat: function (string) { 81 return string.replace(/\d/g, function (match) { 82 return symbolMap[match]; 83 }); 84 }, 85 meridiemParse: /রাত|সকাল|দুপুর|বিকাল|রাত/, 86 meridiemHour : function (hour, meridiem) { 87 if (hour === 12) { 88 hour = 0; 89 } 90 if ((meridiem === 'রাত' && hour >= 4) || 91 (meridiem === 'দুপুর' && hour < 5) || 92 meridiem === 'বিকাল') { 93 return hour + 12; 94 } else { 95 return hour; 96 } 97 }, 98 meridiem : function (hour, minute, isLower) { 99 if (hour < 4) { 100 return 'রাত'; 101 } else if (hour < 10) { 102 return 'সকাল'; 103 } else if (hour < 17) { 104 return 'দুপুর'; 105 } else if (hour < 20) { 106 return 'বিকাল'; 107 } else { 108 return 'রাত'; 109 } 110 }, 111 week : { 112 dow : 0, // Sunday is the first day of the week. 113 doy : 6 // The week that contains Jan 1st is the first week of the year. 114 } 115 }); 116 117 return bn; 118 119 })); 120 No newline at end of file -
new file src/bp-core/js/vendor/moment-locales/bo.js
new file mode 100644
- + 1 //! moment.js locale configuration 2 //! locale : Tibetan [bo] 3 //! author : Thupten N. Chakrishar : https://github.com/vajradog 4 5 ;(function (global, factory) { 6 typeof exports === 'object' && typeof module !== 'undefined' 7 && typeof require === 'function' ? factory(require('../moment')) : 8 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9 factory(global.moment) 10 }(this, function (moment) { 'use strict'; 11 12 13 var symbolMap = { 14 '1': '༡', 15 '2': '༢', 16 '3': '༣', 17 '4': '༤', 18 '5': '༥', 19 '6': '༦', 20 '7': '༧', 21 '8': '༨', 22 '9': '༩', 23 '0': '༠' 24 }, 25 numberMap = { 26 '༡': '1', 27 '༢': '2', 28 '༣': '3', 29 '༤': '4', 30 '༥': '5', 31 '༦': '6', 32 '༧': '7', 33 '༨': '8', 34 '༩': '9', 35 '༠': '0' 36 }; 37 38 var bo = moment.defineLocale('bo', { 39 months : 'ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ'.split('_'), 40 monthsShort : 'ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ'.split('_'), 41 weekdays : 'གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་'.split('_'), 42 weekdaysShort : 'ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་'.split('_'), 43 weekdaysMin : 'ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་'.split('_'), 44 longDateFormat : { 45 LT : 'A h:mm', 46 LTS : 'A h:mm:ss', 47 L : 'DD/MM/YYYY', 48 LL : 'D MMMM YYYY', 49 LLL : 'D MMMM YYYY, A h:mm', 50 LLLL : 'dddd, D MMMM YYYY, A h:mm' 51 }, 52 calendar : { 53 sameDay : '[དི་རིང] LT', 54 nextDay : '[སང་ཉིན] LT', 55 nextWeek : '[བདུན་ཕྲག་རྗེས་མ], LT', 56 lastDay : '[ཁ་སང] LT', 57 lastWeek : '[བདུན་ཕྲག་མཐའ་མ] dddd, LT', 58 sameElse : 'L' 59 }, 60 relativeTime : { 61 future : '%s ལ་', 62 past : '%s སྔན་ལ', 63 s : 'ལམ་སང', 64 m : 'སྐར་མ་གཅིག', 65 mm : '%d སྐར་མ', 66 h : 'ཆུ་ཚོད་གཅིག', 67 hh : '%d ཆུ་ཚོད', 68 d : 'ཉིན་གཅིག', 69 dd : '%d ཉིན་', 70 M : 'ཟླ་བ་གཅིག', 71 MM : '%d ཟླ་བ', 72 y : 'ལོ་གཅིག', 73 yy : '%d ལོ' 74 }, 75 preparse: function (string) { 76 return string.replace(/[༡༢༣༤༥༦༧༨༩༠]/g, function (match) { 77 return numberMap[match]; 78 }); 79 }, 80 postformat: function (string) { 81 return string.replace(/\d/g, function (match) { 82 return symbolMap[match]; 83 }); 84 }, 85 meridiemParse: /མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/, 86 meridiemHour : function (hour, meridiem) { 87 if (hour === 12) { 88 hour = 0; 89 } 90 if ((meridiem === 'མཚན་མོ' && hour >= 4) || 91 (meridiem === 'ཉིན་གུང' && hour < 5) || 92 meridiem === 'དགོང་དག') { 93 return hour + 12; 94 } else { 95 return hour; 96 } 97 }, 98 meridiem : function (hour, minute, isLower) { 99 if (hour < 4) { 100 return 'མཚན་མོ'; 101 } else if (hour < 10) { 102 return 'ཞོགས་ཀས'; 103 } else if (hour < 17) { 104 return 'ཉིན་གུང'; 105 } else if (hour < 20) { 106 return 'དགོང་དག'; 107 } else { 108 return 'མཚན་མོ'; 109 } 110 }, 111 week : { 112 dow : 0, // Sunday is the first day of the week. 113 doy : 6 // The week that contains Jan 1st is the first week of the year. 114 } 115 }); 116 117 return bo; 118 119 })); 120 No newline at end of file -
new file src/bp-core/js/vendor/moment-locales/br.js
new file mode 100644
- + 1 //! moment.js locale configuration 2 //! locale : Breton [br] 3 //! author : Jean-Baptiste Le Duigou : https://github.com/jbleduigou 4 5 ;(function (global, factory) { 6 typeof exports === 'object' && typeof module !== 'undefined' 7 && typeof require === 'function' ? factory(require('../moment')) : 8 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9 factory(global.moment) 10 }(this, function (moment) { 'use strict'; 11 12 13 function relativeTimeWithMutation(number, withoutSuffix, key) { 14 var format = { 15 'mm': 'munutenn', 16 'MM': 'miz', 17 'dd': 'devezh' 18 }; 19 return number + ' ' + mutation(format[key], number); 20 } 21 function specialMutationForYears(number) { 22 switch (lastNumber(number)) { 23 case 1: 24 case 3: 25 case 4: 26 case 5: 27 case 9: 28 return number + ' bloaz'; 29 default: 30 return number + ' vloaz'; 31 } 32 } 33 function lastNumber(number) { 34 if (number > 9) { 35 return lastNumber(number % 10); 36 } 37 return number; 38 } 39 function mutation(text, number) { 40 if (number === 2) { 41 return softMutation(text); 42 } 43 return text; 44 } 45 function softMutation(text) { 46 var mutationTable = { 47 'm': 'v', 48 'b': 'v', 49 'd': 'z' 50 }; 51 if (mutationTable[text.charAt(0)] === undefined) { 52 return text; 53 } 54 return mutationTable[text.charAt(0)] + text.substring(1); 55 } 56 57 var br = moment.defineLocale('br', { 58 months : 'Genver_C\'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu'.split('_'), 59 monthsShort : 'Gen_C\'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker'.split('_'), 60 weekdays : 'Sul_Lun_Meurzh_Merc\'her_Yaou_Gwener_Sadorn'.split('_'), 61 weekdaysShort : 'Sul_Lun_Meu_Mer_Yao_Gwe_Sad'.split('_'), 62 weekdaysMin : 'Su_Lu_Me_Mer_Ya_Gw_Sa'.split('_'), 63 weekdaysParseExact : true, 64 longDateFormat : { 65 LT : 'h[e]mm A', 66 LTS : 'h[e]mm:ss A', 67 L : 'DD/MM/YYYY', 68 LL : 'D [a viz] MMMM YYYY', 69 LLL : 'D [a viz] MMMM YYYY h[e]mm A', 70 LLLL : 'dddd, D [a viz] MMMM YYYY h[e]mm A' 71 }, 72 calendar : { 73 sameDay : '[Hiziv da] LT', 74 nextDay : '[Warc\'hoazh da] LT', 75 nextWeek : 'dddd [da] LT', 76 lastDay : '[Dec\'h da] LT', 77 lastWeek : 'dddd [paset da] LT', 78 sameElse : 'L' 79 }, 80 relativeTime : { 81 future : 'a-benn %s', 82 past : '%s \'zo', 83 s : 'un nebeud segondennoù', 84 m : 'ur vunutenn', 85 mm : relativeTimeWithMutation, 86 h : 'un eur', 87 hh : '%d eur', 88 d : 'un devezh', 89 dd : relativeTimeWithMutation, 90 M : 'ur miz', 91 MM : relativeTimeWithMutation, 92 y : 'ur bloaz', 93 yy : specialMutationForYears 94 }, 95 ordinalParse: /\d{1,2}(añ|vet)/, 96 ordinal : function (number) { 97 var output = (number === 1) ? 'añ' : 'vet'; 98 return number + output; 99 }, 100 week : { 101 dow : 1, // Monday is the first day of the week. 102 doy : 4 // The week that contains Jan 4th is the first week of the year. 103 } 104 }); 105 106 return br; 107 108 })); 109 No newline at end of file -
new file src/bp-core/js/vendor/moment-locales/bs.js
new file mode 100644
- + 1 //! moment.js locale configuration 2 //! locale : Bosnian [bs] 3 //! author : Nedim Cholich : https://github.com/frontyard 4 //! based on (hr) translation by Bojan Marković 5 6 ;(function (global, factory) { 7 typeof exports === 'object' && typeof module !== 'undefined' 8 && typeof require === 'function' ? factory(require('../moment')) : 9 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 10 factory(global.moment) 11 }(this, function (moment) { 'use strict'; 12 13 14 function translate(number, withoutSuffix, key) { 15 var result = number + ' '; 16 switch (key) { 17 case 'm': 18 return withoutSuffix ? 'jedna minuta' : 'jedne minute'; 19 case 'mm': 20 if (number === 1) { 21 result += 'minuta'; 22 } else if (number === 2 || number === 3 || number === 4) { 23 result += 'minute'; 24 } else { 25 result += 'minuta'; 26 } 27 return result; 28 case 'h': 29 return withoutSuffix ? 'jedan sat' : 'jednog sata'; 30 case 'hh': 31 if (number === 1) { 32 result += 'sat'; 33 } else if (number === 2 || number === 3 || number === 4) { 34 result += 'sata'; 35 } else { 36 result += 'sati'; 37 } 38 return result; 39 case 'dd': 40 if (number === 1) { 41 result += 'dan'; 42 } else { 43 result += 'dana'; 44 } 45 return result; 46 case 'MM': 47 if (number === 1) { 48 result += 'mjesec'; 49 } else if (number === 2 || number === 3 || number === 4) { 50 result += 'mjeseca'; 51 } else { 52 result += 'mjeseci'; 53 } 54 return result; 55 case 'yy': 56 if (number === 1) { 57 result += 'godina'; 58 } else if (number === 2 || number === 3 || number === 4) { 59 result += 'godine'; 60 } else { 61 result += 'godina'; 62 } 63 return result; 64 } 65 } 66 67 var bs = moment.defineLocale('bs', { 68 months : 'januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar'.split('_'), 69 monthsShort : 'jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.'.split('_'), 70 monthsParseExact: true, 71 weekdays : 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split('_'), 72 weekdaysShort : 'ned._pon._uto._sri._čet._pet._sub.'.split('_'), 73 weekdaysMin : 'ne_po_ut_sr_če_pe_su'.split('_'), 74 weekdaysParseExact : true, 75 longDateFormat : { 76 LT : 'H:mm', 77 LTS : 'H:mm:ss', 78 L : 'DD.MM.YYYY', 79 LL : 'D. MMMM YYYY', 80 LLL : 'D. MMMM YYYY H:mm', 81 LLLL : 'dddd, D. MMMM YYYY H:mm' 82 }, 83 calendar : { 84 sameDay : '[danas u] LT', 85 nextDay : '[sutra u] LT', 86 nextWeek : function () { 87 switch (this.day()) { 88 case 0: 89 return '[u] [nedjelju] [u] LT'; 90 case 3: 91 return '[u] [srijedu] [u] LT'; 92 case 6: 93 return '[u] [subotu] [u] LT'; 94 case 1: 95 case 2: 96 case 4: 97 case 5: 98 return '[u] dddd [u] LT'; 99 } 100 }, 101 lastDay : '[jučer u] LT', 102 lastWeek : function () { 103 switch (this.day()) { 104 case 0: 105 case 3: 106 return '[prošlu] dddd [u] LT'; 107 case 6: 108 return '[prošle] [subote] [u] LT'; 109 case 1: 110 case 2: 111 case 4: 112 case 5: 113 return '[prošli] dddd [u] LT'; 114 } 115 }, 116 sameElse : 'L' 117 }, 118 relativeTime : { 119 future : 'za %s', 120 past : 'prije %s', 121 s : 'par sekundi', 122 m : translate, 123 mm : translate, 124 h : translate, 125 hh : translate, 126 d : 'dan', 127 dd : translate, 128 M : 'mjesec', 129 MM : translate, 130 y : 'godinu', 131 yy : translate 132 }, 133 ordinalParse: /\d{1,2}\./, 134 ordinal : '%d.', 135 week : { 136 dow : 1, // Monday is the first day of the week. 137 doy : 7 // The week that contains Jan 1st is the first week of the year. 138 } 139 }); 140 141 return bs; 142 143 })); 144 No newline at end of file -
new file src/bp-core/js/vendor/moment-locales/ca.js
new file mode 100644
- + 1 //! moment.js locale configuration 2 //! locale : Catalan [ca] 3 //! author : Juan G. Hurtado : https://github.com/juanghurtado 4 5 ;(function (global, factory) { 6 typeof exports === 'object' && typeof module !== 'undefined' 7 && typeof require === 'function' ? factory(require('../moment')) : 8 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9 factory(global.moment) 10 }(this, function (moment) { 'use strict'; 11 12 13 var ca = moment.defineLocale('ca', { 14 months : 'gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre'.split('_'), 15 monthsShort : 'gen._febr._mar._abr._mai._jun._jul._ag._set._oct._nov._des.'.split('_'), 16 monthsParseExact : true, 17 weekdays : 'diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte'.split('_'), 18 weekdaysShort : 'dg._dl._dt._dc._dj._dv._ds.'.split('_'), 19 weekdaysMin : 'Dg_Dl_Dt_Dc_Dj_Dv_Ds'.split('_'), 20 weekdaysParseExact : true, 21 longDateFormat : { 22 LT : 'H:mm', 23 LTS : 'H:mm:ss', 24 L : 'DD/MM/YYYY', 25 LL : 'D MMMM YYYY', 26 LLL : 'D MMMM YYYY H:mm', 27 LLLL : 'dddd D MMMM YYYY H:mm' 28 }, 29 calendar : { 30 sameDay : function () { 31 return '[avui a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT'; 32 }, 33 nextDay : function () { 34 return '[demà a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT'; 35 }, 36 nextWeek : function () { 37 return 'dddd [a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT'; 38 }, 39 lastDay : function () { 40 return '[ahir a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT'; 41 }, 42 lastWeek : function () { 43 return '[el] dddd [passat a ' + ((this.hours() !== 1) ? 'les' : 'la') + '] LT'; 44 }, 45 sameElse : 'L' 46 }, 47 relativeTime : { 48 future : 'en %s', 49 past : 'fa %s', 50 s : 'uns segons', 51 m : 'un minut', 52 mm : '%d minuts', 53 h : 'una hora', 54 hh : '%d hores', 55 d : 'un dia', 56 dd : '%d dies', 57 M : 'un mes', 58 MM : '%d mesos', 59 y : 'un any', 60 yy : '%d anys' 61 }, 62 ordinalParse: /\d{1,2}(r|n|t|è|a)/, 63 ordinal : function (number, period) { 64 var output = (number === 1) ? 'r' : 65 (number === 2) ? 'n' : 66 (number === 3) ? 'r' : 67 (number === 4) ? 't' : 'è'; 68 if (period === 'w' || period === 'W') { 69 output = 'a'; 70 } 71 return number + output; 72 }, 73 week : { 74 dow : 1, // Monday is the first day of the week. 75 doy : 4 // The week that contains Jan 4th is the first week of the year. 76 } 77 }); 78 79 return ca; 80 81 })); 82 No newline at end of file -
new file src/bp-core/js/vendor/moment-locales/cs.js
new file mode 100644
- + 1 //! moment.js locale configuration 2 //! locale : Czech [cs] 3 //! author : petrbela : https://github.com/petrbela 4 5 ;(function (global, factory) { 6 typeof exports === 'object' && typeof module !== 'undefined' 7 && typeof require === 'function' ? factory(require('../moment')) : 8 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9 factory(global.moment) 10 }(this, function (moment) { 'use strict'; 11 12 13 var months = 'leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec'.split('_'), 14 monthsShort = 'led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro'.split('_'); 15 function plural(n) { 16 return (n > 1) && (n < 5) && (~~(n / 10) !== 1); 17 } 18 function translate(number, withoutSuffix, key, isFuture) { 19 var result = number + ' '; 20 switch (key) { 21 case 's': // a few seconds / in a few seconds / a few seconds ago 22 return (withoutSuffix || isFuture) ? 'pár sekund' : 'pár sekundami'; 23 case 'm': // a minute / in a minute / a minute ago 24 return withoutSuffix ? 'minuta' : (isFuture ? 'minutu' : 'minutou'); 25 case 'mm': // 9 minutes / in 9 minutes / 9 minutes ago 26 if (withoutSuffix || isFuture) { 27 return result + (plural(number) ? 'minuty' : 'minut'); 28 } else { 29 return result + 'minutami'; 30 } 31 break; 32 case 'h': // an hour / in an hour / an hour ago 33 return withoutSuffix ? 'hodina' : (isFuture ? 'hodinu' : 'hodinou'); 34 case 'hh': // 9 hours / in 9 hours / 9 hours ago 35 if (withoutSuffix || isFuture) { 36 return result + (plural(number) ? 'hodiny' : 'hodin'); 37 } else { 38 return result + 'hodinami'; 39 } 40 break; 41 case 'd': // a day / in a day / a day ago 42 return (withoutSuffix || isFuture) ? 'den' : 'dnem'; 43 case 'dd': // 9 days / in 9 days / 9 days ago 44 if (withoutSuffix || isFuture) { 45 return result + (plural(number) ? 'dny' : 'dní'); 46 } else { 47 return result + 'dny'; 48 } 49 break; 50 case 'M': // a month / in a month / a month ago 51 return (withoutSuffix || isFuture) ? 'měsíc' : 'měsícem'; 52 case 'MM': // 9 months / in 9 months / 9 months ago 53 if (withoutSuffix || isFuture) { 54 return result + (plural(number) ? 'měsíce' : 'měsíců'); 55 } else { 56 return result + 'měsíci'; 57 } 58 break; 59 case 'y': // a year / in a year / a year ago 60 return (withoutSuffix || isFuture) ? 'rok' : 'rokem'; 61 case 'yy': // 9 years / in 9 years / 9 years ago 62 if (withoutSuffix || isFuture) { 63 return result + (plural(number) ? 'roky' : 'let'); 64 } else { 65 return result + 'lety'; 66 } 67 break; 68 } 69 } 70 71 var cs = moment.defineLocale('cs', { 72 months : months, 73 monthsShort : monthsShort, 74 monthsParse : (function (months, monthsShort) { 75 var i, _monthsParse = []; 76 for (i = 0; i < 12; i++) { 77 // use custom parser to solve problem with July (červenec) 78 _monthsParse[i] = new RegExp('^' + months[i] + '$|^' + monthsShort[i] + '$', 'i'); 79 } 80 return _monthsParse; 81 }(months, monthsShort)), 82 shortMonthsParse : (function (monthsShort) { 83 var i, _shortMonthsParse = []; 84 for (i = 0; i < 12; i++) { 85 _shortMonthsParse[i] = new RegExp('^' + monthsShort[i] + '$', 'i'); 86 } 87 return _shortMonthsParse; 88 }(monthsShort)), 89 longMonthsParse : (function (months) { 90 var i, _longMonthsParse = []; 91 for (i = 0; i < 12; i++) { 92 _longMonthsParse[i] = new RegExp('^' + months[i] + '$', 'i'); 93 } 94 return _longMonthsParse; 95 }(months)), 96 weekdays : 'neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota'.split('_'), 97 weekdaysShort : 'ne_po_út_st_čt_pá_so'.split('_'), 98 weekdaysMin : 'ne_po_út_st_čt_pá_so'.split('_'), 99 longDateFormat : { 100 LT: 'H:mm', 101 LTS : 'H:mm:ss', 102 L : 'DD.MM.YYYY', 103 LL : 'D. MMMM YYYY', 104 LLL : 'D. MMMM YYYY H:mm', 105 LLLL : 'dddd D. MMMM YYYY H:mm', 106 l : 'D. M. YYYY' 107 }, 108 calendar : { 109 sameDay: '[dnes v] LT', 110 nextDay: '[zítra v] LT', 111 nextWeek: function () { 112 switch (this.day()) { 113 case 0: 114 return '[v neděli v] LT'; 115 case 1: 116 case 2: 117 return '[v] dddd [v] LT'; 118 case 3: 119 return '[ve středu v] LT'; 120 case 4: 121 return '[ve čtvrtek v] LT'; 122 case 5: 123 return '[v pátek v] LT'; 124 case 6: 125 return '[v sobotu v] LT'; 126 } 127 }, 128 lastDay: '[včera v] LT', 129 lastWeek: function () { 130 switch (this.day()) { 131 case 0: 132 return '[minulou neděli v] LT'; 133 case 1: 134 case 2: 135 return '[minulé] dddd [v] LT'; 136 case 3: 137 return '[minulou středu v] LT'; 138 case 4: 139 case 5: 140 return '[minulý] dddd [v] LT'; 141 case 6: 142 return '[minulou sobotu v] LT'; 143 } 144 }, 145 sameElse: 'L' 146 }, 147 relativeTime : { 148 future : 'za %s', 149 past : 'před %s', 150 s : translate, 151 m : translate, 152 mm : translate, 153 h : translate, 154 hh : translate, 155 d : translate, 156 dd : translate, 157 M : translate, 158 MM : translate, 159 y : translate, 160 yy : translate 161 }, 162 ordinalParse : /\d{1,2}\./, 163 ordinal : '%d.', 164 week : { 165 dow : 1, // Monday is the first day of the week. 166 doy : 4 // The week that contains Jan 4th is the first week of the year. 167 } 168 }); 169 170 return cs; 171 172 })); 173 No newline at end of file -
new file src/bp-core/js/vendor/moment-locales/cv.js
new file mode 100644
- + 1 //! moment.js locale configuration 2 //! locale : Chuvash [cv] 3 //! author : Anatoly Mironov : https://github.com/mirontoli 4 5 ;(function (global, factory) { 6 typeof exports === 'object' && typeof module !== 'undefined' 7 && typeof require === 'function' ? factory(require('../moment')) : 8 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9 factory(global.moment) 10 }(this, function (moment) { 'use strict'; 11 12 13 var cv = moment.defineLocale('cv', { 14 months : 'кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав'.split('_'), 15 monthsShort : 'кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш'.split('_'), 16 weekdays : 'вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун'.split('_'), 17 weekdaysShort : 'выр_тун_ытл_юн_кӗҫ_эрн_шӑм'.split('_'), 18 weekdaysMin : 'вр_тн_ыт_юн_кҫ_эр_шм'.split('_'), 19 longDateFormat : { 20 LT : 'HH:mm', 21 LTS : 'HH:mm:ss', 22 L : 'DD-MM-YYYY', 23 LL : 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]', 24 LLL : 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm', 25 LLLL : 'dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm' 26 }, 27 calendar : { 28 sameDay: '[Паян] LT [сехетре]', 29 nextDay: '[Ыран] LT [сехетре]', 30 lastDay: '[Ӗнер] LT [сехетре]', 31 nextWeek: '[Ҫитес] dddd LT [сехетре]', 32 lastWeek: '[Иртнӗ] dddd LT [сехетре]', 33 sameElse: 'L' 34 }, 35 relativeTime : { 36 future : function (output) { 37 var affix = /сехет$/i.exec(output) ? 'рен' : /ҫул$/i.exec(output) ? 'тан' : 'ран'; 38 return output + affix; 39 }, 40 past : '%s каялла', 41 s : 'пӗр-ик ҫеккунт', 42 m : 'пӗр минут', 43 mm : '%d минут', 44 h : 'пӗр сехет', 45 hh : '%d сехет', 46 d : 'пӗр кун', 47 dd : '%d кун', 48 M : 'пӗр уйӑх', 49 MM : '%d уйӑх', 50 y : 'пӗр ҫул', 51 yy : '%d ҫул' 52 }, 53 ordinalParse: /\d{1,2}-мӗш/, 54 ordinal : '%d-мӗш', 55 week : { 56 dow : 1, // Monday is the first day of the week. 57 doy : 7 // The week that contains Jan 1st is the first week of the year. 58 } 59 }); 60 61 return cv; 62 63 })); 64 No newline at end of file -
new file src/bp-core/js/vendor/moment-locales/cy.js
new file mode 100644
- + 1 //! moment.js locale configuration 2 //! locale : Welsh [cy] 3 //! author : Robert Allen : https://github.com/robgallen 4 //! author : https://github.com/ryangreaves 5 6 ;(function (global, factory) { 7 typeof exports === 'object' && typeof module !== 'undefined' 8 && typeof require === 'function' ? factory(require('../moment')) : 9 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 10 factory(global.moment) 11 }(this, function (moment) { 'use strict'; 12 13 14 var cy = moment.defineLocale('cy', { 15 months: 'Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr'.split('_'), 16 monthsShort: 'Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag'.split('_'), 17 weekdays: 'Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn'.split('_'), 18 weekdaysShort: 'Sul_Llun_Maw_Mer_Iau_Gwe_Sad'.split('_'), 19 weekdaysMin: 'Su_Ll_Ma_Me_Ia_Gw_Sa'.split('_'), 20 weekdaysParseExact : true, 21 // time formats are the same as en-gb 22 longDateFormat: { 23 LT: 'HH:mm', 24 LTS : 'HH:mm:ss', 25 L: 'DD/MM/YYYY', 26 LL: 'D MMMM YYYY', 27 LLL: 'D MMMM YYYY HH:mm', 28 LLLL: 'dddd, D MMMM YYYY HH:mm' 29 }, 30 calendar: { 31 sameDay: '[Heddiw am] LT', 32 nextDay: '[Yfory am] LT', 33 nextWeek: 'dddd [am] LT', 34 lastDay: '[Ddoe am] LT', 35 lastWeek: 'dddd [diwethaf am] LT', 36 sameElse: 'L' 37 }, 38 relativeTime: { 39 future: 'mewn %s', 40 past: '%s yn ôl', 41 s: 'ychydig eiliadau', 42 m: 'munud', 43 mm: '%d munud', 44 h: 'awr', 45 hh: '%d awr', 46 d: 'diwrnod', 47 dd: '%d diwrnod', 48 M: 'mis', 49 MM: '%d mis', 50 y: 'blwyddyn', 51 yy: '%d flynedd' 52 }, 53 ordinalParse: /\d{1,2}(fed|ain|af|il|ydd|ed|eg)/, 54 // traditional ordinal numbers above 31 are not commonly used in colloquial Welsh 55 ordinal: function (number) { 56 var b = number, 57 output = '', 58 lookup = [ 59 '', 'af', 'il', 'ydd', 'ydd', 'ed', 'ed', 'ed', 'fed', 'fed', 'fed', // 1af to 10fed 60 'eg', 'fed', 'eg', 'eg', 'fed', 'eg', 'eg', 'fed', 'eg', 'fed' // 11eg to 20fed 61 ]; 62 if (b > 20) { 63 if (b === 40 || b === 50 || b === 60 || b === 80 || b === 100) { 64 output = 'fed'; // not 30ain, 70ain or 90ain 65 } else { 66 output = 'ain'; 67 } 68 } else if (b > 0) { 69 output = lookup[b]; 70 } 71 return number + output; 72 }, 73 week : { 74 dow : 1, // Monday is the first day of the week. 75 doy : 4 // The week that contains Jan 4th is the first week of the year. 76 } 77 }); 78 79 return cy; 80 81 })); 82 No newline at end of file -
new file src/bp-core/js/vendor/moment-locales/da.js
new file mode 100644
- + 1 //! moment.js locale configuration 2 //! locale : Danish [da] 3 //! author : Ulrik Nielsen : https://github.com/mrbase 4 5 ;(function (global, factory) { 6 typeof exports === 'object' && typeof module !== 'undefined' 7 && typeof require === 'function' ? factory(require('../moment')) : 8 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9 factory(global.moment) 10 }(this, function (moment) { 'use strict'; 11 12 13 var da = moment.defineLocale('da', { 14 months : 'januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december'.split('_'), 15 monthsShort : 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'), 16 weekdays : 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'), 17 weekdaysShort : 'søn_man_tir_ons_tor_fre_lør'.split('_'), 18 weekdaysMin : 'sø_ma_ti_on_to_fr_lø'.split('_'), 19 longDateFormat : { 20 LT : 'HH:mm', 21 LTS : 'HH:mm:ss', 22 L : 'DD/MM/YYYY', 23 LL : 'D. MMMM YYYY', 24 LLL : 'D. MMMM YYYY HH:mm', 25 LLLL : 'dddd [d.] D. MMMM YYYY HH:mm' 26 }, 27 calendar : { 28 sameDay : '[I dag kl.] LT', 29 nextDay : '[I morgen kl.] LT', 30 nextWeek : 'dddd [kl.] LT', 31 lastDay : '[I går kl.] LT', 32 lastWeek : '[sidste] dddd [kl] LT', 33 sameElse : 'L' 34 }, 35 relativeTime : { 36 future : 'om %s', 37 past : '%s siden', 38 s : 'få sekunder', 39 m : 'et minut', 40 mm : '%d minutter', 41 h : 'en time', 42 hh : '%d timer', 43 d : 'en dag', 44 dd : '%d dage', 45 M : 'en måned', 46 MM : '%d måneder', 47 y : 'et år', 48 yy : '%d år' 49 }, 50 ordinalParse: /\d{1,2}\./, 51 ordinal : '%d.', 52 week : { 53 dow : 1, // Monday is the first day of the week. 54 doy : 4 // The week that contains Jan 4th is the first week of the year. 55 } 56 }); 57 58 return da; 59 60 })); 61 No newline at end of file -
new file src/bp-core/js/vendor/moment-locales/de-at.js
new file mode 100644
- + 1 //! moment.js locale configuration 2 //! locale : German (Austria) [de-at] 3 //! author : lluchs : https://github.com/lluchs 4 //! author: Menelion Elensúle: https://github.com/Oire 5 //! author : Martin Groller : https://github.com/MadMG 6 //! author : Mikolaj Dadela : https://github.com/mik01aj 7 8 ;(function (global, factory) { 9 typeof exports === 'object' && typeof module !== 'undefined' 10 && typeof require === 'function' ? factory(require('../moment')) : 11 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 12 factory(global.moment) 13 }(this, function (moment) { 'use strict'; 14 15 16 function processRelativeTime(number, withoutSuffix, key, isFuture) { 17 var format = { 18 'm': ['eine Minute', 'einer Minute'], 19 'h': ['eine Stunde', 'einer Stunde'], 20 'd': ['ein Tag', 'einem Tag'], 21 'dd': [number + ' Tage', number + ' Tagen'], 22 'M': ['ein Monat', 'einem Monat'], 23 'MM': [number + ' Monate', number + ' Monaten'], 24 'y': ['ein Jahr', 'einem Jahr'], 25 'yy': [number + ' Jahre', number + ' Jahren'] 26 }; 27 return withoutSuffix ? format[key][0] : format[key][1]; 28 } 29 30 var de_at = moment.defineLocale('de-at', { 31 months : 'Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'), 32 monthsShort : 'Jän._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split('_'), 33 monthsParseExact : true, 34 weekdays : 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split('_'), 35 weekdaysShort : 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'), 36 weekdaysMin : 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'), 37 weekdaysParseExact : true, 38 longDateFormat : { 39 LT: 'HH:mm', 40 LTS: 'HH:mm:ss', 41 L : 'DD.MM.YYYY', 42 LL : 'D. MMMM YYYY', 43 LLL : 'D. MMMM YYYY HH:mm', 44 LLLL : 'dddd, D. MMMM YYYY HH:mm' 45 }, 46 calendar : { 47 sameDay: '[heute um] LT [Uhr]', 48 sameElse: 'L', 49 nextDay: '[morgen um] LT [Uhr]', 50 nextWeek: 'dddd [um] LT [Uhr]', 51 lastDay: '[gestern um] LT [Uhr]', 52 lastWeek: '[letzten] dddd [um] LT [Uhr]' 53 }, 54 relativeTime : { 55 future : 'in %s', 56 past : 'vor %s', 57 s : 'ein paar Sekunden', 58 m : processRelativeTime, 59 mm : '%d Minuten', 60 h : processRelativeTime, 61 hh : '%d Stunden', 62 d : processRelativeTime, 63 dd : processRelativeTime, 64 M : processRelativeTime, 65 MM : processRelativeTime, 66 y : processRelativeTime, 67 yy : processRelativeTime 68 }, 69 ordinalParse: /\d{1,2}\./, 70 ordinal : '%d.', 71 week : { 72 dow : 1, // Monday is the first day of the week. 73 doy : 4 // The week that contains Jan 4th is the first week of the year. 74 } 75 }); 76 77 return de_at; 78 79 })); 80 No newline at end of file -
new file src/bp-core/js/vendor/moment-locales/de.js
new file mode 100644
- + 1 //! moment.js locale configuration 2 //! locale : German [de] 3 //! author : lluchs : https://github.com/lluchs 4 //! author: Menelion Elensúle: https://github.com/Oire 5 //! author : Mikolaj Dadela : https://github.com/mik01aj 6 7 ;(function (global, factory) { 8 typeof exports === 'object' && typeof module !== 'undefined' 9 && typeof require === 'function' ? factory(require('../moment')) : 10 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 11 factory(global.moment) 12 }(this, function (moment) { 'use strict'; 13 14 15 function processRelativeTime(number, withoutSuffix, key, isFuture) { 16 var format = { 17 'm': ['eine Minute', 'einer Minute'], 18 'h': ['eine Stunde', 'einer Stunde'], 19 'd': ['ein Tag', 'einem Tag'], 20 'dd': [number + ' Tage', number + ' Tagen'], 21 'M': ['ein Monat', 'einem Monat'], 22 'MM': [number + ' Monate', number + ' Monaten'], 23 'y': ['ein Jahr', 'einem Jahr'], 24 'yy': [number + ' Jahre', number + ' Jahren'] 25 }; 26 return withoutSuffix ? format[key][0] : format[key][1]; 27 } 28 29 var de = moment.defineLocale('de', { 30 months : 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'), 31 monthsShort : 'Jan._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split('_'), 32 monthsParseExact : true, 33 weekdays : 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split('_'), 34 weekdaysShort : 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'), 35 weekdaysMin : 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'), 36 weekdaysParseExact : true, 37 longDateFormat : { 38 LT: 'HH:mm', 39 LTS: 'HH:mm:ss', 40 L : 'DD.MM.YYYY', 41 LL : 'D. MMMM YYYY', 42 LLL : 'D. MMMM YYYY HH:mm', 43 LLLL : 'dddd, D. MMMM YYYY HH:mm' 44 }, 45 calendar : { 46 sameDay: '[heute um] LT [Uhr]', 47 sameElse: 'L', 48 nextDay: '[morgen um] LT [Uhr]', 49 nextWeek: 'dddd [um] LT [Uhr]', 50 lastDay: '[gestern um] LT [Uhr]', 51 lastWeek: '[letzten] dddd [um] LT [Uhr]' 52 }, 53 relativeTime : { 54 future : 'in %s', 55 past : 'vor %s', 56 s : 'ein paar Sekunden', 57 m : processRelativeTime, 58 mm : '%d Minuten', 59 h : processRelativeTime, 60 hh : '%d Stunden', 61 d : processRelativeTime, 62 dd : processRelativeTime, 63 M : processRelativeTime, 64 MM : processRelativeTime, 65 y : processRelativeTime, 66 yy : processRelativeTime 67 }, 68 ordinalParse: /\d{1,2}\./, 69 ordinal : '%d.', 70 week : { 71 dow : 1, // Monday is the first day of the week. 72 doy : 4 // The week that contains Jan 4th is the first week of the year. 73 } 74 }); 75 76 return de; 77 78 })); 79 No newline at end of file -
new file src/bp-core/js/vendor/moment-locales/dv.js
new file mode 100644
- + 1 //! moment.js locale configuration 2 //! locale : Maldivian [dv] 3 //! author : Jawish Hameed : https://github.com/jawish 4 5 ;(function (global, factory) { 6 typeof exports === 'object' && typeof module !== 'undefined' 7 && typeof require === 'function' ? factory(require('../moment')) : 8 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9 factory(global.moment) 10 }(this, function (moment) { 'use strict'; 11 12 13 var months = [ 14 'ޖެނުއަރީ', 15 'ފެބްރުއަރީ', 16 'މާރިޗު', 17 'އޭޕްރީލު', 18 'މޭ', 19 'ޖޫން', 20 'ޖުލައި', 21 'އޯގަސްޓު', 22 'ސެޕްޓެމްބަރު', 23 'އޮކްޓޯބަރު', 24 'ނޮވެމްބަރު', 25 'ޑިސެމްބަރު' 26 ], weekdays = [ 27 'އާދިއްތަ', 28 'ހޯމަ', 29 'އަންގާރަ', 30 'ބުދަ', 31 'ބުރާސްފަތި', 32 'ހުކުރު', 33 'ހޮނިހިރު' 34 ]; 35 36 var dv = moment.defineLocale('dv', { 37 months : months, 38 monthsShort : months, 39 weekdays : weekdays, 40 weekdaysShort : weekdays, 41 weekdaysMin : 'އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި'.split('_'), 42 longDateFormat : { 43 44 LT : 'HH:mm', 45 LTS : 'HH:mm:ss', 46 L : 'D/M/YYYY', 47 LL : 'D MMMM YYYY', 48 LLL : 'D MMMM YYYY HH:mm', 49 LLLL : 'dddd D MMMM YYYY HH:mm' 50 }, 51 meridiemParse: /މކ|މފ/, 52 isPM : function (input) { 53 return 'މފ' === input; 54 }, 55 meridiem : function (hour, minute, isLower) { 56 if (hour < 12) { 57 return 'މކ'; 58 } else { 59 return 'މފ'; 60 } 61 }, 62 calendar : { 63 sameDay : '[މިއަދު] LT', 64 nextDay : '[މާދަމާ] LT', 65 nextWeek : 'dddd LT', 66 lastDay : '[އިއްޔެ] LT', 67 lastWeek : '[ފާއިތުވި] dddd LT', 68 sameElse : 'L' 69 }, 70 relativeTime : { 71 future : 'ތެރޭގައި %s', 72 past : 'ކުރިން %s', 73 s : 'ސިކުންތުކޮޅެއް', 74 m : 'މިނިޓެއް', 75 mm : 'މިނިޓު %d', 76 h : 'ގަޑިއިރެއް', 77 hh : 'ގަޑިއިރު %d', 78 d : 'ދުވަހެއް', 79 dd : 'ދުވަސް %d', 80 M : 'މަހެއް', 81 MM : 'މަސް %d', 82 y : 'އަހަރެއް', 83 yy : 'އަހަރު %d' 84 }, 85 preparse: function (string) { 86 return string.replace(/،/g, ','); 87 }, 88 postformat: function (string) { 89 return string.replace(/,/g, '،'); 90 }, 91 week : { 92 dow : 7, // Sunday is the first day of the week. 93 doy : 12 // The week that contains Jan 1st is the first week of the year. 94 } 95 }); 96 97 return dv; 98 99 })); 100 No newline at end of file -
new file src/bp-core/js/vendor/moment-locales/el.js
new file mode 100644
- + 1 //! moment.js locale configuration 2 //! locale : Greek [el] 3 //! author : Aggelos Karalias : https://github.com/mehiel 4 5 ;(function (global, factory) { 6 typeof exports === 'object' && typeof module !== 'undefined' 7 && typeof require === 'function' ? factory(require('../moment')) : 8 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9 factory(global.moment) 10 }(this, function (moment) { 'use strict'; 11 12 function isFunction(input) { 13 return input instanceof Function || Object.prototype.toString.call(input) === '[object Function]'; 14 } 15 16 17 var el = moment.defineLocale('el', { 18 monthsNominativeEl : 'Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος'.split('_'), 19 monthsGenitiveEl : 'Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου'.split('_'), 20 months : function (momentToFormat, format) { 21 if (/D/.test(format.substring(0, format.indexOf('MMMM')))) { // if there is a day number before 'MMMM' 22 return this._monthsGenitiveEl[momentToFormat.month()]; 23 } else { 24 return this._monthsNominativeEl[momentToFormat.month()]; 25 } 26 }, 27 monthsShort : 'Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ'.split('_'), 28 weekdays : 'Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο'.split('_'), 29 weekdaysShort : 'Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ'.split('_'), 30 weekdaysMin : 'Κυ_Δε_Τρ_Τε_Πε_Πα_Σα'.split('_'), 31 meridiem : function (hours, minutes, isLower) { 32 if (hours > 11) { 33 return isLower ? 'μμ' : 'ΜΜ'; 34 } else { 35 return isLower ? 'πμ' : 'ΠΜ'; 36 } 37 }, 38 isPM : function (input) { 39 return ((input + '').toLowerCase()[0] === 'μ'); 40 }, 41 meridiemParse : /[ΠΜ]\.?Μ?\.?/i, 42 longDateFormat : { 43 LT : 'h:mm A', 44 LTS : 'h:mm:ss A', 45 L : 'DD/MM/YYYY', 46 LL : 'D MMMM YYYY', 47 LLL : 'D MMMM YYYY h:mm A', 48 LLLL : 'dddd, D MMMM YYYY h:mm A' 49 }, 50 calendarEl : { 51 sameDay : '[Σήμερα {}] LT', 52 nextDay : '[Αύριο {}] LT', 53 nextWeek : 'dddd [{}] LT', 54 lastDay : '[Χθες {}] LT', 55 lastWeek : function () { 56 switch (this.day()) { 57 case 6: 58 return '[το προηγούμενο] dddd [{}] LT'; 59 default: 60 return '[την προηγούμενη] dddd [{}] LT'; 61 } 62 }, 63 sameElse : 'L' 64 }, 65 calendar : function (key, mom) { 66 var output = this._calendarEl[key], 67 hours = mom && mom.hours(); 68 if (isFunction(output)) { 69 output = output.apply(mom); 70 } 71 return output.replace('{}', (hours % 12 === 1 ? 'στη' : 'στις')); 72 }, 73 relativeTime : { 74 future : 'σε %s', 75 past : '%s πριν', 76 s : 'λίγα δευτερόλεπτα', 77 m : 'ένα λεπτό', 78 mm : '%d λεπτά', 79 h : 'μία ώρα', 80 hh : '%d ώρες', 81 d : 'μία μέρα', 82 dd : '%d μέρες', 83 M : 'ένας μήνας', 84 MM : '%d μήνες', 85 y : 'ένας χρόνος', 86 yy : '%d χρόνια' 87 }, 88 ordinalParse: /\d{1,2}η/, 89 ordinal: '%dη', 90 week : { 91 dow : 1, // Monday is the first day of the week. 92 doy : 4 // The week that contains Jan 4st is the first week of the year. 93 } 94 }); 95 96 return el; 97 98 })); 99 No newline at end of file -
new file src/bp-core/js/vendor/moment-locales/en-au.js
new file mode 100644
- + 1 //! moment.js locale configuration 2 //! locale : English (Australia) [en-au] 3 //! author : Jared Morse : https://github.com/jarcoal 4 5 ;(function (global, factory) { 6 typeof exports === 'object' && typeof module !== 'undefined' 7 && typeof require === 'function' ? factory(require('../moment')) : 8 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9 factory(global.moment) 10 }(this, function (moment) { 'use strict'; 11 12 13 var en_au = moment.defineLocale('en-au', { 14 months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'), 15 monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), 16 weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), 17 weekdaysShort : 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), 18 weekdaysMin : 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), 19 longDateFormat : { 20 LT : 'h:mm A', 21 LTS : 'h:mm:ss A', 22 L : 'DD/MM/YYYY', 23 LL : 'D MMMM YYYY', 24 LLL : 'D MMMM YYYY h:mm A', 25 LLLL : 'dddd, D MMMM YYYY h:mm A' 26 }, 27 calendar : { 28 sameDay : '[Today at] LT', 29 nextDay : '[Tomorrow at] LT', 30 nextWeek : 'dddd [at] LT', 31 lastDay : '[Yesterday at] LT', 32 lastWeek : '[Last] dddd [at] LT', 33 sameElse : 'L' 34 }, 35 relativeTime : { 36 future : 'in %s', 37 past : '%s ago', 38 s : 'a few seconds', 39 m : 'a minute', 40 mm : '%d minutes', 41 h : 'an hour', 42 hh : '%d hours', 43 d : 'a day', 44 dd : '%d days', 45 M : 'a month', 46 MM : '%d months', 47 y : 'a year', 48 yy : '%d years' 49 }, 50 ordinalParse: /\d{1,2}(st|nd|rd|th)/, 51 ordinal : function (number) { 52 var b = number % 10, 53 output = (~~(number % 100 / 10) === 1) ? 'th' : 54 (b === 1) ? 'st' : 55 (b === 2) ? 'nd' : 56 (b === 3) ? 'rd' : 'th'; 57 return number + output; 58 }, 59 week : { 60 dow : 1, // Monday is the first day of the week. 61 doy : 4 // The week that contains Jan 4th is the first week of the year. 62 } 63 }); 64 65 return en_au; 66 67 })); 68 No newline at end of file -
new file src/bp-core/js/vendor/moment-locales/en-ca.js
new file mode 100644
- + 1 //! moment.js locale configuration 2 //! locale : English (Canada) [en-ca] 3 //! author : Jonathan Abourbih : https://github.com/jonbca 4 5 ;(function (global, factory) { 6 typeof exports === 'object' && typeof module !== 'undefined' 7 && typeof require === 'function' ? factory(require('../moment')) : 8 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9 factory(global.moment) 10 }(this, function (moment) { 'use strict'; 11 12 13 var en_ca = moment.defineLocale('en-ca', { 14 months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'), 15 monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), 16 weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), 17 weekdaysShort : 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), 18 weekdaysMin : 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), 19 longDateFormat : { 20 LT : 'h:mm A', 21 LTS : 'h:mm:ss A', 22 L : 'YYYY-MM-DD', 23 LL : 'MMMM D, YYYY', 24 LLL : 'MMMM D, YYYY h:mm A', 25 LLLL : 'dddd, MMMM D, YYYY h:mm A' 26 }, 27 calendar : { 28 sameDay : '[Today at] LT', 29 nextDay : '[Tomorrow at] LT', 30 nextWeek : 'dddd [at] LT', 31 lastDay : '[Yesterday at] LT', 32 lastWeek : '[Last] dddd [at] LT', 33 sameElse : 'L' 34 }, 35 relativeTime : { 36 future : 'in %s', 37 past : '%s ago', 38 s : 'a few seconds', 39 m : 'a minute', 40 mm : '%d minutes', 41 h : 'an hour', 42 hh : '%d hours', 43 d : 'a day', 44 dd : '%d days', 45 M : 'a month', 46 MM : '%d months', 47 y : 'a year', 48 yy : '%d years' 49 }, 50 ordinalParse: /\d{1,2}(st|nd|rd|th)/, 51 ordinal : function (number) { 52 var b = number % 10, 53 output = (~~(number % 100 / 10) === 1) ? 'th' : 54 (b === 1) ? 'st' : 55 (b === 2) ? 'nd' : 56 (b === 3) ? 'rd' : 'th'; 57 return number + output; 58 } 59 }); 60 61 return en_ca; 62 63 })); 64 No newline at end of file -
new file src/bp-core/js/vendor/moment-locales/en-gb.js
new file mode 100644
- + 1 //! moment.js locale configuration 2 //! locale : English (United Kingdom) [en-gb] 3 //! author : Chris Gedrim : https://github.com/chrisgedrim 4 5 ;(function (global, factory) { 6 typeof exports === 'object' && typeof module !== 'undefined' 7 && typeof require === 'function' ? factory(require('../moment')) : 8 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9 factory(global.moment) 10 }(this, function (moment) { 'use strict'; 11 12 13 var en_gb = moment.defineLocale('en-gb', { 14 months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'), 15 monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), 16 weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), 17 weekdaysShort : 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), 18 weekdaysMin : 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), 19 longDateFormat : { 20 LT : 'HH:mm', 21 LTS : 'HH:mm:ss', 22 L : 'DD/MM/YYYY', 23 LL : 'D MMMM YYYY', 24 LLL : 'D MMMM YYYY HH:mm', 25 LLLL : 'dddd, D MMMM YYYY HH:mm' 26 }, 27 calendar : { 28 sameDay : '[Today at] LT', 29 nextDay : '[Tomorrow at] LT', 30 nextWeek : 'dddd [at] LT', 31 lastDay : '[Yesterday at] LT', 32 lastWeek : '[Last] dddd [at] LT', 33 sameElse : 'L' 34 }, 35 relativeTime : { 36 future : 'in %s', 37 past : '%s ago', 38 s : 'a few seconds', 39 m : 'a minute', 40 mm : '%d minutes', 41 h : 'an hour', 42 hh : '%d hours', 43 d : 'a day', 44 dd : '%d days', 45 M : 'a month', 46 MM : '%d months', 47 y : 'a year', 48 yy : '%d years' 49 }, 50 ordinalParse: /\d{1,2}(st|nd|rd|th)/, 51 ordinal : function (number) { 52 var b = number % 10, 53 output = (~~(number % 100 / 10) === 1) ? 'th' : 54 (b === 1) ? 'st' : 55 (b === 2) ? 'nd' : 56 (b === 3) ? 'rd' : 'th'; 57 return number + output; 58 }, 59 week : { 60 dow : 1, // Monday is the first day of the week. 61 doy : 4 // The week that contains Jan 4th is the first week of the year. 62 } 63 }); 64 65 return en_gb; 66 67 })); 68 No newline at end of file -
new file src/bp-core/js/vendor/moment-locales/en-ie.js
new file mode 100644
- + 1 //! moment.js locale configuration 2 //! locale : English (Ireland) [en-ie] 3 //! author : Chris Cartlidge : https://github.com/chriscartlidge 4 5 ;(function (global, factory) { 6 typeof exports === 'object' && typeof module !== 'undefined' 7 && typeof require === 'function' ? factory(require('../moment')) : 8 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9 factory(global.moment) 10 }(this, function (moment) { 'use strict'; 11 12 13 var en_ie = moment.defineLocale('en-ie', { 14 months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'), 15 monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), 16 weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), 17 weekdaysShort : 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), 18 weekdaysMin : 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), 19 longDateFormat : { 20 LT : 'HH:mm', 21 LTS : 'HH:mm:ss', 22 L : 'DD-MM-YYYY', 23 LL : 'D MMMM YYYY', 24 LLL : 'D MMMM YYYY HH:mm', 25 LLLL : 'dddd D MMMM YYYY HH:mm' 26 }, 27 calendar : { 28 sameDay : '[Today at] LT', 29 nextDay : '[Tomorrow at] LT', 30 nextWeek : 'dddd [at] LT', 31 lastDay : '[Yesterday at] LT', 32 lastWeek : '[Last] dddd [at] LT', 33 sameElse : 'L' 34 }, 35 relativeTime : { 36 future : 'in %s', 37 past : '%s ago', 38 s : 'a few seconds', 39 m : 'a minute', 40 mm : '%d minutes', 41 h : 'an hour', 42 hh : '%d hours', 43 d : 'a day', 44 dd : '%d days', 45 M : 'a month', 46 MM : '%d months', 47 y : 'a year', 48 yy : '%d years' 49 }, 50 ordinalParse: /\d{1,2}(st|nd|rd|th)/, 51 ordinal : function (number) { 52 var b = number % 10, 53 output = (~~(number % 100 / 10) === 1) ? 'th' : 54 (b === 1) ? 'st' : 55 (b === 2) ? 'nd' : 56 (b === 3) ? 'rd' : 'th'; 57 return number + output; 58 }, 59 week : { 60 dow : 1, // Monday is the first day of the week. 61 doy : 4 // The week that contains Jan 4th is the first week of the year. 62 } 63 }); 64 65 return en_ie; 66 67 })); 68 No newline at end of file -
new file src/bp-core/js/vendor/moment-locales/en-nz.js
new file mode 100644
- + 1 //! moment.js locale configuration 2 //! locale : English (New Zealand) [en-nz] 3 //! author : Luke McGregor : https://github.com/lukemcgregor 4 5 ;(function (global, factory) { 6 typeof exports === 'object' && typeof module !== 'undefined' 7 && typeof require === 'function' ? factory(require('../moment')) : 8 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9 factory(global.moment) 10 }(this, function (moment) { 'use strict'; 11 12 13 var en_nz = moment.defineLocale('en-nz', { 14 months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'), 15 monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), 16 weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), 17 weekdaysShort : 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'), 18 weekdaysMin : 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'), 19 longDateFormat : { 20 LT : 'h:mm A', 21 LTS : 'h:mm:ss A', 22 L : 'DD/MM/YYYY', 23 LL : 'D MMMM YYYY', 24 LLL : 'D MMMM YYYY h:mm A', 25 LLLL : 'dddd, D MMMM YYYY h:mm A' 26 }, 27 calendar : { 28 sameDay : '[Today at] LT', 29 nextDay : '[Tomorrow at] LT', 30 nextWeek : 'dddd [at] LT', 31 lastDay : '[Yesterday at] LT', 32 lastWeek : '[Last] dddd [at] LT', 33 sameElse : 'L' 34 }, 35 relativeTime : { 36 future : 'in %s', 37 past : '%s ago', 38 s : 'a few seconds', 39 m : 'a minute', 40 mm : '%d minutes', 41 h : 'an hour', 42 hh : '%d hours', 43 d : 'a day', 44 dd : '%d days', 45 M : 'a month', 46 MM : '%d months', 47 y : 'a year', 48 yy : '%d years' 49 }, 50 ordinalParse: /\d{1,2}(st|nd|rd|th)/, 51 ordinal : function (number) { 52 var b = number % 10, 53 output = (~~(number % 100 / 10) === 1) ? 'th' : 54 (b === 1) ? 'st' : 55 (b === 2) ? 'nd' : 56 (b === 3) ? 'rd' : 'th'; 57 return number + output; 58 }, 59 week : { 60 dow : 1, // Monday is the first day of the week. 61 doy : 4 // The week that contains Jan 4th is the first week of the year. 62 } 63 }); 64 65 return en_nz; 66 67 })); 68 No newline at end of file -
new file src/bp-core/js/vendor/moment-locales/eo.js
new file mode 100644
- + 1 //! moment.js locale configuration 2 //! locale : Esperanto [eo] 3 //! author : Colin Dean : https://github.com/colindean 4 //! komento: Mi estas malcerta se mi korekte traktis akuzativojn en tiu traduko. 5 //! Se ne, bonvolu korekti kaj avizi min por ke mi povas lerni! 6 7 ;(function (global, factory) { 8 typeof exports === 'object' && typeof module !== 'undefined' 9 && typeof require === 'function' ? factory(require('../moment')) : 10 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 11 factory(global.moment) 12 }(this, function (moment) { 'use strict'; 13 14 15 var eo = moment.defineLocale('eo', { 16 months : 'januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro'.split('_'), 17 monthsShort : 'jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec'.split('_'), 18 weekdays : 'Dimanĉo_Lundo_Mardo_Merkredo_Ĵaŭdo_Vendredo_Sabato'.split('_'), 19 weekdaysShort : 'Dim_Lun_Mard_Merk_Ĵaŭ_Ven_Sab'.split('_'), 20 weekdaysMin : 'Di_Lu_Ma_Me_Ĵa_Ve_Sa'.split('_'), 21 longDateFormat : { 22 LT : 'HH:mm', 23 LTS : 'HH:mm:ss', 24 L : 'YYYY-MM-DD', 25 LL : 'D[-an de] MMMM, YYYY', 26 LLL : 'D[-an de] MMMM, YYYY HH:mm', 27 LLLL : 'dddd, [la] D[-an de] MMMM, YYYY HH:mm' 28 }, 29 meridiemParse: /[ap]\.t\.m/i, 30 isPM: function (input) { 31 return input.charAt(0).toLowerCase() === 'p'; 32 }, 33 meridiem : function (hours, minutes, isLower) { 34 if (hours > 11) { 35 return isLower ? 'p.t.m.' : 'P.T.M.'; 36 } else { 37 return isLower ? 'a.t.m.' : 'A.T.M.'; 38 } 39 }, 40 calendar : { 41 sameDay : '[Hodiaŭ je] LT', 42 nextDay : '[Morgaŭ je] LT', 43 nextWeek : 'dddd [je] LT', 44 lastDay : '[Hieraŭ je] LT', 45 lastWeek : '[pasinta] dddd [je] LT', 46 sameElse : 'L' 47 }, 48 relativeTime : { 49 future : 'je %s', 50 past : 'antaŭ %s', 51 s : 'sekundoj', 52 m : 'minuto', 53 mm : '%d minutoj', 54 h : 'horo', 55 hh : '%d horoj', 56 d : 'tago',//ne 'diurno', ĉar estas uzita por proksimumo 57 dd : '%d tagoj', 58 M : 'monato', 59 MM : '%d monatoj', 60 y : 'jaro', 61 yy : '%d jaroj' 62 }, 63 ordinalParse: /\d{1,2}a/, 64 ordinal : '%da', 65 week : { 66 dow : 1, // Monday is the first day of the week. 67 doy : 7 // The week that contains Jan 1st is the first week of the year. 68 } 69 }); 70 71 return eo; 72 73 })); 74 No newline at end of file -
new file src/bp-core/js/vendor/moment-locales/es-do.js
new file mode 100644
- + 1 //! moment.js locale configuration 2 //! locale : Spanish (Dominican Republic) [es-do] 3 4 ;(function (global, factory) { 5 typeof exports === 'object' && typeof module !== 'undefined' 6 && typeof require === 'function' ? factory(require('../moment')) : 7 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 8 factory(global.moment) 9 }(this, function (moment) { 'use strict'; 10 11 12 var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_'), 13 monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'); 14 15 var es_do = moment.defineLocale('es-do', { 16 months : 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'), 17 monthsShort : function (m, format) { 18 if (/-MMM-/.test(format)) { 19 return monthsShort[m.month()]; 20 } else { 21 return monthsShortDot[m.month()]; 22 } 23 }, 24 monthsParseExact : true, 25 weekdays : 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'), 26 weekdaysShort : 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'), 27 weekdaysMin : 'do_lu_ma_mi_ju_vi_sá'.split('_'), 28 weekdaysParseExact : true, 29 longDateFormat : { 30 LT : 'h:mm A', 31 LTS : 'h:mm:ss A', 32 L : 'DD/MM/YYYY', 33 LL : 'D [de] MMMM [de] YYYY', 34 LLL : 'D [de] MMMM [de] YYYY h:mm A', 35 LLLL : 'dddd, D [de] MMMM [de] YYYY h:mm A' 36 }, 37 calendar : { 38 sameDay : function () { 39 return '[hoy a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; 40 }, 41 nextDay : function () { 42 return '[mañana a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; 43 }, 44 nextWeek : function () { 45 return 'dddd [a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; 46 }, 47 lastDay : function () { 48 return '[ayer a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; 49 }, 50 lastWeek : function () { 51 return '[el] dddd [pasado a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; 52 }, 53 sameElse : 'L' 54 }, 55 relativeTime : { 56 future : 'en %s', 57 past : 'hace %s', 58 s : 'unos segundos', 59 m : 'un minuto', 60 mm : '%d minutos', 61 h : 'una hora', 62 hh : '%d horas', 63 d : 'un día', 64 dd : '%d días', 65 M : 'un mes', 66 MM : '%d meses', 67 y : 'un año', 68 yy : '%d años' 69 }, 70 ordinalParse : /\d{1,2}º/, 71 ordinal : '%dº', 72 week : { 73 dow : 1, // Monday is the first day of the week. 74 doy : 4 // The week that contains Jan 4th is the first week of the year. 75 } 76 }); 77 78 return es_do; 79 80 })); 81 No newline at end of file -
new file src/bp-core/js/vendor/moment-locales/es.js
new file mode 100644
- + 1 //! moment.js locale configuration 2 //! locale : Spanish [es] 3 //! author : Julio Napurí : https://github.com/julionc 4 5 ;(function (global, factory) { 6 typeof exports === 'object' && typeof module !== 'undefined' 7 && typeof require === 'function' ? factory(require('../moment')) : 8 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9 factory(global.moment) 10 }(this, function (moment) { 'use strict'; 11 12 13 var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_'), 14 monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'); 15 16 var es = moment.defineLocale('es', { 17 months : 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'), 18 monthsShort : function (m, format) { 19 if (/-MMM-/.test(format)) { 20 return monthsShort[m.month()]; 21 } else { 22 return monthsShortDot[m.month()]; 23 } 24 }, 25 monthsParseExact : true, 26 weekdays : 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'), 27 weekdaysShort : 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'), 28 weekdaysMin : 'do_lu_ma_mi_ju_vi_sá'.split('_'), 29 weekdaysParseExact : true, 30 longDateFormat : { 31 LT : 'H:mm', 32 LTS : 'H:mm:ss', 33 L : 'DD/MM/YYYY', 34 LL : 'D [de] MMMM [de] YYYY', 35 LLL : 'D [de] MMMM [de] YYYY H:mm', 36 LLLL : 'dddd, D [de] MMMM [de] YYYY H:mm' 37 }, 38 calendar : { 39 sameDay : function () { 40 return '[hoy a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; 41 }, 42 nextDay : function () { 43 return '[mañana a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; 44 }, 45 nextWeek : function () { 46 return 'dddd [a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; 47 }, 48 lastDay : function () { 49 return '[ayer a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; 50 }, 51 lastWeek : function () { 52 return '[el] dddd [pasado a la' + ((this.hours() !== 1) ? 's' : '') + '] LT'; 53 }, 54 sameElse : 'L' 55 }, 56 relativeTime : { 57 future : 'en %s', 58 past : 'hace %s', 59 s : 'unos segundos', 60 m : 'un minuto', 61 mm : '%d minutos', 62 h : 'una hora', 63 hh : '%d horas', 64 d : 'un día', 65 dd : '%d días', 66 M : 'un mes', 67 MM : '%d meses', 68 y : 'un año', 69 yy : '%d años' 70 }, 71 ordinalParse : /\d{1,2}º/, 72 ordinal : '%dº', 73 week : { 74 dow : 1, // Monday is the first day of the week. 75 doy : 4 // The week that contains Jan 4th is the first week of the year. 76 } 77 }); 78 79 return es; 80 81 })); 82 No newline at end of file -
new file src/bp-core/js/vendor/moment-locales/et.js
new file mode 100644
- + 1 //! moment.js locale configuration 2 //! locale : Estonian [et] 3 //! author : Henry Kehlmann : https://github.com/madhenry 4 //! improvements : Illimar Tambek : https://github.com/ragulka 5 6 ;(function (global, factory) { 7 typeof exports === 'object' && typeof module !== 'undefined' 8 && typeof require === 'function' ? factory(require('../moment')) : 9 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 10 factory(global.moment) 11 }(this, function (moment) { 'use strict'; 12 13 14 function processRelativeTime(number, withoutSuffix, key, isFuture) { 15 var format = { 16 's' : ['mõne sekundi', 'mõni sekund', 'paar sekundit'], 17 'm' : ['ühe minuti', 'üks minut'], 18 'mm': [number + ' minuti', number + ' minutit'], 19 'h' : ['ühe tunni', 'tund aega', 'üks tund'], 20 'hh': [number + ' tunni', number + ' tundi'], 21 'd' : ['ühe päeva', 'üks päev'], 22 'M' : ['kuu aja', 'kuu aega', 'üks kuu'], 23 'MM': [number + ' kuu', number + ' kuud'], 24 'y' : ['ühe aasta', 'aasta', 'üks aasta'], 25 'yy': [number + ' aasta', number + ' aastat'] 26 }; 27 if (withoutSuffix) { 28 return format[key][2] ? format[key][2] : format[key][1]; 29 } 30 return isFuture ? format[key][0] : format[key][1]; 31 } 32 33 var et = moment.defineLocale('et', { 34 months : 'jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember'.split('_'), 35 monthsShort : 'jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets'.split('_'), 36 weekdays : 'pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev'.split('_'), 37 weekdaysShort : 'P_E_T_K_N_R_L'.split('_'), 38 weekdaysMin : 'P_E_T_K_N_R_L'.split('_'), 39 longDateFormat : { 40 LT : 'H:mm', 41 LTS : 'H:mm:ss', 42 L : 'DD.MM.YYYY', 43 LL : 'D. MMMM YYYY', 44 LLL : 'D. MMMM YYYY H:mm', 45 LLLL : 'dddd, D. MMMM YYYY H:mm' 46 }, 47 calendar : { 48 sameDay : '[Täna,] LT', 49 nextDay : '[Homme,] LT', 50 nextWeek : '[Järgmine] dddd LT', 51 lastDay : '[Eile,] LT', 52 lastWeek : '[Eelmine] dddd LT', 53 sameElse : 'L' 54 }, 55 relativeTime : { 56 future : '%s pärast', 57 past : '%s tagasi', 58 s : processRelativeTime, 59 m : processRelativeTime, 60 mm : processRelativeTime, 61 h : processRelativeTime, 62 hh : processRelativeTime, 63 d : processRelativeTime, 64 dd : '%d päeva', 65 M : processRelativeTime, 66 MM : processRelativeTime, 67 y : processRelativeTime, 68 yy : processRelativeTime 69 }, 70 ordinalParse: /\d{1,2}\./, 71 ordinal : '%d.', 72 week : { 73 dow : 1, // Monday is the first day of the week. 74 doy : 4 // The week that contains Jan 4th is the first week of the year. 75 } 76 }); 77 78 return et; 79 80 })); 81 No newline at end of file -
new file src/bp-core/js/vendor/moment-locales/eu.js
new file mode 100644
- + 1 //! moment.js locale configuration 2 //! locale : Basque [eu] 3 //! author : Eneko Illarramendi : https://github.com/eillarra 4 5 ;(function (global, factory) { 6 typeof exports === 'object' && typeof module !== 'undefined' 7 && typeof require === 'function' ? factory(require('../moment')) : 8 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9 factory(global.moment) 10 }(this, function (moment) { 'use strict'; 11 12 13 var eu = moment.defineLocale('eu', { 14 months : 'urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua'.split('_'), 15 monthsShort : 'urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.'.split('_'), 16 monthsParseExact : true, 17 weekdays : 'igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata'.split('_'), 18 weekdaysShort : 'ig._al._ar._az._og._ol._lr.'.split('_'), 19 weekdaysMin : 'ig_al_ar_az_og_ol_lr'.split('_'), 20 weekdaysParseExact : true, 21 longDateFormat : { 22 LT : 'HH:mm', 23 LTS : 'HH:mm:ss', 24 L : 'YYYY-MM-DD', 25 LL : 'YYYY[ko] MMMM[ren] D[a]', 26 LLL : 'YYYY[ko] MMMM[ren] D[a] HH:mm', 27 LLLL : 'dddd, YYYY[ko] MMMM[ren] D[a] HH:mm', 28 l : 'YYYY-M-D', 29 ll : 'YYYY[ko] MMM D[a]', 30 lll : 'YYYY[ko] MMM D[a] HH:mm', 31 llll : 'ddd, YYYY[ko] MMM D[a] HH:mm' 32 }, 33 calendar : { 34 sameDay : '[gaur] LT[etan]', 35 nextDay : '[bihar] LT[etan]', 36 nextWeek : 'dddd LT[etan]', 37 lastDay : '[atzo] LT[etan]', 38 lastWeek : '[aurreko] dddd LT[etan]', 39 sameElse : 'L' 40 }, 41 relativeTime : { 42 future : '%s barru', 43 past : 'duela %s', 44 s : 'segundo batzuk', 45 m : 'minutu bat', 46 mm : '%d minutu', 47 h : 'ordu bat', 48 hh : '%d ordu', 49 d : 'egun bat', 50 dd : '%d egun', 51 M : 'hilabete bat', 52 MM : '%d hilabete', 53 y : 'urte bat', 54 yy : '%d urte' 55 }, 56 ordinalParse: /\d{1,2}\./, 57 ordinal : '%d.', 58 week : { 59 dow : 1, // Monday is the first day of the week. 60 doy : 7 // The week that contains Jan 1st is the first week of the year. 61 } 62 }); 63 64 return eu; 65 66 })); 67 No newline at end of file -
new file src/bp-core/js/vendor/moment-locales/fa.js
new file mode 100644
- + 1 //! moment.js locale configuration 2 //! locale : Persian [fa] 3 //! author : Ebrahim Byagowi : https://github.com/ebraminio 4 5 ;(function (global, factory) { 6 typeof exports === 'object' && typeof module !== 'undefined' 7 && typeof require === 'function' ? factory(require('../moment')) : 8 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9 factory(global.moment) 10 }(this, function (moment) { 'use strict'; 11 12 13 var symbolMap = { 14 '1': '۱', 15 '2': '۲', 16 '3': '۳', 17 '4': '۴', 18 '5': '۵', 19 '6': '۶', 20 '7': '۷', 21 '8': '۸', 22 '9': '۹', 23 '0': '۰' 24 }, numberMap = { 25 '۱': '1', 26 '۲': '2', 27 '۳': '3', 28 '۴': '4', 29 '۵': '5', 30 '۶': '6', 31 '۷': '7', 32 '۸': '8', 33 '۹': '9', 34 '۰': '0' 35 }; 36 37 var fa = moment.defineLocale('fa', { 38 months : 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split('_'), 39 monthsShort : 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split('_'), 40 weekdays : 'یک\u200cشنبه_دوشنبه_سه\u200cشنبه_چهارشنبه_پنج\u200cشنبه_جمعه_شنبه'.split('_'), 41 weekdaysShort : 'یک\u200cشنبه_دوشنبه_سه\u200cشنبه_چهارشنبه_پنج\u200cشنبه_جمعه_شنبه'.split('_'), 42 weekdaysMin : 'ی_د_س_چ_پ_ج_ش'.split('_'), 43 weekdaysParseExact : true, 44 longDateFormat : { 45 LT : 'HH:mm', 46 LTS : 'HH:mm:ss', 47 L : 'DD/MM/YYYY', 48 LL : 'D MMMM YYYY', 49 LLL : 'D MMMM YYYY HH:mm', 50 LLLL : 'dddd, D MMMM YYYY HH:mm' 51 }, 52 meridiemParse: /قبل از ظهر|بعد از ظهر/, 53 isPM: function (input) { 54 return /بعد از ظهر/.test(input); 55 }, 56 meridiem : function (hour, minute, isLower) { 57 if (hour < 12) { 58 return 'قبل از ظهر'; 59 } else { 60 return 'بعد از ظهر'; 61 } 62 }, 63 calendar : { 64 sameDay : '[امروز ساعت] LT', 65 nextDay : '[فردا ساعت] LT', 66 nextWeek : 'dddd [ساعت] LT', 67 lastDay : '[دیروز ساعت] LT', 68 lastWeek : 'dddd [پیش] [ساعت] LT', 69 sameElse : 'L' 70 }, 71 relativeTime : { 72 future : 'در %s', 73 past : '%s پیش', 74 s : 'چندین ثانیه', 75 m : 'یک دقیقه', 76 mm : '%d دقیقه', 77 h : 'یک ساعت', 78 hh : '%d ساعت', 79 d : 'یک روز', 80 dd : '%d روز', 81 M : 'یک ماه', 82 MM : '%d ماه', 83 y : 'یک سال', 84 yy : '%d سال' 85 }, 86 preparse: function (string) { 87 return string.replace(/[۰-۹]/g, function (match) { 88 return numberMap[match]; 89 }).replace(/،/g, ','); 90 }, 91 postformat: function (string) { 92 return string.replace(/\d/g, function (match) { 93 return symbolMap[match]; 94 }).replace(/,/g, '،'); 95 }, 96 ordinalParse: /\d{1,2}م/, 97 ordinal : '%dم', 98 week : { 99 dow : 6, // Saturday is the first day of the week. 100 doy : 12 // The week that contains Jan 1st is the first week of the year. 101 } 102 }); 103 104 return fa; 105 106 })); 107 No newline at end of file -
new file src/bp-core/js/vendor/moment-locales/fi.js
new file mode 100644
- + 1 //! moment.js locale configuration 2 //! locale : Finnish [fi] 3 //! author : Tarmo Aidantausta : https://github.com/bleadof 4 5 ;(function (global, factory) { 6 typeof exports === 'object' && typeof module !== 'undefined' 7 && typeof require === 'function' ? factory(require('../moment')) : 8 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9 factory(global.moment) 10 }(this, function (moment) { 'use strict'; 11 12 13 var numbersPast = 'nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän'.split(' '), 14 numbersFuture = [ 15 'nolla', 'yhden', 'kahden', 'kolmen', 'neljän', 'viiden', 'kuuden', 16 numbersPast[7], numbersPast[8], numbersPast[9] 17 ]; 18 function translate(number, withoutSuffix, key, isFuture) { 19 var result = ''; 20 switch (key) { 21 case 's': 22 return isFuture ? 'muutaman sekunnin' : 'muutama sekunti'; 23 case 'm': 24 return isFuture ? 'minuutin' : 'minuutti'; 25 case 'mm': 26 result = isFuture ? 'minuutin' : 'minuuttia'; 27 break; 28 case 'h': 29 return isFuture ? 'tunnin' : 'tunti'; 30 case 'hh': 31 result = isFuture ? 'tunnin' : 'tuntia'; 32 break; 33 case 'd': 34 return isFuture ? 'päivän' : 'päivä'; 35 case 'dd': 36 result = isFuture ? 'päivän' : 'päivää'; 37 break; 38 case 'M': 39 return isFuture ? 'kuukauden' : 'kuukausi'; 40 case 'MM': 41 result = isFuture ? 'kuukauden' : 'kuukautta'; 42 break; 43 case 'y': 44 return isFuture ? 'vuoden' : 'vuosi'; 45 case 'yy': 46 result = isFuture ? 'vuoden' : 'vuotta'; 47 break; 48 } 49 result = verbalNumber(number, isFuture) + ' ' + result; 50 return result; 51 } 52 function verbalNumber(number, isFuture) { 53 return number < 10 ? (isFuture ? numbersFuture[number] : numbersPast[number]) : number; 54 } 55 56 var fi = moment.defineLocale('fi', { 57 months : 'tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu'.split('_'), 58 monthsShort : 'tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu'.split('_'), 59 weekdays : 'sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai'.split('_'), 60 weekdaysShort : 'su_ma_ti_ke_to_pe_la'.split('_'), 61 weekdaysMin : 'su_ma_ti_ke_to_pe_la'.split('_'), 62 longDateFormat : { 63 LT : 'HH.mm', 64 LTS : 'HH.mm.ss', 65 L : 'DD.MM.YYYY', 66 LL : 'Do MMMM[ta] YYYY', 67 LLL : 'Do MMMM[ta] YYYY, [klo] HH.mm', 68 LLLL : 'dddd, Do MMMM[ta] YYYY, [klo] HH.mm', 69 l : 'D.M.YYYY', 70 ll : 'Do MMM YYYY', 71 lll : 'Do MMM YYYY, [klo] HH.mm', 72 llll : 'ddd, Do MMM YYYY, [klo] HH.mm' 73 }, 74 calendar : { 75 sameDay : '[tänään] [klo] LT', 76 nextDay : '[huomenna] [klo] LT', 77 nextWeek : 'dddd [klo] LT', 78 lastDay : '[eilen] [klo] LT', 79 lastWeek : '[viime] dddd[na] [klo] LT', 80 sameElse : 'L' 81 }, 82 relativeTime : { 83 future : '%s päästä', 84 past : '%s sitten', 85 s : translate, 86 m : translate, 87 mm : translate, 88 h : translate, 89 hh : translate, 90 d : translate, 91 dd : translate, 92 M : translate, 93 MM : translate, 94 y : translate, 95 yy : translate 96 }, 97 ordinalParse: /\d{1,2}\./, 98 ordinal : '%d.', 99 week : { 100 dow : 1, // Monday is the first day of the week. 101 doy : 4 // The week that contains Jan 4th is the first week of the year. 102 } 103 }); 104 105 return fi; 106 107 })); 108 No newline at end of file -
new file src/bp-core/js/vendor/moment-locales/fo.js
new file mode 100644
- + 1 //! moment.js locale configuration 2 //! locale : Faroese [fo] 3 //! author : Ragnar Johannesen : https://github.com/ragnar123 4 5 ;(function (global, factory) { 6 typeof exports === 'object' && typeof module !== 'undefined' 7 && typeof require === 'function' ? factory(require('../moment')) : 8 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9 factory(global.moment) 10 }(this, function (moment) { 'use strict'; 11 12 13 var fo = moment.defineLocale('fo', { 14 months : 'januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember'.split('_'), 15 monthsShort : 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'), 16 weekdays : 'sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur'.split('_'), 17 weekdaysShort : 'sun_mán_týs_mik_hós_frí_ley'.split('_'), 18 weekdaysMin : 'su_má_tý_mi_hó_fr_le'.split('_'), 19 longDateFormat : { 20 LT : 'HH:mm', 21 LTS : 'HH:mm:ss', 22 L : 'DD/MM/YYYY', 23 LL : 'D MMMM YYYY', 24 LLL : 'D MMMM YYYY HH:mm', 25 LLLL : 'dddd D. MMMM, YYYY HH:mm' 26 }, 27 calendar : { 28 sameDay : '[Í dag kl.] LT', 29 nextDay : '[Í morgin kl.] LT', 30 nextWeek : 'dddd [kl.] LT', 31 lastDay : '[Í gjár kl.] LT', 32 lastWeek : '[síðstu] dddd [kl] LT', 33 sameElse : 'L' 34 }, 35 relativeTime : { 36 future : 'um %s', 37 past : '%s síðani', 38 s : 'fá sekund', 39 m : 'ein minutt', 40 mm : '%d minuttir', 41 h : 'ein tími', 42 hh : '%d tímar', 43 d : 'ein dagur', 44 dd : '%d dagar', 45 M : 'ein mánaði', 46 MM : '%d mánaðir', 47 y : 'eitt ár', 48 yy : '%d ár' 49 }, 50 ordinalParse: /\d{1,2}\./, 51 ordinal : '%d.', 52 week : { 53 dow : 1, // Monday is the first day of the week. 54 doy : 4 // The week that contains Jan 4th is the first week of the year. 55 } 56 }); 57 58 return fo; 59 60 })); 61 No newline at end of file -
new file src/bp-core/js/vendor/moment-locales/fr-ca.js
new file mode 100644
- + 1 //! moment.js locale configuration 2 //! locale : French (Canada) [fr-ca] 3 //! author : Jonathan Abourbih : https://github.com/jonbca 4 5 ;(function (global, factory) { 6 typeof exports === 'object' && typeof module !== 'undefined' 7 && typeof require === 'function' ? factory(require('../moment')) : 8 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9 factory(global.moment) 10 }(this, function (moment) { 'use strict'; 11 12 13 var fr_ca = moment.defineLocale('fr-ca', { 14 months : 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split('_'), 15 monthsShort : 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split('_'), 16 monthsParseExact : true, 17 weekdays : 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'), 18 weekdaysShort : 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'), 19 weekdaysMin : 'Di_Lu_Ma_Me_Je_Ve_Sa'.split('_'), 20 weekdaysParseExact : true, 21 longDateFormat : { 22 LT : 'HH:mm', 23 LTS : 'HH:mm:ss', 24 L : 'YYYY-MM-DD', 25 LL : 'D MMMM YYYY', 26 LLL : 'D MMMM YYYY HH:mm', 27 LLLL : 'dddd D MMMM YYYY HH:mm' 28 }, 29 calendar : { 30 sameDay: '[Aujourd\'hui à] LT', 31 nextDay: '[Demain à] LT', 32 nextWeek: 'dddd [à] LT', 33 lastDay: '[Hier à] LT', 34 lastWeek: 'dddd [dernier à] LT', 35 sameElse: 'L' 36 }, 37 relativeTime : { 38 future : 'dans %s', 39 past : 'il y a %s', 40 s : 'quelques secondes', 41 m : 'une minute', 42 mm : '%d minutes', 43 h : 'une heure', 44 hh : '%d heures', 45 d : 'un jour', 46 dd : '%d jours', 47 M : 'un mois', 48 MM : '%d mois', 49 y : 'un an', 50 yy : '%d ans' 51 }, 52 ordinalParse: /\d{1,2}(er|e)/, 53 ordinal : function (number) { 54 return number + (number === 1 ? 'er' : 'e'); 55 } 56 }); 57 58 return fr_ca; 59 60 })); 61 No newline at end of file -
new file src/bp-core/js/vendor/moment-locales/fr-ch.js
new file mode 100644
- + 1 //! moment.js locale configuration 2 //! locale : French (Switzerland) [fr-ch] 3 //! author : Gaspard Bucher : https://github.com/gaspard 4 5 ;(function (global, factory) { 6 typeof exports === 'object' && typeof module !== 'undefined' 7 && typeof require === 'function' ? factory(require('../moment')) : 8 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9 factory(global.moment) 10 }(this, function (moment) { 'use strict'; 11 12 13 var fr_ch = moment.defineLocale('fr-ch', { 14 months : 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split('_'), 15 monthsShort : 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split('_'), 16 monthsParseExact : true, 17 weekdays : 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'), 18 weekdaysShort : 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'), 19 weekdaysMin : 'Di_Lu_Ma_Me_Je_Ve_Sa'.split('_'), 20 weekdaysParseExact : true, 21 longDateFormat : { 22 LT : 'HH:mm', 23 LTS : 'HH:mm:ss', 24 L : 'DD.MM.YYYY', 25 LL : 'D MMMM YYYY', 26 LLL : 'D MMMM YYYY HH:mm', 27 LLLL : 'dddd D MMMM YYYY HH:mm' 28 }, 29 calendar : { 30 sameDay: '[Aujourd\'hui à] LT', 31 nextDay: '[Demain à] LT', 32 nextWeek: 'dddd [à] LT', 33 lastDay: '[Hier à] LT', 34 lastWeek: 'dddd [dernier à] LT', 35 sameElse: 'L' 36 }, 37 relativeTime : { 38 future : 'dans %s', 39 past : 'il y a %s', 40 s : 'quelques secondes', 41 m : 'une minute', 42 mm : '%d minutes', 43 h : 'une heure', 44 hh : '%d heures', 45 d : 'un jour', 46 dd : '%d jours', 47 M : 'un mois', 48 MM : '%d mois', 49 y : 'un an', 50 yy : '%d ans' 51 }, 52 ordinalParse: /\d{1,2}(er|e)/, 53 ordinal : function (number) { 54 return number + (number === 1 ? 'er' : 'e'); 55 }, 56 week : { 57 dow : 1, // Monday is the first day of the week. 58 doy : 4 // The week that contains Jan 4th is the first week of the year. 59 } 60 }); 61 62 return fr_ch; 63 64 })); 65 No newline at end of file -
new file src/bp-core/js/vendor/moment-locales/fr.js
new file mode 100644
- + 1 //! moment.js locale configuration 2 //! locale : French [fr] 3 //! author : John Fischer : https://github.com/jfroffice 4 5 ;(function (global, factory) { 6 typeof exports === 'object' && typeof module !== 'undefined' 7 && typeof require === 'function' ? factory(require('../moment')) : 8 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9 factory(global.moment) 10 }(this, function (moment) { 'use strict'; 11 12 13 var fr = moment.defineLocale('fr', { 14 months : 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split('_'), 15 monthsShort : 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split('_'), 16 monthsParseExact : true, 17 weekdays : 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'), 18 weekdaysShort : 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'), 19 weekdaysMin : 'Di_Lu_Ma_Me_Je_Ve_Sa'.split('_'), 20 weekdaysParseExact : true, 21 longDateFormat : { 22 LT : 'HH:mm', 23 LTS : 'HH:mm:ss', 24 L : 'DD/MM/YYYY', 25 LL : 'D MMMM YYYY', 26 LLL : 'D MMMM YYYY HH:mm', 27 LLLL : 'dddd D MMMM YYYY HH:mm' 28 }, 29 calendar : { 30 sameDay: '[Aujourd\'hui à] LT', 31 nextDay: '[Demain à] LT', 32 nextWeek: 'dddd [à] LT', 33 lastDay: '[Hier à] LT', 34 lastWeek: 'dddd [dernier à] LT', 35 sameElse: 'L' 36 }, 37 relativeTime : { 38 future : 'dans %s', 39 past : 'il y a %s', 40 s : 'quelques secondes', 41 m : 'une minute', 42 mm : '%d minutes', 43 h : 'une heure', 44 hh : '%d heures', 45 d : 'un jour', 46 dd : '%d jours', 47 M : 'un mois', 48 MM : '%d mois', 49 y : 'un an', 50 yy : '%d ans' 51 }, 52 ordinalParse: /\d{1,2}(er|)/, 53 ordinal : function (number) { 54 return number + (number === 1 ? 'er' : ''); 55 }, 56 week : { 57 dow : 1, // Monday is the first day of the week. 58 doy : 4 // The week that contains Jan 4th is the first week of the year. 59 } 60 }); 61 62 return fr; 63 64 })); 65 No newline at end of file -
new file src/bp-core/js/vendor/moment-locales/fy.js
new file mode 100644
- + 1 //! moment.js locale configuration 2 //! locale : Frisian [fy] 3 //! author : Robin van der Vliet : https://github.com/robin0van0der0v 4 5 ;(function (global, factory) { 6 typeof exports === 'object' && typeof module !== 'undefined' 7 && typeof require === 'function' ? factory(require('../moment')) : 8 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9 factory(global.moment) 10 }(this, function (moment) { 'use strict'; 11 12 13 var monthsShortWithDots = 'jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.'.split('_'), 14 monthsShortWithoutDots = 'jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'); 15 16 var fy = moment.defineLocale('fy', { 17 months : 'jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber'.split('_'), 18 monthsShort : function (m, format) { 19 if (/-MMM-/.test(format)) { 20 return monthsShortWithoutDots[m.month()]; 21 } else { 22 return monthsShortWithDots[m.month()]; 23 } 24 }, 25 monthsParseExact : true, 26 weekdays : 'snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon'.split('_'), 27 weekdaysShort : 'si._mo._ti._wo._to._fr._so.'.split('_'), 28 weekdaysMin : 'Si_Mo_Ti_Wo_To_Fr_So'.split('_'), 29 weekdaysParseExact : true, 30 longDateFormat : { 31 LT : 'HH:mm', 32 LTS : 'HH:mm:ss', 33 L : 'DD-MM-YYYY', 34 LL : 'D MMMM YYYY', 35 LLL : 'D MMMM YYYY HH:mm', 36 LLLL : 'dddd D MMMM YYYY HH:mm' 37 }, 38 calendar : { 39 sameDay: '[hjoed om] LT', 40 nextDay: '[moarn om] LT', 41 nextWeek: 'dddd [om] LT', 42 lastDay: '[juster om] LT', 43 lastWeek: '[ôfrûne] dddd [om] LT', 44 sameElse: 'L' 45 }, 46 relativeTime : { 47 future : 'oer %s', 48 past : '%s lyn', 49 s : 'in pear sekonden', 50 m : 'ien minút', 51 mm : '%d minuten', 52 h : 'ien oere', 53 hh : '%d oeren', 54 d : 'ien dei', 55 dd : '%d dagen', 56 M : 'ien moanne', 57 MM : '%d moannen', 58 y : 'ien jier', 59 yy : '%d jierren' 60 }, 61 ordinalParse: /\d{1,2}(ste|de)/, 62 ordinal : function (number) { 63 return number + ((number === 1 || number === 8 || number >= 20) ? 'ste' : 'de'); 64 }, 65 week : { 66 dow : 1, // Monday is the first day of the week. 67 doy : 4 // The week that contains Jan 4th is the first week of the year. 68 } 69 }); 70 71 return fy; 72 73 })); 74 No newline at end of file -
new file src/bp-core/js/vendor/moment-locales/gd.js
new file mode 100644
- + 1 //! moment.js locale configuration 2 //! locale : Scottish Gaelic [gd] 3 //! author : Jon Ashdown : https://github.com/jonashdown 4 5 ;(function (global, factory) { 6 typeof exports === 'object' && typeof module !== 'undefined' 7 && typeof require === 'function' ? factory(require('../moment')) : 8 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9 factory(global.moment) 10 }(this, function (moment) { 'use strict'; 11 12 13 var months = [ 14 'Am Faoilleach', 'An Gearran', 'Am Màrt', 'An Giblean', 'An Cèitean', 'An t-Ògmhios', 'An t-Iuchar', 'An Lùnastal', 'An t-Sultain', 'An Dàmhair', 'An t-Samhain', 'An Dùbhlachd' 15 ]; 16 17 var monthsShort = ['Faoi', 'Gear', 'Màrt', 'Gibl', 'Cèit', 'Ògmh', 'Iuch', 'Lùn', 'Sult', 'Dàmh', 'Samh', 'Dùbh']; 18 19 var weekdays = ['Didòmhnaich', 'Diluain', 'Dimàirt', 'Diciadain', 'Diardaoin', 'Dihaoine', 'Disathairne']; 20 21 var weekdaysShort = ['Did', 'Dil', 'Dim', 'Dic', 'Dia', 'Dih', 'Dis']; 22 23 var weekdaysMin = ['Dò', 'Lu', 'Mà', 'Ci', 'Ar', 'Ha', 'Sa']; 24 25 var gd = moment.defineLocale('gd', { 26 months : months, 27 monthsShort : monthsShort, 28 monthsParseExact : true, 29 weekdays : weekdays, 30 weekdaysShort : weekdaysShort, 31 weekdaysMin : weekdaysMin, 32 longDateFormat : { 33 LT : 'HH:mm', 34 LTS : 'HH:mm:ss', 35 L : 'DD/MM/YYYY', 36 LL : 'D MMMM YYYY', 37 LLL : 'D MMMM YYYY HH:mm', 38 LLLL : 'dddd, D MMMM YYYY HH:mm' 39 }, 40 calendar : { 41 sameDay : '[An-diugh aig] LT', 42 nextDay : '[A-màireach aig] LT', 43 nextWeek : 'dddd [aig] LT', 44 lastDay : '[An-dè aig] LT', 45 lastWeek : 'dddd [seo chaidh] [aig] LT', 46 sameElse : 'L' 47 }, 48 relativeTime : { 49 future : 'ann an %s', 50 past : 'bho chionn %s', 51 s : 'beagan diogan', 52 m : 'mionaid', 53 mm : '%d mionaidean', 54 h : 'uair', 55 hh : '%d uairean', 56 d : 'latha', 57 dd : '%d latha', 58 M : 'mìos', 59 MM : '%d mìosan', 60 y : 'bliadhna', 61 yy : '%d bliadhna' 62 }, 63 ordinalParse : /\d{1,2}(d|na|mh)/, 64 ordinal : function (number) { 65 var output = number === 1 ? 'd' : number % 10 === 2 ? 'na' : 'mh'; 66 return number + output; 67 }, 68 week : { 69 dow : 1, // Monday is the first day of the week. 70 doy : 4 // The week that contains Jan 4th is the first week of the year. 71 } 72 }); 73 74 return gd; 75 76 })); 77 No newline at end of file -
new file src/bp-core/js/vendor/moment-locales/gl.js
new file mode 100644
- + 1 //! moment.js locale configuration 2 //! locale : Galician [gl] 3 //! author : Juan G. Hurtado : https://github.com/juanghurtado 4 5 ;(function (global, factory) { 6 typeof exports === 'object' && typeof module !== 'undefined' 7 && typeof require === 'function' ? factory(require('../moment')) : 8 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9 factory(global.moment) 10 }(this, function (moment) { 'use strict'; 11 12 13 var gl = moment.defineLocale('gl', { 14 months : 'xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro'.split('_'), 15 monthsShort : 'xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.'.split('_'), 16 monthsParseExact: true, 17 weekdays : 'domingo_luns_martes_mércores_xoves_venres_sábado'.split('_'), 18 weekdaysShort : 'dom._lun._mar._mér._xov._ven._sáb.'.split('_'), 19 weekdaysMin : 'do_lu_ma_mé_xo_ve_sá'.split('_'), 20 weekdaysParseExact : true, 21 longDateFormat : { 22 LT : 'H:mm', 23 LTS : 'H:mm:ss', 24 L : 'DD/MM/YYYY', 25 LL : 'D [de] MMMM [de] YYYY', 26 LLL : 'D [de] MMMM [de] YYYY H:mm', 27 LLLL : 'dddd, D [de] MMMM [de] YYYY H:mm' 28 }, 29 calendar : { 30 sameDay : function () { 31 return '[hoxe ' + ((this.hours() !== 1) ? 'ás' : 'á') + '] LT'; 32 }, 33 nextDay : function () { 34 return '[mañá ' + ((this.hours() !== 1) ? 'ás' : 'á') + '] LT'; 35 }, 36 nextWeek : function () { 37 return 'dddd [' + ((this.hours() !== 1) ? 'ás' : 'a') + '] LT'; 38 }, 39 lastDay : function () { 40 return '[onte ' + ((this.hours() !== 1) ? 'á' : 'a') + '] LT'; 41 }, 42 lastWeek : function () { 43 return '[o] dddd [pasado ' + ((this.hours() !== 1) ? 'ás' : 'a') + '] LT'; 44 }, 45 sameElse : 'L' 46 }, 47 relativeTime : { 48 future : function (str) { 49 if (str.indexOf('un') === 0) { 50 return 'n' + str; 51 } 52 return 'en ' + str; 53 }, 54 past : 'hai %s', 55 s : 'uns segundos', 56 m : 'un minuto', 57 mm : '%d minutos', 58 h : 'unha hora', 59 hh : '%d horas', 60 d : 'un día', 61 dd : '%d días', 62 M : 'un mes', 63 MM : '%d meses', 64 y : 'un ano', 65 yy : '%d anos' 66 }, 67 ordinalParse : /\d{1,2}º/, 68 ordinal : '%dº', 69 week : { 70 dow : 1, // Monday is the first day of the week. 71 doy : 4 // The week that contains Jan 4th is the first week of the year. 72 } 73 }); 74 75 return gl; 76 77 })); 78 No newline at end of file -
new file src/bp-core/js/vendor/moment-locales/he.js
new file mode 100644
- + 1 //! moment.js locale configuration 2 //! locale : Hebrew [he] 3 //! author : Tomer Cohen : https://github.com/tomer 4 //! author : Moshe Simantov : https://github.com/DevelopmentIL 5 //! author : Tal Ater : https://github.com/TalAter 6 7 ;(function (global, factory) { 8 typeof exports === 'object' && typeof module !== 'undefined' 9 && typeof require === 'function' ? factory(require('../moment')) : 10 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 11 factory(global.moment) 12 }(this, function (moment) { 'use strict'; 13 14 15 var he = moment.defineLocale('he', { 16 months : 'ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר'.split('_'), 17 monthsShort : 'ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳'.split('_'), 18 weekdays : 'ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת'.split('_'), 19 weekdaysShort : 'א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳'.split('_'), 20 weekdaysMin : 'א_ב_ג_ד_ה_ו_ש'.split('_'), 21 longDateFormat : { 22 LT : 'HH:mm', 23 LTS : 'HH:mm:ss', 24 L : 'DD/MM/YYYY', 25 LL : 'D [ב]MMMM YYYY', 26 LLL : 'D [ב]MMMM YYYY HH:mm', 27 LLLL : 'dddd, D [ב]MMMM YYYY HH:mm', 28 l : 'D/M/YYYY', 29 ll : 'D MMM YYYY', 30 lll : 'D MMM YYYY HH:mm', 31 llll : 'ddd, D MMM YYYY HH:mm' 32 }, 33 calendar : { 34 sameDay : '[היום ב־]LT', 35 nextDay : '[מחר ב־]LT', 36 nextWeek : 'dddd [בשעה] LT', 37 lastDay : '[אתמול ב־]LT', 38 lastWeek : '[ביום] dddd [האחרון בשעה] LT', 39 sameElse : 'L' 40 }, 41 relativeTime : { 42 future : 'בעוד %s', 43 past : 'לפני %s', 44 s : 'מספר שניות', 45 m : 'דקה', 46 mm : '%d דקות', 47 h : 'שעה', 48 hh : function (number) { 49 if (number === 2) { 50 return 'שעתיים'; 51 } 52 return number + ' שעות'; 53 }, 54 d : 'יום', 55 dd : function (number) { 56 if (number === 2) { 57 return 'יומיים'; 58 } 59 return number + ' ימים'; 60 }, 61 M : 'חודש', 62 MM : function (number) { 63 if (number === 2) { 64 return 'חודשיים'; 65 } 66 return number + ' חודשים'; 67 }, 68 y : 'שנה', 69 yy : function (number) { 70 if (number === 2) { 71 return 'שנתיים'; 72 } else if (number % 10 === 0 && number !== 10) { 73 return number + ' שנה'; 74 } 75 return number + ' שנים'; 76 } 77 }, 78 meridiemParse: /אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i, 79 isPM : function (input) { 80 return /^(אחה"צ|אחרי הצהריים|בערב)$/.test(input); 81 }, 82 meridiem : function (hour, minute, isLower) { 83 if (hour < 5) { 84 return 'לפנות בוקר'; 85 } else if (hour < 10) { 86 return 'בבוקר'; 87 } else if (hour < 12) { 88 return isLower ? 'לפנה"צ' : 'לפני הצהריים'; 89 } else if (hour < 18) { 90 return isLower ? 'אחה"צ' : 'אחרי הצהריים'; 91 } else { 92 return 'בערב'; 93 } 94 } 95 }); 96 97 return he; 98 99 })); 100 No newline at end of file -
new file src/bp-core/js/vendor/moment-locales/hi.js
new file mode 100644
- + 1 //! moment.js locale configuration 2 //! locale : Hindi [hi] 3 //! author : Mayank Singhal : https://github.com/mayanksinghal 4 5 ;(function (global, factory) { 6 typeof exports === 'object' && typeof module !== 'undefined' 7 && typeof require === 'function' ? factory(require('../moment')) : 8 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9 factory(global.moment) 10 }(this, function (moment) { 'use strict'; 11 12 13 var symbolMap = { 14 '1': '१', 15 '2': '२', 16 '3': '३', 17 '4': '४', 18 '5': '५', 19 '6': '६', 20 '7': '७', 21 '8': '८', 22 '9': '९', 23 '0': '०' 24 }, 25 numberMap = { 26 '१': '1', 27 '२': '2', 28 '३': '3', 29 '४': '4', 30 '५': '5', 31 '६': '6', 32 '७': '7', 33 '८': '8', 34 '९': '9', 35 '०': '0' 36 }; 37 38 var hi = moment.defineLocale('hi', { 39 months : 'जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर'.split('_'), 40 monthsShort : 'जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.'.split('_'), 41 monthsParseExact: true, 42 weekdays : 'रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'), 43 weekdaysShort : 'रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि'.split('_'), 44 weekdaysMin : 'र_सो_मं_बु_गु_शु_श'.split('_'), 45 longDateFormat : { 46 LT : 'A h:mm बजे', 47 LTS : 'A h:mm:ss बजे', 48 L : 'DD/MM/YYYY', 49 LL : 'D MMMM YYYY', 50 LLL : 'D MMMM YYYY, A h:mm बजे', 51 LLLL : 'dddd, D MMMM YYYY, A h:mm बजे' 52 }, 53 calendar : { 54 sameDay : '[आज] LT', 55 nextDay : '[कल] LT', 56 nextWeek : 'dddd, LT', 57 lastDay : '[कल] LT', 58 lastWeek : '[पिछले] dddd, LT', 59 sameElse : 'L' 60 }, 61 relativeTime : { 62 future : '%s में', 63 past : '%s पहले', 64 s : 'कुछ ही क्षण', 65 m : 'एक मिनट', 66 mm : '%d मिनट', 67 h : 'एक घंटा', 68 hh : '%d घंटे', 69 d : 'एक दिन', 70 dd : '%d दिन', 71 M : 'एक महीने', 72 MM : '%d महीने', 73 y : 'एक वर्ष', 74 yy : '%d वर्ष' 75 }, 76 preparse: function (string) { 77 return string.replace(/[१२३४५६७८९०]/g, function (match) { 78 return numberMap[match]; 79 }); 80 }, 81 postformat: function (string) { 82 return string.replace(/\d/g, function (match) { 83 return symbolMap[match]; 84 }); 85 }, 86 // Hindi notation for meridiems are quite fuzzy in practice. While there exists 87 // a rigid notion of a 'Pahar' it is not used as rigidly in modern Hindi. 88 meridiemParse: /रात|सुबह|दोपहर|शाम/, 89 meridiemHour : function (hour, meridiem) { 90 if (hour === 12) { 91 hour = 0; 92 } 93 if (meridiem === 'रात') { 94 return hour < 4 ? hour : hour + 12; 95 } else if (meridiem === 'सुबह') { 96 return hour; 97 } else if (meridiem === 'दोपहर') { 98 return hour >= 10 ? hour : hour + 12; 99 } else if (meridiem === 'शाम') { 100 return hour + 12; 101 } 102 }, 103 meridiem : function (hour, minute, isLower) { 104 if (hour < 4) { 105 return 'रात'; 106 } else if (hour < 10) { 107 return 'सुबह'; 108 } else if (hour < 17) { 109 return 'दोपहर'; 110 } else if (hour < 20) { 111 return 'शाम'; 112 } else { 113 return 'रात'; 114 } 115 }, 116 week : { 117 dow : 0, // Sunday is the first day of the week. 118 doy : 6 // The week that contains Jan 1st is the first week of the year. 119 } 120 }); 121 122 return hi; 123 124 })); 125 No newline at end of file -
new file src/bp-core/js/vendor/moment-locales/hr.js
new file mode 100644
- + 1 //! moment.js locale configuration 2 //! locale : Croatian [hr] 3 //! author : Bojan Marković : https://github.com/bmarkovic 4 5 ;(function (global, factory) { 6 typeof exports === 'object' && typeof module !== 'undefined' 7 && typeof require === 'function' ? factory(require('../moment')) : 8 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9 factory(global.moment) 10 }(this, function (moment) { 'use strict'; 11 12 13 function translate(number, withoutSuffix, key) { 14 var result = number + ' '; 15 switch (key) { 16 case 'm': 17 return withoutSuffix ? 'jedna minuta' : 'jedne minute'; 18 case 'mm': 19 if (number === 1) { 20 result += 'minuta'; 21 } else if (number === 2 || number === 3 || number === 4) { 22 result += 'minute'; 23 } else { 24 result += 'minuta'; 25 } 26 return result; 27 case 'h': 28 return withoutSuffix ? 'jedan sat' : 'jednog sata'; 29 case 'hh': 30 if (number === 1) { 31 result += 'sat'; 32 } else if (number === 2 || number === 3 || number === 4) { 33 result += 'sata'; 34 } else { 35 result += 'sati'; 36 } 37 return result; 38 case 'dd': 39 if (number === 1) { 40 result += 'dan'; 41 } else { 42 result += 'dana'; 43 } 44 return result; 45 case 'MM': 46 if (number === 1) { 47 result += 'mjesec'; 48 } else if (number === 2 || number === 3 || number === 4) { 49 result += 'mjeseca'; 50 } else { 51 result += 'mjeseci'; 52 } 53 return result; 54 case 'yy': 55 if (number === 1) { 56 result += 'godina'; 57 } else if (number === 2 || number === 3 || number === 4) { 58 result += 'godine'; 59 } else { 60 result += 'godina'; 61 } 62 return result; 63 } 64 } 65 66 var hr = moment.defineLocale('hr', { 67 months : { 68 format: 'siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca'.split('_'), 69 standalone: 'siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac'.split('_') 70 }, 71 monthsShort : 'sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.'.split('_'), 72 monthsParseExact: true, 73 weekdays : 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split('_'), 74 weekdaysShort : 'ned._pon._uto._sri._čet._pet._sub.'.split('_'), 75 weekdaysMin : 'ne_po_ut_sr_če_pe_su'.split('_'), 76 weekdaysParseExact : true, 77 longDateFormat : { 78 LT : 'H:mm', 79 LTS : 'H:mm:ss', 80 L : 'DD.MM.YYYY', 81 LL : 'D. MMMM YYYY', 82 LLL : 'D. MMMM YYYY H:mm', 83 LLLL : 'dddd, D. MMMM YYYY H:mm' 84 }, 85 calendar : { 86 sameDay : '[danas u] LT', 87 nextDay : '[sutra u] LT', 88 nextWeek : function () { 89 switch (this.day()) { 90 case 0: 91 return '[u] [nedjelju] [u] LT'; 92 case 3: 93 return '[u] [srijedu] [u] LT'; 94 case 6: 95 return '[u] [subotu] [u] LT'; 96 case 1: 97 case 2: 98 case 4: 99 case 5: 100 return '[u] dddd [u] LT'; 101 } 102 }, 103 lastDay : '[jučer u] LT', 104 lastWeek : function () { 105 switch (this.day()) { 106 case 0: 107 case 3: 108 return '[prošlu] dddd [u] LT'; 109 case 6: 110 return '[prošle] [subote] [u] LT'; 111 case 1: 112 case 2: 113 case 4: 114 case 5: 115 return '[prošli] dddd [u] LT'; 116 } 117 }, 118 sameElse : 'L' 119 }, 120 relativeTime : { 121 future : 'za %s', 122 past : 'prije %s', 123 s : 'par sekundi', 124 m : translate, 125 mm : translate, 126 h : translate, 127 hh : translate, 128 d : 'dan', 129 dd : translate, 130 M : 'mjesec', 131 MM : translate, 132 y : 'godinu', 133 yy : translate 134 }, 135 ordinalParse: /\d{1,2}\./, 136 ordinal : '%d.', 137 week : { 138 dow : 1, // Monday is the first day of the week. 139 doy : 7 // The week that contains Jan 1st is the first week of the year. 140 } 141 }); 142 143 return hr; 144 145 })); 146 No newline at end of file -
new file src/bp-core/js/vendor/moment-locales/hu.js
new file mode 100644
- + 1 //! moment.js locale configuration 2 //! locale : Hungarian [hu] 3 //! author : Adam Brunner : https://github.com/adambrunner 4 5 ;(function (global, factory) { 6 typeof exports === 'object' && typeof module !== 'undefined' 7 && typeof require === 'function' ? factory(require('../moment')) : 8 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9 factory(global.moment) 10 }(this, function (moment) { 'use strict'; 11 12 13 var weekEndings = 'vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton'.split(' '); 14 function translate(number, withoutSuffix, key, isFuture) { 15 var num = number, 16 suffix; 17 switch (key) { 18 case 's': 19 return (isFuture || withoutSuffix) ? 'néhány másodperc' : 'néhány másodperce'; 20 case 'm': 21 return 'egy' + (isFuture || withoutSuffix ? ' perc' : ' perce'); 22 case 'mm': 23 return num + (isFuture || withoutSuffix ? ' perc' : ' perce'); 24 case 'h': 25 return 'egy' + (isFuture || withoutSuffix ? ' óra' : ' órája'); 26 case 'hh': 27 return num + (isFuture || withoutSuffix ? ' óra' : ' órája'); 28 case 'd': 29 return 'egy' + (isFuture || withoutSuffix ? ' nap' : ' napja'); 30 case 'dd': 31 return num + (isFuture || withoutSuffix ? ' nap' : ' napja'); 32 case 'M': 33 return 'egy' + (isFuture || withoutSuffix ? ' hónap' : ' hónapja'); 34 case 'MM': 35 return num + (isFuture || withoutSuffix ? ' hónap' : ' hónapja'); 36 case 'y': 37 return 'egy' + (isFuture || withoutSuffix ? ' év' : ' éve'); 38 case 'yy': 39 return num + (isFuture || withoutSuffix ? ' év' : ' éve'); 40 } 41 return ''; 42 } 43 function week(isFuture) { 44 return (isFuture ? '' : '[múlt] ') + '[' + weekEndings[this.day()] + '] LT[-kor]'; 45 } 46 47 var hu = moment.defineLocale('hu', { 48 months : 'január_február_március_április_május_június_július_augusztus_szeptember_október_november_december'.split('_'), 49 monthsShort : 'jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec'.split('_'), 50 weekdays : 'vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat'.split('_'), 51 weekdaysShort : 'vas_hét_kedd_sze_csüt_pén_szo'.split('_'), 52 weekdaysMin : 'v_h_k_sze_cs_p_szo'.split('_'), 53 longDateFormat : { 54 LT : 'H:mm', 55 LTS : 'H:mm:ss', 56 L : 'YYYY.MM.DD.', 57 LL : 'YYYY. MMMM D.', 58 LLL : 'YYYY. MMMM D. H:mm', 59 LLLL : 'YYYY. MMMM D., dddd H:mm' 60 }, 61 meridiemParse: /de|du/i, 62 isPM: function (input) { 63 return input.charAt(1).toLowerCase() === 'u'; 64 }, 65 meridiem : function (hours, minutes, isLower) { 66 if (hours < 12) { 67 return isLower === true ? 'de' : 'DE'; 68 } else { 69 return isLower === true ? 'du' : 'DU'; 70 } 71 }, 72 calendar : { 73 sameDay : '[ma] LT[-kor]', 74 nextDay : '[holnap] LT[-kor]', 75 nextWeek : function () { 76 return week.call(this, true); 77 }, 78 lastDay : '[tegnap] LT[-kor]', 79 lastWeek : function () { 80 return week.call(this, false); 81 }, 82 sameElse : 'L' 83 }, 84 relativeTime : { 85 future : '%s múlva', 86 past : '%s', 87 s : translate, 88 m : translate, 89 mm : translate, 90 h : translate, 91 hh : translate, 92 d : translate, 93 dd : translate, 94 M : translate, 95 MM : translate, 96 y : translate, 97 yy : translate 98 }, 99 ordinalParse: /\d{1,2}\./, 100 ordinal : '%d.', 101 week : { 102 dow : 1, // Monday is the first day of the week. 103 doy : 7 // The week that contains Jan 1st is the first week of the year. 104 } 105 }); 106 107 return hu; 108 109 })); 110 No newline at end of file -
new file src/bp-core/js/vendor/moment-locales/hy-am.js
new file mode 100644
- + 1 //! moment.js locale configuration 2 //! locale : Armenian [hy-am] 3 //! author : Armendarabyan : https://github.com/armendarabyan 4 5 ;(function (global, factory) { 6 typeof exports === 'object' && typeof module !== 'undefined' 7 && typeof require === 'function' ? factory(require('../moment')) : 8 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9 factory(global.moment) 10 }(this, function (moment) { 'use strict'; 11 12 13 var hy_am = moment.defineLocale('hy-am', { 14 months : { 15 format: 'հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի'.split('_'), 16 standalone: 'հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր'.split('_') 17 }, 18 monthsShort : 'հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ'.split('_'), 19 weekdays : 'կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ'.split('_'), 20 weekdaysShort : 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'), 21 weekdaysMin : 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'), 22 longDateFormat : { 23 LT : 'HH:mm', 24 LTS : 'HH:mm:ss', 25 L : 'DD.MM.YYYY', 26 LL : 'D MMMM YYYY թ.', 27 LLL : 'D MMMM YYYY թ., HH:mm', 28 LLLL : 'dddd, D MMMM YYYY թ., HH:mm' 29 }, 30 calendar : { 31 sameDay: '[այսօր] LT', 32 nextDay: '[վաղը] LT', 33 lastDay: '[երեկ] LT', 34 nextWeek: function () { 35 return 'dddd [օրը ժամը] LT'; 36 }, 37 lastWeek: function () { 38 return '[անցած] dddd [օրը ժամը] LT'; 39 }, 40 sameElse: 'L' 41 }, 42 relativeTime : { 43 future : '%s հետո', 44 past : '%s առաջ', 45 s : 'մի քանի վայրկյան', 46 m : 'րոպե', 47 mm : '%d րոպե', 48 h : 'ժամ', 49 hh : '%d ժամ', 50 d : 'օր', 51 dd : '%d օր', 52 M : 'ամիս', 53 MM : '%d ամիս', 54 y : 'տարի', 55 yy : '%d տարի' 56 }, 57 meridiemParse: /գիշերվա|առավոտվա|ցերեկվա|երեկոյան/, 58 isPM: function (input) { 59 return /^(ցերեկվա|երեկոյան)$/.test(input); 60 }, 61 meridiem : function (hour) { 62 if (hour < 4) { 63 return 'գիշերվա'; 64 } else if (hour < 12) { 65 return 'առավոտվա'; 66 } else if (hour < 17) { 67 return 'ցերեկվա'; 68 } else { 69 return 'երեկոյան'; 70 } 71 }, 72 ordinalParse: /\d{1,2}|\d{1,2}-(ին|րդ)/, 73 ordinal: function (number, period) { 74 switch (period) { 75 case 'DDD': 76 case 'w': 77 case 'W': 78 case 'DDDo': 79 if (number === 1) { 80 return number + '-ին'; 81 } 82 return number + '-րդ'; 83 default: 84 return number; 85 } 86 }, 87 week : { 88 dow : 1, // Monday is the first day of the week. 89 doy : 7 // The week that contains Jan 1st is the first week of the year. 90 } 91 }); 92 93 return hy_am; 94 95 })); 96 No newline at end of file -
new file src/bp-core/js/vendor/moment-locales/id.js
new file mode 100644
- + 1 //! moment.js locale configuration 2 //! locale : Indonesian [id] 3 //! author : Mohammad Satrio Utomo : https://github.com/tyok 4 //! reference: http://id.wikisource.org/wiki/Pedoman_Umum_Ejaan_Bahasa_Indonesia_yang_Disempurnakan 5 6 ;(function (global, factory) { 7 typeof exports === 'object' && typeof module !== 'undefined' 8 && typeof require === 'function' ? factory(require('../moment')) : 9 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 10 factory(global.moment) 11 }(this, function (moment) { 'use strict'; 12 13 14 var id = moment.defineLocale('id', { 15 months : 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember'.split('_'), 16 monthsShort : 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nov_Des'.split('_'), 17 weekdays : 'Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu'.split('_'), 18 weekdaysShort : 'Min_Sen_Sel_Rab_Kam_Jum_Sab'.split('_'), 19 weekdaysMin : 'Mg_Sn_Sl_Rb_Km_Jm_Sb'.split('_'), 20 longDateFormat : { 21 LT : 'HH.mm', 22 LTS : 'HH.mm.ss', 23 L : 'DD/MM/YYYY', 24 LL : 'D MMMM YYYY', 25 LLL : 'D MMMM YYYY [pukul] HH.mm', 26 LLLL : 'dddd, D MMMM YYYY [pukul] HH.mm' 27 }, 28 meridiemParse: /pagi|siang|sore|malam/, 29 meridiemHour : function (hour, meridiem) { 30 if (hour === 12) { 31 hour = 0; 32 } 33 if (meridiem === 'pagi') { 34 return hour; 35 } else if (meridiem === 'siang') { 36 return hour >= 11 ? hour : hour + 12; 37 } else if (meridiem === 'sore' || meridiem === 'malam') { 38 return hour + 12; 39 } 40 }, 41 meridiem : function (hours, minutes, isLower) { 42 if (hours < 11) { 43 return 'pagi'; 44 } else if (hours < 15) { 45 return 'siang'; 46 } else if (hours < 19) { 47 return 'sore'; 48 } else { 49 return 'malam'; 50 } 51 }, 52 calendar : { 53 sameDay : '[Hari ini pukul] LT', 54 nextDay : '[Besok pukul] LT', 55 nextWeek : 'dddd [pukul] LT', 56 lastDay : '[Kemarin pukul] LT', 57 lastWeek : 'dddd [lalu pukul] LT', 58 sameElse : 'L' 59 }, 60 relativeTime : { 61 future : 'dalam %s', 62 past : '%s yang lalu', 63 s : 'beberapa detik', 64 m : 'semenit', 65 mm : '%d menit', 66 h : 'sejam', 67 hh : '%d jam', 68 d : 'sehari', 69 dd : '%d hari', 70 M : 'sebulan', 71 MM : '%d bulan', 72 y : 'setahun', 73 yy : '%d tahun' 74 }, 75 week : { 76 dow : 1, // Monday is the first day of the week. 77 doy : 7 // The week that contains Jan 1st is the first week of the year. 78 } 79 }); 80 81 return id; 82 83 })); 84 No newline at end of file -
new file src/bp-core/js/vendor/moment-locales/is.js
new file mode 100644
- + 1 //! moment.js locale configuration 2 //! locale : Icelandic [is] 3 //! author : Hinrik Örn Sigurðsson : https://github.com/hinrik 4 5 ;(function (global, factory) { 6 typeof exports === 'object' && typeof module !== 'undefined' 7 && typeof require === 'function' ? factory(require('../moment')) : 8 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9 factory(global.moment) 10 }(this, function (moment) { 'use strict'; 11 12 13 function plural(n) { 14 if (n % 100 === 11) { 15 return true; 16 } else if (n % 10 === 1) { 17 return false; 18 } 19 return true; 20 } 21 function translate(number, withoutSuffix, key, isFuture) { 22 var result = number + ' '; 23 switch (key) { 24 case 's': 25 return withoutSuffix || isFuture ? 'nokkrar sekúndur' : 'nokkrum sekúndum'; 26 case 'm': 27 return withoutSuffix ? 'mínúta' : 'mínútu'; 28 case 'mm': 29 if (plural(number)) { 30 return result + (withoutSuffix || isFuture ? 'mínútur' : 'mínútum'); 31 } else if (withoutSuffix) { 32 return result + 'mínúta'; 33 } 34 return result + 'mínútu'; 35 case 'hh': 36 if (plural(number)) { 37 return result + (withoutSuffix || isFuture ? 'klukkustundir' : 'klukkustundum'); 38 } 39 return result + 'klukkustund'; 40 case 'd': 41 if (withoutSuffix) { 42 return 'dagur'; 43 } 44 return isFuture ? 'dag' : 'degi'; 45 case 'dd': 46 if (plural(number)) { 47 if (withoutSuffix) { 48 return result + 'dagar'; 49 } 50 return result + (isFuture ? 'daga' : 'dögum'); 51 } else if (withoutSuffix) { 52 return result + 'dagur'; 53 } 54 return result + (isFuture ? 'dag' : 'degi'); 55 case 'M': 56 if (withoutSuffix) { 57 return 'mánuður'; 58 } 59 return isFuture ? 'mánuð' : 'mánuði'; 60 case 'MM': 61 if (plural(number)) { 62 if (withoutSuffix) { 63 return result + 'mánuðir'; 64 } 65 return result + (isFuture ? 'mánuði' : 'mánuðum'); 66 } else if (withoutSuffix) { 67 return result + 'mánuður'; 68 } 69 return result + (isFuture ? 'mánuð' : 'mánuði'); 70 case 'y': 71 return withoutSuffix || isFuture ? 'ár' : 'ári'; 72 case 'yy': 73 if (plural(number)) { 74 return result + (withoutSuffix || isFuture ? 'ár' : 'árum'); 75 } 76 return result + (withoutSuffix || isFuture ? 'ár' : 'ári'); 77 } 78 } 79 80 var is = moment.defineLocale('is', { 81 months : 'janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember'.split('_'), 82 monthsShort : 'jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des'.split('_'), 83 weekdays : 'sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur'.split('_'), 84 weekdaysShort : 'sun_mán_þri_mið_fim_fös_lau'.split('_'), 85 weekdaysMin : 'Su_Má_Þr_Mi_Fi_Fö_La'.split('_'), 86 longDateFormat : { 87 LT : 'H:mm', 88 LTS : 'H:mm:ss', 89 L : 'DD.MM.YYYY', 90 LL : 'D. MMMM YYYY', 91 LLL : 'D. MMMM YYYY [kl.] H:mm', 92 LLLL : 'dddd, D. MMMM YYYY [kl.] H:mm' 93 }, 94 calendar : { 95 sameDay : '[í dag kl.] LT', 96 nextDay : '[á morgun kl.] LT', 97 nextWeek : 'dddd [kl.] LT', 98 lastDay : '[í gær kl.] LT', 99 lastWeek : '[síðasta] dddd [kl.] LT', 100 sameElse : 'L' 101 }, 102 relativeTime : { 103 future : 'eftir %s', 104 past : 'fyrir %s síðan', 105 s : translate, 106 m : translate, 107 mm : translate, 108 h : 'klukkustund', 109 hh : translate, 110 d : translate, 111 dd : translate, 112 M : translate, 113 MM : translate, 114 y : translate, 115 yy : translate 116 }, 117 ordinalParse: /\d{1,2}\./, 118 ordinal : '%d.', 119 week : { 120 dow : 1, // Monday is the first day of the week. 121 doy : 4 // The week that contains Jan 4th is the first week of the year. 122 } 123 }); 124 125 return is; 126 127 })); 128 No newline at end of file -
new file src/bp-core/js/vendor/moment-locales/it.js
new file mode 100644
- + 1 //! moment.js locale configuration 2 //! locale : Italian [it] 3 //! author : Lorenzo : https://github.com/aliem 4 //! author: Mattia Larentis: https://github.com/nostalgiaz 5 6 ;(function (global, factory) { 7 typeof exports === 'object' && typeof module !== 'undefined' 8 && typeof require === 'function' ? factory(require('../moment')) : 9 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 10 factory(global.moment) 11 }(this, function (moment) { 'use strict'; 12 13 14 var it = moment.defineLocale('it', { 15 months : 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split('_'), 16 monthsShort : 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'), 17 weekdays : 'Domenica_Lunedì_Martedì_Mercoledì_Giovedì_Venerdì_Sabato'.split('_'), 18 weekdaysShort : 'Dom_Lun_Mar_Mer_Gio_Ven_Sab'.split('_'), 19 weekdaysMin : 'Do_Lu_Ma_Me_Gi_Ve_Sa'.split('_'), 20 longDateFormat : { 21 LT : 'HH:mm', 22 LTS : 'HH:mm:ss', 23 L : 'DD/MM/YYYY', 24 LL : 'D MMMM YYYY', 25 LLL : 'D MMMM YYYY HH:mm', 26 LLLL : 'dddd, D MMMM YYYY HH:mm' 27 }, 28 calendar : { 29 sameDay: '[Oggi alle] LT', 30 nextDay: '[Domani alle] LT', 31 nextWeek: 'dddd [alle] LT', 32 lastDay: '[Ieri alle] LT', 33 lastWeek: function () { 34 switch (this.day()) { 35 case 0: 36 return '[la scorsa] dddd [alle] LT'; 37 default: 38 return '[lo scorso] dddd [alle] LT'; 39 } 40 }, 41 sameElse: 'L' 42 }, 43 relativeTime : { 44 future : function (s) { 45 return ((/^[0-9].+$/).test(s) ? 'tra' : 'in') + ' ' + s; 46 }, 47 past : '%s fa', 48 s : 'alcuni secondi', 49 m : 'un minuto', 50 mm : '%d minuti', 51 h : 'un\'ora', 52 hh : '%d ore', 53 d : 'un giorno', 54 dd : '%d giorni', 55 M : 'un mese', 56 MM : '%d mesi', 57 y : 'un anno', 58 yy : '%d anni' 59 }, 60 ordinalParse : /\d{1,2}º/, 61 ordinal: '%dº', 62 week : { 63 dow : 1, // Monday is the first day of the week. 64 doy : 4 // The week that contains Jan 4th is the first week of the year. 65 } 66 }); 67 68 return it; 69 70 })); 71 No newline at end of file -
new file src/bp-core/js/vendor/moment-locales/ja.js
new file mode 100644
- + 1 //! moment.js locale configuration 2 //! locale : Japanese [ja] 3 //! author : LI Long : https://github.com/baryon 4 5 ;(function (global, factory) { 6 typeof exports === 'object' && typeof module !== 'undefined' 7 && typeof require === 'function' ? factory(require('../moment')) : 8 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9 factory(global.moment) 10 }(this, function (moment) { 'use strict'; 11 12 13 var ja = moment.defineLocale('ja', { 14 months : '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'), 15 monthsShort : '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'), 16 weekdays : '日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日'.split('_'), 17 weekdaysShort : '日_月_火_水_木_金_土'.split('_'), 18 weekdaysMin : '日_月_火_水_木_金_土'.split('_'), 19 longDateFormat : { 20 LT : 'Ah時m分', 21 LTS : 'Ah時m分s秒', 22 L : 'YYYY/MM/DD', 23 LL : 'YYYY年M月D日', 24 LLL : 'YYYY年M月D日Ah時m分', 25 LLLL : 'YYYY年M月D日Ah時m分 dddd' 26 }, 27 meridiemParse: /午前|午後/i, 28 isPM : function (input) { 29 return input === '午後'; 30 }, 31 meridiem : function (hour, minute, isLower) { 32 if (hour < 12) { 33 return '午前'; 34 } else { 35 return '午後'; 36 } 37 }, 38 calendar : { 39 sameDay : '[今日] LT', 40 nextDay : '[明日] LT', 41 nextWeek : '[来週]dddd LT', 42 lastDay : '[昨日] LT', 43 lastWeek : '[前週]dddd LT', 44 sameElse : 'L' 45 }, 46 ordinalParse : /\d{1,2}日/, 47 ordinal : function (number, period) { 48 switch (period) { 49 case 'd': 50 case 'D': 51 case 'DDD': 52 return number + '日'; 53 default: 54 return number; 55 } 56 }, 57 relativeTime : { 58 future : '%s後', 59 past : '%s前', 60 s : '数秒', 61 m : '1分', 62 mm : '%d分', 63 h : '1時間', 64 hh : '%d時間', 65 d : '1日', 66 dd : '%d日', 67 M : '1ヶ月', 68 MM : '%dヶ月', 69 y : '1年', 70 yy : '%d年' 71 } 72 }); 73 74 return ja; 75 76 })); 77 No newline at end of file -
new file src/bp-core/js/vendor/moment-locales/jv.js
new file mode 100644
- + 1 //! moment.js locale configuration 2 //! locale : Japanese [jv] 3 //! author : Rony Lantip : https://github.com/lantip 4 //! reference: http://jv.wikipedia.org/wiki/Basa_Jawa 5 6 ;(function (global, factory) { 7 typeof exports === 'object' && typeof module !== 'undefined' 8 && typeof require === 'function' ? factory(require('../moment')) : 9 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 10 factory(global.moment) 11 }(this, function (moment) { 'use strict'; 12 13 14 var jv = moment.defineLocale('jv', { 15 months : 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember'.split('_'), 16 monthsShort : 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des'.split('_'), 17 weekdays : 'Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu'.split('_'), 18 weekdaysShort : 'Min_Sen_Sel_Reb_Kem_Jem_Sep'.split('_'), 19 weekdaysMin : 'Mg_Sn_Sl_Rb_Km_Jm_Sp'.split('_'), 20 longDateFormat : { 21 LT : 'HH.mm', 22 LTS : 'HH.mm.ss', 23 L : 'DD/MM/YYYY', 24 LL : 'D MMMM YYYY', 25 LLL : 'D MMMM YYYY [pukul] HH.mm', 26 LLLL : 'dddd, D MMMM YYYY [pukul] HH.mm' 27 }, 28 meridiemParse: /enjing|siyang|sonten|ndalu/, 29 meridiemHour : function (hour, meridiem) { 30 if (hour === 12) { 31 hour = 0; 32 } 33 if (meridiem === 'enjing') { 34 return hour; 35 } else if (meridiem === 'siyang') { 36 return hour >= 11 ? hour : hour + 12; 37 } else if (meridiem === 'sonten' || meridiem === 'ndalu') { 38 return hour + 12; 39 } 40 }, 41 meridiem : function (hours, minutes, isLower) { 42 if (hours < 11) { 43 return 'enjing'; 44 } else if (hours < 15) { 45 return 'siyang'; 46 } else if (hours < 19) { 47 return 'sonten'; 48 } else { 49 return 'ndalu'; 50 } 51 }, 52 calendar : { 53 sameDay : '[Dinten puniko pukul] LT', 54 nextDay : '[Mbenjang pukul] LT', 55 nextWeek : 'dddd [pukul] LT', 56 lastDay : '[Kala wingi pukul] LT', 57 lastWeek : 'dddd [kepengker pukul] LT', 58 sameElse : 'L' 59 }, 60 relativeTime : { 61 future : 'wonten ing %s', 62 past : '%s ingkang kepengker', 63 s : 'sawetawis detik', 64 m : 'setunggal menit', 65 mm : '%d menit', 66 h : 'setunggal jam', 67 hh : '%d jam', 68 d : 'sedinten', 69 dd : '%d dinten', 70 M : 'sewulan', 71 MM : '%d wulan', 72 y : 'setaun', 73 yy : '%d taun' 74 }, 75 week : { 76 dow : 1, // Monday is the first day of the week. 77 doy : 7 // The week that contains Jan 1st is the first week of the year. 78 } 79 }); 80 81 return jv; 82 83 })); 84 No newline at end of file -
new file src/bp-core/js/vendor/moment-locales/ka.js
new file mode 100644
- + 1 //! moment.js locale configuration 2 //! locale : Georgian [ka] 3 //! author : Irakli Janiashvili : https://github.com/irakli-janiashvili 4 5 ;(function (global, factory) { 6 typeof exports === 'object' && typeof module !== 'undefined' 7 && typeof require === 'function' ? factory(require('../moment')) : 8 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9 factory(global.moment) 10 }(this, function (moment) { 'use strict'; 11 12 13 var ka = moment.defineLocale('ka', { 14 months : { 15 standalone: 'იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი'.split('_'), 16 format: 'იანვარს_თებერვალს_მარტს_აპრილის_მაისს_ივნისს_ივლისს_აგვისტს_სექტემბერს_ოქტომბერს_ნოემბერს_დეკემბერს'.split('_') 17 }, 18 monthsShort : 'იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ'.split('_'), 19 weekdays : { 20 standalone: 'კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი'.split('_'), 21 format: 'კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს'.split('_'), 22 isFormat: /(წინა|შემდეგ)/ 23 }, 24 weekdaysShort : 'კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ'.split('_'), 25 weekdaysMin : 'კვ_ორ_სა_ოთ_ხუ_პა_შა'.split('_'), 26 longDateFormat : { 27 LT : 'h:mm A', 28 LTS : 'h:mm:ss A', 29 L : 'DD/MM/YYYY', 30 LL : 'D MMMM YYYY', 31 LLL : 'D MMMM YYYY h:mm A', 32 LLLL : 'dddd, D MMMM YYYY h:mm A' 33 }, 34 calendar : { 35 sameDay : '[დღეს] LT[-ზე]', 36 nextDay : '[ხვალ] LT[-ზე]', 37 lastDay : '[გუშინ] LT[-ზე]', 38 nextWeek : '[შემდეგ] dddd LT[-ზე]', 39 lastWeek : '[წინა] dddd LT-ზე', 40 sameElse : 'L' 41 }, 42 relativeTime : { 43 future : function (s) { 44 return (/(წამი|წუთი|საათი|წელი)/).test(s) ? 45 s.replace(/ი$/, 'ში') : 46 s + 'ში'; 47 }, 48 past : function (s) { 49 if ((/(წამი|წუთი|საათი|დღე|თვე)/).test(s)) { 50 return s.replace(/(ი|ე)$/, 'ის წინ'); 51 } 52 if ((/წელი/).test(s)) { 53 return s.replace(/წელი$/, 'წლის წინ'); 54 } 55 }, 56 s : 'რამდენიმე წამი', 57 m : 'წუთი', 58 mm : '%d წუთი', 59 h : 'საათი', 60 hh : '%d საათი', 61 d : 'დღე', 62 dd : '%d დღე', 63 M : 'თვე', 64 MM : '%d თვე', 65 y : 'წელი', 66 yy : '%d წელი' 67 }, 68 ordinalParse: /0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/, 69 ordinal : function (number) { 70 if (number === 0) { 71 return number; 72 } 73 if (number === 1) { 74 return number + '-ლი'; 75 } 76 if ((number < 20) || (number <= 100 && (number % 20 === 0)) || (number % 100 === 0)) { 77 return 'მე-' + number; 78 } 79 return number + '-ე'; 80 }, 81 week : { 82 dow : 1, 83 doy : 7 84 } 85 }); 86 87 return ka; 88 89 })); 90 No newline at end of file -
new file src/bp-core/js/vendor/moment-locales/kk.js
new file mode 100644
- + 1 //! moment.js locale configuration 2 //! locale : Kazakh [kk] 3 //! authors : Nurlan Rakhimzhanov : https://github.com/nurlan 4 5 ;(function (global, factory) { 6 typeof exports === 'object' && typeof module !== 'undefined' 7 && typeof require === 'function' ? factory(require('../moment')) : 8 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9 factory(global.moment) 10 }(this, function (moment) { 'use strict'; 11 12 13 var suffixes = { 14 0: '-ші', 15 1: '-ші', 16 2: '-ші', 17 3: '-ші', 18 4: '-ші', 19 5: '-ші', 20 6: '-шы', 21 7: '-ші', 22 8: '-ші', 23 9: '-шы', 24 10: '-шы', 25 20: '-шы', 26 30: '-шы', 27 40: '-шы', 28 50: '-ші', 29 60: '-шы', 30 70: '-ші', 31 80: '-ші', 32 90: '-шы', 33 100: '-ші' 34 }; 35 36 var kk = moment.defineLocale('kk', { 37 months : 'қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан'.split('_'), 38 monthsShort : 'қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел'.split('_'), 39 weekdays : 'жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі'.split('_'), 40 weekdaysShort : 'жек_дүй_сей_сәр_бей_жұм_сен'.split('_'), 41 weekdaysMin : 'жк_дй_сй_ср_бй_жм_сн'.split('_'), 42 longDateFormat : { 43 LT : 'HH:mm', 44 LTS : 'HH:mm:ss', 45 L : 'DD.MM.YYYY', 46 LL : 'D MMMM YYYY', 47 LLL : 'D MMMM YYYY HH:mm', 48 LLLL : 'dddd, D MMMM YYYY HH:mm' 49 }, 50 calendar : { 51 sameDay : '[Бүгін сағат] LT', 52 nextDay : '[Ертең сағат] LT', 53 nextWeek : 'dddd [сағат] LT', 54 lastDay : '[Кеше сағат] LT', 55 lastWeek : '[Өткен аптаның] dddd [сағат] LT', 56 sameElse : 'L' 57 }, 58 relativeTime : { 59 future : '%s ішінде', 60 past : '%s бұрын', 61 s : 'бірнеше секунд', 62 m : 'бір минут', 63 mm : '%d минут', 64 h : 'бір сағат', 65 hh : '%d сағат', 66 d : 'бір күн', 67 dd : '%d күн', 68 M : 'бір ай', 69 MM : '%d ай', 70 y : 'бір жыл', 71 yy : '%d жыл' 72 }, 73 ordinalParse: /\d{1,2}-(ші|шы)/, 74 ordinal : function (number) { 75 var a = number % 10, 76 b = number >= 100 ? 100 : null; 77 return number + (suffixes[number] || suffixes[a] || suffixes[b]); 78 }, 79 week : { 80 dow : 1, // Monday is the first day of the week. 81 doy : 7 // The week that contains Jan 1st is the first week of the year. 82 } 83 }); 84 85 return kk; 86 87 })); 88 No newline at end of file -
new file src/bp-core/js/vendor/moment-locales/km.js
new file mode 100644
- + 1 //! moment.js locale configuration 2 //! locale : Cambodian [km] 3 //! author : Kruy Vanna : https://github.com/kruyvanna 4 5 ;(function (global, factory) { 6 typeof exports === 'object' && typeof module !== 'undefined' 7 && typeof require === 'function' ? factory(require('../moment')) : 8 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9 factory(global.moment) 10 }(this, function (moment) { 'use strict'; 11 12 13 var km = moment.defineLocale('km', { 14 months: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split('_'), 15 monthsShort: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split('_'), 16 weekdays: 'អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍'.split('_'), 17 weekdaysShort: 'អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍'.split('_'), 18 weekdaysMin: 'អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍'.split('_'), 19 longDateFormat: { 20 LT: 'HH:mm', 21 LTS : 'HH:mm:ss', 22 L: 'DD/MM/YYYY', 23 LL: 'D MMMM YYYY', 24 LLL: 'D MMMM YYYY HH:mm', 25 LLLL: 'dddd, D MMMM YYYY HH:mm' 26 }, 27 calendar: { 28 sameDay: '[ថ្ងៃនេះ ម៉ោង] LT', 29 nextDay: '[ស្អែក ម៉ោង] LT', 30 nextWeek: 'dddd [ម៉ោង] LT', 31 lastDay: '[ម្សិលមិញ ម៉ោង] LT', 32 lastWeek: 'dddd [សប្តាហ៍មុន] [ម៉ោង] LT', 33 sameElse: 'L' 34 }, 35 relativeTime: { 36 future: '%sទៀត', 37 past: '%sមុន', 38 s: 'ប៉ុន្មានវិនាទី', 39 m: 'មួយនាទី', 40 mm: '%d នាទី', 41 h: 'មួយម៉ោង', 42 hh: '%d ម៉ោង', 43 d: 'មួយថ្ងៃ', 44 dd: '%d ថ្ងៃ', 45 M: 'មួយខែ', 46 MM: '%d ខែ', 47 y: 'មួយឆ្នាំ', 48 yy: '%d ឆ្នាំ' 49 }, 50 week: { 51 dow: 1, // Monday is the first day of the week. 52 doy: 4 // The week that contains Jan 4th is the first week of the year. 53 } 54 }); 55 56 return km; 57 58 })); 59 No newline at end of file -
new file src/bp-core/js/vendor/moment-locales/ko.js
new file mode 100644
- + 1 //! moment.js locale configuration 2 //! locale : Korean [ko] 3 //! author : Kyungwook, Park : https://github.com/kyungw00k 4 //! author : Jeeeyul Lee <jeeeyul@gmail.com> 5 6 ;(function (global, factory) { 7 typeof exports === 'object' && typeof module !== 'undefined' 8 && typeof require === 'function' ? factory(require('../moment')) : 9 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 10 factory(global.moment) 11 }(this, function (moment) { 'use strict'; 12 13 14 var ko = moment.defineLocale('ko', { 15 months : '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'), 16 monthsShort : '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'), 17 weekdays : '일요일_월요일_화요일_수요일_목요일_금요일_토요일'.split('_'), 18 weekdaysShort : '일_월_화_수_목_금_토'.split('_'), 19 weekdaysMin : '일_월_화_수_목_금_토'.split('_'), 20 longDateFormat : { 21 LT : 'A h시 m분', 22 LTS : 'A h시 m분 s초', 23 L : 'YYYY.MM.DD', 24 LL : 'YYYY년 MMMM D일', 25 LLL : 'YYYY년 MMMM D일 A h시 m분', 26 LLLL : 'YYYY년 MMMM D일 dddd A h시 m분' 27 }, 28 calendar : { 29 sameDay : '오늘 LT', 30 nextDay : '내일 LT', 31 nextWeek : 'dddd LT', 32 lastDay : '어제 LT', 33 lastWeek : '지난주 dddd LT', 34 sameElse : 'L' 35 }, 36 relativeTime : { 37 future : '%s 후', 38 past : '%s 전', 39 s : '몇 초', 40 ss : '%d초', 41 m : '일분', 42 mm : '%d분', 43 h : '한 시간', 44 hh : '%d시간', 45 d : '하루', 46 dd : '%d일', 47 M : '한 달', 48 MM : '%d달', 49 y : '일 년', 50 yy : '%d년' 51 }, 52 ordinalParse : /\d{1,2}일/, 53 ordinal : '%d일', 54 meridiemParse : /오전|오후/, 55 isPM : function (token) { 56 return token === '오후'; 57 }, 58 meridiem : function (hour, minute, isUpper) { 59 return hour < 12 ? '오전' : '오후'; 60 } 61 }); 62 63 return ko; 64 65 })); 66 No newline at end of file -
new file src/bp-core/js/vendor/moment-locales/ky.js
new file mode 100644
- + 1 //! moment.js locale configuration 2 //! locale : Kyrgyz [ky] 3 //! author : Chyngyz Arystan uulu : https://github.com/chyngyz 4 5 ;(function (global, factory) { 6 typeof exports === 'object' && typeof module !== 'undefined' 7 && typeof require === 'function' ? factory(require('../moment')) : 8 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9 factory(global.moment) 10 }(this, function (moment) { 'use strict'; 11 12 13 14 var suffixes = { 15 0: '-чү', 16 1: '-чи', 17 2: '-чи', 18 3: '-чү', 19 4: '-чү', 20 5: '-чи', 21 6: '-чы', 22 7: '-чи', 23 8: '-чи', 24 9: '-чу', 25 10: '-чу', 26 20: '-чы', 27 30: '-чу', 28 40: '-чы', 29 50: '-чү', 30 60: '-чы', 31 70: '-чи', 32 80: '-чи', 33 90: '-чу', 34 100: '-чү' 35 }; 36 37 var ky = moment.defineLocale('ky', { 38 months : 'январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь'.split('_'), 39 monthsShort : 'янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек'.split('_'), 40 weekdays : 'Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби'.split('_'), 41 weekdaysShort : 'Жек_Дүй_Шей_Шар_Бей_Жум_Ише'.split('_'), 42 weekdaysMin : 'Жк_Дй_Шй_Шр_Бй_Жм_Иш'.split('_'), 43 longDateFormat : { 44 LT : 'HH:mm', 45 LTS : 'HH:mm:ss', 46 L : 'DD.MM.YYYY', 47 LL : 'D MMMM YYYY', 48 LLL : 'D MMMM YYYY HH:mm', 49 LLLL : 'dddd, D MMMM YYYY HH:mm' 50 }, 51 calendar : { 52 sameDay : '[Бүгүн саат] LT', 53 nextDay : '[Эртең саат] LT', 54 nextWeek : 'dddd [саат] LT', 55 lastDay : '[Кече саат] LT', 56 lastWeek : '[Өткен аптанын] dddd [күнү] [саат] LT', 57 sameElse : 'L' 58 }, 59 relativeTime : { 60 future : '%s ичинде', 61 past : '%s мурун', 62 s : 'бирнече секунд', 63 m : 'бир мүнөт', 64 mm : '%d мүнөт', 65 h : 'бир саат', 66 hh : '%d саат', 67 d : 'бир күн', 68 dd : '%d күн', 69 M : 'бир ай', 70 MM : '%d ай', 71 y : 'бир жыл', 72 yy : '%d жыл' 73 }, 74 ordinalParse: /\d{1,2}-(чи|чы|чү|чу)/, 75 ordinal : function (number) { 76 var a = number % 10, 77 b = number >= 100 ? 100 : null; 78 return number + (suffixes[number] || suffixes[a] || suffixes[b]); 79 }, 80 week : { 81 dow : 1, // Monday is the first day of the week. 82 doy : 7 // The week that contains Jan 1st is the first week of the year. 83 } 84 }); 85 86 return ky; 87 88 })); 89 No newline at end of file -
new file src/bp-core/js/vendor/moment-locales/lb.js
new file mode 100644
- + 1 //! moment.js locale configuration 2 //! locale : Luxembourgish [lb] 3 //! author : mweimerskirch : https://github.com/mweimerskirch 4 //! author : David Raison : https://github.com/kwisatz 5 6 ;(function (global, factory) { 7 typeof exports === 'object' && typeof module !== 'undefined' 8 && typeof require === 'function' ? factory(require('../moment')) : 9 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 10 factory(global.moment) 11 }(this, function (moment) { 'use strict'; 12 13 14 function processRelativeTime(number, withoutSuffix, key, isFuture) { 15 var format = { 16 'm': ['eng Minutt', 'enger Minutt'], 17 'h': ['eng Stonn', 'enger Stonn'], 18 'd': ['een Dag', 'engem Dag'], 19 'M': ['ee Mount', 'engem Mount'], 20 'y': ['ee Joer', 'engem Joer'] 21 }; 22 return withoutSuffix ? format[key][0] : format[key][1]; 23 } 24 function processFutureTime(string) { 25 var number = string.substr(0, string.indexOf(' ')); 26 if (eifelerRegelAppliesToNumber(number)) { 27 return 'a ' + string; 28 } 29 return 'an ' + string; 30 } 31 function processPastTime(string) { 32 var number = string.substr(0, string.indexOf(' ')); 33 if (eifelerRegelAppliesToNumber(number)) { 34 return 'viru ' + string; 35 } 36 return 'virun ' + string; 37 } 38 /** 39 * Returns true if the word before the given number loses the '-n' ending. 40 * e.g. 'an 10 Deeg' but 'a 5 Deeg' 41 * 42 * @param number {integer} 43 * @returns {boolean} 44 */ 45 function eifelerRegelAppliesToNumber(number) { 46 number = parseInt(number, 10); 47 if (isNaN(number)) { 48 return false; 49 } 50 if (number < 0) { 51 // Negative Number --> always true 52 return true; 53 } else if (number < 10) { 54 // Only 1 digit 55 if (4 <= number && number <= 7) { 56 return true; 57 } 58 return false; 59 } else if (number < 100) { 60 // 2 digits 61 var lastDigit = number % 10, firstDigit = number / 10; 62 if (lastDigit === 0) { 63 return eifelerRegelAppliesToNumber(firstDigit); 64 } 65 return eifelerRegelAppliesToNumber(lastDigit); 66 } else if (number < 10000) { 67 // 3 or 4 digits --> recursively check first digit 68 while (number >= 10) { 69 number = number / 10; 70 } 71 return eifelerRegelAppliesToNumber(number); 72 } else { 73 // Anything larger than 4 digits: recursively check first n-3 digits 74 number = number / 1000; 75 return eifelerRegelAppliesToNumber(number); 76 } 77 } 78 79 var lb = moment.defineLocale('lb', { 80 months: 'Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'), 81 monthsShort: 'Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split('_'), 82 monthsParseExact : true, 83 weekdays: 'Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg'.split('_'), 84 weekdaysShort: 'So._Mé._Dë._Më._Do._Fr._Sa.'.split('_'), 85 weekdaysMin: 'So_Mé_Dë_Më_Do_Fr_Sa'.split('_'), 86 weekdaysParseExact : true, 87 longDateFormat: { 88 LT: 'H:mm [Auer]', 89 LTS: 'H:mm:ss [Auer]', 90 L: 'DD.MM.YYYY', 91 LL: 'D. MMMM YYYY', 92 LLL: 'D. MMMM YYYY H:mm [Auer]', 93 LLLL: 'dddd, D. MMMM YYYY H:mm [Auer]' 94 }, 95 calendar: { 96 sameDay: '[Haut um] LT', 97 sameElse: 'L', 98 nextDay: '[Muer um] LT', 99 nextWeek: 'dddd [um] LT', 100 lastDay: '[Gëschter um] LT', 101 lastWeek: function () { 102 // Different date string for 'Dënschdeg' (Tuesday) and 'Donneschdeg' (Thursday) due to phonological rule 103 switch (this.day()) { 104 case 2: 105 case 4: 106 return '[Leschten] dddd [um] LT'; 107 default: 108 return '[Leschte] dddd [um] LT'; 109 } 110 } 111 }, 112 relativeTime : { 113 future : processFutureTime, 114 past : processPastTime, 115 s : 'e puer Sekonnen', 116 m : processRelativeTime, 117 mm : '%d Minutten', 118 h : processRelativeTime, 119 hh : '%d Stonnen', 120 d : processRelativeTime, 121 dd : '%d Deeg', 122 M : processRelativeTime, 123 MM : '%d Méint', 124 y : processRelativeTime, 125 yy : '%d Joer' 126 }, 127 ordinalParse: /\d{1,2}\./, 128 ordinal: '%d.', 129 week: { 130 dow: 1, // Monday is the first day of the week. 131 doy: 4 // The week that contains Jan 4th is the first week of the year. 132 } 133 }); 134 135 return lb; 136 137 })); 138 No newline at end of file -
new file src/bp-core/js/vendor/moment-locales/lo.js
new file mode 100644
- + 1 //! moment.js locale configuration 2 //! locale : Lao [lo] 3 //! author : Ryan Hart : https://github.com/ryanhart2 4 5 ;(function (global, factory) { 6 typeof exports === 'object' && typeof module !== 'undefined' 7 && typeof require === 'function' ? factory(require('../moment')) : 8 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9 factory(global.moment) 10 }(this, function (moment) { 'use strict'; 11 12 13 var lo = moment.defineLocale('lo', { 14 months : 'ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ'.split('_'), 15 monthsShort : 'ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ'.split('_'), 16 weekdays : 'ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ'.split('_'), 17 weekdaysShort : 'ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ'.split('_'), 18 weekdaysMin : 'ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ'.split('_'), 19 weekdaysParseExact : true, 20 longDateFormat : { 21 LT : 'HH:mm', 22 LTS : 'HH:mm:ss', 23 L : 'DD/MM/YYYY', 24 LL : 'D MMMM YYYY', 25 LLL : 'D MMMM YYYY HH:mm', 26 LLLL : 'ວັນdddd D MMMM YYYY HH:mm' 27 }, 28 meridiemParse: /ຕອນເຊົ້າ|ຕອນແລງ/, 29 isPM: function (input) { 30 return input === 'ຕອນແລງ'; 31 }, 32 meridiem : function (hour, minute, isLower) { 33 if (hour < 12) { 34 return 'ຕອນເຊົ້າ'; 35 } else { 36 return 'ຕອນແລງ'; 37 } 38 }, 39 calendar : { 40 sameDay : '[ມື້ນີ້ເວລາ] LT', 41 nextDay : '[ມື້ອື່ນເວລາ] LT', 42 nextWeek : '[ວັນ]dddd[ໜ້າເວລາ] LT', 43 lastDay : '[ມື້ວານນີ້ເວລາ] LT', 44 lastWeek : '[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT', 45 sameElse : 'L' 46 }, 47 relativeTime : { 48 future : 'ອີກ %s', 49 past : '%sຜ່ານມາ', 50 s : 'ບໍ່ເທົ່າໃດວິນາທີ', 51 m : '1 ນາທີ', 52 mm : '%d ນາທີ', 53 h : '1 ຊົ່ວໂມງ', 54 hh : '%d ຊົ່ວໂມງ', 55 d : '1 ມື້', 56 dd : '%d ມື້', 57 M : '1 ເດືອນ', 58 MM : '%d ເດືອນ', 59 y : '1 ປີ', 60 yy : '%d ປີ' 61 }, 62 ordinalParse: /(ທີ່)\d{1,2}/, 63 ordinal : function (number) { 64 return 'ທີ່' + number; 65 } 66 }); 67 68 return lo; 69 70 })); 71 No newline at end of file -
new file src/bp-core/js/vendor/moment-locales/lt.js
new file mode 100644
- + 1 //! moment.js locale configuration 2 //! locale : Lithuanian [lt] 3 //! author : Mindaugas Mozūras : https://github.com/mmozuras 4 5 ;(function (global, factory) { 6 typeof exports === 'object' && typeof module !== 'undefined' 7 && typeof require === 'function' ? factory(require('../moment')) : 8 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9 factory(global.moment) 10 }(this, function (moment) { 'use strict'; 11 12 13 var units = { 14 'm' : 'minutė_minutės_minutę', 15 'mm': 'minutės_minučių_minutes', 16 'h' : 'valanda_valandos_valandą', 17 'hh': 'valandos_valandų_valandas', 18 'd' : 'diena_dienos_dieną', 19 'dd': 'dienos_dienų_dienas', 20 'M' : 'mėnuo_mėnesio_mėnesį', 21 'MM': 'mėnesiai_mėnesių_mėnesius', 22 'y' : 'metai_metų_metus', 23 'yy': 'metai_metų_metus' 24 }; 25 function translateSeconds(number, withoutSuffix, key, isFuture) { 26 if (withoutSuffix) { 27 return 'kelios sekundės'; 28 } else { 29 return isFuture ? 'kelių sekundžių' : 'kelias sekundes'; 30 } 31 } 32 function translateSingular(number, withoutSuffix, key, isFuture) { 33 return withoutSuffix ? forms(key)[0] : (isFuture ? forms(key)[1] : forms(key)[2]); 34 } 35 function special(number) { 36 return number % 10 === 0 || (number > 10 && number < 20); 37 } 38 function forms(key) { 39 return units[key].split('_'); 40 } 41 function translate(number, withoutSuffix, key, isFuture) { 42 var result = number + ' '; 43 if (number === 1) { 44 return result + translateSingular(number, withoutSuffix, key[0], isFuture); 45 } else if (withoutSuffix) { 46 return result + (special(number) ? forms(key)[1] : forms(key)[0]); 47 } else { 48 if (isFuture) { 49 return result + forms(key)[1]; 50 } else { 51 return result + (special(number) ? forms(key)[1] : forms(key)[2]); 52 } 53 } 54 } 55 var lt = moment.defineLocale('lt', { 56 months : { 57 format: 'sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio'.split('_'), 58 standalone: 'sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis'.split('_'), 59 isFormat: /D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?|MMMM?(\[[^\[\]]*\]|\s+)+D[oD]?/ 60 }, 61 monthsShort : 'sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd'.split('_'), 62 weekdays : { 63 format: 'sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį'.split('_'), 64 standalone: 'sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis'.split('_'), 65 isFormat: /dddd HH:mm/ 66 }, 67 weekdaysShort : 'Sek_Pir_Ant_Tre_Ket_Pen_Šeš'.split('_'), 68 weekdaysMin : 'S_P_A_T_K_Pn_Š'.split('_'), 69 weekdaysParseExact : true, 70 longDateFormat : { 71 LT : 'HH:mm', 72 LTS : 'HH:mm:ss', 73 L : 'YYYY-MM-DD', 74 LL : 'YYYY [m.] MMMM D [d.]', 75 LLL : 'YYYY [m.] MMMM D [d.], HH:mm [val.]', 76 LLLL : 'YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]', 77 l : 'YYYY-MM-DD', 78 ll : 'YYYY [m.] MMMM D [d.]', 79 lll : 'YYYY [m.] MMMM D [d.], HH:mm [val.]', 80 llll : 'YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]' 81 }, 82 calendar : { 83 sameDay : '[Šiandien] LT', 84 nextDay : '[Rytoj] LT', 85 nextWeek : 'dddd LT', 86 lastDay : '[Vakar] LT', 87 lastWeek : '[Praėjusį] dddd LT', 88 sameElse : 'L' 89 }, 90 relativeTime : { 91 future : 'po %s', 92 past : 'prieš %s', 93 s : translateSeconds, 94 m : translateSingular, 95 mm : translate, 96 h : translateSingular, 97 hh : translate, 98 d : translateSingular, 99 dd : translate, 100 M : translateSingular, 101 MM : translate, 102 y : translateSingular, 103 yy : translate 104 }, 105 ordinalParse: /\d{1,2}-oji/, 106 ordinal : function (number) { 107 return number + '-oji'; 108 }, 109 week : { 110 dow : 1, // Monday is the first day of the week. 111 doy : 4 // The week that contains Jan 4th is the first week of the year. 112 } 113 }); 114 115 return lt; 116 117 })); 118 No newline at end of file -
new file src/bp-core/js/vendor/moment-locales/lv.js
new file mode 100644
- + 1 //! moment.js locale configuration 2 //! locale : Latvian [lv] 3 //! author : Kristaps Karlsons : https://github.com/skakri 4 //! author : Jānis Elmeris : https://github.com/JanisE 5 6 ;(function (global, factory) { 7 typeof exports === 'object' && typeof module !== 'undefined' 8 && typeof require === 'function' ? factory(require('../moment')) : 9 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 10 factory(global.moment) 11 }(this, function (moment) { 'use strict'; 12 13 14 var units = { 15 'm': 'minūtes_minūtēm_minūte_minūtes'.split('_'), 16 'mm': 'minūtes_minūtēm_minūte_minūtes'.split('_'), 17 'h': 'stundas_stundām_stunda_stundas'.split('_'), 18 'hh': 'stundas_stundām_stunda_stundas'.split('_'), 19 'd': 'dienas_dienām_diena_dienas'.split('_'), 20 'dd': 'dienas_dienām_diena_dienas'.split('_'), 21 'M': 'mēneša_mēnešiem_mēnesis_mēneši'.split('_'), 22 'MM': 'mēneša_mēnešiem_mēnesis_mēneši'.split('_'), 23 'y': 'gada_gadiem_gads_gadi'.split('_'), 24 'yy': 'gada_gadiem_gads_gadi'.split('_') 25 }; 26 /** 27 * @param withoutSuffix boolean true = a length of time; false = before/after a period of time. 28 */ 29 function format(forms, number, withoutSuffix) { 30 if (withoutSuffix) { 31 // E.g. "21 minūte", "3 minūtes". 32 return number % 10 === 1 && number % 100 !== 11 ? forms[2] : forms[3]; 33 } else { 34 // E.g. "21 minūtes" as in "pēc 21 minūtes". 35 // E.g. "3 minūtēm" as in "pēc 3 minūtēm". 36 return number % 10 === 1 && number % 100 !== 11 ? forms[0] : forms[1]; 37 } 38 } 39 function relativeTimeWithPlural(number, withoutSuffix, key) { 40 return number + ' ' + format(units[key], number, withoutSuffix); 41 } 42 function relativeTimeWithSingular(number, withoutSuffix, key) { 43 return format(units[key], number, withoutSuffix); 44 } 45 function relativeSeconds(number, withoutSuffix) { 46 return withoutSuffix ? 'dažas sekundes' : 'dažām sekundēm'; 47 } 48 49 var lv = moment.defineLocale('lv', { 50 months : 'janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris'.split('_'), 51 monthsShort : 'jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec'.split('_'), 52 weekdays : 'svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena'.split('_'), 53 weekdaysShort : 'Sv_P_O_T_C_Pk_S'.split('_'), 54 weekdaysMin : 'Sv_P_O_T_C_Pk_S'.split('_'), 55 weekdaysParseExact : true, 56 longDateFormat : { 57 LT : 'HH:mm', 58 LTS : 'HH:mm:ss', 59 L : 'DD.MM.YYYY.', 60 LL : 'YYYY. [gada] D. MMMM', 61 LLL : 'YYYY. [gada] D. MMMM, HH:mm', 62 LLLL : 'YYYY. [gada] D. MMMM, dddd, HH:mm' 63 }, 64 calendar : { 65 sameDay : '[Šodien pulksten] LT', 66 nextDay : '[Rīt pulksten] LT', 67 nextWeek : 'dddd [pulksten] LT', 68 lastDay : '[Vakar pulksten] LT', 69 lastWeek : '[Pagājušā] dddd [pulksten] LT', 70 sameElse : 'L' 71 }, 72 relativeTime : { 73 future : 'pēc %s', 74 past : 'pirms %s', 75 s : relativeSeconds, 76 m : relativeTimeWithSingular, 77 mm : relativeTimeWithPlural, 78 h : relativeTimeWithSingular, 79 hh : relativeTimeWithPlural, 80 d : relativeTimeWithSingular, 81 dd : relativeTimeWithPlural, 82 M : relativeTimeWithSingular, 83 MM : relativeTimeWithPlural, 84 y : relativeTimeWithSingular, 85 yy : relativeTimeWithPlural 86 }, 87 ordinalParse: /\d{1,2}\./, 88 ordinal : '%d.', 89 week : { 90 dow : 1, // Monday is the first day of the week. 91 doy : 4 // The week that contains Jan 4th is the first week of the year. 92 } 93 }); 94 95 return lv; 96 97 })); 98 No newline at end of file -
new file src/bp-core/js/vendor/moment-locales/me.js
new file mode 100644
- + 1 //! moment.js locale configuration 2 //! locale : Montenegrin [me] 3 //! author : Miodrag Nikač <miodrag@restartit.me> : https://github.com/miodragnikac 4 5 ;(function (global, factory) { 6 typeof exports === 'object' && typeof module !== 'undefined' 7 && typeof require === 'function' ? factory(require('../moment')) : 8 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9 factory(global.moment) 10 }(this, function (moment) { 'use strict'; 11 12 13 var translator = { 14 words: { //Different grammatical cases 15 m: ['jedan minut', 'jednog minuta'], 16 mm: ['minut', 'minuta', 'minuta'], 17 h: ['jedan sat', 'jednog sata'], 18 hh: ['sat', 'sata', 'sati'], 19 dd: ['dan', 'dana', 'dana'], 20 MM: ['mjesec', 'mjeseca', 'mjeseci'], 21 yy: ['godina', 'godine', 'godina'] 22 }, 23 correctGrammaticalCase: function (number, wordKey) { 24 return number === 1 ? wordKey[0] : (number >= 2 && number <= 4 ? wordKey[1] : wordKey[2]); 25 }, 26 translate: function (number, withoutSuffix, key) { 27 var wordKey = translator.words[key]; 28 if (key.length === 1) { 29 return withoutSuffix ? wordKey[0] : wordKey[1]; 30 } else { 31 return number + ' ' + translator.correctGrammaticalCase(number, wordKey); 32 } 33 } 34 }; 35 36 var me = moment.defineLocale('me', { 37 months: 'januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar'.split('_'), 38 monthsShort: 'jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.'.split('_'), 39 monthsParseExact : true, 40 weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split('_'), 41 weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'), 42 weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'), 43 weekdaysParseExact : true, 44 longDateFormat: { 45 LT: 'H:mm', 46 LTS : 'H:mm:ss', 47 L: 'DD.MM.YYYY', 48 LL: 'D. MMMM YYYY', 49 LLL: 'D. MMMM YYYY H:mm', 50 LLLL: 'dddd, D. MMMM YYYY H:mm' 51 }, 52 calendar: { 53 sameDay: '[danas u] LT', 54 nextDay: '[sjutra u] LT', 55 56 nextWeek: function () { 57 switch (this.day()) { 58 case 0: 59 return '[u] [nedjelju] [u] LT'; 60 case 3: 61 return '[u] [srijedu] [u] LT'; 62 case 6: 63 return '[u] [subotu] [u] LT'; 64 case 1: 65 case 2: 66 case 4: 67 case 5: 68 return '[u] dddd [u] LT'; 69 } 70 }, 71 lastDay : '[juče u] LT', 72 lastWeek : function () { 73 var lastWeekDays = [ 74 '[prošle] [nedjelje] [u] LT', 75 '[prošlog] [ponedjeljka] [u] LT', 76 '[prošlog] [utorka] [u] LT', 77 '[prošle] [srijede] [u] LT', 78 '[prošlog] [četvrtka] [u] LT', 79 '[prošlog] [petka] [u] LT', 80 '[prošle] [subote] [u] LT' 81 ]; 82 return lastWeekDays[this.day()]; 83 }, 84 sameElse : 'L' 85 }, 86 relativeTime : { 87 future : 'za %s', 88 past : 'prije %s', 89 s : 'nekoliko sekundi', 90 m : translator.translate, 91 mm : translator.translate, 92 h : translator.translate, 93 hh : translator.translate, 94 d : 'dan', 95 dd : translator.translate, 96 M : 'mjesec', 97 MM : translator.translate, 98 y : 'godinu', 99 yy : translator.translate 100 }, 101 ordinalParse: /\d{1,2}\./, 102 ordinal : '%d.', 103 week : { 104 dow : 1, // Monday is the first day of the week. 105 doy : 7 // The week that contains Jan 1st is the first week of the year. 106 } 107 }); 108 109 return me; 110 111 })); 112 No newline at end of file -
new file src/bp-core/js/vendor/moment-locales/mi.js
new file mode 100644
- + 1 //! moment.js locale configuration 2 //! locale : Maori [mi] 3 //! author : John Corrigan <robbiecloset@gmail.com> : https://github.com/johnideal 4 5 ;(function (global, factory) { 6 typeof exports === 'object' && typeof module !== 'undefined' 7 && typeof require === 'function' ? factory(require('../moment')) : 8 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9 factory(global.moment) 10 }(this, function (moment) { 'use strict'; 11 12 13 var mi = moment.defineLocale('mi', { 14 months: 'Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea'.split('_'), 15 monthsShort: 'Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki'.split('_'), 16 monthsRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i, 17 monthsStrictRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i, 18 monthsShortRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i, 19 monthsShortStrictRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i, 20 weekdays: 'Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei'.split('_'), 21 weekdaysShort: 'Ta_Ma_Tū_We_Tāi_Pa_Hā'.split('_'), 22 weekdaysMin: 'Ta_Ma_Tū_We_Tāi_Pa_Hā'.split('_'), 23 longDateFormat: { 24 LT: 'HH:mm', 25 LTS: 'HH:mm:ss', 26 L: 'DD/MM/YYYY', 27 LL: 'D MMMM YYYY', 28 LLL: 'D MMMM YYYY [i] HH:mm', 29 LLLL: 'dddd, D MMMM YYYY [i] HH:mm' 30 }, 31 calendar: { 32 sameDay: '[i teie mahana, i] LT', 33 nextDay: '[apopo i] LT', 34 nextWeek: 'dddd [i] LT', 35 lastDay: '[inanahi i] LT', 36 lastWeek: 'dddd [whakamutunga i] LT', 37 sameElse: 'L' 38 }, 39 relativeTime: { 40 future: 'i roto i %s', 41 past: '%s i mua', 42 s: 'te hēkona ruarua', 43 m: 'he meneti', 44 mm: '%d meneti', 45 h: 'te haora', 46 hh: '%d haora', 47 d: 'he ra', 48 dd: '%d ra', 49 M: 'he marama', 50 MM: '%d marama', 51 y: 'he tau', 52 yy: '%d tau' 53 }, 54 ordinalParse: /\d{1,2}º/, 55 ordinal: '%dº', 56 week : { 57 dow : 1, // Monday is the first day of the week. 58 doy : 4 // The week that contains Jan 4th is the first week of the year. 59 } 60 }); 61 62 return mi; 63 64 })); 65 No newline at end of file -
new file src/bp-core/js/vendor/moment-locales/mk.js
new file mode 100644
- + 1 //! moment.js locale configuration 2 //! locale : Macedonian [mk] 3 //! author : Borislav Mickov : https://github.com/B0k0 4 5 ;(function (global, factory) { 6 typeof exports === 'object' && typeof module !== 'undefined' 7 && typeof require === 'function' ? factory(require('../moment')) : 8 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9 factory(global.moment) 10 }(this, function (moment) { 'use strict'; 11 12 13 var mk = moment.defineLocale('mk', { 14 months : 'јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември'.split('_'), 15 monthsShort : 'јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек'.split('_'), 16 weekdays : 'недела_понеделник_вторник_среда_четврток_петок_сабота'.split('_'), 17 weekdaysShort : 'нед_пон_вто_сре_чет_пет_саб'.split('_'), 18 weekdaysMin : 'нe_пo_вт_ср_че_пе_сa'.split('_'), 19 longDateFormat : { 20 LT : 'H:mm', 21 LTS : 'H:mm:ss', 22 L : 'D.MM.YYYY', 23 LL : 'D MMMM YYYY', 24 LLL : 'D MMMM YYYY H:mm', 25 LLLL : 'dddd, D MMMM YYYY H:mm' 26 }, 27 calendar : { 28 sameDay : '[Денес во] LT', 29 nextDay : '[Утре во] LT', 30 nextWeek : '[Во] dddd [во] LT', 31 lastDay : '[Вчера во] LT', 32 lastWeek : function () { 33 switch (this.day()) { 34 case 0: 35 case 3: 36 case 6: 37 return '[Изминатата] dddd [во] LT'; 38 case 1: 39 case 2: 40 case 4: 41 case 5: 42 return '[Изминатиот] dddd [во] LT'; 43 } 44 }, 45 sameElse : 'L' 46 }, 47 relativeTime : { 48 future : 'после %s', 49 past : 'пред %s', 50 s : 'неколку секунди', 51 m : 'минута', 52 mm : '%d минути', 53 h : 'час', 54 hh : '%d часа', 55 d : 'ден', 56 dd : '%d дена', 57 M : 'месец', 58 MM : '%d месеци', 59 y : 'година', 60 yy : '%d години' 61 }, 62 ordinalParse: /\d{1,2}-(ев|ен|ти|ви|ри|ми)/, 63 ordinal : function (number) { 64 var lastDigit = number % 10, 65 last2Digits = number % 100; 66 if (number === 0) { 67 return number + '-ев'; 68 } else if (last2Digits === 0) { 69 return number + '-ен'; 70 } else if (last2Digits > 10 && last2Digits < 20) { 71 return number + '-ти'; 72 } else if (lastDigit === 1) { 73 return number + '-ви'; 74 } else if (lastDigit === 2) { 75 return number + '-ри'; 76 } else if (lastDigit === 7 || lastDigit === 8) { 77 return number + '-ми'; 78 } else { 79 return number + '-ти'; 80 } 81 }, 82 week : { 83 dow : 1, // Monday is the first day of the week. 84 doy : 7 // The week that contains Jan 1st is the first week of the year. 85 } 86 }); 87 88 return mk; 89 90 })); 91 No newline at end of file -
new file src/bp-core/js/vendor/moment-locales/ml.js
new file mode 100644
- + 1 //! moment.js locale configuration 2 //! locale : Malayalam [ml] 3 //! author : Floyd Pink : https://github.com/floydpink 4 5 ;(function (global, factory) { 6 typeof exports === 'object' && typeof module !== 'undefined' 7 && typeof require === 'function' ? factory(require('../moment')) : 8 typeof define === 'function' && define.amd ? define(['../moment'], factory) : 9 factory(global.moment) 10 }(this, function (moment) { 'use strict'; 11 12 13 var ml = moment.defineLocale('ml', { 14 months : 'ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ'.split('_'), 15 monthsShort : 'ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.'.split('_'), 16 monthsParseExact : true, 17 weekdays : 'ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച'.split('_'), 18 weekdaysShort : 'ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി'.split('_'), 19 weekdaysMin : 'ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ'.split('_'), 20 longDateFormat : { 21 LT : 'A h:mm -നു', 22 LTS : 'A h:mm:ss -നു', 23 L : 'DD/MM/YYYY', 24 LL : 'D MMMM YYYY', 25 LLL : 'D MMMM YYYY, A h:mm -നു', 26 LLLL : 'dddd, D MMMM YYYY, A h:mm -നു' 27 }, 28 calendar : { 29 sameDay : '[ഇന്ന്] LT', 30 nextDay : '[നാളെ] LT', 31 nextWeek : 'dddd, LT', 32 lastDay : '[ഇന്നലെ] LT', 33 lastWeek : '[കഴിഞ്ഞ] dddd, LT', 34 sameElse : 'L' 35 }, 36 relativeTime : { 37 future : '%s കഴിഞ്ഞ്', 38 past : '%s മുൻപ്', 39 s : 'അൽപ നിമിഷങ്ങൾ', 40 m : 'ഒരു മിനിറ്റ്', 41 mm : '%d മിനിറ്റ്', 42 h : 'ഒരു മണിക്കൂർ', 43 hh : '%d മണിക്കൂർ', 44 d : 'ഒരു ദിവസം', 45 dd : '%d ദിവസം', 46 M : 'ഒരു മാസം', 47 MM : '%d മാസം', 48 y : 'ഒരു വർഷം', 49 yy : '%d വർഷം' 50 }, 51 meridiemParse: /രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i, 52 meridiemHour : function (hour, meridiem) { 53 if (hour === 12) { 54 hour = 0; 55 } 56 if ((meridiem === 'രാത്രി' && hour >= 4) || 57 meridiem === 'ഉച്ച കഴിഞ്ഞ്' || 58 meridiem === 'വൈകുന്നേരം') { 59 return hour + 12; 60 } else { 61 return hour; 62 } 63 }, 64 meridiem : function (hour, minute, isLower) { 65 if (hour < 4) { 66 return 'രാത്രി'; 67 } else if (hour < 12) { 68 return 'രാവിലെ'; 69 } else if (hour < 17) { 70 return 'ഉച്ച കഴിഞ്ഞ്'; 71 } else if (hour < 20) { 72 return 'വൈകുന്നേരം'; 73 } else { 74 return 'രാത്രി'; 75 } 76 } 77 }); 78 79 return ml; 80 81 })); 82 No newline at end of file -
new file src/bp-core/js/vendor/moment-locales/mr.js
new file mode 100644
-