mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-09 01:17:04 +03:00
Move almost all libs to node_modules
Update libs
This commit is contained in:
parent
b895c6ac1a
commit
c3985da102
374 changed files with 17466 additions and 83393 deletions
|
|
@ -1,35 +1,48 @@
|
|||
// moment.js language configuration
|
||||
// language : vietnamese (vi)
|
||||
// author : Bang Nguyen : https://github.com/bangnk
|
||||
//! moment.js locale configuration
|
||||
//! locale : Vietnamese [vi]
|
||||
//! author : Bang Nguyen : https://github.com/bangnk
|
||||
|
||||
(function (factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
define(['moment'], factory); // AMD
|
||||
} else if (typeof exports === 'object') {
|
||||
module.exports = factory(require('../moment')); // Node
|
||||
} else {
|
||||
factory(window.moment); // Browser global
|
||||
}
|
||||
}(function (moment) {
|
||||
return moment.lang('vi', {
|
||||
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("_"),
|
||||
monthsShort : "Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),
|
||||
weekdays : "chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),
|
||||
weekdaysShort : "CN_T2_T3_T4_T5_T6_T7".split("_"),
|
||||
weekdaysMin : "CN_T2_T3_T4_T5_T6_T7".split("_"),
|
||||
;(function (global, factory) {
|
||||
typeof exports === 'object' && typeof module !== 'undefined'
|
||||
&& typeof require === 'function' ? factory(require('../moment')) :
|
||||
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
||||
factory(global.moment)
|
||||
}(this, function (moment) { 'use strict';
|
||||
|
||||
|
||||
var vi = moment.defineLocale('vi', {
|
||||
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('_'),
|
||||
monthsShort : 'Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12'.split('_'),
|
||||
monthsParseExact : true,
|
||||
weekdays : 'chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy'.split('_'),
|
||||
weekdaysShort : 'CN_T2_T3_T4_T5_T6_T7'.split('_'),
|
||||
weekdaysMin : 'CN_T2_T3_T4_T5_T6_T7'.split('_'),
|
||||
weekdaysParseExact : true,
|
||||
meridiemParse: /sa|ch/i,
|
||||
isPM : function (input) {
|
||||
return /^ch$/i.test(input);
|
||||
},
|
||||
meridiem : function (hours, minutes, isLower) {
|
||||
if (hours < 12) {
|
||||
return isLower ? 'sa' : 'SA';
|
||||
} else {
|
||||
return isLower ? 'ch' : 'CH';
|
||||
}
|
||||
},
|
||||
longDateFormat : {
|
||||
LT : "HH:mm",
|
||||
L : "DD/MM/YYYY",
|
||||
LL : "D MMMM [năm] YYYY",
|
||||
LLL : "D MMMM [năm] YYYY LT",
|
||||
LLLL : "dddd, D MMMM [năm] YYYY LT",
|
||||
l : "DD/M/YYYY",
|
||||
ll : "D MMM YYYY",
|
||||
lll : "D MMM YYYY LT",
|
||||
llll : "ddd, D MMM YYYY LT"
|
||||
LT : 'HH:mm',
|
||||
LTS : 'HH:mm:ss',
|
||||
L : 'DD/MM/YYYY',
|
||||
LL : 'D MMMM [năm] YYYY',
|
||||
LLL : 'D MMMM [năm] YYYY HH:mm',
|
||||
LLLL : 'dddd, D MMMM [năm] YYYY HH:mm',
|
||||
l : 'DD/M/YYYY',
|
||||
ll : 'D MMM YYYY',
|
||||
lll : 'D MMM YYYY HH:mm',
|
||||
llll : 'ddd, D MMM YYYY HH:mm'
|
||||
},
|
||||
calendar : {
|
||||
sameDay: "[Hôm nay lúc] LT",
|
||||
sameDay: '[Hôm nay lúc] LT',
|
||||
nextDay: '[Ngày mai lúc] LT',
|
||||
nextWeek: 'dddd [tuần tới lúc] LT',
|
||||
lastDay: '[Hôm qua lúc] LT',
|
||||
|
|
@ -37,20 +50,21 @@
|
|||
sameElse: 'L'
|
||||
},
|
||||
relativeTime : {
|
||||
future : "%s tới",
|
||||
past : "%s trước",
|
||||
s : "vài giây",
|
||||
m : "một phút",
|
||||
mm : "%d phút",
|
||||
h : "một giờ",
|
||||
hh : "%d giờ",
|
||||
d : "một ngày",
|
||||
dd : "%d ngày",
|
||||
M : "một tháng",
|
||||
MM : "%d tháng",
|
||||
y : "một năm",
|
||||
yy : "%d năm"
|
||||
future : '%s tới',
|
||||
past : '%s trước',
|
||||
s : 'vài giây',
|
||||
m : 'một phút',
|
||||
mm : '%d phút',
|
||||
h : 'một giờ',
|
||||
hh : '%d giờ',
|
||||
d : 'một ngày',
|
||||
dd : '%d ngày',
|
||||
M : 'một tháng',
|
||||
MM : '%d tháng',
|
||||
y : 'một năm',
|
||||
yy : '%d năm'
|
||||
},
|
||||
ordinalParse: /\d{1,2}/,
|
||||
ordinal : function (number) {
|
||||
return number;
|
||||
},
|
||||
|
|
@ -59,4 +73,7 @@
|
|||
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
||||
}
|
||||
});
|
||||
}));
|
||||
|
||||
return vi;
|
||||
|
||||
}));
|
||||
Loading…
Add table
Add a link
Reference in a new issue