Merge "resourceloader: Only store sources' load.php urls"
[lhc/web/wiklou.git] / resources / lib / moment / lang / my.js
1 // moment.js locale configuration
2 // locale : Burmese (my)
3 // author : Squar team, mysquar.com
4
5 (function (factory) {
6 if (typeof define === 'function' && define.amd) {
7 define(['moment'], factory); // AMD
8 } else if (typeof exports === 'object') {
9 module.exports = factory(require('../moment')); // Node
10 } else {
11 factory(window.moment); // Browser global
12 }
13 }(function (moment) {
14 var symbolMap = {
15 '1': '၁',
16 '2': '၂',
17 '3': '၃',
18 '4': '၄',
19 '5': '၅',
20 '6': '၆',
21 '7': '၇',
22 '8': '၈',
23 '9': '၉',
24 '0': '၀'
25 }, numberMap = {
26 '၁': '1',
27 '၂': '2',
28 '၃': '3',
29 '၄': '4',
30 '၅': '5',
31 '၆': '6',
32 '၇': '7',
33 '၈': '8',
34 '၉': '9',
35 '၀': '0'
36 };
37 return moment.defineLocale('my', {
38 months: "ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),
39 monthsShort: "ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),
40 weekdays: "တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),
41 weekdaysShort: "နွေ_လာ_င်္ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),
42 weekdaysMin: "နွေ_လာ_င်္ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),
43 longDateFormat: {
44 LT: "HH:mm",
45 L: "DD/MM/YYYY",
46 LL: "D MMMM YYYY",
47 LLL: "D MMMM YYYY LT",
48 LLLL: "dddd D MMMM YYYY LT"
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 preparse: function (string) {
74 return string.replace(/[၁၂၃၄၅၆၇၈၉၀]/g, function (match) {
75 return numberMap[match];
76 });
77 },
78 postformat: function (string) {
79 return string.replace(/\d/g, function (match) {
80 return symbolMap[match];
81 });
82 },
83 week: {
84 dow: 1, // Monday is the first day of the week.
85 doy: 4 // The week that contains Jan 1st is the first week of the year.
86 }
87 });
88 }));