Merge "Ensure users are able to edit the page after changing the content model"
[lhc/web/wiklou.git] / resources / lib / moment / locale / vi.js
1 // moment.js locale configuration
2 // locale : vietnamese (vi)
3 // author : Bang Nguyen : https://github.com/bangnk
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('vi', {
17 months : 'tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12'.split('_'),
18 monthsShort : 'Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12'.split('_'),
19 weekdays : 'chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy'.split('_'),
20 weekdaysShort : 'CN_T2_T3_T4_T5_T6_T7'.split('_'),
21 weekdaysMin : 'CN_T2_T3_T4_T5_T6_T7'.split('_'),
22 longDateFormat : {
23 LT : 'HH:mm',
24 LTS : 'LT:ss',
25 L : 'DD/MM/YYYY',
26 LL : 'D MMMM [năm] YYYY',
27 LLL : 'D MMMM [năm] YYYY LT',
28 LLLL : 'dddd, D MMMM [năm] YYYY LT',
29 l : 'DD/M/YYYY',
30 ll : 'D MMM YYYY',
31 lll : 'D MMM YYYY LT',
32 llll : 'ddd, D MMM YYYY LT'
33 },
34 calendar : {
35 sameDay: '[Hôm nay lúc] LT',
36 nextDay: '[Ngày mai lúc] LT',
37 nextWeek: 'dddd [tuần tới lúc] LT',
38 lastDay: '[Hôm qua lúc] LT',
39 lastWeek: 'dddd [tuần rồi lúc] LT',
40 sameElse: 'L'
41 },
42 relativeTime : {
43 future : '%s tới',
44 past : '%s trước',
45 s : 'vài giây',
46 m : 'một phút',
47 mm : '%d phút',
48 h : 'một giờ',
49 hh : '%d giờ',
50 d : 'một ngày',
51 dd : '%d ngày',
52 M : 'một tháng',
53 MM : '%d tháng',
54 y : 'một năm',
55 yy : '%d năm'
56 },
57 ordinalParse: /\d{1,2}/,
58 ordinal : function (number) {
59 return number;
60 },
61 week : {
62 dow : 1, // Monday is the first day of the week.
63 doy : 4 // The week that contains Jan 4th is the first week of the year.
64 }
65 });
66 }));