Code Duplication    Length = 59-63 lines in 3 locations

rainloop/v/0.0.0/app/localization/moment/en-gb.js 1 location

@@ 5-67 (lines=63) @@
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
}));

rainloop/v/0.0.0/app/localization/moment/en-au.js 1 location

@@ 4-66 (lines=63) @@
1
//! moment.js locale configuration
2
//! locale : English (Australia) [en-au]
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 en_au = moment.defineLocale('en-au', {
13
        months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
14
        monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
15
        weekdays : 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
16
        weekdaysShort : 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
17
        weekdaysMin : 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
18
        longDateFormat : {
19
            LT : 'h:mm A',
20
            LTS : 'h:mm:ss A',
21
            L : 'DD/MM/YYYY',
22
            LL : 'D MMMM YYYY',
23
            LLL : 'D MMMM YYYY h:mm A',
24
            LLLL : 'dddd, D MMMM YYYY h:mm A'
25
        },
26
        calendar : {
27
            sameDay : '[Today at] LT',
28
            nextDay : '[Tomorrow at] LT',
29
            nextWeek : 'dddd [at] LT',
30
            lastDay : '[Yesterday at] LT',
31
            lastWeek : '[Last] dddd [at] LT',
32
            sameElse : 'L'
33
        },
34
        relativeTime : {
35
            future : 'in %s',
36
            past : '%s ago',
37
            s : 'a few seconds',
38
            m : 'a minute',
39
            mm : '%d minutes',
40
            h : 'an hour',
41
            hh : '%d hours',
42
            d : 'a day',
43
            dd : '%d days',
44
            M : 'a month',
45
            MM : '%d months',
46
            y : 'a year',
47
            yy : '%d years'
48
        },
49
        ordinalParse: /\d{1,2}(st|nd|rd|th)/,
50
        ordinal : function (number) {
51
            var b = number % 10,
52
                output = (~~(number % 100 / 10) === 1) ? 'th' :
53
                (b === 1) ? 'st' :
54
                (b === 2) ? 'nd' :
55
                (b === 3) ? 'rd' : 'th';
56
            return number + output;
57
        },
58
        week : {
59
            dow : 1, // Monday is the first day of the week.
60
            doy : 4  // The week that contains Jan 4th is the first week of the year.
61
        }
62
    });
63
64
    return en_au;
65
66
}));

rainloop/v/0.0.0/app/localization/moment/en-ca.js 1 location

@@ 5-63 (lines=59) @@
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
}));