Merge "Lazy load PasswordReset on SpecialPasswordReset"
[lhc/web/wiklou.git] / resources / lib / moment / locale / ms-my.js
1 // moment.js locale configuration
2 // locale : Bahasa Malaysia (ms-MY)
3 // author : Weldan Jamili : https://github.com/weldan
4
5 (function (factory) {
6 // Comment out broken wrapper, see T145382
7 /*if (typeof define === 'function' && define.amd) {
8 define(['moment'], factory); // AMD
9 } else if (typeof exports === 'object') {
10 module.exports = factory(require('../moment')); // Node
11 } else {
12 factory((typeof global !== 'undefined' ? global : this).moment); // node or other global
13 }*/
14 factory(this.moment);
15 }(function (moment) {
16 return moment.defineLocale('ms-my', {
17 months : 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split('_'),
18 monthsShort : 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'),
19 weekdays : 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'),
20 weekdaysShort : 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'),
21 weekdaysMin : 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'),
22 longDateFormat : {
23 LT : 'HH.mm',
24 LTS : 'LT.ss',
25 L : 'DD/MM/YYYY',
26 LL : 'D MMMM YYYY',
27 LLL : 'D MMMM YYYY [pukul] LT',
28 LLLL : 'dddd, D MMMM YYYY [pukul] LT'
29 },
30 meridiem : function (hours, minutes, isLower) {
31 if (hours < 11) {
32 return 'pagi';
33 } else if (hours < 15) {
34 return 'tengahari';
35 } else if (hours < 19) {
36 return 'petang';
37 } else {
38 return 'malam';
39 }
40 },
41 calendar : {
42 sameDay : '[Hari ini pukul] LT',
43 nextDay : '[Esok pukul] LT',
44 nextWeek : 'dddd [pukul] LT',
45 lastDay : '[Kelmarin pukul] LT',
46 lastWeek : 'dddd [lepas pukul] LT',
47 sameElse : 'L'
48 },
49 relativeTime : {
50 future : 'dalam %s',
51 past : '%s yang lepas',
52 s : 'beberapa saat',
53 m : 'seminit',
54 mm : '%d minit',
55 h : 'sejam',
56 hh : '%d jam',
57 d : 'sehari',
58 dd : '%d hari',
59 M : 'sebulan',
60 MM : '%d bulan',
61 y : 'setahun',
62 yy : '%d tahun'
63 },
64 week : {
65 dow : 1, // Monday is the first day of the week.
66 doy : 7 // The week that contains Jan 1st is the first week of the year.
67 }
68 });
69 }));