mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-09 09:27:03 +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,34 +1,40 @@
|
|||
// moment.js language configuration
|
||||
// language : thai (th)
|
||||
// author : Kridsada Thanabulpong : https://github.com/sirn
|
||||
//! moment.js locale configuration
|
||||
//! locale : Thai [th]
|
||||
//! author : Kridsada Thanabulpong : https://github.com/sirn
|
||||
|
||||
(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('th', {
|
||||
months : "มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),
|
||||
monthsShort : "มกรา_กุมภา_มีนา_เมษา_พฤษภา_มิถุนา_กรกฎา_สิงหา_กันยา_ตุลา_พฤศจิกา_ธันวา".split("_"),
|
||||
weekdays : "อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),
|
||||
weekdaysShort : "อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"), // yes, three characters difference
|
||||
weekdaysMin : "อา._จ._อ._พ._พฤ._ศ._ส.".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 th = moment.defineLocale('th', {
|
||||
months : 'มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม'.split('_'),
|
||||
monthsShort : 'ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.'.split('_'),
|
||||
monthsParseExact: true,
|
||||
weekdays : 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์'.split('_'),
|
||||
weekdaysShort : 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์'.split('_'), // yes, three characters difference
|
||||
weekdaysMin : 'อา._จ._อ._พ._พฤ._ศ._ส.'.split('_'),
|
||||
weekdaysParseExact : true,
|
||||
longDateFormat : {
|
||||
LT : "H นาฬิกา m นาที",
|
||||
L : "YYYY/MM/DD",
|
||||
LL : "D MMMM YYYY",
|
||||
LLL : "D MMMM YYYY เวลา LT",
|
||||
LLLL : "วันddddที่ D MMMM YYYY เวลา LT"
|
||||
LT : 'H นาฬิกา m นาที',
|
||||
LTS : 'H นาฬิกา m นาที s วินาที',
|
||||
L : 'YYYY/MM/DD',
|
||||
LL : 'D MMMM YYYY',
|
||||
LLL : 'D MMMM YYYY เวลา H นาฬิกา m นาที',
|
||||
LLLL : 'วันddddที่ D MMMM YYYY เวลา H นาฬิกา m นาที'
|
||||
},
|
||||
meridiemParse: /ก่อนเที่ยง|หลังเที่ยง/,
|
||||
isPM: function (input) {
|
||||
return input === 'หลังเที่ยง';
|
||||
},
|
||||
meridiem : function (hour, minute, isLower) {
|
||||
if (hour < 12) {
|
||||
return "ก่อนเที่ยง";
|
||||
return 'ก่อนเที่ยง';
|
||||
} else {
|
||||
return "หลังเที่ยง";
|
||||
return 'หลังเที่ยง';
|
||||
}
|
||||
},
|
||||
calendar : {
|
||||
|
|
@ -40,19 +46,22 @@
|
|||
sameElse : 'L'
|
||||
},
|
||||
relativeTime : {
|
||||
future : "อีก %s",
|
||||
past : "%sที่แล้ว",
|
||||
s : "ไม่กี่วินาที",
|
||||
m : "1 นาที",
|
||||
mm : "%d นาที",
|
||||
h : "1 ชั่วโมง",
|
||||
hh : "%d ชั่วโมง",
|
||||
d : "1 วัน",
|
||||
dd : "%d วัน",
|
||||
M : "1 เดือน",
|
||||
MM : "%d เดือน",
|
||||
y : "1 ปี",
|
||||
yy : "%d ปี"
|
||||
future : 'อีก %s',
|
||||
past : '%sที่แล้ว',
|
||||
s : 'ไม่กี่วินาที',
|
||||
m : '1 นาที',
|
||||
mm : '%d นาที',
|
||||
h : '1 ชั่วโมง',
|
||||
hh : '%d ชั่วโมง',
|
||||
d : '1 วัน',
|
||||
dd : '%d วัน',
|
||||
M : '1 เดือน',
|
||||
MM : '%d เดือน',
|
||||
y : '1 ปี',
|
||||
yy : '%d ปี'
|
||||
}
|
||||
});
|
||||
}));
|
||||
|
||||
return th;
|
||||
|
||||
}));
|
||||
Loading…
Add table
Add a link
Reference in a new issue